Our company used to offer C ++ recruitment questions. The questions are difficult and there are no strange questions. If you have a correct answer of 60 or more, you are considered a qualified network development engineer.

Source: Internet
Author: User

 

The following are the original C ++ engineer recruitment questions of our company. The questions are difficult and there are no strange questions. If you get a correct 60 or more, congratulations! You are a qualified network development engineer.

1. when writing the "=" condition judgment, it is often possible to write only one "=" error, whether there is any way, you can find this error before debugging and running the program. (2 points)
2. What is the difference between struct and union. (4 points)
3. What are the differences between far and near in windows? (2 points)
4. The Goto keywords in C language have been criticized and not recommended for use. But now, please give a good example of using Goto and illustrate the benefits. (4 points)
5. What do you do if you want to compare the two-character dashes? What if the comparison is case insensitive? (4 points)
6. Why do I usually use Enum instead of const or # define when defining Integer constants in the C ++ class? (2 points)
7. the project generated using the VC wizard, especially the MFC project, contains stdafx. H and two files stdafx. CPP and at the beginning of each CPP, there will be # include "stdfx. H ". What are the two files used. (2 points)
8. In the header file of the class automatically added by VC
# If! Defined (......)
# Define ......
And there are
# Endif //! Fefined (......
What are these functions. (2 points)
9. In the C Runtime Library, there are two functions: memcpy and memmove. What are the differences between the two functions? (2 points)
10. What are network byte sequence and host byte sequence? How to convert? (4 points)
11. If a host is configured with multiple IP addresses, how do you know which IP addresses are allocated? How can we implement it through a program? (4 points)
12. list some member protocols in the TCP/IP protocol family. (4 points)
13. What are the main differences between TCP and UDP? (4 points)
14. ISO defines the layer-7 structure of the network. Which layer is it? (4 points)
15. Divide the network address into Class A, Class B, and class C in an IP network. What is the principle of division. (4 points)
16. We usually log onto the website to view what protocols the webpage uses? (2 points)
17. when assigning static IP addresses, in addition to IP addresses and masks, you usually need to allocate the addresses of gateways and domain name (DNS) servers, what are the functions of the gateway and Domain Name Server. (4 points)
18. What methods can be used for data communication between two processes on the same host of the Windows operating system? (4 points)
19. In Windows 32-bit operating system, How much memory space the operating system has prepared for each user process. (2 points)
20. Virtual Memory is used in windows. Please briefly describe the concept of "Virtual Memory. (4 points)
21. What are the functions and benefits of dynamic connection library (DLL. (4 points)
22. Briefly describe the role of the Windows registry. (4 points)
23. The following abbreviations are explained: MFC, API, STL, COM, VCL, ASP, CGI, lan, VLAN, Nat, and SSL. (4 points)
24. In the ANSI character mode, how does one encode and store Chinese characters? (4 points)
25. What is the difference between executable files that can be run and files with the COM Extension and exe extension. (4 points)
26. Briefly describe the role of the SNMP protocol. (4 points)
27. Briefly describe the concept of network management. (4 points)
28. Simple Program: it is known that the prototype of the C ++ class string is:
Class string
{
Public:
String (const char * STR = NULL); // common Constructor
String (const string & other); // copy the constructor
~ String (); // destructor
String & operate = (const string & other); // value assignment function
PRIVATE:
Char * m_data; // used to save strings
};
Implement the preceding four functions of string. (8 points)

Related Article

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.