Five multiple-choice questions in logic Testing
Professional knowledge fill in 16 questions
-256 Complement
Sizeof operator Application
Define a macro with parameters and return the maximum number of three numbers.
Reference: define a macro, input three numbers, and return the maximum value.
Reference: define a macro with parameters to obtain the maximum number of three numbers.
Reference: Click the open link.
Reference: Click the open link.
Reference: Click the open link.
Programming 3 questions
1. Int strlen (char * A) is not implemented using global variables and local variables );
Reference: strlen Function)
Int strlen (char * A) {If ('\ 0' = * A) // If (! * A) return 0; // else return 1 + strlen (a + 1 );}
Reference: two questions in C language, without using local variables and global variables to implement strlen
2. Use a pointer to implement void reverse (char * Str) in reverse string order );
Reference: C language for reverse string order
Reference: Use the pointer method to write a function to reverse the given string.
3. Find the longest substring of a character in the string, for example, abccchgcccccccc, and return cccccccc
Char * search (char * STR, char C );
Answer 4? 5 questions
1. Differences Between TCP and UDP, their respective advantages and disadvantages
2. Can global variables be renamed with local variables? Why?
3. What are the Process Scheduling Policies in the operating system?
4. Use two stacks to implement one queue operation.Algorithm
Open Question 6 (? 7) question
1. Use one word to express the comments of people around you
2. Here is an example of your "trust in people"
3. What is your biggest regret?
4. What do you think is the ideal job?
5. There are a large number of Web advertisements, but only a few users click on the advertisement. Please give at least five ways to increase the click rate of the advertisement.
6. There are many university courses. There are various preparation methods before the exam. What kind of methods do you use?