Operating System MCQs for Aspiring Developers

10

A. C#  B. C++  C. C  D. .NET

1. UNIX is written in which language?

Check out the answer here!

2. Which of the following schedules threads?

Check out the answer here!

A. Virtual memory  B. Operating system  C. CPU  D. Input

3. Threads are not shared among which of the following?

Check out the answer here!

A. Stack  B. Program counter  C. Both program counter and stack  D. None

4. Identify the system calls that on termination do not return control to the calling point.

A. exec  B. fork  C. longjmp  D. ioctl

Check out the answer here!

5. Identify the call that never returns an error.

A. fork  B. getpid  C. ioctl  D. open

Check out the answer here!

6. The speed of writing data on magnetic tape disks is comparable to that of disk drives. State True/False

Check out the answer here!

A. True  B. False  C. Both depend on the data  D. None

7. Which of the following is the only state transition that is initiated by the user process itself?

A. dispatch  B. wakeup  C. block  D. none

Check out the answer here!

8. How many minimum variables is/are required to share between processes, so as to solve the critical section problem?

A. one  B. two  C. three  D. four

Check out the answer here!

9. Which of the following are two types of atomic operations performed by semaphores?

Check out the answer here!

A. wait, signal  B. wait, stop  C. signal, stop  D. signal, wait

A. Relocation register  B. Regular register  C. Delocation register  D. Basic register

Check out the answer here!

10. Which of the following is also known as the base register?

Are you prepared to assess your knowledge of Operating System?

Demonstrate your expertise by taking our quiz. Simply click on the ""Try it now"" button to commence.  Best of luck!

Improve your Interviewing Skills with Scaler!

Sign up for Scaler's free masterclasses and events to learn about the latest trends in the IT industry and become a pro.  Don't hesitate any longer, register today!