
OS_Threads_PYQ

Quiz
•
Computers
•
University
•
Hard
Pushpendra Pateriya
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The maximum number of processes that can be in Ready state for a computer system with n CPUs is
n2
n
2n
Independent of n
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is TRUE regarding the time taken to switch between user and kernel modes of execution?
t1 > t2
nothing can be said about the relation between t1 and t2
t1 = t2
t1 < t2
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is/are shared by all the threads in a process?
Registers
Address space
Stack
Program Counter
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A process executes the code fork(); fork(); fork(); The total number of child processes created is
3
8
4
7
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A scheduling algorithm assigns priority proportional to the waiting time of a process. Which one of the following is TRUE?
This algorithm is equivalent to the first-come-first-serve algorithm
This algorithm is equivalent to the shortest-remaining-time-first algorithm
This algorithm is equivalent to the round-robin algorithm
This algorithm is equivalent to the shortest-job-first algorithm
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following statements about process state transitions for a system using preemptive scheduling. Which of the above statements are TRUE?
II and III only
I, II and III only
I, II, III and IV
I, II and IV only
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following standard C library functions will always invoke a system call when executed from a single-threaded process in a UNIX/Linux operating system?
malloc
exit
strlen
sleep
Create a free account and access millions of resources
Similar Resources on Wayground
18 questions
Flowchart and Algorithm

Quiz
•
11th Grade - University
10 questions
Chapter 6 (Fundamentals of Cybersecurity

Quiz
•
University
15 questions
Searching and Sorting

Quiz
•
University - Professi...
10 questions
Algorithm, Pseudocode and Flowchart

Quiz
•
University
10 questions
7.3 Designing and Constructing a Solution Cambridge IGCSE 0478

Quiz
•
10th Grade - University
15 questions
Cryptology

Quiz
•
9th Grade - University
10 questions
Pemograman 1 (Week 3)

Quiz
•
University
11 questions
OPESSYS: Module 3 Quiz Game

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

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

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University