
OS_Threads_PYQ
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Pushpendra Pateriya
FREE Resource
Enhance your content in a minute
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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Vistacreate
Quiz
•
University
18 questions
12AIT - All About W3C <3
Quiz
•
10th Grade - University
10 questions
Industry 4.0 Unit 1
Quiz
•
University
10 questions
Scratch
Quiz
•
KG - Professional Dev...
11 questions
Youtube
Quiz
•
4th Grade - University
10 questions
computer Networks
Quiz
•
University
19 questions
DBMS - Fundamentals
Quiz
•
University
15 questions
PICMAKER
Quiz
•
University
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
7 questions
Transition Words and Phrases
Interactive video
•
4th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
34 questions
Unit 5 Review - The Middle Ages in Europe-B
Quiz
•
9th Grade - University
26 questions
Day2 classwork: Permutation and combination
Quiz
•
2nd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
