原创 2013年12月05日 17:04:12
  Computer  Hardware

  A computer is a fast and accurate symbol processing system. It can accept, store, process data and produce output results. A computer can automatically process data without human intervention. However, it must be given a set of instruction to guide it, step by step, through processes. The set of instructions is called a program, The program is stored physically inside the machine, making it a program.

  All computer systems of interest to us are similar. They contain hardware components for input, central processing unit and output. The system on the small-scale is called a microcomputer or minicomputer. Continuing up the size scale, the mainframe computer is one that may offer a faster processing speed and a greater storage capacity than a typical mini. Finally comes the supercomputer, designed to process complex scientific applications, which is the largest and fastest.

  Although the capacity of computers' storage locations is varied, every computer stores numbers, letters, and other characters in a coded form. Every character in the storage is represented by a string of 0s and 1s, the only digits founded in the binary numbering system.  BCD and ASCII are popular computer codes.


  CPU is the abbreviation of Central Processing Unit, which is the heart of a computer like the head of a family. Once the power of a computer is turned on, all the behaviors are under the control of CPU. CPU is in an iron box together with other devices such as disk drives, a main memory and a switching power supply etc. In Chinese, the iron box is conventionally called the mainframe. On the back of the mainframe box, there are various ports, with which CPU may be linked with input and output devices.


  Primary memory is known as random access memory (RAM) and simple named memory. It is the storage area within the computer that holds programs and data during processing. Memory is only temporary storage area; when processing is complete, memory is cleared. The user needs to load or enter data and programs into the computer memory when using any application on the computer.

  Different computers have different amounts of memory space, referred to as memory size, ranging from 4, 8 megabytes to 64megabytes. Today, the memories of some microcomputers even can be expandable to hundreds of megabytes.

  Computer software

  Most people think of software as all of the amazing application programs available today for microcomputers. But there are other forms of computer software that make it possible to use application programs. Software is the collective name for all the programs and instructions that direct a computer's operations. Generally software can be divided into three types: system software, application software and support software, system software monitors and controls the system's hardware. Application software performs specific tasks for the user. Support software is a series of software, which support development and maintenance of other software. Software is created through the use of programming languages.

  The computer Language

  The role of a program is to deliver user's intention to a computer and direct it to work. That is to say, a program is a dialogue tool for interacting between a man and a computer, as well as a bridge to transmit information. In general, the characters, phases and their syntax rules for programming are generally called “programming language”。

  Programming languages are divided into three types: machine language, which is also called an instruction system, is the only one used directly by computers. The assembler language is a kind of symbolic language. It adopted some mnemonic symbols which can show the instructional functions to present the content of the program. The high-level language is a programming language based on English. Its operators and expressions are similar to ordinary mathematical formulas. General users can easily master a high-level language and make programs in it.


  Programming is, at its simplest, the way people tell computers what to do, when to do it, and how to do it. A program is a specific set of instructions written by one or more people, which direct the action of a computer system. It may be a very simple or complicated set of instructions. It may be written by a beginning computer user or by a top computer expert. It may be written in simple English or in a language spoken only by computers. Just as writing a fiction, programming is a process of creating art.

  What is Object Oriented Programming?

  Object oriented programming (OOP) is a new way of approaching the job of programming that differs from traditional programming because it uses objects as data structures to enhance productivity, simplify programming, get reusability and improve software reliability. All object oriented programming languages have three characteristics in common: objects, polymorphism and inheritance. Let's take a look at these concepts.

  Object is a data structure that contains both structured information and related operations. An object can contain other objects. In this way, the object is given both data properties and behaviors, and so object oriented programs can better reflect the real world they are trying to simulate. Polymorphism essentially means that one name can be used for several related but slightly different purposes. Inheritance is the process by which one object can acquire the properties of another object. This is important because it supports the concept of classification. For example, a red delicious apple is a part of the classification apple, which in turn is a part of the fruit class, which is under the larger class food.





  附注:BCD (Binary-Coded Decimal):二进制编码的十进制

  附注:ASCII(American National Standard Code for Information Interchange):美国国家信息交换标准代码


  CPU是中央处理单元的英文缩写。它是计算机的心脏,好比一家之主一样。计算机一旦通电运行,则所有的行为都要在它的控制之下运行。CPU同其它设备如磁盘驱动器、内存和开关稳压电源等被装在一个铁箱子中。 在中文里,这个箱子被习惯地称为主机。在主机箱的背后, 有各种端口,用来沟通CPU 和其它输入输出设备的联系。





  很多人认为软件就是目前微机上使用的所有令人惊奇的应用程序。但是还有一些其它形式的用以支持应用程序运行的计算机软件。 软件是所有指挥计算机操作的指令和程序的统称。 通常软件被划分成三类: 系统软件、 应用软件和支撑软件。 系统软件负责监视和控制计算机硬件;应用软件为用户完成具体的任务; 支撑软件是支撑其它软件的开发与维护的一系列软件。软件都是使用程序设计语言创造出来的。


  程序的作用就是向计算机转达用户的意图,指挥计算机工作, 也就是说,程序是人机对话的工具,是人与电脑交流信息的桥梁。 通常,程序设计所使用的符号、短语及其语法规则通称为程序设计语言。

  程序设计语言分为机器语言、汇编语言和高级语言三类。机器语言是计算机唯一能直接使用的语言,也叫做计算机指令系统;汇编语言是一种符号语言,它采用一些能反映指令功能的助记符表达程序的内容;高级语言是一种以英文为基础的设计语言, 其中的运算符和表达式都和通常的数学公式类似。 一般用户也能很容易地掌握一种高级语言, 并可以用它来编制程序。

  附注:mnemonic symbol



  程序设计,简单地说, 就是人们告诉计算机做什么,什么时候做以及怎样做的方式。 一个程序就是一组指令的集合,由一个或多人编写,用于指导计算机系统的动作。这个指令的集合可能非常简单,也可能十分复杂。它可能是一个初学计算机的用户编写的也有可能是由高级计算机专家编写的。 它可以用简单的英语编写,也可以用只有计算机“说”的语言编写。如同写小说一样,程序设计也是一个艺术创造的过程。


  与传统的编程方法不同, 面向对象的程序设计(OOP)是一种新的编程方法,它使用对象作为其数据结构以提高生产率,简化程序设计,获得可复用性和提高软件的可靠性。所有的面向对象的程序设计语言都具有对象、多态和继承的特点。 让我们来看一下这几个概念。

  对象是一种数据结构。 它既含有结构化的信息又含有相关的操作。一个对象可以含有另外一个对象。通过这种方式,对象被赋予数据特征和行为,因此,使用面向对象程序能够更好地反映程序欲模拟的现实世界。多态本质上就是使用一个名字来描述几个相关但又有所区别的目的。继承就是一个对象获得另一个对象的特征的过程。这一点非常重要,因为它支持分类的概念。例如,一个美味可口的红苹果是苹果类的一员,而苹果又是水果类的一部分,再进一步,水果又是食物这更高一级类的一部分。
版权声明:本文为博主原创文章,未经博主允许不得转载。 举报



软件和硬件软件的重要性pc如果没有软件就仅仅是一个盒子源代码 通过编译器 形成汇编 然后被加载到内存(因为内存的读写速度非常快) CPU(从内存中取数据)。CPU能做的东西很简单,就...


硬件,硬件开关组成的实体。 软件,软件是对硬件的补充。
  • q6572
  • q6572
  • 2016-12-02 15:16
  • 15

精选:深入理解 Docker 内部原理及网络配置

网络绝对是任何系统的核心,对于容器而言也是如此。Docker 作为目前最火的轻量级容器技术,有很多令人称道的功能,如 Docker 的镜像管理。然而,Docker的网络一直以来都比较薄弱,所以我们有必要深入了解Docker的网络知识,以满足更高的网络需求。


【来信】 贺老师,你好:   我是河南XX大学计算机专业的一名大二学生,关注您的博客很久了,收获颇丰,谢谢您的付出。最近我们专业要分方向了,有硬件和软件两个选择;我对硬件非常的感兴趣况且编程对我而...


计算机系统包括:应用软件,操作系统,硬件。 硬件系统主要包括五大部分:输入设备,输出设备,储存器,控制器,运算器。其中运算器负责算数运输和逻辑运算。运算器和控制器共同组成了中央处理器(cpu)应用软...


cpu的常用参数:主频,外频,前端总线频率(北桥),64位技术,缓存,多核心技术,接口 前端总线频率:直接影响cpu与内存之间数据快速通道;i7之后没有南北桥概念; 缓存:一级缓存(集成在cpu内核中...


又一次感受到了画图结网的好处了, 计算机硬件这部分的知识就三页数(软考书),但内容不少。对于开发软件的人来说,了解硬件也是很有必要的。 导图帮助我们把知识点联系起来,在我们想用的时候可以通过图把知识点...


软件:由源代码生成的可执行文件 =>软件的重要性:PC如果没有软件就仅仅是一个盒子,这个盒子里面放了一些IC而已 1.非常重要的一幅图: 2.我们没有写一句操作硬件的代码,那么硬件是由谁操作...


为什么会加载进内存? 因为内存的读写速度更快,而且cpu只能从内存中读写。 cpu并不能做所有的事情,是由源代码生成的机器码来告诉cpu怎么执行,cpu便从上而下来一步一步执行。计算机的本质,就是...

备战软考(5) 计算机系统硬件知识

在刚开始做真题的时候,发现计算机系统这块的题总是错的很惨,于是将软件设计师教程>的第一章反复看了几遍,但是光看还是不行的,需要去思考和总结,这样书本上的知识才能变成我们自己的知识.     对于计算...


软考已正式进入看书的阶段,我认为这是一个可以疯狂编制知识网的一个阶段,一方面不像视频那么散,所以,这是一个很好的编制知识网的锻炼机会。        对于第一模块的计算机系统知识,主要涉及到的内容是...