Operating Systems Questions

Q:

Explain the concept of Reentrancy?

Answer

It is a useful, memory-saving technique for multiprogrammed timesharing systems. A Reentrant Procedure is one in which multiple users can share a single copy of a program during the same period. Reentrancy has 2 key aspects: The program code cannot modify itself, and the local data for each user process must be stored separately. Thus, the permanent part is the code, and the temporary part is the pointer back to the calling program and local variables used by that program. Each execution instance is called activation. It executes the code in the permanent part, but has its own copy of local variables/parameters. The temporary part associated with each activation is the activation record. Generally, the activation record is kept on the stack.


Note: A reentrant procedure can be interrupted and called by an interrupting program, and still execute correctly on returning to the procedure.

Report Error

View answer Workspace Report Error Discuss

0 2443
Q:

What are the key object oriented concepts used by Windows NT?

Answer

Encapsulation, Object class and instance.

Report Error

View answer Workspace Report Error Discuss

1 2419
Q:

What is hard disk and what is its purpose?

Answer

Hard disk is the secondary storage device, which holds the data in bulk, and it holds the data on the magnetic medium of the disk.Hard disks have a hard platter that holds the magnetic medium, the magnetic medium can be easily erased and rewritten, and a typical desktop machine will have a hard disk with a capacity of between 10 and 40 gigabytes. Data is stored onto the disk in the form of files.

Report Error

View answer Workspace Report Error Discuss

0 2366
Q:

How many jobs can be run concurrently on MVT?

Answer

15 jobs.

Report Error

View answer Workspace Report Error Discuss

1 2344
Q:

What is Throughput, Turnaround time, waiting time and Response time?

Answer

Throughput : number of processes that complete their execution per time unit.

Turnaround time : amount of time to execute a particular process.

Waiting time : amount of time a process has been waiting in the ready queue.

Response time : amount of time it takes from when a request was submitted until the firstresponse is produced, not output (for time-sharing environment).

Report Error

View answer Workspace Report Error Discuss

1 2335
Q:

What are the operating system components?

Answer

- Process management


- Main memory management


- File management


- I/O system management


- Secondary storage management


- Networking


- Protection system


- Command interpreter system

Report Error

View answer Workspace Report Error Discuss

2 2256
Q:

Explain the concept of the Distributed systems?

Answer

Distributed systems work in a network. They can share the network resources, communicate with each other.

Report Error

View answer Workspace Report Error Discuss

0 2253
Q:

What is a Real-Time System?

Answer

A real time process is a process that must respond to the eventswithin a certain time period. A real time operating system is an operating system that can run realtime processes successfully.

Report Error

View answer Workspace Report Error Discuss

1 2174