Operating Systems Questions

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 3889
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

5 3882
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 3876
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

6 3874
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 3774
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 3734
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 3652
Q:

What is the perfect page size when designing an operating system ?

Answer

The perfect paging size varies from system to system, so there is no single best when it reaches to page size. There are several factors to consider in order to come up with a fitting page size, such as paging time, page table, and its effect on the total performance of the operating system.

Report Error

View answer Workspace Report Error Discuss

3 3640