Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Important Questions From Module 3, 4 & 5: A Task Must Be Serviced by Its Deadline Period

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Important Questions from Module 3, 4 & 5

Module 3

1. In real time operating system ____________


a) all processes have the same priority
b) a task must be serviced by its deadline period
c) process scheduling can be done only once
d) kernel is not required
2. Which module gives control of the CPU to the process selected by the short-term
scheduler?
a) dispatcher
b) interrupt
c) scheduler
d) none of the mentioned
3. The interval from the time of submission of a process to the time of completion is termed
as ____________
a) waiting time
b) turnaround time
c) response time
d) throughput
4.  With multiprogramming ______ is used productively.
a) time
b) space
c) money
d) all of the mentioned
5. What are the two steps of a process execution?
a) I/O & OS Burst
b) CPU & I/O Burst
c) Memory & I/O Burst
d) OS & Memory Burst
6. The switching of the CPU from one process or thread to another is called ____________
a) process switch
b) task switch
c) context switch
d) all of the mentioned
7. Scheduling is done so as to ____________
a) increase the throughput
b) decrease the throughput
c) increase the duration of a specific amount of work
d) none of the mentioned
8. What is Waiting time?
a) the total time in the blocked and waiting queues
b) the total time spent in the ready queue
c) the total time spent in the running queue
d) the total time from the completion till the submission of a process
9. To access the services of operating system, the interface is provided by the ___________
a) System calls
b) API
c) Library
d) Assembly instructions
10. Which one of the following error will be handle by the operating system?
a) power failure
b) lack of paper in printer
c) connection failure in the network
d) all of the mentioned

Module 4

1. In real time operating system


a) all processes have the same priority
b) a task must be serviced by its deadline period
c) process scheduling can be done only once
d) kernel is not required
2. For real time operating systems, interrupt latency should be
a) minimal
b) maximum
c) zero
d) dependent on the scheduling

3. Which of the following are the pin efficient method of communicating between other
devices?
a) serial port
b) parallel port
c) peripheral port
d) memory port\
4. In real time operating system ____________
a) all processes have the same priority
b) a task must be serviced by its deadline period
c) process scheduling can be done only once
d) kernel is not required
5. For real time operating systems, interrupt latency should be ____________
a) minimal
b) maximum
c) zero
d) dependent on the scheduling
6. Which one of the following is a real time operating system?
a) RTLinux
b) VxWorks
c) Windows CE
d) All of the mentioned
7. Which of the following enables the user to utilise the system efficiently?
a) kernel
b) operating system
c) software
d) hardware
8. Which of the following can make the application program hardware independent?
a) software
b) application manager
c) operating system
d) kernel

Module 5

1. Which of the following is also known as loader?


a) locater
b) linker
c) assembler
d) compiler
Answer: b
Explanation: The linker is also known as a loader. It can take the object file and searches
the library files to find the routine it calls.
2.  Which of the following gives the final control to the programmer?
a) linker
b) compiler
c) locater
d) simulator
Answer: a
Explanation: The linker can give the final control to the programmer concerning how
unresolved references are reconciled, where the sections are located in the memory,
which routines are used, and so on.
3.  Which command takes the object file and searches library files to find the routine calls?
a) simulator
b) emulator
c) debugger
d)Linker
Answer: d
Explanation: The linker is also known as a loader. It can take the object file and searches
the library files to find the routine it calls. The linker can give the final control to the
programmer concerning how unresolved references are reconciled, where the sections are
located in the memory, which routines are used, and so on.

4. In which scheduling certain amount of CPU time is allocated to each process?


a) earliest deadline first scheduling
b) proportional share scheduling
c) equal share scheduling
d) none of the mentioned

5. Which one of the following is a real time operating system?


a) RTLinux
b) VxWorks
c) Windows CE
d) All of the mentioned

6. WDTIFG flag gets cleared if


a) if is interrupt had occurred
b) if the interrupt is serviced
c) if there can be no interrupt
d) all of the mentioned
7. What does SPI stand for?
a) serial parallel interface
b) serial peripheral interface
c) sequential peripheral interface
d) sequential port interface
8.  Which allows the full duplex synchronous communication between the master and the
slave?
a) SPI
b) serial port
c) I2C
d) parallel port
9. In which register does the data is written in the master device?
a) index register
b) accumulator
c) SPDR
d) status register
10. Which of the following is the most commonly used buffer in the serial porting?
a) LIFO
b) FIFO
c) FILO
d) LILO

You might also like