One interview question pgmfan
1. How to handle hundreds of thousands of concurrent data records?
2. What method is used to compare two strings that are similar and stay in memory during system running?
3. How many records are saved in the SQL Server table, the speed slows down significantly?
4. What are the major bugs in session? What methods does Microsoft propose to solve them?
A good interview question
Q1: Evaluate the values of the following expressions and write out one or more implementation methods you have come up:
1-2 + 3-4 + ...... + M
Q2: two tables are given:
Department ID Department name
Department 1
Department 2
Department 3
Department 4
Personnel ID personnel name department ID
1 Name 1 1
2 name 2 1
3 name 3 2
4 name 4 3
5 name 5 5
(1) Use an SQL statement to display the names and departments of all personnel. If there is no department, use "unmark" instead.
(2) use ASP. Net, to achieve the following display, describe your ideas.
Name 1
Department 1 name 2
Department 2 ......
Department 3 ......
Q3: Maintain database integrity and consistency. Do you like to use triggers or write business logic? Why?
Q4: ADO. What are the main improvements to net over ado?
Q5: Asp. Net compared with ASP, what are the main advances?
Q6: What is the delegate in C? Is an event a delegate?
Q7: describes the implementation process of the indexer in C #. Can indexes be performed only by numbers?
Q8: How does one implement a class that supports foreach traversal in C?
Q9: C #, execute the followingCodeResult of S:
String [] A = new string [5];
AA [0] = "33 ";
AA [6] = "66 ";
String S = "";
Foreach (string m in aa) S + = m;
Q10: Write an HTML page to implement the following functions: "Hello" is displayed when you left-click the page, and "disabled right-click" is displayed when you right-click the page ". The page is automatically closed in 2 minutes.
q11: Do you know about XMLHTTP and WebService? Briefly describe its features and functions
q12: What is the difference between interfaces and abstract classes? What is the basis for using interfaces and abstract classes?
q13: What are the similarities and differences between custom controls and general user controls? If you want to use either of the two, which one do you choose? Why
q14: Briefly describe ASP. NET Server Control lifecycle
q15: UML
q16: object-oriented concept, main features
Q17: Basis for class division. Class granularity issues
Q18: Transaction Management Issues
one interview question pgmfan
1 what is the difference between ASP and Asp.net
2 C?
3. Differences between ADO and ADO. net.
4. Functions of the adapter datadapter
5. Which of the top classes in all classes are supported?
6. How can I jump to a page?
7. which method is used to execute the stored procedure?
8. Where can I set global variables?
9. What are the collection classes of session settings?
10?
11 differences between arrylist and list
12 types of members
13 indexer
14 attributes of common controls
15 delegation
16 tree Control
17 differences between ListBox combox chacedlistbox
18. What are the modifications to the two table connection queries?
19. Where does the Asp.net compilation action occur during the first loading?
20. What is the object at the top of the Object Tree? Every control of Asp.net, the application Program and page are inherited from this object, that is to say, each page is an example of a page object
21. Differences between Hyperlink and linkbotton controls
The following is a Huawei interview question, which is relatively professional.
1. Select the layer-7 network structure of OSI and the layer-5 structure of TCP/IP.
2. explain in detail the definition of the IP protocol, what is the main function?
3. What are the implementation principles of vswitches and vrouters? At what level?
4. What is the difference between struct in C ++ and C?
5. Usage and function of destructor and virtual functions
6. What are the differences between global variables and local variables? How to implement it? How does the operating system and compiler know?
7. How many BITs is the 8086 system? What is implemented in the data bus?
A good interview question
Problem:
1. What are the authentication items in ASP. NET? How to verify your current project
2. What is a web control? What are the advantages of using Web controls?
3. Please explain ASP. In. net, how does one perform data verification?
4. What do you think about regular expressions?
5. asp. Net. How many types of controls are there? What are their differences?
6. Web controls can activate server events. How does a server event occur and how it works? What is automatic transmission? Why use automatic transmission.
7. Can the Web Control and HTML Server Control call the client method? If yes, how can I call it?
8. asp. What are the advantages of net over asp?
9. Please explain the important nodes in the web. config file
10. Please explain ASP. What is the relationship between web pages and hidden classes in. Net?
11. What is viewstate? Can I disable it? Can all controls be disabled?
13. What is the possible cause when I find that I cannot read the input data on the page? Solution
14. Explain the code execution sequence on a web page.
15. Please explain what is a context object and under what circumstances it should be used
16. What is the difference between forwarding and redirection?
17. How does one transmit data between different pages in ASP. NET?
18. Please explain ASP. Differences between the buttons linkbutton imagebutton and hyperlink in. net
19. Please explain. . Net multi-tier application middle-layer and layer-layer data transmission in that way. And explain the method used in your project.
20. If ASP appears. Net events cannot be triggered due to what causes?
21. How can I add a drop-down list box to a column in the datagride control and bind data?
22. What is the difference between data binding in Asp.net and traditional data binding?
23. Please explain what is the difference between the Delegate-implemented event model of. Net and the event model implemented using interfaces in Java.
24. What is the significance of the explicit implementation of interfaces?
DOTNET interview questions (welcome to join the new interview questions)
q: Under what conditions do you need to use the virtual question method? What is the difference between it and the interface?
Q: What is the difference between override and overload?
Q: What is the difference between the value type and the reference type?
Q: How do I understand static variables?
Q: How many requests can be sent to the server?
Q: What is the difference between datareader and dataset?
q: if a system with a B/S structure needs to pass variable values, but does not support session, cookie, and application, how can you handle them?
Q: How many layers of B/S structure do you use. Net to develop a system? What is the relationship between each layer and why do you need to layer it like this?
Q: How many stages are involved in the software development process? What is the role of each stage?
q: Microsoft has launched a series of application blocks. What are the application blocks you know and their functions?
q: list some design patterns you have used and when to use them?
Q: What do you know about WebService?
Q: How are you interested in programming? How can I solve problems that I don't understand at work? How do you improve your programming skills?
Q: Why did you leave?
if you do not have the following questions, please describe your solution in detail
Q: How to transmit Chinese parameters through hyperlinks?
Q: Please program and traverse all textbox controls on the page and assign it a string. Empty?
Q: Please program a bubble sort algorithm ?
Microsoft has launched a series of application blocks. What are the application blocks you know and their functions?
DOTNET interview questions (welcome to join the new interview questions)
Part 1: C # And Asp.net
1. Briefly describe the differences between private and protected
2. Differences between the following functions:
Private void test (string Str ){...}
Private void test (ref string Str ){...}
Private void test (out string Str ){...}
3. Write the code: Get the server time and display it (the message box is displayed). It must be fully implemented on the server side (Note: Use the response. Write () method in C)
4. give reasons for the following errors or errors (written in this row)
Class Test
{
Int X;
Static int y;
Void F (){
X = 1; // OK
Y = 1; // OK
}
Static void g (){
X = 1; // Error
Y = 1; // OK
}
Static void main (){
Test T = new test ();
T. X = 1; // OK
T. y = 1; // Error
Test. x = 1; // Error
Test. y = 1; // OK
}
}
4. Briefly Talk about your understanding of polymorphism and a simple example of how to implement polymorphism.
Part 2: javascript-related
1. explain the meaning of the following statements:
A. V1 = opener. V1;
B. If (100 = "100 "){...}
C. If (100 = "100 "){...}
D. Function printblank (){
VaR coll = Document. All;
If (Coll! = NULL ){
For (I = 0; I <Coll. length; I ++ ){
If (Coll. Item (I). tagname = "input "){
Coll. Item (I). style. Visibility = "hidden ";
}
}
}
}
2. output results
A. var x = 0/0;
If (X! = X ){
Document. Write ("X! = X ");
} Else {
Document. Write ("x = x ");
}
B. var I = 1;
Switch (I)
{
Case 1:
Case 2: Alert ("good"); break;
Case 3: Alert ("end"); break;
}
3. If a page frequently interacts with the database, but the page cannot be refreshed too badly, what are your best methods?
Part 3: ms SQL Server
1. The following describes the index. Which of the following statements are true? ()
A. indexing can speed up queries
B. indexes may reduce the update speed of values.
C. create as many indexes as possible for the table
2. Use tsql to implement:
A. If a table (Table1) exists, delete it. Otherwise, create a table (assuming that the table has only one varcahr (50) field)
B. use the SELECT statement to return a table (sex char (2) based on the sex value in table 1 (sex bit). The rule is as follows: 'male' is returned when sex is 0 ', if the value is 1, 'femal' is returned '.
3. In the existing table Table1 Table2, the fields are the same ([name] varchar (10). To obtain the names not in Table2 in Table1, write an SQL statement.
4. To write a stored procedure, you must input a table name and return the number of records of the table (assuming that the input table exists in the Database)
DOTNET interview questions (welcome to join the new interview questions)
1. Test A design model related: the factory mode or command works, which are commonly used.
2. Test A face object, including ref parameter transfer + collection class + serialization
3. Take a modeling test: design of the organization and permissions
4. Actual Operation: Use sqlserver + Asp.net to add, delete, and modify data in a table, and search by PAGE and sort.
DOTNET interview questions (welcome to join the new interview questions)
If you want to test the basics, you will understand: What is the full name of SQL?
If you want to test the capabilities, you can understand: How to Solve concurrency with stored procedures and triggers?
I want to test the potential to ask this question: I will give you two 8-two-three, and use the addition, subtraction, multiplication, division, and division to calculate 24, and write the algorithm!
DOTNET interview questions (welcome to join the new interview questions)
1. Describe the basic page access process of. Net and the difference between it and the general web access process (please
Describes the main events and processes returned from the web page request to the page );
2. How to understand the "stateless programming" of Web applications "?
3. List the webcontrol you are most familiar with and their main functions;
4. List the. NET namespaces you are most familiar with and their main contents.
5. Which. Net websites do you frequently visit?
6. In. net, describe the methods to prevent page refreshing from flashing local content (for example
A chat page is automatically refreshed every few seconds. How to Prevent flickering )?
7. Describe how to use the code in. Net Forms authentication mode (the user name is stored in a database
) To implement a role-based authorization?
8. How to configure database connection in vs.net to migrate the development environment to the application environment
Do not modify the program?
9. Assume that there is a database field name. Only the last name of this field needs to be displayed on the webpage, while the name is hidden.
Similar to "Zhang **". Write a custom expression for data binding.
10. Briefly describe the process of creating a user control.
11. Have you ever created a custom webcontrol (note that it is not a user control )? If yes, please
Describes the basic process of creating custom controls. Which methods are used to reload custom controls ?.
12. Describe the main objects that constitute ado.net and their functions.
DOTNET interview questions (welcome to join the new interview questions)
1. Which of the following methods can send requests to the server?
2. Do you write a program to determine whether the server request is a get or POST request?
3 .. Net Framework is logically divided into several parts.
4. How do you understand static variables.
5. Under what circumstances will you use virtual functions?
6. How do you understand object-oriented programming?
7. Let's talk about your experience with triggers.
8. Use. Net for system development. What structure do you develop?
9. What tools do you use for system analysis.
10. How do you control the project progress as a project manager.
11. Talk about your project management experience.
12. The following is the data of a column in a database table. Please use an SQL statement to put forward the data in step 5 and Step 6,
2
3
5
6
9
10
DOTNET interview questions (welcome to join the new interview questions) passing
1. What is the difference between error and exception?
2. Does list, set, and map inherit from the collection interface?
3. What is the difference between abstract class and interface?
4. can abstract methods be both static, native, and synchronized?
5. Can an interface inherit an interface? Can an abstract class implement the (implements) interface? Can an abstract class inherit a concrete class )?
6. Do I use run () or start () to start a thread ()?
7. Can constructor be overwritten?
8. Can I inherit the string class?
9. After a thread enters a synchronized method of an object, can other threads access other methods of this object?
10. If there is a return statement in try {}, will the code in finally {} following this try be executed? When will it be executed, before or after return?
11. Programming question: how many equals 2x8 in the most efficient way?
12. The two objects have the same value (X. Equals (y) = true), but different hash codes are available, right?
13. after an object is passed as a parameter to a method, this method can change the properties of this object and return the changed result. Is it a value transfer or a reference transfer?
14. Does swtich work on byte, long, and string?
15. Write a singleton.
Database
16. Differences between stored procedures and functions
17. What is a transaction?
18. What is the role of a cursor? How do I know that the cursor has reached the end?
19. triggers are divided into pre-trigger and post-event trigger. There are differences between these two triggers. What is the difference between statement-level triggering and row-level triggering.
20. Please express the meaning of a strong name
21. list several loop methods in C # and point out their differences
22. In SQL srever, new data is inserted into a table, and how to quickly obtain the current value of the Self-increment Field
23. Under what circumstances will you use the virtual method? What is the difference between it and the interface?
24. How do I understand static variables?
25. If you need to pass variable values in a B/S system, but you cannot use session, cookie, and application, how can you handle them?
26. Microsoft has launched a series of application blocks. What are the application blocks you know and their functions?
27. list some design patterns you have used and under what conditions do you want to use them?
28. What do you know about WebService?
29. How do I pass Chinese parameters through hyperlinks? Please provide code
30. programmatically traverse all textbox controls on the page and assign it a string. Empty? Please provide sample code
31. Which of the following methods can be used to access the member functions and attributes of another class? Please give a column to illustrate and analyze them.
Please provide code
32. If you need to record the number of instances of the class, write a simple class to prove how to implement it.
33. class A is the base class of class B and has its own constructor. For example, we recommend that you describe the execution process of Class B's constructor from Instantiation to extinction.
34. Write a method to flip a string and add some conditions, such as "," and "." To design a test case for it.
35. What is reflection?
36. How to Write Design Patterns with Singleton
37. What is application pool?
38. What are the advantages and disadvantages of the differences between linked lists and arrays?
39. How to Implement remoting on the client server?
40. What is memory leakage? How can I determine whether a memory leak is detected in the simplest way?
41. Tools used to call stored procedures
42. What is Web service?
43. How to Implement socket? (C # code)
DOTNET interview questions (welcome to join the new interview questions) pgmfan
7. Differences between final, finally and finalize
8. Can anonymous inner class (anonymous internal class) be extends (inherited) other classes, or implements (implemented) interface (Interface )?
9. The differences between static nested class and inner class are as follows: the more you say, the better. (Some questions are very general ).
10. Differences between hashmap and hashtable.
11. Differences between collection and collections.
12. When to use assert?
13. What is GC? Why does GC exist?
14. String S = new string ("XYZ"); how many string objects are created?
15. How much is math. Round (11.5? Math. Round (-11.5) and so on?
16. Short S1 = 1; S1 = S1 + 1; what is the error? Short S1 = 1; S1 + = 1; what is the error?
17. What is the difference between sleep () and wait?
18. Does the array have the length () method? Does string have the length () method?
19. The elements in the set cannot be repeated. How can we identify whether the elements are repeated or not? Is = or equals () used ()? What are their differences?
20. Give me the most common runtime exception
DOTNET interview questions (welcome to join the new interview questions) pgmfan
Exam
Note: select the answer to your questions. If you think it is difficult to answer questions by hand, you can make a mark to answer questions in person.
. Net Basics
1. What is packing and unpacking?
2. What is overload?
3. What is the difference between the value type and the reference type?
4. How to understand delegation?
5. Do you know about strong signatures in a collection?
6. What is the difference between C # interfaces and classes?
7. Please explain the technical terms of the application domain, assembly, metadata, and reflection.
ASP. NET
1. Do you know about URL rewrite? Briefly describe its principles and implementation methods in ASP. NET.
2. Simple Introduction to form-based authentication methods in ASP. NET
3. In ASP. NET, how does one call the Web service method?
4. What are the functions and implementation methods of view State?
5. How to Implement segment cache?
6. Do you know the following names:. Net pet shop, ibuyspy store, dotnetnuke, nunit, Data Access Application Block? Let's talk about what they are.
Database development
1. How do you handle paging when more than 0.1 million records are displayed on the page?
2. describe the characteristics of Dataset
3. What are the general steps for using ADO. Net to operate SQL Server 2000 databases?
4. Auto-increment of the primary key of a table in the database is a common situation. In ASP. NET or C # programs, you must insert a record into the table and immediately find this record from the table. The timestamp cannot be used. How can this problem be solved?
5. What tools will you use for database performance analysis and optimization?
XML
1. List the XML technologies you know and Their Applications
2. How to implement XML serialization (a simple code example is provided)
3. Do you know about XSD? If so, briefly describe its features.
Web Development
1. Do you know about Ajax? Let's talk about its features and general implementation methods.
2. Write a simple code that uses XMLHTTP to work.
3. How to define nested CSS style classes
4. Implement Object-oriented Inheritance, encapsulation, and overloading with simple JavaScript pseudo
Network
1. What is the working principle of. Net remoting? Write a. Net remoting example briefly.
2. What classes are available for requests from a program to a remote HTTP site?
3. How do you use web services during development?
Platforms and services
1. How many users have access to web services,. Net remoting, MSMQ, and Enterprise Services? Can you briefly introduce their features?
2. Briefly describe the key features and application scenarios of COM +/Enterprise Services
3. How do you understand the positioning and functions of BizTalk Server, SharePoint Portal Server, CMS Server, Exchange Server, and SQL server?
Collaboration and Quality Management
1. Which version control tools have you used?
2. during development, you use those tools for unit testing and Module Testing.
3. How to manage bugs
4. How to generate and manage development documents
5. Briefly describe the project development process
Others
1. Can I briefly introduce the anonymous functions and generics of Asp.net 2.0 membership, webpart, and C #? I hope I can briefly describe the features
2. How can we understand the similarities and differences between the responsibility chain and the command mode?
3. How do you learn new knowledge? Which sites or resources do you think are recommended?
DOTNET interview questions (welcome to join the new interview questions) pgmfan
1. What should I do if the list display page is large data?
2. How can I deal with the large data volume and multi-layer structure when using the Treeview control on the server?
3. How to save the uploaded attachments and browse them?
4. How can I verify the User Login Password, whether the new user's password is encrypted, and how can I encrypt it?
5. What are the concepts of overload functions and virtual functions?
6. What does the base class in Object-Oriented mean And when does the base class be used?
7. What are the advantages and disadvantages of comparing stored procedures with SQL statements?
8. describes how to differentiate the executenonquery and executescalar methods?
9. Have you used the keywords sum, Count, top, group by, case... when in SQL statements?
10. describes how to use XML?
11. Have you used XML schema or DTD? How can I use an XML schema or DTD to verify whether the XML format is correct?
12. Have you used an XSL style sheet? What is the usage of XSL: Apply-templates, XSL: Call-template, XSL: choose, and XSL: value-?
13. How to optimize databases, programs, and designs?
14. Describe the good coding standards for software development?
15. which documents are involved by technicians in the software development process? (Refer to ISO and CMM)
A company's exam for recruiting. Net senior programmers
The boss of a company asked me to help him find some. Net experts to join their company, so he sent out a job application request on 51job. There were endless numbers of people, but their levels were uneven. In order to demonstrate their technical capabilities and the quality of teamwork, I came out with a set of questions for senior programmers, here we will show you what you need. net programmer company (in view of my previous experience in Microsoft interview, it is similar to Microsoft's question type)
The questions are as follows:
Interview Questions for senior programmers
English question (can be answered in Chinese)
1) Please describe the different between XML, XSD, XSL through their definition.
2) Do you know the Persistent Object in J2EE; If yes, please describe some mechanisms of it.
3) Please describe some famous encryption arithmetic as follows as you know, one of arithmatics to explain if possible.
Intellectual Logic
1. A password only uses five letters (K, L, M, N, and O). The words in the password are arranged from left to right. The password words must follow the following rules:
(1) the minimum length of a password word is two letters, which can be the same or different.
(2) K cannot be the first letter of a word.
(3) If l appears, more than once
(4) M cannot make the last or second-to-last letter
(5) If K appears, N must appear.
(6) If O is the last letter, l must appear
Question 1: Which of the following letters can be placed behind o in Lo to form a three-letter password word?
A) k B) L C) m d) N
Question 2: If the letters K, L, and m can be obtained, what is the total number of two letter-length password words?
A) 1 B) 3 C) 6 d) 9
Question 3: Which of the following is the word password?
A) klln B) loml c) mllo d) nmko
Question 4: What is the total number of words with different passwords that can be composed of three identical letters?
A) 1 B) 2 c) 3 D) 4
Question 5: the word Password mmlokn can be changed to another password word through the following:
A) Replace each l B with N) Replace each M C with O instead of D) Move O to the left of N
2.62-63 = 1 the equation is not true. Please move a number (the minus sign and the equal sign cannot be moved) so that the equation is true. How can we move it?
Technical programming questions
1) use VB (or C #) to describe the encryption and decryption algorithm of blowfish. If not, you can describe it in the form of a Chinese + graph. If you are not familiar with the blowfish algorithm, describe the encryption and decryption algorithm you are familiar.
2) if you are a software architect, how do you build an architecture that complies with N-tie? Describe the role of each layer. (Note: consider WebService in the project)
3) use the code to briefly describe the design patterns of Singleton, abstract factory, bridge, and composite.
Scenario Analysis questions
If you are a test engineer and your good friend is a software engineer, you are all in the same department. Once, you find a major bug that has a fatal impact on the company's products. If you report your boss in time, you will be rewarded and promoted to a manager. However, if you do, you will lose a friend because he will be dismissed by the boss. On the contrary, if you help your friends conceal bugs, the company's products have great security risks. If you are attacked, the company will suffer a lot of losses, what should you do when I take my company and boss seriously?