Computer literacy preschool network programming - a graphic universe

[A], knowledge of computer programming universal pre-school network

Foreword

A friend may be curious, just two days before the release of the data structure , and now suddenly released network programming , in that moment I learned more in the end God horse? Haha, my goal is to learn this semester data structures and network programming, as has learned, I think you should have guessed, yes, correct, I just want to synchronize, nothing is impossible as long as willing to climb , while I learning enthusiasm remains high, and learning is my greatest pleasure.
Before learning network programming, I feel the need for computer hardware , software , operating system, do some simple to understand, you do not take Baidu, I gave you arranged it, look at a " programming knowledge Know " , so you see me immediately after reading the content of the following to say, the package will package, let's firmly, do not give excuses for failure, only to find a successful way, we ran together manufacturers.

Computer literacy

If you've read the article just recommended, then the next I'll give you popularize the computer base . First of all we learn the Java , Python , C , C ++ purpose programming languages it is to do? Nothing more than write code, programming. For example, you finish Java, after completion of Python you can write a wide variety of applications like STORM, QQ, micro letter, browser and so on. Well, we bought a new computer will be able to immediately install the software? I know a friend will say, you must first upload in computer operating systems, such as Windows systems, such as the operating system installed before you can install those software. Before did not install the operating system, your computer is a pile of hardware, is dead, and now you should understand that a complete computer system should be composed of a three-layer structure (as shown below)


Now we think, it is a complete computer system from scratch how to develop. We know that in early society of slavery , some people living in high-rise will be ordered to do something slaves, but slavery was later overthrown. Think about it, a slave is not it also need to eat and drink Lazard, even if you control the slave work you have to control life needs slaves. If the control of a machine, the machine does not need to eat and drink, has been working on it, so people began to focus on how to disperse the slave machine, like a slave people, to the slave machine, it is necessary to find talk to talk to machines expression, to convey my thoughts to the machine, the machine to do it. In practice this means that the machine computer , so that the development of the computer is the human machine ever want to replace or that human liberation, the ultimate dream is to be able to let the computer become with the human brain, the computer also called the " computer ."

 

我在刚才说我要找到一种机器所能理解的表达方式,这是不是我们学习编程语言的目的啊。编程语言就是机器所能识别的表达方式,基于编程语言把你的思想写给机器,写出来的结果就叫程序或者软件。所以现在大家应该明白,硬件是死的,你现在要想让硬件“”起来,你得给它写好软件,但是软件不能单独运行,软件是一定要交给硬件去执行的,但硬件又是死的,硬件包含了内存硬盘CPU等,我们要想让这些硬件运作起来,你得控制硬盘转起来,得控制CPU工作起来,得控制内存也能工作起来,机器自己是不能控制自己的,那你得用程序控制它,就跟人的思维一样跟机器说你应该怎样,那你就得先写一段控制程序去让硬件“”起来,然后再写应用软件,比如说QQ,这时候QQ需要用硬件,就先去找控制程序,然后让控制程序去调用相应的硬件,从硬件中拿到东西后再通过控制程序返还给QQ,这就是控制程序的作用。那现在又有一个应用软件Word,它的功能和QQ不同吧,它想从硬盘中读取信息,也要用到硬盘,那它的操作过程是不是和刚才的QQ一样,都要先找控制程序,通过控制程序操作硬件,达到目的。

这个控制程序好写吗?不见得吧,可能光给你一个硬盘都够你研究一辈子的,这时候有一批专业的程序员站出来了,他们说要专门写控制程序来控制硬件,控制好硬件之后提供一堆接口给应用程序调就可以了。那这个控制程序就是操作系统

计算机硬件是负责执行具体干活的,操作系统的功能是在应用软件和硬件之间起承上启下的作用,软件其实就是我们给计算机传输的思想。

此篇完

可能我没必要写这么详细,但换个角度想,却觉得越是没有必要的东西越是有必要写,因为大家都这样想了之后就会产生一种都懂了的错觉,这样给新人就造成了一些困难,勿以善小而不为,从小事做起,从我做起。需要学习资料的话看《学习目录

【原创声明】:本人原创:https://www.cnblogs.com/zyx110/

 

Guess you like

Origin www.cnblogs.com/zyx110/p/11824334.html