Operating System Basics Questions and Answers

Practice Mode
Showing 10 of 563 questions
Q471
A task n a blocked state is
  • A Executable
  • B Waiting for some temporarily unavailable resource
  • C Running
  • D None of these
Answer: Option B
Q472
Semaphores
  • A are used to do I/O
  • B Synchronize critical resources to prevent contention
  • C Synchornize critical resources to prevent deadlock.
  • D allow processes to communicate with one another
Answer: Option C
Q473
Priorities
  • A are used to schedule processes
  • B Increase as a process remains in the processor
  • C are attached to each page in the system
  • D are assigned by the user
Answer: Option A
Q474
Dijkstra's bankerj's algorithm in an operating-system solves the problem of
  • A deadlock avoidance
  • B deadlock recovery
  • C Mutual exculsion
  • D context switching
Answer: Option A
Q475
Which structure prohibits the sharing of files and directions
  • A tree structure
  • B one level structure
  • C two level structure
  • D none of these
Answer: Option D
Q476
With round-robin CPU schedulingin a time shared system
  • A using very large time slices degenerates into First-Come first served Algorithm
  • B Using extremely small time slices improves performance
  • C Using very smalltime slices degenerate into Last-in-First-Out algorithm
  • D using medium sized time slices leades to shortest Request time first algorithm
Answer: Option A
Q477
The portion of the process scheduler in an operating system that dispatches processes is concerned with
  • A Activating suspeneded I/O-bound processes
  • B Temporarily suspending processes when CPU load is too great
  • C assigning ready processes to the CPU
  • D all of the above
Answer: Option C
Q478
Followingg is the correct definition of a valid process transition within an operating system
  • A wake up : ready - running
  • B dispatch: ready - running
  • C block : ready - blocked
  • D timer run out : ready - blocked
Answer: Option B
Q479
I/O redirection
  • A implies changing the name of a file
  • B Can be employed to use an exiting file as input file for a program
  • C Implies connection to programs through a pipe
  • D None of the above
Answer: Option B
Q480
When an interrupt occurs, an operating system
  • A ignores the interrupt
  • B always changes state of interrupted process after processing the interrupt
  • C always resumes execution of interrupted
  • D may change state of interrupted process to blocked and schedule another process
Answer: Option D
Questions and Answers for Competitive Exams Various Entrance Test