Welcome to Operating System Quiz, Intermediate Level !!

Question 1. In UNIX based systems,To build a modularized kernel, the kernel-headers and kernel-source packages must first be installed. Where will you find the kernel-headers and kernel-source

/usr/local

/usr/src/linux

/usr/sre/redhat

/usr/bin

Question 2. The agency that sits between the user and the UNIX system is called the

logic

profile

shell

erxc

Question 3. ______ is a high level abstraction over Semaphore

Shared memory

Message passing

Monitor

Mutual exclusion

Question 4. A major problem with priority scheduling is ?

Definite blocking

Starvation

low priority

none of the above

Question 5. You just added a new user, pankaj to the system. What group is pankaj added to by default

root

pankaj

group

user

Question 6. The process related to process control, file management, device management, information about system and communication that is requested by any higher level language can be performed by

Editors

Compilers

System Call

Caching

Question 7. Which of the following scheduling algorithms is non-preemptive?

Round Robin

First-In First-Out

Multilevel Queue Scheduling

Multilevel Queue Scheduling with Feedback

Question 8. Which of the following does not interrupt a running process?

A device

Timer

Scheduler process

Power failure

Question 9. A thread is usually defined as a "light weight process" because an operating system (OS) maintains smaller data structures for a thread than for a process. In relation to this, which of the followings is TRUE?

On per-thread basis, the OS maintains only CPU register state

The OS does not maintain a separate stack for each thread

On per-thread basis, the OS does not maintain virtual memory state

On per thread basis, the OS maintains only scheduling and accounting information

Question 10. In a multithreaded environment _______.

Each thread is allocated with new memory from main memory.

Main thread terminates after the termination of child threads.

Every process can have only one thread.

none of the above