Font
Large
Medium
Small
Night
Prev Index    Favorite Next

Chapter 748 You Are a Liberal Arts Student

Chapter 748 You are a liberal arts student

Author: Erzi Congzhou

Chapter 748 You are a liberal arts student

It is difficult to say that it is because it still has a lot of "retention" of assembly language, sacrificing readability for the sake of efficiency.

Further up are high-level languages, which are the most friendly to people. The current mainstream languages ​​​​are BASIC and PASCAL proposed by Li Hongjiang.

The characteristic of high-level languages ​​is that they are closer to human language habits, almost equivalent to a special kind of English, and are easy to master. However, the disadvantage is that a lot of redundancy will be generated after compilation, and the compiled program will take up a lot of space and be inefficient.

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 can even improve the operating system itself.

The UNIX mentioned by Li Kaijiang is an operating system similar to DOS, but it is far more complex than DOS because it has been designed for multi-user and multi-task operations since its birth.

Therefore, its initial users are not individuals, but large, medium and small computers that are shared by many people and perform multitasking in parallel, not personal computers.

Moreover, this system is open source, which means that everyone can use it casually; and more than 95% of it 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 versions. The latest Apple systems, Android systems and Hongmeng systems on mobile phones are actually its children.

But that happened a long time ago. Now when Li Kaijiang asked about UNIX and C language together, Zhou Zhi knew that the school must have introduced minicomputers.

However, even today's small computers have the same computing performance, and are not even as good as the performance of a later flip phone.

"The machine-readable card sampling program was developed by our department, elbow, do you want to take a look?" Mai Mingchuan enthusiastically extended an invitation: "I'll invite you to the cafeteria for dinner!"

"Lao Mai is still so picky." Gu Kailai said with a smile: "You guys are very wealthy now, why don't you even invite us together?"

This is true. The most popular major in major colleges and universities nowadays must be information technology. The country is in urgent need of talents in this field, and all kinds of resources are tilted towards this aspect.

"It's a lot of pressure." Mai Mingchuan shook his head: "The minicomputer cost the school more than 500,000 yuan. If we don't produce a 1 million yuan result next year, the old secretary will eat me."

"Let's go, let's go, I'll give you my treat!" Mai Mingchuan waved his big hand: "But let's make a deal first and then don't mess up. If this project can really come true, will you pay for it or should we?"

Zhou Zhi found it funny: "Director Mai, actually, I think joint declaration is more of a gimmick."

Zhou Zhi has put a lot of effort into this matter, and the idea was also proposed by Zhou Zhi. It is clear that this kid is the junior in Gu Lao's pocket. The next hard work will be in the computer department. If the result is finally considered to be in the Chinese department, then

It's also very bad.

Seeing Mr. Gu nodding his head in agreement with Zhou Zhi's statement, Mai Mingchuan smiled and said: "It seems that the country has not yet had an information industry project that spans the two major disciplines of liberal arts and sciences. A joint application does sound more exciting!"

Even if it was a holiday snack, the food in the Sichuan University cafeteria was just like that. After having a random meal in the banquet hall next to it, Zhou Zhi followed Mai Mingchuan and Li Hongjiang to the computer room after getting Gu Lao's approval.

"Director Mai, Professor Li." In the computer room, there were teachers on duty and classmates who were using the computer. They all stood up to greet them.

"This is classmate Zhou Zhi. He came to take a look at our machine-readable card program." Li Hongjiang said, "Have the materials from the Chinese Department been sent?"

"It's been delivered, sixty boxes in total."

Even though Li Hongjiang had been mentally prepared, he couldn't help but be shocked by the number, because the design of the font library actually did not require such "stupid" efforts.

But behind this kind of "stupid" kung fu is determination and courage.

Also, these things are indeed helpful for subsequent work.

There are indeed similarities between the machine-readable card program and the thoughtfully conceived dot matrix character collection scheme.

The machine-readable card is a bunch of small square areas, marked with a pen. 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 set are filled with black. All the black colors added together form a Chinese character, which is called a dot matrix character.

The white areas are represented by zeros, and the black areas are represented by ones. The dot matrix words become a string of binary codes.

This code can only express a very rough font, and it also needs to add a vector function to make the strokes of the characters "smooth" according to the font design rules, and it can be freely enlarged or reduced, so that it can be called a "vector image of a certain font".

Putting all the characters together becomes a character library.

Now that the words are there, they need to be easily extracted, so each word must be coded. When the code of the word is input to the computer and its output device is specified, the computer will extract the word and display it to the output device such as a display screen.

, on the printer.

This encoding is actually a low-level thing. People don't need to know its specific principles. Programmers have developed another set of methods that are convenient for humans to remember 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 words I need to type, and the input method will convert this set of rules into machine language, extract it from the font library, and display it, and the work is done.

What Zhou Zhi is currently studying is how to easily and quickly create a collection of starting point matrix characters in the system.

This requires modifying the machine card reading program.

This involves positioning the scanned image, finding the starting point of the scan, letting the computer know where to start, and then reading, a word of 900 points, which ones are assigned zeros and which ones are assigned ones.

Then you need to know the end, which is to find the end point of the scan.

In addition, a check digit must be added to use a set of magical algorithms to ensure that the computer knows several things - first, the operator is sure to enter a text; second, the string of binary codes read must be correct.

;

There is also a lot of work in the computer center. After asking students to open a computer for Zhou Zhi and access the programs on the server, Mai Mingchuan and Li Hongjiang convened a meeting with students to assign teaching and research tasks.

As a result, when I turned it on, I heard a roar: "Who asked you to tamper with the program!"

Li Mingjiang's heart skipped a beat, and he quickly entered the computer room with Mai Mingchuan, only to find that Zhou Zhi had already put on an anti-static wristband and seemed to be typing something on the keyboard.

"Tutor! He is modifying our program randomly!" The student who came in just now had his eyes red.

Zhou Zhi spread his hands and said, "I am modifying it, but I am not modifying it randomly. I have saved your old program. I just reset the scanning accuracy and added some characteristic parameters of dot matrix characters."

"Elbow, can you understand our procedures?" Li Mingjiang was greatly surprised.

You are a liberal arts student!!
Chapter completed!
Prev Index    Favorite Next