Riding the wind of rebirth
Chapter 748 You Are a Liberal Arts Student
Chapter 748 You Are a Liberal Arts Student
It is difficult to say that it still has a lot of "retention" of assembly language, sacrificing readability for efficiency.
Further up is the high-level language, which is the most friendly to people. The current mainstream is BASIC and PASCAL proposed by Li Hongjiang.
The characteristic of advanced language is that it is closer to human language habits, which can almost be equivalent to a special kind of English, which is easy to master.But the disadvantage is that a lot of redundancy will be generated after compilation, and the compiled program takes up a lot of space and has low efficiency.
The efficiency of C language is only ten to twenty percent lower than assembly, so C language can be used to write operating system software and development tool software.
It may even improve the operating system itself.
The UNIX mentioned by Li Kaijiang is an operating system similar to DOS, but it is far more complicated than DOS, because it has been born for multi-user and multi-tasking operations since its birth.
Therefore, its initial user is not an individual, but a large, medium and small computer shared by multiple people and multitasking in parallel, rather than a personal computer.
Moreover, this system is open source, which means that everyone can use it casually; and more than 90.00% of the system is developed in C language, so its functions are extremely powerful.
Until decades later, the UNIX system was also the main operating system used by major financial institutions, universities, and national strategic institutions.
Of course, with the popularity of personal computers and mobile phones, UNIX has also differentiated into a subset of personal editions. The latest Apple system, Android system and Hongmeng system on mobile phones are actually its children.
But that was a long time later. Now that Li Kaijiang asked about UNIX and C language together, Zhou Zhi knew that the school must have introduced a minicomputer.
But nowadays, even if it is a minicomputer, its computing performance is the same, and it is not even comparable to the performance of a flip phone later.
"The machine-readable card sampling program was developed by our department, elbow, do you want to have a look?" Mai Mingchuan enthusiastically sent out the invitation: "I invite you to the cafeteria for dinner!"
"Old Mai is still picky like that." Gu Kailai smiled and said, "You guys are rich and powerful now, so you don't know if you even invite us together?"
This is true. Nowadays, the most popular major in colleges and universities must be information technology. The country is in urgent need of talents in this area, and various resources are tilted towards this area.
"It's a lot of pressure." Mai Mingchuan shook his head: "The minicomputer cost the school more than 50 yuan. If we don't come up with a 100 million yuan result next year, the old secretary will eat me up."
"Let's go, let's go, let me invite you!" Mai Mingchuan waved his big hand: "But let's talk about it first and then don't mess up. If this project is really successful, will you apply or we will apply?"
Zhou Zhi thought it was funny: "Director Mai, actually, I think the joint declaration is more of a gimmick."
Zhou Zhi did all the hard work on this matter, and the idea was also brought up by Zhou Zhi. This baby is clearly the junior in Gu Lao's pocket, and the next hard work is all in the Department of Computer Science. If the results are finally considered to be in the Department of Chinese, then It is also very bad.
Seeing Mr. Gu nodding in agreement with Zhou Zhi's statement, Mai Mingchuan said with a smile: "It seems that the country has never had an information industry project that spans the two major disciplines of arts and sciences. It does sound more exciting to apply jointly!"
Even if it was a holiday stir-fry, the food in the canteen of Sichuan University was the same. After a random meal in the banquet hall next to it, after getting the approval of Mr. Gu, Zhou Zhi followed Mai Mingchuan and Li Hongjiang to the computer room.
"Director Mai, Professor Li." In the computer room, there were teachers on duty and students who were on the computer, and they all stood up to greet them.
"This is Zhou Zhi, he came to see our card reader program." Li Hongjiang said, "Have the materials from the Chinese Department been delivered?"
"Here they are, a total of sixty boxes."
Even if Li Hongjiang had already made mental preparations, he couldn't help but be shocked by the number, because the design of the font library is actually not worth such a "stupid" effort.
But behind this "stupid" effort is determination and courage.
Also, these things are indeed helpful for follow-up work.
There are indeed similarities between the machine-reading program and the dot-matrix character collection scheme conceived by Zhou Zhi.
The machine-readable card is a bunch of small square areas, painted with a pen to mark, the machine-readable program will scan the machine-readable card, read the color block distribution, convert it into the candidate's answer, compare it with the standard answer, and calculate the candidate's score .
A dot matrix is actually a large square formed by a collection of thirty times thirty small squares. Some of the squares in this collection are filled with black, and all the black is added together to form a Chinese character, which is called dot matrix characters.
The white place is represented by zero, the black place is represented by one, and the dot matrix characters become a string of binary codes.
This code can only express very rough fonts, and a vector function needs to be added to process the strokes of the characters "smooth" according to the font design rules, and can be freely zoomed in and zoomed out, so it can be called "a certain font vector diagram".
When all the characters are collected together, it becomes a font library.
Once you have a word, you have to extract it easily. This requires encoding each word. When you input the code of the word to the computer and specify its output device, the computer will extract the word and display it on the output device such as a display screen. , on the printer.
This code is actually a low-level thing, and people don't need to know its specific principles. Programmers have developed another method that is convenient for human memory and use to complete the concept of "typing". This is the input method.
People only need to use a set of rules to tell the input method what characters I need to type, and the input method will convert this set of rules into machine language, extract and display them from the font library, and the work is completed.
What Zhou Zhi is currently studying is how to conveniently and quickly establish a collection of starting point array characters in the system.
This will transform the machine card reader program.
This involves the positioning of the scanned image. It is necessary to find the starting point of the scan, let the computer know where to start, and then read, a word of [-] points, which ones are assigned zeros and which ones.
After that, we need to know the end, which is to find the end point of the scan.
In addition, a check digit is added, and a magical algorithm is used to ensure that the computer knows a few things-first, this is the operator confirming that a text is to be entered; second, the string of binary codes read must be correct ;
There is also a lot of work in the computer center. After asking the students to turn on a computer for Zhou Zhi to access the programs in the server, Mai Mingchuan and Li Hongjiang called the students for a meeting and assigned teaching and research tasks.
As a result, when it was driving, I heard a roar: "Who told you to mess with the program!"
Li Mingjiang's heart skipped a beat, and he hurried into the computer room with Mai Mingchuan, only to find that Zhou Zhi had already put on an anti-static wrist strap, as if typing something on the keyboard.
"Teacher! He is modifying our program indiscriminately!" The eyes of the student who came in just now were red.
Zhou Zhi spread his hands: "The modification is in the process of modification, but there is no random modification. I saved your old program. Just now I was just resetting the scanning accuracy and adding some feature parameters of the dot matrix characters."
"Elbow, can you understand our program?" Li Mingjiang was very surprised.
You are a liberal arts student! !
(End of this chapter)
It is difficult to say that it still has a lot of "retention" of assembly language, sacrificing readability for efficiency.
Further up is the high-level language, which is the most friendly to people. The current mainstream is BASIC and PASCAL proposed by Li Hongjiang.
The characteristic of advanced language is that it is closer to human language habits, which can almost be equivalent to a special kind of English, which is easy to master.But the disadvantage is that a lot of redundancy will be generated after compilation, and the compiled program takes up a lot of space and has low efficiency.
The efficiency of C language is only ten to twenty percent lower than assembly, so C language can be used to write operating system software and development tool software.
It may even improve the operating system itself.
The UNIX mentioned by Li Kaijiang is an operating system similar to DOS, but it is far more complicated than DOS, because it has been born for multi-user and multi-tasking operations since its birth.
Therefore, its initial user is not an individual, but a large, medium and small computer shared by multiple people and multitasking in parallel, rather than a personal computer.
Moreover, this system is open source, which means that everyone can use it casually; and more than 90.00% of the system is developed in C language, so its functions are extremely powerful.
Until decades later, the UNIX system was also the main operating system used by major financial institutions, universities, and national strategic institutions.
Of course, with the popularity of personal computers and mobile phones, UNIX has also differentiated into a subset of personal editions. The latest Apple system, Android system and Hongmeng system on mobile phones are actually its children.
But that was a long time later. Now that Li Kaijiang asked about UNIX and C language together, Zhou Zhi knew that the school must have introduced a minicomputer.
But nowadays, even if it is a minicomputer, its computing performance is the same, and it is not even comparable to the performance of a flip phone later.
"The machine-readable card sampling program was developed by our department, elbow, do you want to have a look?" Mai Mingchuan enthusiastically sent out the invitation: "I invite you to the cafeteria for dinner!"
"Old Mai is still picky like that." Gu Kailai smiled and said, "You guys are rich and powerful now, so you don't know if you even invite us together?"
This is true. Nowadays, the most popular major in colleges and universities must be information technology. The country is in urgent need of talents in this area, and various resources are tilted towards this area.
"It's a lot of pressure." Mai Mingchuan shook his head: "The minicomputer cost the school more than 50 yuan. If we don't come up with a 100 million yuan result next year, the old secretary will eat me up."
"Let's go, let's go, let me invite you!" Mai Mingchuan waved his big hand: "But let's talk about it first and then don't mess up. If this project is really successful, will you apply or we will apply?"
Zhou Zhi thought it was funny: "Director Mai, actually, I think the joint declaration is more of a gimmick."
Zhou Zhi did all the hard work on this matter, and the idea was also brought up by Zhou Zhi. This baby is clearly the junior in Gu Lao's pocket, and the next hard work is all in the Department of Computer Science. If the results are finally considered to be in the Department of Chinese, then It is also very bad.
Seeing Mr. Gu nodding in agreement with Zhou Zhi's statement, Mai Mingchuan said with a smile: "It seems that the country has never had an information industry project that spans the two major disciplines of arts and sciences. It does sound more exciting to apply jointly!"
Even if it was a holiday stir-fry, the food in the canteen of Sichuan University was the same. After a random meal in the banquet hall next to it, after getting the approval of Mr. Gu, Zhou Zhi followed Mai Mingchuan and Li Hongjiang to the computer room.
"Director Mai, Professor Li." In the computer room, there were teachers on duty and students who were on the computer, and they all stood up to greet them.
"This is Zhou Zhi, he came to see our card reader program." Li Hongjiang said, "Have the materials from the Chinese Department been delivered?"
"Here they are, a total of sixty boxes."
Even if Li Hongjiang had already made mental preparations, he couldn't help but be shocked by the number, because the design of the font library is actually not worth such a "stupid" effort.
But behind this "stupid" effort is determination and courage.
Also, these things are indeed helpful for follow-up work.
There are indeed similarities between the machine-reading program and the dot-matrix character collection scheme conceived by Zhou Zhi.
The machine-readable card is a bunch of small square areas, painted with a pen to mark, the machine-readable program will scan the machine-readable card, read the color block distribution, convert it into the candidate's answer, compare it with the standard answer, and calculate the candidate's score .
A dot matrix is actually a large square formed by a collection of thirty times thirty small squares. Some of the squares in this collection are filled with black, and all the black is added together to form a Chinese character, which is called dot matrix characters.
The white place is represented by zero, the black place is represented by one, and the dot matrix characters become a string of binary codes.
This code can only express very rough fonts, and a vector function needs to be added to process the strokes of the characters "smooth" according to the font design rules, and can be freely zoomed in and zoomed out, so it can be called "a certain font vector diagram".
When all the characters are collected together, it becomes a font library.
Once you have a word, you have to extract it easily. This requires encoding each word. When you input the code of the word to the computer and specify its output device, the computer will extract the word and display it on the output device such as a display screen. , on the printer.
This code is actually a low-level thing, and people don't need to know its specific principles. Programmers have developed another method that is convenient for human memory and use to complete the concept of "typing". This is the input method.
People only need to use a set of rules to tell the input method what characters I need to type, and the input method will convert this set of rules into machine language, extract and display them from the font library, and the work is completed.
What Zhou Zhi is currently studying is how to conveniently and quickly establish a collection of starting point array characters in the system.
This will transform the machine card reader program.
This involves the positioning of the scanned image. It is necessary to find the starting point of the scan, let the computer know where to start, and then read, a word of [-] points, which ones are assigned zeros and which ones.
After that, we need to know the end, which is to find the end point of the scan.
In addition, a check digit is added, and a magical algorithm is used to ensure that the computer knows a few things-first, this is the operator confirming that a text is to be entered; second, the string of binary codes read must be correct ;
There is also a lot of work in the computer center. After asking the students to turn on a computer for Zhou Zhi to access the programs in the server, Mai Mingchuan and Li Hongjiang called the students for a meeting and assigned teaching and research tasks.
As a result, when it was driving, I heard a roar: "Who told you to mess with the program!"
Li Mingjiang's heart skipped a beat, and he hurried into the computer room with Mai Mingchuan, only to find that Zhou Zhi had already put on an anti-static wrist strap, as if typing something on the keyboard.
"Teacher! He is modifying our program indiscriminately!" The eyes of the student who came in just now were red.
Zhou Zhi spread his hands: "The modification is in the process of modification, but there is no random modification. I saved your old program. Just now I was just resetting the scanning accuracy and adding some feature parameters of the dot matrix characters."
"Elbow, can you understand our program?" Li Mingjiang was very surprised.
You are a liberal arts student! !
(End of this chapter)
You'll Also Like
-
A five-year-old Daluo Jinxian? I simulated binding with the prehistoric world.
Chapter 88 2 hours ago -
I got rich by extracting skills from games
Chapter 204 2 hours ago -
Houfu Key Class
Chapter 548 16 hours ago -
The Record of Righteousness
Chapter 227 18 hours ago -
God rewards hard work: Farming and cultivating immortality
Chapter 552 19 hours ago -
I work as a security guard at Marvel.
Chapter 173 20 hours ago -
Wizard: I have an inventory
Chapter 65 20 hours ago -
The Unspeakable Diary
Chapter 583 20 hours ago -
Since the Spring and Autumn Period and the Warring States Period, he has been regarded as a god.
Chapter 232 20 hours ago -
Iron Cross Fire
Chapter 5120 20 hours ago