Summary of high-frequency test points for technical interviews-operating system articles

Summary of high-frequency test points for technical interviews-operating system articles


Hello everyone, this is Xiaodai!

The operating system is also a must-test content in the interview, so let’s introduce it today~

You can use this summary of the compulsory content to check for gaps and fill in gaps , and check your mastery of the operating system . After completing the following questions, I think the interview of the operating system will pass~

Some features of this summary are:

1) Close to the interview : almost 100% of the problems encountered in the interview;

2) Concise and practical : It will not cover all aspects, but will include the most important knowledge and the most frequently tested knowledge under each topic.

3) Do not give official standard answers : On the one hand, you can test your own mastery, and on the other hand, you can remember more deeply in actively searching for answers.

Past content of this series:

Summary of high-frequency test points for technical interviews-computer network articles: https://mp.weixin.qq.com/s/13oOfB0z4C1wQc301TcLdQ

Summary of high-frequency test points for technical interviews-MySQL articles: https://mp.weixin.qq.com/s/n_lK4P7jF35ow39e3XhHtQ

Summary of high-frequency test points for technical interviews - C++: https://mp.weixin.qq.com/s/VRFkrTImrcUo5rH1gIqLfA

Summary of high-frequency test sites for technical interviews - Redis: https://mp.weixin.qq.com/s/nHKv3ZMpAdoHyBABX1uKzQ

Summary of test points for HR face-to-face and rhetorical questions: https://mp.weixin.qq.com/s/_eFbmQgEGvGxM2LFHWUpSQ

Summary of high-frequency test points for technical interviews-Linux articles: https://mp.weixin.qq.com/s/lBA7hSdLnt3VEVO0evCBwA

Tips: Although this test site summary will not give the answer, but in the follow-up basic computer knowledge, it will give Linux, C++, JAVA, computer network, operating system, design pattern, data structure and algorithm, Redis, MySQL, A detailed version of stereotyped essay PDF on JS, CSS, VUE, HTML and other knowledge topics, including questions and detailed answers to questions, including answers to questions in this push series, and answers to questions that are also frequently tested. Among them, the back-end knowledge is sorted out by me, and the front-end knowledge is sorted out by a front-end boss ~ it is already being sorted out!

Let's start now~

1. List of test points for the operating system

The questions listed below are all the questions I was asked in the interview. Here are 35 compulsory questions about the operating system. If you understand these 35 questions, I believe that the interview and the operating system will be passed.

1) Process, thread, coroutine

The difference between the three

2) The difference between process and thread

Contains, Properties, Resources, Crash, Context Switch, Run

3) The way of inter-process communication

4) Can processes share memory

5) How does the process achieve resource isolation

6) Virtual memory

Why is there virtual memory?

Definition and characteristics of virtual memory

Advantages and disadvantages of virtual memory

Implementation of virtual memory, demand paging, page replacement

7) The way of communication between threads

8) The way of communication between coroutines

9) What is a daemon process, give a few examples, what is the function of a daemon process

10) Zombie process and orphan process

11) How does the computer manage the process

12) Which modules or subsystems are divided under the kernel mode

Process management system, memory management system, I/O management system and file management system

13) The way of thread synchronization

14) Process scheduling strategy

15) interrupt

16) Context switching

What is a context switch

What is the difference between the context switching of processes, threads, and coroutines?

Context, in process, thread, and coroutine, what do they refer to

17) deadlock

what is deadlock

Four necessary conditions for deadlock

Solution to deadlock

18) Ostrich strategy

19) Banker's Algorithm

20) When will the switch between kernel mode and user mode occur, except for interrupts

21) The difference between the kernel state and the user state, and the resources they have

22) Advantages and disadvantages of coroutines

23) Problems encountered in multi-threading, how to solve them, and how to debug problems encountered in multi-threading

24) Synchronization, mutual exclusion, blocking and non-blocking

25) threading model of redis

26) The difference between time-sharing operating system and non-time-sharing operating system

27) The difference between 64-bit and 32-bit

28) The difference between concurrency and parallelism

29) Classification of threads

kernel level, user level

30) What are critical areas and critical resources

31) The five states of the process, how to switch between the states

32) What is the difference between the concepts of paging and segmentation

33) List several page replacement algorithms, and talk about the implementation principle, please implement an LRU by yourself

34) What is IO multiplexing, and what are the ways to realize IO multiplexing

35) Introduce the common IO model

2. Operating system recommended learning materials

Let's briefly introduce some learning materials of the operating system ~

The operating system is still very difficult, but if we just want to prepare for the interview, there are many shortcuts we can take. The most recommended method here is: watch the kingly postgraduate course + read the interview questions , and the frequently asked questions, this article has given out~!

1. Video lessons

The following two courses are recommended, one is for the test center and the other is for the course "Operating System"

  • Station b: Wangdao computer postgraduate entrance examination operating system, the content is very detailed, covering all the test sites, the explanation is very detailed, highly recommended~!
  • Station b: [Harbin Institute of Technology] Operating System Li Zhijun

2. Books and Documents

Recommend two classic books, but it is not recommended for students who are preparing for interviews. It is suitable for students who have a certain foundation and want to have a deeper understanding of operating systems and computer principles~

  • "In-depth understanding of computer systems"
  • "Modern Operating Systems"

3. Summary

Ok, so far, the introduction of the required content and recommended study materials about the operating system is over~

The original intention of this series is to give you the fastest way to get started with technical interviews . After going through the questions, you can kill the basic questions of technical interviews~

I hope it can help everyone~

Digression

Here is a little bit about what Xiaodai wants to update recently:

Mainly update two topics, plus organize some PDFs:

Required interview topics : Linux, HR, Operating System, Cloud Native & Distributed & Microservices, Scenario Questions & Intellectual Questions, Test Development, Front-end Development

State-owned enterprises in-depth secret topics : CCB Operation Data Center, Bank of Communications Headquarters Financial Technology Guan Peisheng, Aerospace Science and Industry Institute Third Department, Bank of Communications Headquarters Software Development, Industrial and Commercial Bank of China Software Center, Telecom Headquarters Cloud Network Operations Department, Bohai Bank Headquarters Information Technology Department, Tianyi Cloud, Information Technology Department of China CITIC Bank Headquarters, Guan Peisheng, Information Technology Department of Bank of China Headquarters

PDF arrangement : Xiaodai's 100 face-to-face interviews with autumn recruits, recommendations by state-owned and central enterprises in various regions, stereotyped essays for state-owned and central enterprises PDF

Regarding PDF, there are a lot of PDF materials that have been sorted out, and they are all available for free~

If you want to get information, you can add ha~!

Guess you like

Origin blog.csdn.net/qq_46046431/article/details/130037898