BP-1-1 The working Model of Computer

Chapter 01 Introduction of Programming

1. The Working Model of Computer

1.1 Von Neumann Structure

See the source image

1.2 The Component of Computer

A computer is composed of hardware and software. If hardware is the blood and flesh of a computer, the software is its soul.

To some extent, the performance of a computer is mainly determined by its hardware, while the function of a computer is mostly decided by its software.

  • hardware

    • Central Processing Unit, CPU
      在这里插入图片描述

      • Controller gets the instructions from memory and give order to other parts.
      • ALU (Arithmetic Logic Unit) implement the arithmetic and logic computations described by instructions.
      • Register temporarily stores the data needed to do the computation and the outcome of the computation, the state of current implementation and the address of the next instruction.
    • memory在这里插入图片描述

      Memory is used to store the ongoing program and the data used by the program.

      The capacity of memory is much larger than register, but the access to register is much faster than memory.

      • Read Only Memory, ROM

      • Random Access Memory, RAM

        If we turn off the computer, the content of ROM is still there, but the content of RAM will be lost.

    • peripheral device在这里插入图片描述

      • input/output device
      • External storage permanently stores anything you want to keep while the computer is turned off
  • software

    Software can be divided into:
    system software在这里插入图片描述
    application software
    在这里插入图片描述
    and supporting software.
    在这里插入图片描述

    • Program is the description of processing objects (data structure) and processing rules(algorithm)
    • Document is the explanation materials that helps understand the program.

A computer with only hardwares is called bare machine.

When software is added to the computer, it evolves into a more functional computer called virtual machine.
在这里插入图片描述

1.3 How Information is Represented in Computer

All information in the computer is eventually represented as a sequence of 0 and 1.

The basic unit of information is called bit, which means a binary digit.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值