Sail E0 Webinar

MCQs

Total Questions : 63 | Page 5 of 7 pages
Question 41.

The scheduling in which CPU is allocated to the process with least CPU-burst time is called


  1.    Priority Scheduling
  2.    Shortest job first Scheduling
  3.    Round Robin Scheduling
  4.    Multilevel Queue Scheduling
 Discuss Question
Answer: Option B. -> Shortest job first Scheduling



Question 42.

Which of the following approaches do not require knowledge of the system state?


  1.    deadlock detection.
  2.    deadlock prevention.
  3.    deadlock avoidance.
  4.    none of the above.
 Discuss Question
Answer: Option D. -> none of the above.



Question 43.

Locality of reference implies that the page reference being made by a process


  1.    will always be to the page used in the previous page reference.
  2.    is likely to be the one of the pages used in the last few page references.
  3.    will always be to one of the pages existing in memory.
  4.    will always lead to a page fault.
 Discuss Question
Answer: Option B. -> is likely to be the one of the pages used in the last few page references.



Question 44.

The following is not a layer of IO management module


  1.    PIOCS (Physical Input Output Control System)
  2.    LIOCS (Logical Input Output Control System)
  3.    FS (File System)
  4.    MCS (Management Control System)
 Discuss Question
Answer: Option D. -> MCS (Management Control System)



Question 45.
Code 1:
The following 3 commands are executed at the shell in
order
grep main a.c > grepresult &
wc-l < grepresult &
rm grepresult &
Code 2: The following command is executed
grep main a.c | wc-l



  1.    Code 1 is correct
  2.    Code 2 is correct
  3.    Both are correct
  4.    Both have some pitfalls
 Discuss Question
Answer: Option C. -> Both are correct


Question 46.

Program ‘preemption’ is


  1.    forced de allocation of the CPU from a program which is executing on the CPU.
  2.    release of CPU by the program after completing its task
  3.    forced allotment of CPU by a program to itself.
  4.    a program terminating itself due to detection of an error.
 Discuss Question
Answer: Option A. -> forced de allocation of the CPU from a program which is executing on the CPU.


Question 47.

Which of the following is not a fundamental process state


  1.    ready
  2.    terminated
  3.    executing
  4.    blocked
 Discuss Question
Answer: Option D. -> blocked



Question 48.

The translator which perform macro expansion is called a


  1.    Macro processor
  2.    Macro pre-processor
  3.    Micro pre-processor
  4.    assembler
 Discuss Question
Answer: Option B. -> Macro pre-processor



Question 49.

Analysis which determines the meaning of a statement once its grammatical structure becomes known is termed as


  1.    Semantic analysis
  2.    Syntax analysis
  3.    Regular analysis
  4.    General analysis
 Discuss Question
Answer: Option A. -> Semantic analysis


Question 50.

The term ‘page traffic’ describes


  1.    number of pages in memory at a given instant.
  2.    number of papers required to be brought in at a given page request.
  3.    the movement of pages in and out of memory.
  4.    number of pages of executing programs loaded in memory.
 Discuss Question
Answer: Option C. -> the movement of pages in and out of memory.


Latest Videos

Latest Test Papers