Basic concepts of computer

1. The concept of computer

1. Basic concepts of computers

  • Computer, commonly known as computer, is a modern electronic computer machine used for high-speed computing

    • Numeral Calculations
    • Storage memory function
    • Logic calculation function

2. The composition of the computer

  • hardware
    • 鼠标、键盘、显示器、内存、cpu、硬盘
      
  • software
    • 软件就是通过编程,完成一个一系列按照特定顺序组织的计算机数据和特定的指令的集合
      

2. Overview of computer language

1. The language of communication between people and computers

2. Machine language-assembly language-high-level computer language

  • C, C++, python, iava, etc.

3. Compiled language

  • C language: Compilation is completed before the switch is executed, fast execution and poor cross-platform performance

4. Interpretative language

  • Python is interpreted and handed over to the machine for execution, slow execution and good cross-platform performance

Three, interactive mode

1. Command line interactive mode (Text-based User interface) TUI

win key+R—>CMD—>Enter (enter)

DOS command

to you List folders or files in the current directory
md Create a directory
rd Delete directory
cd/ Return to the previous directory
of the Delete Files
exit Exit DOS command

2. Graphical user interface GUI

Four, text files and character sets

1. Text file

  • Plain text: Only a single text content can be saved
  • Rich text: You can save pictures, etc.

2. Character set

  • encode: encoding
  • decode: decode
  • United States: ACSII
  • Europe: ISO-8859-1
  • China: GBK
  • Universal Code: Unicode: UTF-8, UTF-16, UTF-32

Five, base

  • Decimal ----- "Binary: the remainder of the decimal number
  • Binary ----- "Decimal: The process of multiplying a binary number to the power of 2
  • Octal: Full 8 into 1: 1, 2, 3, 4, 5, 6, 7, 10
  • Hexadecimal: full 16 into 1: 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, 10
  • Conversion between data:
    • The smallest unit recognized by the computer is bit
    • The smallest unit we can manipulate is byte
    • 8 bit = 1byte
    • 1024byte = 1KB
    • 1024KB = 1MB
    • 1024MB = 1GB
    • 1024GB = 1TB

Six, environment variables

  • Path: Right-click this computer-----"Properties-----"Advanced System Settings-----"Environment Variables (Note: Only user environment variables can be modified, not system environment variables)

Guess you like

Origin blog.csdn.net/Rhymeplot__JDQS/article/details/108658967