Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Summary of basic computer Learning

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

1. The role of programming languages:

The essence of programming is to make the computer work, and the programming language is the bridge between programmers and computers.

two。 The relationship between operating system and hardware:

The operating system calls the driver through the controller to make the hardware work.

3. The relationship between applications, operating systems, and hardware

The application is written in a programming language; the application controls the hardware by calling the interface provided to us by the operating system.

The relationship between 4.CPU, memory and disk

Cpu is responsible for computing, memory is responsible for temporary storage, and hard disk is permanent storage.

The disk will permanently save the files (source code files, configuration files, temporary files) that the application needs normally.

When the application is running, memory reads disk-related data and instructions into memory.

Cpu will be in memory instructions, data read-> operation-> processing results. If the results need to be saved, return to the hard disk and save them in turn.

5.cpu and register, kernel state and user mode and how to switch

Because it takes much longer to access memory to get instructions or data than it takes cpu to execute instructions, all CPU have registers that hold critical variables and temporary data.

Kernel state: cpu can execute all the instructions in the instruction set, including all the functions of using the hardware

User mode: only a subset of the entire instruction set of cpu can be executed, which does not contain parts that operate hardware functions.

The user program must use the system call (system call), the system call gets trapped in the kernel and calls the operating system, the TRAP instruction switches the user state to the kernel state, and enables the operating system to get the service.

6. Memory series, L1 cache, L2 cache, memory (RAM), EEPROM and flash memory, CMOS and BIOS battery

The register is the L1 cache (average capacity

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report