I can't hide it from everyone!
Chapter 38 Writing Code
Chapter 38 Writing Code
The summer camp activities have lasted for ten days, and Du Yun has been tortured these ten days.
On the night when Zhou Shuhua came, Sun Gongli also came to his room to ask questions.
I don't know where this little girl got the news that she solved the math problem by herself, which made Du Yun panic.
If he hadn't sworn at that time that he definitely didn't answer it by himself, maybe he had guessed it right!
He didn't want to be known about his deeds of solving this question. If it got out, he would be in trouble, and those idiots would definitely come over to make troubles.
In the past ten days, Du Yun has demonstrated his super mathematical ability, and he is invincible in answering questions in class, after class, and in exams.
Now none of the students in the summer camp dared to easily question Du Yun's ability.
Today, Zhou Shuhua led Du Yun and others to the computer classroom, which was filled with the latest computers.
There are other people in the classroom, wearing glasses, typing fiercely on the keyboard in their hands, engrossed.
"Ahem! Put down what you're doing first, and I'll introduce these new students."
Another bald old teacher was on stage. Judging from the thick hair, he was definitely an invincible programmer.
"These students are students who came to participate in the activities of the summer camp. They came to learn programming and feel the charm of computers. You should get along well."
After finishing speaking, the elderly teacher turned to look at Du Yun and the others.
"These are the students who won the gold medal in the National Computer Competition and were recommended. Today you are going to class with them."
Du Yun and others nodded in agreement, showing expressions of exclamation.
They are all students from top high schools, so they naturally know the strengths of students who can win the gold medal.
These engineering men wearing glasses in front of them are likely to become the future computer masters and the reality creators of Cyberpunk 2077.
In the past ten days, a squad leader was elected in the summer camp group, and some things are indeed better handled by a leader.
The squad leader's name is He Tianzheng. He is a boy with strong leadership skills and affinity. Even people like Du Yun who are not good at sociability think that He Tianzheng is easy to talk to.
It is enough to see his kindness.
Moreover, in this level of summer camp activities, being able to become the squad leader must be recognized by many people, and in the future, he will definitely be able to get a better score in the overall quality evaluation.
"Hello, please advise me."
As the class monitor, He Tianzheng stood up and wanted to shake hands with them, setting an example, the students in front of them didn't look good, they didn't respond to He Tianzheng at all, they turned their heads and walked to their seats.
He Tianzheng was left standing there alone in embarrassment.
Are there too many numbers?This is what is on everyone's mind.
Even the bald teacher doesn't know what to say. My students are top-notch in grades and IQ, but their EQ is too low.
Concentrating on research is indeed good, but not knowing how to behave is also bad.
Even Du Yun was a little unhappy when he saw this scene. Just because he doesn't like making trouble doesn't mean he isn't a person with a temper.
"Let me explain why you come here to learn computer programming."
Zhou Shuhua didn't see the embarrassment on He Tianzheng's face, and explained to the students in front of him from behind.
"Computer, as a branch of mathematics, has developed rapidly in the past hundred years and has become a branch of science that human beings cannot escape from. Now to measure the ability of a country, the hard indicator is to check the computer ability of this country. If you cannot enter Tsinghua University in the future, you will also When I go to other famous universities, I can’t do without computers!”
"Bringing you to a computer class today is to let you feel the importance of computers to the country and let you judge whether to choose computers in the future."
"The course is taught by Professor Wang Luohua. You will study with these students these two days, understand?"
Science and technology rejuvenate the country, this sentence has been said for a long time, learning computer knowledge will help the development of future technology, and it is one of the indispensable technologies in contemporary society!
For example, a series of hardware and software such as mobile phones and computers, which are most easily accessible to ordinary people, are themselves designed by computer professionals.
Today's technological prosperity would not be possible without computers.
"understand!"
Everyone said loudly.
But those gold medal winners seem to have ignored these talents at all, and continued to do what they were doing.
Professor Wang Luohua didn't waste any time and started teaching directly.
"You are also outstanding students from top high schools across the country. You have a little foundation in mathematics. I won't talk about the simple ones, but just talk about the difficult ones."
The teacher's lectures are very fast, and only a small number of students in the summer camp have ever been exposed to the concept of code, and they are gradually unable to keep up.
Although computer science is a branch of mathematics, writing code is learning mathematics, but it is not as simple as it is imagined to make people change their thinking at once.
"You try to type this code in the computer to see if you can get the corresponding answer."
In an instant, Wang Luohua typed out dozens of lines of code on the public screen, and asked the students to change the code to solve the problem after they successfully got the correct answer.
When Sun Gongli and others heard this request, they were stunned on the spot.
Didn't you say that the beginning of learning code is helloworld? !
Why come to dozens of lines of code now, and it's all about calculations? !
When everyone was confused, Du Yun typed the code calmly. He was a pianist in Zuan back then, a little prince of Kangba, and his typing speed was extremely fast. In less than 2 minutes, before anyone else had opened the programming software, Dozens of lines of code floated on the computer screen.
run!
The data slides, and the correct answer crosses over on the blackboard.
But he didn't raise his hand to say that he was done. He didn't want to be noticed if he didn't want to be noticed.
Continue to think about whether this code can be expressed in other ways. The system once gave him the skill of general knowledge of code.
This makes him more sensitive to codes than anyone else!
Within 10 minutes, Du Yun wrote another code, the answer was exactly the same, and the amount of code was reduced a lot.
The more Du Yun did it, the more interesting it became. His brain was spinning crazily, thinking about how to reduce the amount of code.
The reduction in the amount of code involves another aspect, that is, the algorithm.
The most difficult thing in the computer field is the algorithm. Algorithm engineers have extremely high salaries outside. Basically, as long as a large company has to spend a lot of money to hire algorithm engineers to design algorithms.
There is a limit to the computing power that each computer has, and it may not take much time to run a line of code.
But what about running dozens of lines, hundreds of lines, tens of thousands of lines, or even millions of lines of code?
You must know that the content in a program often has hundreds of thousands of lines of code. If some algorithms can be simplified, it will save a lot of computing power, and these computing power is money!
A ten-line code only needs one line to be solved in the end, which saves a lot of computing power!
Now Du Yun is designing a more concise code, which requires a strong mathematical ability!
Half an hour later, when everyone was worrying about the first question, Du Yun had already designed three different codes to express the answers.
In the end, Du Yun felt that he could not continue to simplify the code, so he secretly reduced the design program software, opened the web page, and started playing the game!
When he just designed the code, he had already found the program to get rid of the teacher's monitoring of the computer screen.
4399 small game, Ye Qinghui.
No one present could have dreamed that under such circumstances, someone was actually playing 4399 mini-games in the classroom? !
This is too bold!
This is the main reason why Du Yun chose to sit at the last table.
No one can bother me playing games!
(End of this chapter)
The summer camp activities have lasted for ten days, and Du Yun has been tortured these ten days.
On the night when Zhou Shuhua came, Sun Gongli also came to his room to ask questions.
I don't know where this little girl got the news that she solved the math problem by herself, which made Du Yun panic.
If he hadn't sworn at that time that he definitely didn't answer it by himself, maybe he had guessed it right!
He didn't want to be known about his deeds of solving this question. If it got out, he would be in trouble, and those idiots would definitely come over to make troubles.
In the past ten days, Du Yun has demonstrated his super mathematical ability, and he is invincible in answering questions in class, after class, and in exams.
Now none of the students in the summer camp dared to easily question Du Yun's ability.
Today, Zhou Shuhua led Du Yun and others to the computer classroom, which was filled with the latest computers.
There are other people in the classroom, wearing glasses, typing fiercely on the keyboard in their hands, engrossed.
"Ahem! Put down what you're doing first, and I'll introduce these new students."
Another bald old teacher was on stage. Judging from the thick hair, he was definitely an invincible programmer.
"These students are students who came to participate in the activities of the summer camp. They came to learn programming and feel the charm of computers. You should get along well."
After finishing speaking, the elderly teacher turned to look at Du Yun and the others.
"These are the students who won the gold medal in the National Computer Competition and were recommended. Today you are going to class with them."
Du Yun and others nodded in agreement, showing expressions of exclamation.
They are all students from top high schools, so they naturally know the strengths of students who can win the gold medal.
These engineering men wearing glasses in front of them are likely to become the future computer masters and the reality creators of Cyberpunk 2077.
In the past ten days, a squad leader was elected in the summer camp group, and some things are indeed better handled by a leader.
The squad leader's name is He Tianzheng. He is a boy with strong leadership skills and affinity. Even people like Du Yun who are not good at sociability think that He Tianzheng is easy to talk to.
It is enough to see his kindness.
Moreover, in this level of summer camp activities, being able to become the squad leader must be recognized by many people, and in the future, he will definitely be able to get a better score in the overall quality evaluation.
"Hello, please advise me."
As the class monitor, He Tianzheng stood up and wanted to shake hands with them, setting an example, the students in front of them didn't look good, they didn't respond to He Tianzheng at all, they turned their heads and walked to their seats.
He Tianzheng was left standing there alone in embarrassment.
Are there too many numbers?This is what is on everyone's mind.
Even the bald teacher doesn't know what to say. My students are top-notch in grades and IQ, but their EQ is too low.
Concentrating on research is indeed good, but not knowing how to behave is also bad.
Even Du Yun was a little unhappy when he saw this scene. Just because he doesn't like making trouble doesn't mean he isn't a person with a temper.
"Let me explain why you come here to learn computer programming."
Zhou Shuhua didn't see the embarrassment on He Tianzheng's face, and explained to the students in front of him from behind.
"Computer, as a branch of mathematics, has developed rapidly in the past hundred years and has become a branch of science that human beings cannot escape from. Now to measure the ability of a country, the hard indicator is to check the computer ability of this country. If you cannot enter Tsinghua University in the future, you will also When I go to other famous universities, I can’t do without computers!”
"Bringing you to a computer class today is to let you feel the importance of computers to the country and let you judge whether to choose computers in the future."
"The course is taught by Professor Wang Luohua. You will study with these students these two days, understand?"
Science and technology rejuvenate the country, this sentence has been said for a long time, learning computer knowledge will help the development of future technology, and it is one of the indispensable technologies in contemporary society!
For example, a series of hardware and software such as mobile phones and computers, which are most easily accessible to ordinary people, are themselves designed by computer professionals.
Today's technological prosperity would not be possible without computers.
"understand!"
Everyone said loudly.
But those gold medal winners seem to have ignored these talents at all, and continued to do what they were doing.
Professor Wang Luohua didn't waste any time and started teaching directly.
"You are also outstanding students from top high schools across the country. You have a little foundation in mathematics. I won't talk about the simple ones, but just talk about the difficult ones."
The teacher's lectures are very fast, and only a small number of students in the summer camp have ever been exposed to the concept of code, and they are gradually unable to keep up.
Although computer science is a branch of mathematics, writing code is learning mathematics, but it is not as simple as it is imagined to make people change their thinking at once.
"You try to type this code in the computer to see if you can get the corresponding answer."
In an instant, Wang Luohua typed out dozens of lines of code on the public screen, and asked the students to change the code to solve the problem after they successfully got the correct answer.
When Sun Gongli and others heard this request, they were stunned on the spot.
Didn't you say that the beginning of learning code is helloworld? !
Why come to dozens of lines of code now, and it's all about calculations? !
When everyone was confused, Du Yun typed the code calmly. He was a pianist in Zuan back then, a little prince of Kangba, and his typing speed was extremely fast. In less than 2 minutes, before anyone else had opened the programming software, Dozens of lines of code floated on the computer screen.
run!
The data slides, and the correct answer crosses over on the blackboard.
But he didn't raise his hand to say that he was done. He didn't want to be noticed if he didn't want to be noticed.
Continue to think about whether this code can be expressed in other ways. The system once gave him the skill of general knowledge of code.
This makes him more sensitive to codes than anyone else!
Within 10 minutes, Du Yun wrote another code, the answer was exactly the same, and the amount of code was reduced a lot.
The more Du Yun did it, the more interesting it became. His brain was spinning crazily, thinking about how to reduce the amount of code.
The reduction in the amount of code involves another aspect, that is, the algorithm.
The most difficult thing in the computer field is the algorithm. Algorithm engineers have extremely high salaries outside. Basically, as long as a large company has to spend a lot of money to hire algorithm engineers to design algorithms.
There is a limit to the computing power that each computer has, and it may not take much time to run a line of code.
But what about running dozens of lines, hundreds of lines, tens of thousands of lines, or even millions of lines of code?
You must know that the content in a program often has hundreds of thousands of lines of code. If some algorithms can be simplified, it will save a lot of computing power, and these computing power is money!
A ten-line code only needs one line to be solved in the end, which saves a lot of computing power!
Now Du Yun is designing a more concise code, which requires a strong mathematical ability!
Half an hour later, when everyone was worrying about the first question, Du Yun had already designed three different codes to express the answers.
In the end, Du Yun felt that he could not continue to simplify the code, so he secretly reduced the design program software, opened the web page, and started playing the game!
When he just designed the code, he had already found the program to get rid of the teacher's monitoring of the computer screen.
4399 small game, Ye Qinghui.
No one present could have dreamed that under such circumstances, someone was actually playing 4399 mini-games in the classroom? !
This is too bold!
This is the main reason why Du Yun chose to sit at the last table.
No one can bother me playing games!
(End of this chapter)
You'll Also Like
-
Hogwarts: Don't you all have the God's Eye?
Chapter 181 13 hours ago -
Pirates: Dark Smoker, never lose three times in a row
Chapter 217 13 hours ago -
Rebirth starts with rejecting childhood sweetheart and hanging out with a rich woman
Chapter 201 13 hours ago -
A Different World That Started as a Slave
Chapter 208 13 hours ago -
The beautiful girl vest system starting from Robin
Chapter 191 13 hours ago -
After being tricked into joining the Demon Sect, I created the Changsheng Family
Chapter 195 13 hours ago -
I asked you to take your sister to school, and you fell in love with the teacher.
Chapter 204 13 hours ago -
Quick Wear: When the Doomsday Boss is bound to the Childbearing System
Chapter 23 13 hours ago -
The girl who prayed for the evil god's attention
Chapter 10 13 hours ago -
Endless Breaking Limits, I am in Gaowu Heaven Rewards Hard Work
Chapter 164 13 hours ago