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 5094
Q:

Which of the following is Not an Operating System?

A) UNIX B) Windows NT
C) C++ D) DOS
 
Answer & Explanation Answer: C) C++

Explanation:

C++ is not an Operating System.

 

An Operating System is a collection of system programs that manages all the other programs application programs in a computer as well as the allocation and use of hardware resources such as the CPU, Memory and the Hard Disk Drive.

It acts as an interface between the hardware and the user level program.

It controls and facilitates the overall operation of a computer. 

 

Here

UNIX : UNIX is a popular multi-user, multitasking operating system (OS) developed at Bell Labs.

 

Windows NT : Windows NT is a family of operating systems produced by Microsoft, the first version of which was released in July 1993.

 

DOS : DOS is Disk Operating System. The term DOS can refer to any operating system.

 

C++ : C++ is a programming language and computing platform.

 

Hence, C++ is not an Operating System.

Report Error

View Answer Report Error Discuss

8 4992
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 4902
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 4892
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 4886
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 4807
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 4723
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 4591