Operating Systems Questions

Q:

What is the difference between Hard and Soft real-time systems?

Answer

A hard real-time system guarantees that critical tasks complete on time. This goal requires that all delays in the system be bounded from the retrieval of the stored data to the time that it takes the operating system to finish any request made of it. A soft real time system where a critical real-time task gets priority over other tasks and retains that priority until it completes. As in hard real time systems kernel delays need to be bounded

Report Error

View answer Workspace Report Error Discuss

0 4975
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 4762
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 4714
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 4626
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 4527
Q:

By default, a Linux user falls under which group?

A) same as userid (UPG) B) system
C) staff D) others
 
Answer & Explanation Answer: A) same as userid (UPG)

Explanation:

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel. By default, a Linux user falls under same as userid (UPG) group.

Report Error

View Answer Report Error Discuss

6 4465
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 4415
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 4390