Wang Xueba System
Chapter 250 Optimized Tests
He explained the lecture topic to Sun Yi, and when Sun Yi had finished his questions, Luo Hao said, "I plan to test the program I modified this morning. I'm almost done with the test, so I need to trouble you to test it for me."
"Okay." Sun Yi nodded and did not leave, sitting next to Luo Hao, waiting for him to test the program.Tan Taiyue and the others also came over after hearing the words.
When Luo Hao saw this, he didn't say anything. He picked up the second-level math problem that Sun Yi had brought over and started to test it.
"Okay, let's wait a little bit longer than in the morning." Luo Hao took a photo of the topic and uploaded it to the computer, then said.
"We took a look at your code this morning. The accuracy of this image recognition is very high?" Tantaiyue said suddenly.
"Well, I made this in the program specifically. After all, it's not a time when there are electronic versions of the questions." Luo Hao laughed, "However, there are also flaws, handwritten text and hand-painted pictures. If it is standardized, the recognition success rate will be greatly reduced."
"That's not easy, I thought you called some big company's character recognition interface." Tan Taiyue said, "It's already surprising that you can do this in such a short period of time. "
"In the morning, I modified the program logic and changed the forward push to reverse push. If this is done, the program will consider more things, but theoretically it should be able to solve the problem of interfering variables." Luo Hao did not work on the text recognition anymore. Say more.
The text recognition technology, although Luo Hao probably could have made it if he researched it, but there was a similar piece of code in the file he got before, and Luo Hao took it and changed it, so he used it directly.
"Ding--"
The program's prompt sounded, and Luo Hao clicked off the pop-up prompt on the screen that the problem was solved successfully, and looked at the answer to the problem.
"Hey, sure enough, according to my assumption, it is indeed right." Luo Hao laughed.
"Awesome." Sun Yi looked at the answer to this question on another piece of paper and praised.
"The next thing is the test." Luo Hao smiled, "First test whether there are any problems with the second-level math problems. If there are no problems, test the third-level math problems. Senior, this matter will trouble you."
Luo Hao took out a stack of questions from his bag: "This is a third-level math question. I will test one or two questions first to see if there are any obvious bugs."
"Okay...Okay." Sun Yi looked at the stack of questions in Luo Hao's hand, and was a little dazed. His junior had already prepared for it. Could it be that he was sure that he would be able to complete the program today? Modify it?
Tan Taiyue looked at Luo Hao, saw that Luo Hao had no intention of speaking, so she asked: "What about us?"
"Oh, team leader, I have an idea." Luo Hao said in a daze, "I think this program can be properly simplified and used in school teaching in the future. But if it is circulated to the society, the code needs to be encrypted to prevent Some criminals cracked the program and used it for illegal activities.”
"And even if it's not used for teaching, but only used in scientific research, we shouldn't relax the encryption of the program. Just in case." Luo Hao saw that Taiyue hesitated, and knew what she was thinking.
"Alright. What you said makes sense." Tantaiyue nodded upon hearing this, and called Bai Ling and Zhou Cheng to study the code encryption.
How to make it impossible for people to decompile the compiled code to obtain the source code, Luo Hao has also thought about it before, but the actual test has not been carried out. At this time, the main function of the program should be completed first.
The meeting room gradually became quiet again, only the occasional sound of Tantaiyue and the three of them discussing.
Luo Hao was also immersed in the testing of the program.For the third-level math problem, the calculation of the program is indeed slower, but it is not too bad. After all, the computing power of the computer is indeed many times stronger than that of most people.
"Well, the effect seems to be pretty good." Luo Hao nodded in satisfaction, and then quietly pushed the stack of third-level math problems to Sun Yi.
Luo Hao silently took out a stack of fourth-grade math problems from his schoolbag, and then heaved a sigh of relief. In order to hold these things, he specially changed into an oversized backpack, and now he can finally take out all the problems.
Luo Hao began to test the fourth grade math problem.On the other hand, Sun Yi looked at the stack of questions marked as third-level math problems that suddenly appeared in front of him, and was a little speechless. He didn't know how long it would take to test these second-level math problems in his hand. Give yourself another stack.
But Sun Yi didn't say anything. Sun Yi felt very happy to witness the birth of such a program and participate in the program's testing. He said that he was also a participant in the program development. Yes, when I get home, can my dad not agree to my little wish of buying a good car?
Thinking of this, Sun Yi was immediately motivated and became more serious about the test.
Luo Hao, who was sitting next to Sun Yi, didn't think so carefully. He frowned as he looked at the answer to the question given by the program on the computer screen.
This question is actually wrong.
Luo Hao began to carefully examine the problem-solving process of the program step by step.
At the fifth step of No.30, there was a slight deviation in the calculation of the program.
"It's still a question of selecting variables to match the formula." Luo Hao muttered to himself.
"Although there is more than one way to obtain this variable, all those that can match the formula have been verified. The reason for this error is more due to the problem of judging the variable. The logic of the program is to judge and select based on the existing variables. However, if there are multiple times in the title, different values of the same object and the same property variable in different states, in the calculation process brought into the formula, it is possible to select the wrong variable, resulting in calculation errors.” Luo Hao frowned, "Hey, this is another problem."
"Hey, I have to add another judgment, to classify the different values of the same object in different states of the same property variable, and when bringing it into the formula, only select the data in the same state for calculation, it should be fine." Luo Hao thought After thinking about it, "Go ahead and change it, I am born to be a hard worker."
............
The time passed by one minute and one second, and soon, the hour hand reached the position of 6 pm.
"Huh...it's finally finished." Luo Hao let out a long breath.
"Phew... the test is finally over." On the side, Sun Yi also let out a long breath.
Hearing this, Luo Hao silently pushed the fourth-grade math problem at hand...
"Okay." Sun Yi nodded and did not leave, sitting next to Luo Hao, waiting for him to test the program.Tan Taiyue and the others also came over after hearing the words.
When Luo Hao saw this, he didn't say anything. He picked up the second-level math problem that Sun Yi had brought over and started to test it.
"Okay, let's wait a little bit longer than in the morning." Luo Hao took a photo of the topic and uploaded it to the computer, then said.
"We took a look at your code this morning. The accuracy of this image recognition is very high?" Tantaiyue said suddenly.
"Well, I made this in the program specifically. After all, it's not a time when there are electronic versions of the questions." Luo Hao laughed, "However, there are also flaws, handwritten text and hand-painted pictures. If it is standardized, the recognition success rate will be greatly reduced."
"That's not easy, I thought you called some big company's character recognition interface." Tan Taiyue said, "It's already surprising that you can do this in such a short period of time. "
"In the morning, I modified the program logic and changed the forward push to reverse push. If this is done, the program will consider more things, but theoretically it should be able to solve the problem of interfering variables." Luo Hao did not work on the text recognition anymore. Say more.
The text recognition technology, although Luo Hao probably could have made it if he researched it, but there was a similar piece of code in the file he got before, and Luo Hao took it and changed it, so he used it directly.
"Ding--"
The program's prompt sounded, and Luo Hao clicked off the pop-up prompt on the screen that the problem was solved successfully, and looked at the answer to the problem.
"Hey, sure enough, according to my assumption, it is indeed right." Luo Hao laughed.
"Awesome." Sun Yi looked at the answer to this question on another piece of paper and praised.
"The next thing is the test." Luo Hao smiled, "First test whether there are any problems with the second-level math problems. If there are no problems, test the third-level math problems. Senior, this matter will trouble you."
Luo Hao took out a stack of questions from his bag: "This is a third-level math question. I will test one or two questions first to see if there are any obvious bugs."
"Okay...Okay." Sun Yi looked at the stack of questions in Luo Hao's hand, and was a little dazed. His junior had already prepared for it. Could it be that he was sure that he would be able to complete the program today? Modify it?
Tan Taiyue looked at Luo Hao, saw that Luo Hao had no intention of speaking, so she asked: "What about us?"
"Oh, team leader, I have an idea." Luo Hao said in a daze, "I think this program can be properly simplified and used in school teaching in the future. But if it is circulated to the society, the code needs to be encrypted to prevent Some criminals cracked the program and used it for illegal activities.”
"And even if it's not used for teaching, but only used in scientific research, we shouldn't relax the encryption of the program. Just in case." Luo Hao saw that Taiyue hesitated, and knew what she was thinking.
"Alright. What you said makes sense." Tantaiyue nodded upon hearing this, and called Bai Ling and Zhou Cheng to study the code encryption.
How to make it impossible for people to decompile the compiled code to obtain the source code, Luo Hao has also thought about it before, but the actual test has not been carried out. At this time, the main function of the program should be completed first.
The meeting room gradually became quiet again, only the occasional sound of Tantaiyue and the three of them discussing.
Luo Hao was also immersed in the testing of the program.For the third-level math problem, the calculation of the program is indeed slower, but it is not too bad. After all, the computing power of the computer is indeed many times stronger than that of most people.
"Well, the effect seems to be pretty good." Luo Hao nodded in satisfaction, and then quietly pushed the stack of third-level math problems to Sun Yi.
Luo Hao silently took out a stack of fourth-grade math problems from his schoolbag, and then heaved a sigh of relief. In order to hold these things, he specially changed into an oversized backpack, and now he can finally take out all the problems.
Luo Hao began to test the fourth grade math problem.On the other hand, Sun Yi looked at the stack of questions marked as third-level math problems that suddenly appeared in front of him, and was a little speechless. He didn't know how long it would take to test these second-level math problems in his hand. Give yourself another stack.
But Sun Yi didn't say anything. Sun Yi felt very happy to witness the birth of such a program and participate in the program's testing. He said that he was also a participant in the program development. Yes, when I get home, can my dad not agree to my little wish of buying a good car?
Thinking of this, Sun Yi was immediately motivated and became more serious about the test.
Luo Hao, who was sitting next to Sun Yi, didn't think so carefully. He frowned as he looked at the answer to the question given by the program on the computer screen.
This question is actually wrong.
Luo Hao began to carefully examine the problem-solving process of the program step by step.
At the fifth step of No.30, there was a slight deviation in the calculation of the program.
"It's still a question of selecting variables to match the formula." Luo Hao muttered to himself.
"Although there is more than one way to obtain this variable, all those that can match the formula have been verified. The reason for this error is more due to the problem of judging the variable. The logic of the program is to judge and select based on the existing variables. However, if there are multiple times in the title, different values of the same object and the same property variable in different states, in the calculation process brought into the formula, it is possible to select the wrong variable, resulting in calculation errors.” Luo Hao frowned, "Hey, this is another problem."
"Hey, I have to add another judgment, to classify the different values of the same object in different states of the same property variable, and when bringing it into the formula, only select the data in the same state for calculation, it should be fine." Luo Hao thought After thinking about it, "Go ahead and change it, I am born to be a hard worker."
............
The time passed by one minute and one second, and soon, the hour hand reached the position of 6 pm.
"Huh...it's finally finished." Luo Hao let out a long breath.
"Phew... the test is finally over." On the side, Sun Yi also let out a long breath.
Hearing this, Luo Hao silently pushed the fourth-grade math problem at hand...
You'll Also Like
-
Special Forces: Fusion of Deadshot Talent at the Start
Chapter 141 3 hours ago -
Naruto, if you dare to destroy my Uchiha, then we will fight four times
Chapter 171 12 hours ago -
I! The evil Uchiha kid
Chapter 166 12 hours ago -
Villain: We agreed to cancel the engagement, what are you regretting?
Chapter 150 12 hours ago -
Food: Who uses an electric rice cooker to make elixirs?
Chapter 188 12 hours ago -
After dying billions of times, I copied my talents and killed all races!
Chapter 105 12 hours ago -
NBA: Magic Johnson opens the season, crowned MOP
Chapter 111 12 hours ago -
The bizarre adventure that begins with One Punch Man
Chapter 155 12 hours ago -
My neighbor is Nakano Satsuki
Chapter 167 12 hours ago -
The rural rich man: It started when he was tricked by his father to return to the fishing village
Chapter 150 12 hours ago