1: Hardware CPU, graphics card, motherboard, hard disk, memory cooling case
2; The software is written in a computer language program
2. History of computer language development
Machine language—assembly language—high-level computer language
Machine language: Machine language is originally composed of 0-2 numbers, which is binary
Assembly language: A few simple words are added to replace the 0-2 numbers on the basis of binary, which can improve the usability of the memory of the language used
High-level computer language: is able to use a series of codes to command and control the computer, such as C++ java python
3. What is a compiled language and what is an interpreted language?
1 Compilability means that it is translated into machine code immediately after the compilation is completed. The execution speed is extremely fast, but the cross-platform capability is poor. (Source code) -> Compile -> (Machine code successfully compiled) It is equivalent to the machine will immediately receive the compiled information after you have completed the dialogue with the machine and execute it [Representative language java]
2 Interpreted language means that the source code must be translated into machine code through the channel of an interpreter. Of course, execution while interpreting will reduce the speed, but the cross-platform capability is good. (Source code) -->Interpreter-->(Successfully compiled machine code) It is equivalent to passing what you want to say to something called an interpreter, which will help you transfer to the machine. [Representative language python]
It is precisely because the machine code compiled by different platforms is different, in order to better distinguish and use, the above two types of languages have appeared.
4. What is the interactive mode? (Communication with computer)
1. Command line interactive mode (Text-based user interface) TUI
Is to use commands to interact with the computer such as; CMD command execution, etc.
2. Graphical user interface GUI
It’s the way to get the computer’s response by clicking on the application, visual program
5. DOS (disk-oriented operation command)
to you
List folders or files in the current directory
md
Create a directory
rd
Delete folder
cd
Enter the specified directory
cd…
Return to the previous directory
cd/
Back to the root directory
of the
Delete Files
exit
Exit DOS command
6. The difference between plain text and rich text and character set
1. Plain text means that only a single text content can be saved (except text cannot be saved, such as txt text documents)
2. Rich text means that you can save things other than text, allow the use of special punctuation and insert pictures
Encoding and decoding
Encoding refers to the process of converting characters into binary codes (encode)
Decoding refers to the process of converting binary codes into characters (decode)
character set
1. Chinese Code (GBK) National Standard Library
2. Unicode UTF-8 (Universal Code) is recommended
7. Conversion between data
bit is the smallest unit in a computer
byte is the smallest unit we can manipulate
8bit=1byte (byte)
1024byte=1KB (kilobytes)
1024kb=1MB (megabytes)
1024mb=1GB (Gigabyte)
1024gb=1TB (terabytes)
8. Environment variables
1. Computer -> Properties -> Advanced System Settings -> Environment Variables -> Path -> New -> Save the startup path here -> cmd to start.