Operating System Mcqs

Page No. 60

When one thread immediately terminates the target thread, it is called ____________


aAsynchronous cancellation

✓


bSystematic cancellation

✖


cSudden Termination

✖


dDeferred cancellation

✖



When a web page is loading, and the user presses a button on the browser to stop loading the page?


athe thread loading the page continues with the loading

✖


bthe thread loading the page does not stop but continues with another task

✖


cthe thread loading the page is paused

✖


dthe thread loading the page is cancelled

✓



What is Thread cancellation?


athe task of destroying the thread once its work is done

✖


bthe task of removing a thread once its work is done

✓


cthe task of terminating a thread before it has completed

✖


dnone of the mentioned

✖



In UNIX, the ______________ system call is used to send a signal.


asig

✖


bsend

✖


ckill

✓


dsigsend

✖


View Answer kill

A process can never be sure that a signal it has sent _____________


ahas which identifier

✖


bhas not been lost

✓


chas been sent

✖


dall of the mentioned

✖


View Answer has not been lost

In most cases, if a process is sent a signal while it is executing a system call ____________


athe system call will continue execution and the signal will be ignored completely

✖


bthe system call is interrupted by the signal, and the signal handler comes in

✖


cthe signal has no effect until the system call completes

✓


dnone of the mentioned

✖



In UNIX, the abort() function sends the ________ signal to the calling process, causing abnormal termination.


aSIGTERM

✖


bSIGSTOP

✖


cSIGABORT

✖


dSIGABRT

✓


View Answer SIGABRT

The usual effect of abnormal termination of a program is ____________


acore dump file generation

✓


bsystem crash

✖


cprogram switch

✖


dsignal destruction

✖



The usefulness of signals as a general inter process communication mechanism is limited because ____________


athey do not work between processes

✖


bthey are user generated

✖


cthey cannot carry information directly

✓


dnone of the mentioned

✖



In UNIX, the set of masked signals can be set or cleared using the ________ function.


asigmask

✖


bsigmaskproc

✖


csigprocmask

✓


dsigproc

✖


View Answer sigprocmask

Goto Page No.

Page 60 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