
Operating Systems CT-1 Sep_2024

Quiz
•
Computers
•
University
•
Hard
Surendra Nagar
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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 followings is TRUE?
On per thread basis, the OS maintains only scheduling and accounting information
On per-thread basis, the OS does not maintain virtual memory state
On per-thread basis, the OS maintains only CPU register state
The OS does not maintain a separate stack for each thread
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
System calls are invoked by using
software interrupt
polling
indirect jump
a privileged instruction
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements are true?
I. Shortest remaining time first scheduling may cause starvation
II. Preemptive scheduling may cause starvation
III. Round robin is better than FCFS in terms of response time
I only
I and III only
II and III only
I, II and III
4.
FILL IN THE BLANK QUESTION
3 mins • 3 pts
An operating system uses Shortest Remaining Time first (SRT) process scheduling algorithm. Consider the arrival times and execution times for the following processes:
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following statements with respect to user-level threads and kernel supported threads
i. context switch is faster with kernel-supported threads
ii. for user-level threads, a system call can block the entire process
iii. Kernel supported threads can be scheduled independently
iv. User level threads are transparent to the kernel
Which of the above statements are true?
(ii), (iii) and (iv) only
(ii) and (iii) only
(i) and (iii) only
(i) and (ii) only
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following need not necessarily be saved on a context switch between processes?
General purpose registers
Program counter
Translation look-aside buffer
All of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following statements about user level threads and kernel level threads. Which one of the following statement is FALSE?
Context switch time is longer for kernel level threads than for user level threads
User level threads do not need any hardware support
Related kernel level threads can be scheduled on different processors in a multi-processor system
Blocking one kernel level thread blocks all related threads
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Teste Inicial PSD

Quiz
•
University
10 questions
THREAD

Quiz
•
University
10 questions
Lecture 11 Quiz

Quiz
•
University
12 questions
Chapter 16 - Unix II

Quiz
•
University
14 questions
OS_Threads_PYQ

Quiz
•
University
10 questions
TSI-SO-01 - Introdução SO

Quiz
•
University
5 questions
SO Lab 08 Quiz

Quiz
•
University
10 questions
Operating System and Computer Architecture Quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University