Operating Systems Questions

Q:

What is cycle stealing?

Answer

We encounter cycle stealing in the context of Direct Memory Access (DMA). Either the DMA controller can use the data bus when the CPU does not need it, or it may force the CPU to temporarily suspend operation. The latter technique is called cycle stealing. Note that cycle stealing can be done only at specific break points in an instruction cycle.

Report Error

View answer Workspace Report Error Discuss

2 7822
Q:

When designing the file structure for an operating system, what attributes are considered ?

Answer

Commonly, the different attributes for a file structure are naming,size, identifier, a level of protection, supported file types and location for the files.

Report Error

View answer Workspace Report Error Discuss

18 7451
Q:

What are local and global page replacements?

Answer

Local replacement means that an incoming page is brought in only to the relevant process address space. Global replacement policy allows any page frame from any process to be replaced. The latter is applicable to variable partitions model only.

Report Error

View answer Workspace Report Error Discuss

4 7369
Q:

What are the reasons for process suspension?

Answer

swapping


interactive user request


timing


parent process request

Report Error

View answer Workspace Report Error Discuss

19 6870
Q:

The program that is responsible for loading the operating system into RAM is the _______.

A) BIOS B) Bootstrap Program
C) Drive- Driver D) Supervisor Program
 
Answer & Explanation Answer: B) Bootstrap Program

Explanation:

The program that is responsible for loading the operating system into RAM is the bootstrap Loader program.

Report Error

View Answer Report Error Discuss

Filed Under: Operating Systems
Exam Prep: Bank Exams

8 6820
Q:

When does the condition 'rendezvous' arise?

Answer

In message passing, it is the condition in which, both, the sender and receiver are blocked until the message is delivered.

Report Error

View answer Workspace Report Error Discuss

12 6762
Q:

Explain fork() system call?

Answer

The `fork()’ used to create a new process from an existing process. The new process is called the child process, and the existing process is called the parent. We can tell which is which by checking the return value from `fork()’. The parent gets the child’s pid returned to him, but the child gets 0 returned to him.

Report Error

View answer Workspace Report Error Discuss

Subject: Operating Systems Exam Prep: GATE

2 6390
Q:

A computer assisted method for the recording and analyzing of existing or hypothetical systems is

A) Data transmission B) Data capture
C) Data flow D) Data processing
 
Answer & Explanation Answer: C) Data flow

Explanation:
Report Error

View Answer Report Error Discuss

7 6302