OS Overview Objectives 46-60

1.       The hardware mechanism that enables a device to notify the CPU is called _______.
                1) Interrupt
               2) Polling
               3) System call 
               4) None
                                                Answer: 2
2.       Which one of the following is true for a CPU having a single interrupt request line and a single interrupt grant line?
1) Neither vectored interrupt nor multiple interrupting devices are possible.
2) Vectored interrupts are not possible but multiple interrupting devices are possible
3) Vectored interrupts and multiple interrupting devices are both possible.
4) Vectored interrupt is possible but multiple interrupting devices are not possible
Answer: 2 
3.       Why Solaris, Windows XP, and Linux implement multiple locking mechanisms. 
a) for more security
b) for application developer’s needs
c) both a and b
d) none 
Answer: b
 Explanation: option b is more specific to the question rather than others
4.       MS-DOS supports multiprogramming fully.
True / False?
Answer: False
5.       A __________ is software that manages the time of a microprocessor to ensure that all time critical events are processed as efficiently as possible. This software allows the system activities to be divided into multiple independent elements called tasks.
1) Kernel
2) Shell
3) Processor
4) Device Driver
Ans: 1 
6.       An assembler is 
(A)     programming language dependent.
(B)     syntax dependant.
(C)     machine dependant.
(D)    data dependant.            
 Ans: (C)
7.       Which amongst the following is not an advantage of Distributed systems? 
 (A)    Reliability                                   
(B)  Incremental growth
(C)  Resource sharing                         
(D)  None of the above                      
Ans: (A)
8.       An imperative statement                                     
(A)    Reserves areas of memory and associates names with them
(B)    Indicates an action to be performed during execution of assembled program
(C)    Indicates an action to be performed during optimization
(D)    None of the above                       
Ans: (B)
9.       Which of the following loader is executed when a system is first turned on or restarted                                                                                                                                                                                                                                                                                            
(A)  Boot loader                              
(B)  Compile and Go loader
(C)  Bootstrap loader                      
(D)  Relating loader                      
Ans: (C)
10.   Poor response time is usually caused by                  
(A)        Process busy (B)    
(B)        High I/O rates
(C)        (C)     High paging rates
(D)        (D)    Any of the above                            
Ans: (D)  
11.   A linker program                    
(A)  places the program in the memory for the purpose of execution.                   
(B)  relocates the program to execute from the specific memory area            allocated to
it.                     
(C) links the program with other programs needed for its execution.                               
(D)  interfaces the program with the entities generating its input data.  
                                 Ans: (C)
12.   The main reason to encrypt a file is to ______________.                          
(A) Reduce its size                            
 (B) Secure it for transmission
(C) Prepare it for backup                   
(D) Include it in the start-up sequence               
Ans: (B) 
13.   A UNIX device driver is 
(A)     Structured into two halves called top half and bottom half
(B)     Three equal partitions
(C)      Unstructured
(D)     None of the above  
Ans: (A)  
14.     Which of the following are language processors?                     
(A) Assembler
(B) Compiler  
(C) Interpreter
(D) All of the above             
Ans: (D) 
15.   Most CPUs have the following type interrupt request.
 1) Non-mask able
2) Mask able 
3) Both 
4) None               

Answer: 3


No comments:

Post a Comment

Thank you for using this blog.