Operating Systems Questions

Q:

Why paging is used?

Answer

Paging is solution to external fragmentation problem which is to permit the logical address space of a process to be noncontiguous, thus allowing a process to be allocating physical memory wherever the latter is available.

Report Error

View answer Workspace Report Error Discuss

1 2041
Q:

What are turnaround time and response time?

Answer

Turnaround time is the interval between the submission of a job and its completion. Response time is the interval between submission of a request, and the first response to that request.

Report Error

View answer Workspace Report Error Discuss

1 2029
Q:

What are the various components of a computer system?

Answer

1.The hardware


2.The operating system


3.The application programs


4.The users.

Report Error

View answer Workspace Report Error Discuss

1 2022
Q:

Explain the concept of the batched operating systems?

Answer

In batched operating system the users gives their jobs to the operator who sorts the programs according to their requirements and executes them. This is time consuming but makes the CPU busy all the time.

Report Error

View answer Workspace Report Error Discuss

1 2006
Q:

What is an operating system?

Answer

 


An operating system is a program that acts as an intermediary between the user and the computer hardware. The purpose of an OS is to provide a convenient environment in which user can execute programs in a convenient and efficient manner. It is a resource allocator responsible for allocating system resources and a control program which controls the operation of the computer hardware.

Report Error

View answer Workspace Report Error Discuss

2 2005
Q:

In loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking?

Answer

For load-time dynamic linking: Load module to be loaded is read into memory. Any reference to a target external module causes that module to be loaded and the references are updated to a relative address from the start base address of the application module.


With run-time dynamic loading: Some of the linking is postponed until actual reference during execution. Then the correct module is loaded and linked.

Report Error

View answer Workspace Report Error Discuss

0 1991
Q:

What is Marshalling?

Answer

The process of packaging and sending interface method parameters across thread or process boundaries.

Report Error

View answer Workspace Report Error Discuss

1 1978
Q:

What is mutex?

Answer

Mutex is a program object that allows multiple program threads to share the same resource, such as file access, but not simultaneously. When a program is started a mutex is created woth a unique name. After this stage, any thread that needs the resource must lock the mutex from other threads while it is using the resource. the mutex is set to unlock when the data is no longer needed or the routine is finished.

Report Error

View answer Workspace Report Error Discuss

1 1970