Operating System Mcqs

Page No. 56

Termination of the process terminates ___________


afirst thread of the process

✖


bfirst two threads of the process

✖


call threads within the process

✓


dno thread within the process

✖



The jacketing technique is used to ___________


aconvert a blocking system call into non blocking system call

✓


bcreate a new thread

✖


ccommunicate between threads

✖


dterminate a thread

✖



When the event for which a thread is blocked occurs?


athread moves to the ready queue

✓


bthread remains blocked

✖


cthread completes

✖


da new thread is provided

✖



The time required to create a new thread in an existing process is ___________


agreater than the time required to create a new process

✖


bless than the time required to create a new process

✓


cequal to the time required to create a new process

✖


dnone of the mentioned

✖



If one thread opens a file with read privileges then ___________


aother threads in the another process can also read from that file

✖


bother threads in the same process can also read from that file

✓


cany other thread can not read from that file

✖


dall of the mentioned

✖



A process can be ___________


asingle threaded

✖


bmultithreaded

✖


cboth single threaded and multithreaded

✓


dnone of the mentioned

✖



Which one of the following is not shared by threads?


aprogram counter

✖


bstack

✖


cboth program counter and stack

✓


dnone of the mentioned

✖



Which of the following is FALSE?


aContext switch time is longer for kernel level threads than for user level threads

✖


bUser level threads do not need any hardware support

✖


cRelated kernel level threads can be scheduled on different processors in a multiprocessor system

✖


dBlocking one kernel level thread blocks all other related threads

✓



If a kernel thread performs a blocking system call, ____________


athe kernel can schedule another thread in the application for execution

✓


bthe kernel cannot schedule another thread in the same application for execution

✖


cthe kernel must schedule another thread of a different application for execution

✖


dthe kernel must schedule another thread of the same application on a different processor

✖



Because the kernel thread management is done by the Operating System itself ___________


akernel threads are faster to create than user threads

✖


bkernel threads are slower to create than user threads

✓


ckernel threads are easier to manage as well as create then user threads

✖


dnone of the mentioned

✖



Goto Page No.

Page 56 of 108

Alphabetical MCQs Categories
—

Here below You find all kind of categories of MCQs in alphabetical order.


"Comprehensive Collection of MCQs: Alphabetically Organized by Subject"
—

"Discover an extensive collection of multiple-choice questions (MCQs) neatly categorized by subject from A to Z. This resource is designed for anyone eager to explore various topics in a straightforward and organized manner. Whether you're a student preparing for exams, an educator seeking supplementary materials, or simply curious about different subjects, this compilation offers a convenient way to learn and assess your knowledge. With questions arranged alphabetically, navigation is effortless, allowing you to delve into subjects of interest at your own pace. Engage, learn, and expand your understanding with this accessible and comprehensive repository of MCQs!"


BolPakistan

bolpakistan.com.pk includes Job Mcqs and Pak Mcqs is the Top Largest Mcqs Forum in World, in which you can read Mcqs of All Subjects, PPSC test preparation, FPSC, NTS and PPSC PAST PAPERS, PPSC PAST MCQS. A Collection of Repeated MCQs for JOBs seekers.

Copyright © 2024, Designed & Developed by BolPakistan