Advertisement

Search Topics....

Saturday, August 11, 2012

Operating Systems Question Bank for HSST Computer Science Examination 2012


Q.Interface provided by an Operating System
(A) GUI
(B) CUI
(C) MUI
(D) Both CUI and GUI

Q. One can interface with operating system by meansof-
(A) Operating system call in a program
(B) Operating system commands
(C) Operating system process
(D) Both by operating system call and operating system commands

Q.Which of the following is not a type of processing?
(A)Serial
(B) Network
(C) Batch
(D) Multiprogramming

Q.A method, which transfers the entire block of data from its own buffer to main memory
takes place without intervention by CPU.
Programmed input/output
Interrupt driven input/output
Direct Memory Access (DMA)
Resident monitor

Q. Which of the following is not a multi-programming operating system ?
Multitasking operating system
Multi user operating system
Time sharing system
Network operating system


Q. The operating system is the most common type of____________ software.
A. communication
B. application
C. 
system
D. word-processing software



Q. The two broad categories of software are:
A. word processing and spreadsheet.
B. transaction and application.
C. Windows and Mac OS.
D. 
system and application

Q. Which level of security is implemented in Windows NT?
(A) Al 
(B) Cl
(C) B2 
(D) C2 

Q. The UNIX shell : 
(A) does not come with the rest of the system
(B) forms the interface between the user and the kernal 
(C) does not give any scope for programming
(D) does not allow calling one program from with in another


Q. YACC is a program in UNIX used for:
(A) automatic scanner generation
(B) automatic parser generation
(C) automatic code generation
(D) none of these 

Q. The invalid file in UNIX from among the ones given below is: 
(A) /bin/unix 
(B) fete/passwd
(C) fete/group 
(D) fusr/bin/vi


Q. The very first process created by the Kernal in UNIX is : 
(A) init 
(B) getty
(C) fork
(D) none among these 

Q.    Which command divides the surface of the blank disk into sectors and assign a unique address to each one
a.    Ver
b.    Format
c.    Fat
d.    Chkdsk

Q. Each time you turn on your computer, it will check on the control filea. Command.com, io.sys
b. Command.com, date.com, dir.com
c. Command.com, io.sys, msdos.sys
d. Chkdsk.exe


Q. If you need to duplicate the entire disk, which command will you use?
a. Copy
b. Diskcopy
c. Chkdsk
d. Format

Q. Which of the following extensions suggest that the file is a backup copy
a. Bak
b. Bas
c. Com
d. Txt

Q. Round robin scheduling is essentially the preemptive version of ________. 
FIFO 
2 Shortest job first 
3 Shortes remaining 
4 Longest time first 


Q. A page fault occurs 
1 when the page is not in the memory 
2 when the page is in the memory 
3 when the process enters the blocked state 
4 when the process is in the ready state 


Q. Which of the following will determine your choice of systems software for your computer ? 
1 Is the applications software you want to use compatible with it ? 
2 Is it expensive ? 
3 Is it compatible with your hardware ? 
4 Both 1 and 3 


Q. Let S and Q be two semaphores initialized to 1, where P0 and P1 processes the following statements wait(S);wait(Q); ---; signal(S);signal(Q) and wait(Q); wait(S);---;signal(Q);signal(S); respectively. The above situation depicts a: 

1 Semaphore 
2 Deadlock 
3 Signal 
4 Interrupt 


Q.What is a shell ? 
1 It is a hardware component 
2 It is a command interpreter 
3 It is a part in compiler 
4 It is a tool in CPU scheduling 


Q. Routine is not loaded until it is called. All routines are kept on disk in a relocatable load format. The main program is loaded into memory & is executed. This type of loading is called:
1 Static loading 
2 Dynamic loading 
3 Dynamic linking 
4 Overlays 


Q. In the blocked state 
1 the processes waiting for I/O are found 
2 the process which is running is found 
3 the processes waiting for the processor are found 
4 none of the above 


Q. What is the memory from 1K - 640K called ? 
1 Extended Memory 
2 Normal Memory 
3 Low Memory 
4 Conventional Memory 


Q.Virtual memory is __________. 
1 An extremely large main memory 
2 An extremely large secondary memory 
3 An illusion of extremely large main memory 
4 A type of memory used in super computers. 

Q. The process related to process control, file management, device management, information about system and communication that is requested by any higher level language can be performed by 
1 Editors 
2 Compilers 
3 System Call 
4 Caching 


Q. If the Disk head is located initially at 32, find the number of disk moves required with FCFS if the disk queue of I/O blocks requests are 98,37,14,124,65,67. 
1 310 
2 324 
3 315 
4 321 


Q.Multiprogramming systems:
1 Are easier to develop than single programming systems 
2 Execute each job faster 
3 Execute more jobs in the same time 
4 Are used only on large main frame computers 


Q. Which is not the state of the process ? 
1 Blocked 
2 Running 
3 Ready 
4 Privileged 


Q. The solution to Critical Section Problem is : Mutual Exclusion, Progress and Bounded Waiting. 
1 The statement is false 
2 The statement is true. 
3 The statement is contradictory. 
4 None of the above 


Q.The problem of thrashing is effected scientifically by ________. 
1 Program structure 
2 Program size 
3 Primary storage size 
4 None of the above 


Q. The state of a process after it encounters an I/O instruction is __________. 
1 Ready 
2 Blocked/Waiting 
3 Idle 
4 Running 


Q. The number of processes completed per unit time is known as __________. 
1 Output 
2 Throughput 
3 Efficiency 
4 Capacity 


Q._________ is the situation in which a process is waiting on another process,which is also waiting on another process ... which is waiting on the first process. None of the processes involved in this circular wait are making progress. 

1 Deadlock 
2 Starvation 
3 Dormant 
4 None of the above 


Q.Which of the following file name extension suggests that the file is Backup copy of another file ? 
1 TXT 
2 COM 
3 BAS 
4 BAK 


Q. Which technique was introduced because a single job could not keep both the CPU and the I/O devices busy? 
1 Time-sharing 
2 SPOOLing 
3 Preemptive scheduling 
4 Multiprogramming 


Q. A critical region 
1 is a piece of code which only one process executes at a time 
2 is a region prone to deadlock 
3 is a piece of code which only a finite number of processes execute 
4 is found only in Windows NT operation system 


Q.The mechanism that bring a page into memory only when it is needed is called _____________ 
1 Segmentation 
2 Fragmentation 
3 Demand Paging 
4 Page Replacement 


Q. PCB = 
1 Program Control Block 
2 Process Control Block 
3 Process Communication Block 
4 None of the above 
Right Ans ) 2 

Q. FIFO scheduling is ________. 
1 Preemptive Scheduling 
2 Non Preemptive Scheduling 
3 Deadline Scheduling 
4 Fair share scheduling 


Q. Switching the CPU to another Process requires to save state of the old process and loading new process state is called as __________. 
1 Process Blocking 
2 Context Switch 
3 Time Sharing 
4 None of the above 
Right Ans ) 2 

Q.Which directory implementation is used in most Operating System? 
1 Single level directory structure 
2 Two level directory structure 
3 Tree directory structure 
4 Acyclic directory structure 


Q.The Banker¿s algorithm is used 
1 to prevent deadlock in operating systems 
2 to detect deadlock in operating systems 
3 to rectify a deadlocked state 
4 none of the above 


Q. A thread 
1 is a lightweight process where the context switching is low 
2 is a lightweight process where the context swithching is high 
3 is used to speed up paging 
4 none of the above 


Q. ______ is a high level abstraction over Semaphore. 
1 Shared memory 
2 Message passing 
3 Monitor 
4 Mutual exclusion 


Q.A tree sturctured file directory system 
1 allows easy storage and retrieval of file names 
2 is a much debated unecessary feature 
3 is not essential when we have millions of files 
4 none of the above 


Q. Which of the following is the feature of distributed operation system?
Real time  
Single tasking
Transparency  
All of these

Q.Kernel is
A part of operating system
An operating system
A hardware
A register

Q.UNI X operating system is based on
(A) Language structure
(B) Kernel approach
(C) Virtual machine
(D) Time sharing

Q.Virtual machine are-
(A) Lack of machine
(B) Illusion of real machine
(C) Physical machine
(D) None of these

Q. PMTLR is acronym for
(A) Page Map Table Limit Register
(B) Page Memory Table with Limit Register
(C) Both (A) and (B)
(D) None of these

Q.Paging is a
(A) Virtual Memory
(B) Memory management scheme
(C) Allocation of memory
(D) Deadlock prevention scheme

Q.TLB is the acronym of
(A) Translation Looking Buffer
(B) Translation Look aside Buffer
(C) Translation Left Buffer
(D) Translation Look Block

Q.Tracking and recording of page modifications is usually performed in hardware by adding a
written-into bit to each entry of the page map table. This bit is sometimes called

(A) Buddy bits (B) Protection bits
(C) Priority bits (D) Dirty bits

Q. Replacements policies for different pages is required when
(A) There is no unused page frames in main memory
(B) Allocation of new incoming item
(C) Both (A) and (B)
(D) None of these

No comments: