<span id="Label3"></p> <p><p>In the morning of June 11, 2015, 11 received Baidu Test side of the electric plane!<br>The Interviewer's feeling is very good, is the technical personnel side, asked is only particularly wide, but all is very basic. Instantly think Baidu is very good.<br><strong>1: First of all, let me briefly introduce myself, can be from the recent projects or read books? </strong><br>Then I said no project, no project experience, and then told him I was actually doing the ACM contest during College.</p></p><p><p><strong>2: What do I say about my skills? </strong><br>And then I read it all over my resume.</p></p><p><p><strong>3: Ask me the difference between heap memory and stack memory in C + +</strong><br>(in fact, Good to see, and then just started a little nervous.) I'm shaking a little bit. I say that the memory of the stack is some local variables or functions used, faster, and then run the process of allocation, the heap is the global variable or the program ape themselves with new or malloc distribution, slower, usually the list form.</p></p><p><p><strong>4: Ask me about SQL I don't</strong> understand<br>To be honest is to live, not to know very well, to know a little knowledge of class learning</p></p><p><p><strong>5: ask Linux to use more than usual. Now there are very many Linux log files that want to process the log files out of Yesterday's time? </strong><br>There was no thought at All. In fact, it's a very easy question, and He's actually asking a few parameters of the find Command. It's just a couple of hours of Time. But it was more mongolian. If you don't know where it is, say No.</p></p><p><p><strong>6: sorting function with no, How to sort some files by time? </strong><br>I said I could use sort, but I forgot the exact number of References.</p></p><p><p><strong>7: now to log on when there are mailbox verification, how to check the correctness of the mailbox? </strong><br>I say there are three points, which is part of the @ sign, followed by the @ sign. Part of it, The third part is the point behind it. And then the first part is the test can not have letters, numbers, underscores, or special characters, The second part is a number of frequently used email service providers, such as qq,163. Baidu and the Like. The third part will have COM. Cn,org or something like that. Then the second part is a good test of the fixed ratio, then the first part can be based on the requirements of different service providers to Test.<br>(it is very regrettable that this question is not the most important thing, that is, the others are not satisfied with the condition is not legal.) In Detail)</p></p><p><p><strong>8: then give you an elevator program and then get you from the use, safe. Can maintenance and other aspects of testing? </strong><br>First of all, It is the elevator scheduling algorithm, the current should be more useful elevator scheduling algorithm, and then the security can be repeated test, see if there will be failure, the door can not open or trapped. Or it can't be moved, and then the boundary test can test the current layer if it is going to the current layer. Class maintenance is to increase now also have to add a few layers on the above can not meet the elevator only simple modification can meet the Conditions.</p></p><p><p>(then He said if someone trapped in it should do or do not test) <strong>is the details ah, so pay attention to the details</strong> . I said I didn't think about it.</p></p><p><p><strong>9: say is to give two articles in English. How to infer its similarity? (answer the Comfortable)</strong><br>Then I asked how the similarity was defined, and could not be understood as the number of occurrences of the same or the same word as a word, he said. Then I said that first count the same number of words, and then in the statistics of the occurrence of the same word frequency, and then design a formula, the denominator is the total number of WORDS. Then the molecule designs a formula for both of these two</p></p><p><p><strong>10: What are the process scheduling algorithms? </strong><br>Yesterday just finished the exam, I listed a few first to first service, priority, the shortest time or something.</p></p><p><p><strong>What are the differences between the 11:TCP and UDP protocols, and then TCP or udp? </strong><br>I say TCP is reliable transmission, UDP is Unreliable. UDP is relatively high-speed, TCP is slower, to achieve a more responsible, and then let me enumerate the QQ message. or ping the command with UDP then visit the webpage, download something, use TCP. (he is not expected to be very good in this regard, and he did not ask)</p></p><p><p><strong>12: give some points and a point. Ask if this point is in some of these points? </strong><br>belongs to the algorithm topic, I say can first ask convex hull. It then translates to whether a point is inside the polygon, and then the Point's cross product can be used to find the point on the side of a line segment (in fact, if the code is implemented it is more Complex)</p></p><p><p><strong>13: say the difference between static and global variables</strong><br>I said something, he was not agreeable. He told me that it was static that was assigned only Once. and global variables can be assigned multiple times<br>(correct answer: 1) The description of the global variable (the external variable) is then prefixed with static, which constitutes the global variable. The global variable itself is a static storage method. Static global variables are, of course, static Storage.</p></p><p><p>The two are not different in how they are stored. The difference between the two is that the scope of the Non-static global variable is the entire source Program. When a source program consists of multiple source files, non-static Global variables are valid in each source File. Static global variables limit their scope. This is only valid within the source file that defines the variable and cannot be used in other source files of the same source Program. Because the scope of a static global variable is limited to a single source file, it can only be common for functions within that source File. It is therefore possible to avoid causing errors in other source Files. )</p></p><p><p><strong>14: Ask me if I have to learn something new, okay? </strong><br>I said of Course. Very fond of learning the experience of things</p></p><p><p><strong>15:android and iOS development have no interest in</strong><br>I said I was interested in iOS Development.</p></p><p><p>Finally asked if I have any questions, I said no, then advised me to put the database of operational science, is the basis of things. Then the Linux commands are more familiar to the familiar.</p></p><p><p></p></p> <p><p> Baidu mobile search test electric surface </p> </p></span>
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