Sharing of the latest Baidu front-end interview questions
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:
What are the css animations and their differences (animation, transition)
-
Implementing a loading animation
What to do if the animation freezes (use translate)
To place a 200X200 picture, how big should the picture be?
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)
DOM event model
Several ways of js inheritance
Several ways of asynchronous programming
Ask me about the project, There is a login registration function, asking me about the process and whether it is safe (https)
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)
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)
Introduce yourself
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?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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Editor of Machine Power Report: Wu Xin The domestic version of the humanoid robot + large model team completed the operation task of complex flexible materials such as folding clothes for the first time. With the unveiling of Figure01, which integrates OpenAI's multi-modal large model, the related progress of domestic peers has been attracting attention. Just yesterday, UBTECH, China's "number one humanoid robot stock", released the first demo of the humanoid robot WalkerS that is deeply integrated with Baidu Wenxin's large model, showing some interesting new features. Now, WalkerS, blessed by Baidu Wenxin’s large model capabilities, looks like this. Like Figure01, WalkerS does not move around, but stands behind a desk to complete a series of tasks. It can follow human commands and fold clothes

On May 15, Baidu Apollo held Apollo Day 2024 in Wuhan Baidu Luobo Automobile Robot Zhixing Valley, comprehensively demonstrating Baidu's major progress in autonomous driving over the past ten years, bringing technological leaps based on large models and a new definition of passenger safety. With the world's largest autonomous vehicle operation network, Baidu has made autonomous driving safer than human driving. Thanks to this, safer, more comfortable, green and low-carbon travel methods are turning from ideal to reality. Wang Yunpeng, vice president of Baidu Group and president of the Intelligent Driving Business Group, said on the spot: "Our original intention to build autonomous vehicles is to satisfy people's growing yearning for better travel. People's satisfaction is our driving force. Because safety, So beautiful, we are happy to see

According to news from this site on May 7, on May 6, Robin Li, founder, chairman and CEO of Baidu, led a team to visit China National Petroleum Corporation (hereinafter referred to as "PetroChina") in Beijing and met with directors of China National Petroleum Corporation Chairman and Party Secretary Dai Houliang held talks. The two parties had in-depth exchanges on strengthening cooperation and promoting the deep integration of the energy industry with digital intelligence. PetroChina will accelerate the construction of a digital China Petroleum Corporation, strengthen cooperation with Baidu Group, promote the in-depth integration of the energy industry with digital intelligence, and make greater contributions to ensuring national energy security. Robin Li said that the "intelligent emergence" and core capabilities of understanding, generation, logic, and memory displayed by large models have opened up a broader space for imagination for the combination of cutting-edge technology and oil and gas business. Always

DeepSeek is a powerful intelligent search and analysis tool that provides two access methods: web version and official website. The web version is convenient and efficient, and can be used without installation; the official website provides comprehensive product information, download resources and support services. Whether individuals or corporate users, they can easily obtain and analyze massive data through DeepSeek to improve work efficiency, assist decision-making and promote innovation.

As a fast and efficient programming language, Go language is widely popular in the field of back-end development. However, few people associate Go language with front-end development. In fact, using Go language for front-end development can not only improve efficiency, but also bring new horizons to developers. This article will explore the possibility of using the Go language for front-end development and provide specific code examples to help readers better understand this area. In traditional front-end development, JavaScript, HTML, and CSS are often used to build user interfaces

The Go framework is a set of components that extend Go's built-in libraries, providing pre-built functionality (such as web development and database operations). Popular Go frameworks include Gin (web development), GORM (database operations), and RESTful (API management). Middleware is an interceptor pattern in the HTTP request processing chain and is used to add functionality such as authentication or request logging without modifying the handler. Session management maintains session status by storing user data. You can use gorilla/sessions to manage sessions.

According to news on May 31, blogger @ibinguniverse broke the news today that the Chinese version of Samsung Galaxy S24 series mobile phones will support Google search. The blogger did not disclose the specific launch time. According to Samsung’s previous introduction, the Samsung Galaxy S24 series has been equipped with many high-level AI capabilities, AI-based practical functions such as input, translation, recorder, notes, and cameras, to provide users with a more convenient and efficient comprehensive experience. Different from the overseas version, most of the AI functions of the Samsung Galaxy S24 series are provided by domestic manufacturers, such as Baidu. Previously reported, Galaxy AI deeply integrates multiple capabilities of Baidu Wenxin large model, which can provide end-side enabled call and translation functions, as well as intelligent summary brought by generative AI.

This article introduces six popular AI tools, including Douyin Doubao, Wenxin Yige, Tencent Zhiying, Baidu Feipiao EasyDL, Baidu AI Studio and iFlytek Spark Cognitive Large Model. These tools cover different functions such as text creation, image generation, video editing, and AI model development. Choosing the right AI tool requires consideration of factors such as functional requirements, technical level, and cost budget. These tools provide convenient and efficient solutions for individuals and businesses in need of AI assistance.
