Operating Systems Questions

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

What happens during the bootstrap process?

Answer

A bootstrap is the process of starting up a computer. It also refers to the program that initializes the operating system (OS) during start-up.


It referred to a bootstrap load button that was used to initiate a hardwired bootstrap program, or smaller program that executed a larger program such as the OS.

Report Error

View answer Workspace Report Error Discuss

6 4246
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 4093
Q:

Which command displays the present workig directory in UNIX?

A) $who B) $pwd
C) $who are you D) None
 
Answer & Explanation Answer: B) $pwd

Explanation:

$pwd - present working directory

Report Error

View Answer Report Error Discuss

Filed Under: Operating Systems

0 4038
Q:

What is a Safe State and what is its use in deadlock avoidance?

Answer

When a process requests an available resource, system must decide if immediate allocation leaves the system in a safe state. System is in safe state if there exists a safe sequence of all processes. Deadlock Avoidance : ensure that a system will never enter an unsafe state.

Report Error

View answer Workspace Report Error Discuss

0 4023
Q:

A Map is an Array,which contains the addresses of the free space in swap device that are allocatable resources,and the number of the resource unit available there.

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

Explanation:

The given statement is clearly true.

Report Error

View Answer Workspace Report Error Discuss

Subject: Operating Systems
Exam Prep: GRE

2 3979
Q:

What are the four layers that Windows NT have in order to achieve independence?

Answer

1.Hardware abstraction layer


2.Kernel


3.Subsystems


4.System Services.

Report Error

View answer Workspace Report Error Discuss

2 3910
Q:

What is the Translation Lookaside Buffer (TLB)?

Answer

In a cached system, the base addresses of the last few referenced pages is maintained in registers called the TLB that aids in faster lookup. TLB contains those page-table entries that have been most recently used. Normally, each virtual memory reference causes 2 physical memory accesses- one to fetch appropriate page-table entry, and one to fetch the desired data. Using TLB in-between, this is reduced to just one physical memory access in cases of TLB-hit.

Report Error

View answer Workspace Report Error Discuss

0 3891