advertisement

Mid1 Revision

50 %
50 %
advertisement
Information about Mid1 Revision

Published on October 30, 2007

Author: tech2click

Source: slideshare.net

advertisement

Mid#1 Revision

Quick Revision

CH1 Mind map

Ch2 Mind map

Sample Exam

Types of Questions Short Answers (essay) True/False MCQ Problems Code to trace

Short Answers (essay)

True/False

MCQ

Problems

Code to trace

Short Answer Q: what is the benefit of using the TOP command? it is useful for showing which processes are consuming the most OS resources at any time. Q: What is the difference between heap and stack? Stack: for keeping track of subroutine calls. Heap: for Intermediate data computation.

Q: what is the benefit of using the TOP command?

it is useful for showing which processes are consuming the most OS resources at any time.

Q: What is the difference between heap and stack?

Stack: for keeping track of subroutine calls.

Heap: for Intermediate data computation.

Short Answers Define a monolithic kernel and compare it to a microkernel? A monolithic kernel essentially is designed to have all the system services encapsulated in one module with a tight communication and sharing of structures between the individual OS components. As opposed to a microkernel which takes the different tact of providing a set of minimal functions in the kernel and implement higher level OS features in other modules (running either in user mode or kernel mode). As monolithic kernel if it can be made bug free can on average perform better than a microkernel system that has some additional communication overhead between components.

Define a monolithic kernel and compare it to a microkernel?

A monolithic kernel essentially is designed to have all the system services encapsulated in one module with a tight communication and sharing of structures between the individual OS components. As opposed to a microkernel which takes the different tact of providing a set of minimal functions in the kernel and implement higher level OS features in other modules (running either in user mode or kernel mode). As monolithic kernel if it can be made bug free can on average perform better than a microkernel system that has some additional communication overhead between components.

Short Answers What is the purpose of interrupts? What are the differences between a trap and an interrupt? Can traps be generated intentionally by a user program? If so, for what purpose? (from your textbook) Answer: An interrupt is a hardware-generated change-of-flow within the system. An interrupt handler is summoned to deal with the cause of the interrupt; control is then returned to the interrupted context and instruction. A trap is a software-generated interrupt. An interrupt can be used to signal the completion of an I/O to obviate the need for device polling. A trap can be used to call operating system routines or to catch arithmetic errors.

What is the purpose of interrupts? What are the differences between a trap and an interrupt? Can traps be generated intentionally by a user program? If so, for what purpose? (from your textbook)

Answer: An interrupt is a hardware-generated change-of-flow within the system. An interrupt handler is summoned to deal with the cause of the interrupt; control is then returned to the interrupted context and instruction. A trap is a software-generated interrupt. An interrupt can be used to signal the completion of an I/O to obviate the need for device polling. A trap can be used to call operating system routines or to catch arithmetic errors.

True or False Process scheduler selects an available process for program execution on the CPU. The operating system uses short term scheduler to schedule processes for the first few hours after booting a machine. Afterwards, it uses the long term scheduler. The specific durations to use the short term and long term scheduler can be configured while building the kernel. True or False?

Process scheduler selects an available process for program execution on the CPU. The operating system uses short term scheduler to schedule processes for the first few hours after booting a machine. Afterwards, it uses the long term scheduler. The specific durations to use the short term and long term scheduler can be configured while building the kernel. True or False?

MCQ Which context switch is faster? Between threads. Between processes. A process created by using the fork() system call in UNIX Shares its address space with its parent. Gets an identical copy of the address space of its parent.

Which context switch is faster?

Between threads.

Between processes.

A process created by using the fork() system call in UNIX

Shares its address space with its parent.

Gets an identical copy of the address space of its parent.

Problems In a short-term scheduler it takes 10ms to decide to execute a process for 50ms, what percent of the CPU time is being wasted by scheduling time? 10/(50+10)=6 % Code to Trace - similar to what has been covered in the Tutorial.

In a short-term scheduler it takes 10ms to decide to execute a process for 50ms, what percent of the CPU time is being wasted by scheduling time?

10/(50+10)=6 %

Code to Trace - similar to what has been covered in the Tutorial.

Add a comment

Related pages

MID requirements definition - individuals

1.2 Revision History Date of this revision: ... Specification (MID1 Functional Specification v2.5), which is authored and owned by Experian Ltd, ...
Read more

MID1 AUDIT - An independent audit aids in the ...

View Test Prep - MID1 AUDIT from ACC 532 at جامعة الدمام. An independent audit aids in the communication of economic data because the
Read more

The Mouse Mid1 Gene: Implications for the Pathogenesis of ...

The Mouse Mid1 Gene: Implications for the Pathogenesis of ...
Read more

Mid#1 Revision. CH1 Mind map Ch2 Mind map Types of ...

Mid#1 Revision. CH1 Mind map Ch2 Mind map Types of Questions Short Answers (essay) True/False MCQ Problems Code to trace. by
Read more

Protein Phosphatase 2A (PP2A)-specific Ubiquitin Ligase ...

Protein Phosphatase 2A (PP2A)-specific Ubiquitin Ligase MID1 Is a Sequence-dependent Regulator of Translation Efficiency Controlling 3 ...
Read more

Notification Date: October 25, 2010 Revision Date ...

Revision Date: November 4, 2010 Rev1 . Effective Date: June 6, 2011. Subject: S8800 Server End of Sale Notice. ... R610 Srvr 2CPU MID1 (Sys Mngr) 700501084 .
Read more

M180 Mid Revision - YouTube

Skip navigation Upload. Sign in
Read more

Lack of Mid1, the Mouse Ortholog of the Opitz Syndrome ...

Lack of Mid1, the Mouse Ortholog of the Opitz Syndrome Gene, Causes Abnormal Development of the Anterior Cerebellar ... Revision received December 11, ...
Read more

RCSB PDB - 2JUN: Structure of the MID1 tandem B-boxes ...

2JUN: Structure of the MID1 Tandem B-Boxes Reveals an Interaction Reminiscent of Intermolecular Ring Heterodimers
Read more