Unit 1 : Quiz

A visually engaging image representing operating system processes, threads, and computing, featuring abstract illustrations of CPUs, memory, and code snippets.

Operating System Processes Quiz

Test your knowledge on operating system processes with our engaging quiz! Dive into questions about CPU states, thread management, and process creation to assess your understanding.

  • 7 diverse questions
  • Multiple choice format
  • Designed for students and professionals alike
7 Questions2 MinutesCreated by CodingTree42
Name:
Register Number
1.The maximum number of processes that can be in Ready State for a computer system with n CPU is
A. n
B. n^2
C. 2^n
D. Independent of n
2.A process executes the code fork(); fork(); fork(); The total number of child processes created is
3
4
7
8
3.A thread is usually defined as a ''light weight process'' because an operating system (OS) maintains smaller data structures for a thread than for a process. In relation to this, which of the following is TRUE?
A. On per-thread basis, the OS maintains only CPU register state.
B. The OS does not maintain a separate stack for each thread
C. On per-thread basis, the OS does not maintain virtual memory state
D. On per-thread basis, the OS only maintains scheduling and accounting
4.Consider the methods used by processes P1 and P2 for accessing their critical sections whenever needed, as given below. The initial values of shared boolean variables S1 and S2 are randomly assigned.Which of the following statement describes the properties achieved?
A. Mutual exclusion but not progress
B. Progress but not mutual exclusion
C. Neither mutual exclusion nor progress
D. Both mutual exclusion and progress
The given C program is executed on a Unix/Linux system.The total number of child processes created is ____
32
31
64
63
{"name":"Unit 1 : Quiz", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge on operating system processes with our engaging quiz! Dive into questions about CPU states, thread management, and process creation to assess your understanding.7 diverse questionsMultiple choice formatDesigned for students and professionals alike","img":"https:/images/course1.png"}
Powered by: Quiz Maker