day01 section

Computer Basics of programming

What is the programming language

Human and computer communication medium (conductor)

What is programming

Write a bunch of files in a programming language, to achieve some of the features

Why Programming

Freeing up labor

Computer basic components

CPU

Controller

Control hardware

Operator

Logical and arithmetic operations

Memory

External memory

  • Advantages: large capacity, permanent preservation
  • Cons: Slow

Main memory

  • Pros: Fast
  • Disadvantages: small capacity, power disappears

The application starts

  1. Double-click qq (qq find the path of the hard disk)
  2. Qq then read the contents into memory
  3. qq Start

input device

Input information, such as a mouse / keyboard

Output Device

Output information, such as display / printer

Computer Organization supplement

Multi-core CPU

Handle multiple things at a time

32 and 64

The computer 32 reads the disposable / 64-bit binary

Downward compatibility with 64-bit 32-bit computer can install the package

bus

Computer hardware connection, the human equivalent of nerves, blood vessels

Mechanical hard disk principle

Mechanical arm

Read data

Tracks

Storing data

Sector

Division track

Average seek time

5ms

The average delay time

7200r / min mechanical hard
\ [7200/60 = 120 (r / s) \\ 1/120 = 0.0083 (s / r) = 8.3 (ms / r) \\ 8.3 / 2 = 4.15 (ms / r) \ ]

The average time to find data

9.15ms

SSD

Solid state drive for data storage is based on solid state electronics (SSD, power data will be retained) and algorithms.

operating system

What is the file

Operating system out of the virtual storage units used to store data

What is the application procedure

It used to implement a demand

The role of the operating system

Simplify the complex operations of the hardware

Computer three major components

  • Hardware (Hardware interact directly, CPU / memory / external memory)
  • application
  • operating system

Start application system

  1. Double-QQ (send instructions to the operating system)
  2. Sent to the CPU operating system instructions, CPU sends instructions to the memory
  3. Send commands to the hard disk memory, qq data is read into the memory
  4. qq Start

Operating system boot

  1. Boot, boot the temporary operating system
  2. Reading the real operating system on the operating system to the temporary storage paths ROM
  3. The operating system starts, the operating system is shut down temporarily

Guess you like

Origin www.cnblogs.com/setcreed/p/11469224.html