Chapter 240: The answer is like a stream
When they see a virus, the first thing they think of is the anti-killing software of those famous software companies, or the anti-killing software developed by their own school and their teachers. Pen % fun % Pavilion www.biquge.info
So much so that they delayed a lot of time, and the network speed was deliberately limited by Nebula Technology, and the download on the external network alone took more than five minutes longer than the download on the internal network.
There are a total of four questions on the "exam paper", Meng Wentian will not do the second question, the decompilation tool for the third question is still downloading, and the fourth question basically only needs to be written silently, and he is not in a hurry to do it for the time being, so what he can do now is the first question.
He earnestly recalled the shopping sites he had seen in his previous life, recalling their features. After thinking about it for a while, he opened the notepad on the computer, began to open the document and build the frame in his mind, and then drew a brief process on the notepad and thought about how to transfer the database.
It didn't take long for the computer to prompt him that the decompilation tool he had downloaded had been downloaded.
He immediately saved the part of the flowchart that he had already drawn and went on to the third problem.
First, he installs the decompilation tool he just downloaded, runs it, and then decompiles the application provided by the exam questions.
In Meng Wentian's view, the third question is to send points, because after he ran the decompilation tool he just downloaded, the results came out smoothly. He effortlessly changed the parts of the source program that needed to be changed, and then compiled the modified program.
After seeing the screen of this modified application showing the requirements of the exam questions, Meng Wentian breathed a sigh of relief and said in his heart: "That's it! The first twenty points are here!"
Next, he continued to do the flow drawing of the first question.
Because there is too little time, in addition to customer login, he did not build too many dynamic pages, did not prepare a database for the sale, the page of the product is a lonely dress, after entering the web page, there is no other choice, can only look at the dress, at most on the number of clothes to make different inputs, so that you can save a lot of steps.
It is precisely because he uses the simplest page as much as possible to reduce the relevant functions as much as possible, especially the original funds in the customer's capital account are manually entered by the background, and there is no need to go through the banking system at all, saving 99% of the workload, so it did not take long for him to complete the program process.
After that, he followed this flowchart and started writing the source code program.
Meng Wentian uses the JAVA language, this language has already been used by Wang Ruxue under the coercion, not to mention that he was already a good programmer in his last life to help his wife, and now of course it is fast to write.
At first, his two hands could still be seen as keystrokes, but after a few minutes, the people next to him couldn't see his gestures at all, only a shadow on his keyboard.
Several students close to him were like ghosts in the daytime, and they couldn't help muttering: True or fake, why is it so fast? The hand speed is so fast, is it pretending? With just these few exam questions, does he need to type so many codes?
Fortunately, Nebula Technology Company used the most advanced keyboard in order to reflect the company's strength this time, although Meng Wentian's tapping speed was very fast, but the people around him only heard subtle movements, just like colorful peach blossoms in spring, and listened carefully to the sound of the petals rustling on the ground, but there was no sound if I didn't pay attention to it.
Time passed imperceptibly, and Meng Wentian was also addicted to writing programs. It wasn't until he had finished writing all the code according to the flowchart that he stopped, took a break, and then worked on the fourth problem, which was about the trajectory of the center of gravity.
Therefore, this is the exam, Meng Wentian did not write out the code silently like in the train, but thought about the topic carefully in his mind, organized and optimized the code written before in his mind, and began to type the code on the keyboard when he was very satisfied.
With less than 200 lines of code, he finished it in less than two minutes.
When the code was finished, he compiled it and looked at the effect, and then further optimized the code of the source program, compressing three more lines, and then breathed a sigh of relief with satisfaction.
After finishing the fourth question, he went back to the first question and double-checked the large pile of code that he had just entered quickly from beginning to end, correcting some mistakes. After the webpage opened, he tried to buy clothes, and then deducted money from his fund account, reviews, and returned them...... , after a series of actions, there is really nothing wrong.
In a happy mood, he saw that he had more time, beautified the web page, collected some pictures from the Internet, and changed the font and color of some texts.
Just as he was thinking about how to make the page look better, the teacher who monitored it said in front of him: "Ladies and gentlemen, it's time for the exam. ”
As soon as the voice ended, all the computer monitors went black.
Many students who have not yet finished are annoyed and unwilling, and some people ask loudly: "Teacher, I forgot to save it, what should I do?"
The teacher smiled and said, "Don't worry, the computer has already set up the auto-save function." Even if some of your students have not yet compiled some programs, we will help you complete them. ”
These people breathed a sigh of relief.
One girl patted her chest and said, "Hey, it scared me to death, I really don't remember if I saved that question just now." Immediately, she asked the person next to her, "Why did I only see four questions, did you see the fifth and sixth questions?" …… , this time it's bad, I don't know how many points I can get, and I don't even dare to expect to pass. ”
Her words resonated with many people, and a boy next to him said: "You are a top student in our school, how can you fail? If you don't do well in the exam, our school will be wiped out." …… To be honest, these questions are really difficult, how can there be such a test. For example, the first question, it's not that you don't know how to do it, but how can you have time to finish it, it's just deliberately making things difficult for us. ”
Someone immediately echoed his words, saying: "It's just that, how can a dynamic website be done in a few hours." There is also the last question, the trajectory of the center of gravity and display, there has been this question on the Internet for a long time, and it is done by some people who want to be in the limelight, and I heard that the most bullish person also needs 180 lines, let us use 200 lines of code to complete, it is really difficult for us. …… , Hey, you are still from Yenching University, and if you say that you pass, I am afraid that I will not be able to score forty points. ”
……
After listening to their discussions, Meng Wentian, who was worried that he would not do well in the exam, felt a lot calmer inexplicably, and said in his heart: Is that guy from Yenching University telling the truth or deliberately modest?
At this moment, a student asked the invigilator, "Teacher, did you say it wrong at the beginning, and we didn't see the fifth and sixth questions you mentioned?"
The teacher said proudly: "There is no fifth question and no sixth question, but we did test you six questions this time, and the fifth question is to detect and kill the virus." Since you have opened the email, it means that you have completed the question without the help of the teacher, so you will not be deducted your marks. As for the sixth question, it will be judged by the computer, which will give you a score based on your performance in the course of the exam, and as long as you have a characteristic that is superior to others, the computer will give you a perfect score of 10. When the scoring is over, we will also publicly announce the reason for the computer's score, so please trust the fairness of our rules. ”
After listening to the teacher's explanation, several people suddenly realized that these teachers were too yin.
However, it makes sense for them to do this, after all, the two questions are only ten points in total, which does not have a great impact on the overall score, and everyone has passed the fifth question, and no points will be deducted or added, and everyone can't say what they want to say.
As for the sixth question, they don't have a problem either, these students from prestigious universities are basically pretentious guys, they like this kind of question very much, and in their opinion they are the only ones who deserve a perfect score of 10.
The teacher also seemed to be proud of the questions made by their questioners, and said with a smile: "You are all proud of the sky, you are all computer geniuses, and you must all surpass others, so before the exam, our teacher did not say this kind of exam method, just to let you play freely and not do anything deliberately." …… Okay, let's just sit here and take a break, you can surf the Internet, you can play games, you can chat. Teachers are collectively marking papers in another computer room, and it is estimated that the test results will be announced within 30 minutes. ”
As soon as the teacher left, Yao Xiaoyan walked over briskly with a pouting and asked Meng Wentian, "Meng Wentian, how did you do in the exam? I didn't do well in several questions." ”
Meng Wentian said: "It's so-so, I didn't do the second question at all." …… It doesn't matter, they're all college students, and it's as it should be that we're a little worse than them. ”
Yao Xiaoyan was about to speak, but Meng Wentian remembered a yin and yang strange voice behind him, and said, "Hehe, I didn't know that I couldn't get tough at this time? Why was he so domineering before the exam, and now he has suddenly become a turtle with a shrunken head?"
You don't need to look at it to know that this guy is Shen Hexuan's dogleg, and he must have come to vent his anger for Shen Hexuan at this time.
Meng Wentian turned his head to look at the guy and said, "You guy is really thick-skinned, what are you talking about? Even if we don't do well in the test, we will better than you?"
What he said was simply not to take him into account as a college student from a key university, no, he was completely disdainful of him. Although the dogleg is a dogleg, it also has self-esteem, and it is really unbearable to be despised by a high school student, he said angrily: "The little Wang Ba Dan surnamed Meng, if your score is lower than mine, what do you say?"
Meng Wentian asked disappreciably: "What do you say?...... Whoever loses will pay 10,000 yuan, how about it?"
The dog's legs were silent for a while, and I didn't know what to do for a while.