Every guest's front end interview

Source: Internet
Author: User

1, commonly used jquery selector. I believe the friends in the garden think the problem is very simple. Actually, it's really simple. But I was really confused at $ ("a B") and $ ("A>b"), and I fainted. One months can really forget a lot of things.

The difference between 2,$.ready and $.load. Well, answered a few, still feeling the brain was locked by another thread.

3,c# the difference between a value type and a reference type, and writes a few lines of transformational code called interpretation. Well, C # is still more confident.

4, the recursive algorithm of factorial. Truth is, the algorithm is really my weakness, but the factorial is relatively simple. Write it out and ask me if I can optimize it. I thought of the tail recursion, said that I write a realization, and then an interview brother Said no, called the circulation of the way to achieve. I admit, the brain was blocked again, this is a lot of damn simple things ah. Then I see they seem to wait for the more urgent, say sorry. But less than a minute later, I thought about how to write, I want to jump from the 35 floor of the heart have.

The process of 5,MVC. MVC is something that was studied and used a long time ago, but the conceptual stuff is pretty clear. Later, I talked about the view engine, but it was basically the same guy who was on the other side of the glasses.

1,jquery What methods are available for issuing asynchronous requests. It's easy. The most used, in fact, is still $.ajax.

2, understand the HTTP protocol, what information is included in an HTTP request. I say not particularly understand, but still mention the stateless nature of HTTP, originally wanted to say the difference between Http1.0 and Http1.1 agreement, but do not know why did not say. In addition, mentioned in an HTTP request header, there are contenttype information, host information, coding and whether or not to compress information, also said if it is uploaded files, there are a lot of uploaded things. Now think of it, a bit of a suspicion of egg, the basic knowledge is not strong enough.

The core object of 3,ado.net. This is still a better understanding.

4, the understanding of design patterns. Have a certain understanding, write code will also pay more attention to the characteristics of extensibility and so on. So I smoked and talked about the Observer mode, adapter mode, abstract Factory mode, and single case mode. It feels a bit messy. In fact, the design mode is mainly to convey a coding thinking, the real master draw the square, but feel that the design pattern is a cage to play a role. Unfortunately, I am not a master. Then, boss asked me to talk about the agent mode. I also briefly talked about, in fact, agent mode is very good to understand, usually unknowingly used, such as in VS Add WebService. I just don't know if boss is listening to the example of the man who I gave to the C girl to send flowers.

5, talk about the asp.net cache processing. More understanding in this regard. When it comes to page caching (global and local), application caching. Then boss asked to put an object into the cache, and then change a property of the object, and then remove the object from the cache, the corresponding properties of the retrieved objects have also changed. A little confused, I said no.

6, before doing the project, the foreground and backstage interact in the way. A list and a brief description.

7, talk about the way you know how to do database paging. Table variables, temporary tables, SQL (not In,max), and so on. Then asked me to explain the principle of rownumber, I directly think of the secret. Well, you hit my Achilles heel, and the database doesn't really have much insight.

8, previously done some knowledge of the network aspects of the IDC system. Talked about the icmp,netflow,tcp/udp and so on. Not very deep.

In 9,html, if you want to upload files, you should set what properties of input. I said file.

10, talk about the routing system in MVC. I said it according to my own understanding. Should still be reliable.

11, why leave from the company.

12, do you have any questions to ask? I said not at the moment. The results are not sure, ask is basically a white question.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.