WWW.VUSR.net     

Question No: 1    ( Marks: 1 )    - Please choose one
 You can display the contents (names of files and directories) of a directory in UNIX/Linux directory structure with the --------------- command.

       ► l
       ► s
       ► ls 
       ► none of the given options
    
Question No: 2    ( Marks: 1 )    - Please choose one
 ------------- spend more time doing IO than computations

       ► short CPU bursts
       ► CPU bound processes
       ► IO bound processes
       ► None of the given options
    
Question No: 3    ( Marks: 1 )    - Please choose one
 ------------buffer places no practical limit on the size of the buffer
► Bounded
      ► Unbounded
      ► Both Unbounded & bounded
      ► Bounded
   Unbounded

None of the given options 
    
Question No: 4    ( Marks: 1 )    - Please choose one
 With ----------you use condition variables.

       ► Semaphores
       ► Read/Write Locks
       ► Swaps
       ► Monitor 
    
Question No: 5    ( Marks: 1 )    - Please choose one
 Deadlocks can be described more precisely in terms of a directed graph called a system ----------

       ► Directed graph
              ► Critical path
       ► Resource allocation graph
       	► Mixed graph
    
Question No: 6    ( Marks: 1 )    - Please choose one
 Addresses generated relative to part of program, not to start of physical memory are 

       ► Virtual 
       ► Physical
       ► Relocatable
       ► Symbolic
    
Question No: 7    ( Marks: 1 )    - Please choose one
 Object files and libraries are combined by a ------------- program to produce the executable binary

       ► Compiler
       ► Linker
       ► Text editor
       ► Loader
    
Question No: 8    ( Marks: 1 )    - Please choose one
 The set of all physical addresses corresponding to the logical addresses is a ----------------- of the process

       ► Physical address space
       ► Process address space
       ► None of the given options
       ► Logical address space
    
Question No: 9    ( Marks: 1 )    - Please choose one
 ----------------  indicates size of the page table

       ► translation look-aside buffers 
       ► Page-table length register (PTLR) 
       ► Page-table base register (PTBR)
       ► Page offset 
    
Question No: 10    ( Marks: 1 )    - Please choose one
 If validation bit is 0, it indicates a/an --------- state of segment.

       ► protected
       ► shared
       ► legal
       ► illegal 

Question No: 11    ( Marks: 1 )    - Please choose one
 In ______ allocation scheme free frames are equally divided among processes

       ► Fixed Allocation
       ► Propotional Allocation
       ► Priority Allocation
       ► None of the given options
    
Question No: 12    ( Marks: 1 )    - Please choose one
 ________ is used to store data on secondary storage device, e.g., a source program(in C), an executable program.

       ► Block Special File
       ► Link File
       ► Ordinary File
       ► Directory

Question No: 13    ( Marks: 1 )    - Please choose one
 The ___________ method requires each file to occupy a set of contiguous blocks on the disk.

       ► Contiguous Allocation
       ► Linked Allocation
       ► Indexed Allocation
       ► None of the given options
    
Question No: 14    ( Marks: 1 )    - Please choose one
 The basic purpose of ________________is to help the users to utilize the hardware resources for completing different tasks in a simplified manner

       ► Operating system
       ► Application software
       ► All Software 
       ► All of the given

Question No: 15    ( Marks: 1 )    - Please choose one
 User mode can run the Privileged instructions

       ► True
       ► False 

Question No: 16    ( Marks: 1 )    - Please choose one
 _______________ wastes CPU cycles and hence is a problem in real multiprogramming system.

       ► Busy waiting
       ► Spinlock
       ► Critical section
       ► Mutex

Question No: 17    ( Marks: 1 )    - Please choose one
 The __________________ requires that no reader will be kept waiting unless a writer has already obtained permission to use the shared object.

       ► first readers-writers problem
       ► second readers-writers problem
       ► third readers-writers problem
       ► fourth readers-writers problem

Question No: 18    ( Marks: 1 )    - Please choose one
The process of holding at least one resource and waiting to acquire additional resources that are currently being held by other processes is known as _________________.

       ► Mutual exclusion
       ► Hold and wait
       ► No preemption
       ► Circular wait

Question No: 19    ( Marks: 1 )    - Please choose one
 If a process continues to fault, replacing pages, for which it then faults and brings back in right away. This high paging activity is called ___________.
       ► paging
       ► thrashing
       ► page fault
       ► CPU utilization
    
Question No: 20    ( Marks: 1 )    - Please choose one
 Banker’s algorithm is used for ________________

       ► Deadlock avoidance
       ► Deadlock detection
       ► Deadlock prevention
       ► Deadlock removal

Question No: 21    ( Marks: 1 )    - Please choose one
 A program can not execute unless whole or necessary part of it resides in the main memory.

       ► True
       ► False
    
Question No: 22    ( Marks: 1 )    - Please choose one
 The size of pages and frames are same in logical memory and physical memory respectively.

       ► True
       ► False

Question No: 23    ( Marks: 1 )    - Please choose one
 Which command, Display permissions and some other attributes for prog1.c in your current directory?
       ► ls –l prog1.c
       ► ls –d prog1.c
       ► ls file prog1.c
       ► ls –l prog1.c /Directory
    
Question No: 24    ( Marks: 1 )    - Please choose one
 In the C-Scan and C-Look algorithms, when the disk head reverses its direction, it moves all the way to the other end, without serving any requests, and then reverses again and starts serving requests.
       ► True
       ► False
    
Question No: 25    ( Marks: 1 )    - Please choose one
 In paged segmentation, we divide every segment in a process into __________ pages.

       ► Fixed size
       ► Variable size
  
Question No: 26    ( Marks: 1 )    - Please choose one
 Intel 80386 used paged segmentation with _________ level paging.

       ► One
       ► Two
       ► Three
       ► Four

Question No: 27    ( Marks: 1 )    - Please choose one
 The logical address of Intel 80386 is _________

       ► 36 bits
       ► 48 bits
       ► 64 bits
       ► 128 bits

Question No: 28    ( Marks: 1 )    - Please choose one
 Following is NOT true about Virtual memory.

       ► Virtual memory help in executing bigger programs even greater in size that of main memory.
       ► Virtual memory makes the processes to stuck when the collective size of all the processes becomes greater than the size of main memory.
       ► Virtual memory also allows files and memory to be shared by several different processes through page sharing.
       ► Virtual memory makes the task of programming easier because the programmer need not worry about the amount of physical memory,

Question No: 29    ( Marks: 1 )    - Please choose one
 The Swap instruction which is the hardware solution to synchronization problem does not satisfy the ________ condition, hence not considered to be a good solution.

       ► Progress
       ► Bounded waiting
       ► Mutual exclusion
       ► None of the given

Question No: 30    ( Marks: 1 )    - Please choose one
 The following requirement for solving critical section problem is known as ______________.
“There exists a bound on the number of times that other processes are allowed to enter their critical sections after a process has made a request to enter its critical section and before that request is granted.”

       ► Progress
       ► Bounded Waiting
       ► Mutual Exclusion
       ► Critical Region
    
Question No: 31    ( Marks: 2 ) 
 When a process is rolled out of memory, it loses its ability to use the CPU (at least for a while). Describe another situation where a process loses its     ability to use the CPU, but where the process does not get rolled out.   

Where the Infinite loop starts it also be the cause to suspend the CPU from working sitution to idle stat.
    
Question No: 32    ( Marks: 2 ) 
 How can you achieve memory protection in paging?

memory protection in paging is achieved by associating protection bits with each page. these bits are associated with each page table entry and specify protection on the corresponding page.
    
Question No: 33    ( Marks: 2 ) 
 What is the basic function of pipe system call?

the pipe system call creates a pipe and returns two file descriptors, one for reading and second for writing.

Question No: 34    ( Marks: 2 ) 
 Provide names of common file structures.
FAT32
NTFS
    
Question No: 35    ( Marks: 3 ) 
 What is the structure of Two-Level Page Table?

    
Question No: 36    ( Marks: 3 ) 
 Ignoring CPU overhead, what are the three primary components of disk access time (the time from the request of a sector to the time that it is available to the CPU). Given a transfer of a single sector, rank them according to their relative average cost.

    
Question No: 37    ( Marks: 3 ) 
 Calculate the Average Waiting Time for four processes. Assume that Processes come in the sequence of P1,P2,P4, P3  at time=0 and scheduling algorithm applied is FCFS.

Processes	  CPU Burst
P1			4
P2			1
P3			3
P4			2

Question No: 38    ( Marks: 3 ) 
 What do you think that why Main Memory is kept as a volatile memory and why not a permanent storage device?
In my view the Main memory is volatile because it has to maintain current and pending jobs to do till job done it kept data then transfers to the permanemt storage device but the permanent stroage has to only store the data so thats why data cant be on stack always all data cant be in working.
    
Question No: 39    ( Marks: 5 ) 
 Briefly explain Thrashing as it pertains to main memory management.

A process is thrashing if it is spending more time paging than executing. thrashing result in severe performance problems: low cpu utilization, high disk utilization, low utilization of other i/o devices.    
Question No: 40    ( Marks: 5 ) 
 Summarize the tradeoffs among simple arrays, trees, and hash tables as implementations of a page table.

www.VUSR.net