Operating Systems Questions

Q:

What is dual-mode operation?

Answer

In order to protect the operating systems and the system programs from the malfunctioning programs the two mode operations were evolved


System mode


User mode

Report Error

View answer Workspace Report Error Discuss

1 4599
Q:

How are the wait/signal operations for monitor different from those for semaphores?

Answer

If a process in a monitor signal and no task is waiting on the condition variable, the signal is lost. So this allows easier program design. Whereas in semaphores, every operation affects the value of the semaphore, so the wait and signal operations should be perfectly balanced in the program.

Report Error

View answer Workspace Report Error Discuss

1 4451
Q:

Which among the following is not aprocess state in unix?

A) Running B) Runnable
C) Zombie D) Stopped
 
Answer & Explanation Answer: B) Runnable

Explanation:

The process states of unix are running,Zombie,stopped,Waiting.

Report Error

View Answer Report Error Discuss

Filed Under: Operating Systems
Exam Prep: GATE

7 4430
Q:

Which among the following is a system call used for process management

A) fork() B) exec()
C) getppid() D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:

All the above listed are the System calls for process management

Report Error

View Answer Report Error Discuss

Filed Under: Operating Systems
Exam Prep: GATE
Job Role: Software Architect

0 4346
Q:

Which memory management technique involves dividing the memory into fixed sized blocks ?

A) Paging B) Scaling
C) Whiping D) Tracking
 
Answer & Explanation Answer: A) Paging

Explanation:

Paging is a memory management technique in which process address space is broken into blocks of the same size called pages.

Report Error

View Answer Report Error Discuss

Filed Under: Operating Systems
Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk

2 4195
Q:

getppid() system call is used to bias the existing priority of a process 

A) TRUE B) FALSE
Answer & Explanation Answer: B) FALSE

Explanation:

It is used to get parent process identifier

Report Error

View Answer Workspace Report Error Discuss

Subject: Operating Systems
Exam Prep: GATE

1 4177
Q:

What is a drawback of MVT?

Answer

1) ability to support multiple processors
2) virtual storage
3) source level debugging

Report Error

View answer Workspace Report Error Discuss

1 4164
Q:

Which among the following are not the children of Swapper or Scheduler?

A) Process Dispatcher B) Vhand
C) Dbflush D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:

Process Dispatcher,Vhand,Dbflush are the children of Scheduler

Report Error

View Answer Report Error Discuss

Filed Under: Operating Systems
Exam Prep: GATE

0 3941