Home > Web Front-end > JS Tutorial > Sharing of the latest Baidu front-end interview questions

Sharing of the latest Baidu front-end interview questions

零下一度
Release: 2017-06-27 09:29:46
Original
1547 people have browsed it

Topic: Baidu front-end intern interview

Interview time: June 2017

One side: Ask about the basics

At that time, I was working with my workflow technology (big (a really crappy course in the third class) to fight to the death, and suddenly I called for an interview. I was completely confused at the time~ And the most annoying thing is~ My takeaway just told me to go downstairs, and then he came Interviewed. . As a result, my takeaway was stolen! ! ! ! Focused on one.
The questions asked are as follows:

  1. What are the css animations and their differences (animation, transition)

  2. Implementing a loading animation

  3. What to do if the animation freezes (use translate)

  4. To place a 200X200 picture, how big should the picture be?

  5. Implement a three-column layout with a fixed size on the left and the other two columns occupy 50% of the remaining space (use flex or float)

  6. DOM event model

  7. Several ways of js inheritance

  8. Several ways of asynchronous programming

  9. Ask me about the project, There is a login registration function, asking me about the process and whether it is safe (https)

  10. What modular tools have I used (I answered commonjs of nodejs, webpack as the packaging tool, and I know a lot about AMD) Click, and then he stopped asking! I was still thinking about saying something about CMD being loaded synchronously and ADM being loaded asynchronously)

  11. Performance Optimization

Then the session ended here. After the interview, I hurried down to get the takeout. After learning that the takeout was stolen, I silently focused on the takeout and then started a new review. journey of.

Second interview: Ask about the project (2017/6/26 15:38)

  1. Introduce yourself

  2. According to my project Ask questions, such as
    2.1 You have used angularjs, right? Then why did you choose angular at that time? Is it just because it is the most popular framework?
    2.2 Have you ever used vue, then tell me about the difference between vuejs and angular
    2.3 What do you think the controller of angularjs is for
    2.4 What is an HTTP Common status codes
    2.5 When initiating an HTTP request, will there be a delay from the client to the server? If so, where does it appear?
    Answer:
    2.5.1 The first thing I think of is the time it takes for DNS resolution, because after you enter a domain name, you first need a DNS resolver to convert the domain name into an IP address
    2.5.2 Initiate HTTP Request involves the transmission between packets. From the HTTP application layer to the physical layer, there is a process of encapsulation and adding headers (such as adding TCP headers and IP headers), and then the packets are sent out. It will be distributed to different routers and finally reach the server after a long journey. Since time is required during the transfer process, transfer time is definitely essential. If the network condition is not good at that time, there may be packet loss and retransmission is required.
    2.5.3 TCP/IP first requires a three-way handshake to establish a connection. The request can only be made after the handshake is successful.
    2.6 After you completed a certain project, what was the most difficult part for you?

  3. That’s all my questions~ Do you have anything to ask?
    At that time, he asked me mainly what I would do if I went there. And what is Baidu’s front-end architecture system?

Then the second interview is over~ The second interview took a total of 17 minutes. I think the questions asked are quite interesting and very practical, such as the framework selection for your project. Model, you can't just use it just because it's popular. And the comparison between frameworks, and also asked about the knowledge of planning and network, which reminded me that when I was interviewing Toutiao, I also asked a lot about planning and network. At that time, the main question seemed to be about network congestion: if a loss occurs If so, the current network is particularly congested. Is there any good strategy to solve it (TCP has a congestion avoidance mechanism, and then I talked about some of its related mechanisms)

The above is the Baidu front-end interview , everything I remember (probably most of them are above)

The above is the detailed content of Sharing of the latest Baidu front-end interview questions. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template