Operating Systems Questions

Q:

While running DOS on a PC, which command would be used to duplicate the entire diskette?

Answer

diskcopy

Report Error

View answer Workspace Report Error Discuss

1 2223
Q:

What is the difference between Primary storage and secondary storage?

Answer

Main memory - only large storage media that the CPU can access directly.

Secondary storage - extension of main memory that provides large nonvolatile storage capacity.

Report Error

View answer Workspace Report Error Discuss

1 2196
Q:

What is a deadlock?

Answer

Deadlock is a situation where a group of processes are all blocked and none of them can become unblocked until one of the other becomes unblocked. The simplest deadlock is two processes each of which is waiting for a message from the other.

Report Error

View answer Workspace Report Error Discuss

1 2195
Q:

What are the benefits of multithreaded programming?

Answer

 



  • Responsiveness

  • Resources sharing

  • Economy

  • Utilization of multiprocessor architectures.

Report Error

View answer Workspace Report Error Discuss

1 2191
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 2183
Q:

What is a binary semaphore?

Answer

A binary semaphore is one, which takes only 0 and 1 as values. They are used to implement mutual exclusion and synchronize concurrent processes.


 

Report Error

View answer Workspace Report Error Discuss

0 2162
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 2158
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 2147