Operating Systems - Quiz(Unit 1) Batch-II

A visually engaging illustration of a computer motherboard with various symbols representing operating systems, threads, and processes, in a modern and colorful style.

Operating Systems Quiz - Test Your Knowledge!

Welcome to the Operating Systems Quiz! This quiz is designed to challenge your understanding of key concepts in operating systems. Whether you're a student, teacher, or simply interested in the field of computing, this quiz offers a fun and engaging way to test your knowledge.

What you can expect:

  • 10 challenging multiple-choice questions.
  • Covers various topics related to operating systems.
  • Learn more about interrupts, threads, processes, and critical section problems.
10 Questions2 MinutesCreated by DebuggingFox375
A Computer handles several interrupt sources of which the following are relevant for this question:
Interrupt from Hard Disk
Interrupt from Mouse
Interrupt from Keyboard
Interrupt from temperature sensor.
A CPU generally handles an interrupt by executing an interrupt service routine
As soon as an interrupt is raised
By checking the interrupt register at the end of fetch cycle.
By checking the interrupt register after finishing the execution of the current instruction.
By checking the interrupt register at fixed time intervals.
70
80
20
40
Which one of the following is FALSE? a. User level threads are not scheduled by the kernel b. When a user level thread is blocked, all other threads of its process are blocked c. Context switching between user level threads is faster than the context switching between kernel level threads d. Kernel level threads cannot share the code segment
A
B
C
D
A Computer handles several interrupt sources of which the following are relevant for this question: a. Interrupt from Hard Disk b. Interrupt from Mouse c. Interrupt from Keyboard d. Interrupt from temperature sensor.
A
B
C
D
A CPU generally handles an interrupt by executing an interrupt service routine a. As soon as an interrupt is raised b. By checking the interrupt register at the end of fetch cycle. c. By checking the interrupt register after finishing the execution of the current instruction. d. By checking the interrupt register at fixed time intervals.
A
B
C
D
A process executes the code fork(); fork(); fork(); The total number of child processes created is
3
4
7
8
Which of the following is/are shared by all the threads in a process? I. Program counter II. Stack III. Address Space IV. Registers
I and II only
III only
IV only
III and IV only
Threads of a process share (A) Global variables but not heap (B) heap but not global variables (C) neither global variables nor heap (D) both heap and global variables
A
B
C
D
Consider the following proposed solution for the critical section problem. There are n processes: P0 ...Pn−1. In the code, function pmax returns an integer not smaller than any of its arguments. For all I, t[i] is initialized to zero. Code for Pi : do { c[i]=1; t[i] = pmax(t[0],...,t[n-1])+1; c[i]=0; for every j != I in {0,...,n-1} { while (c[j]); while (t[j] != 0 && t[j]<=t[i]); } Critical Section; t[i]=0; Remainder Section; } while (true); Which one of the following is TRUE about the above solution? (A) At most one process can be in the critical section at any time (B) The bounded wait condition is satisfied (C) The progress condition is satisfied (D) It cannot cause a deadlock
A
B
C
D
{"name":"Operating Systems - Quiz(Unit 1) Batch-II", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Welcome to the Operating Systems Quiz! This quiz is designed to challenge your understanding of key concepts in operating systems. Whether you're a student, teacher, or simply interested in the field of computing, this quiz offers a fun and engaging way to test your knowledge.What you can expect:10 challenging multiple-choice questions.Covers various topics related to operating systems.Learn more about interrupts, threads, processes, and critical section problems.","img":"https:/images/course1.png"}
Make your own Survey
- it's free to start.