FINALTERM EXAMINATION
Spring 2010
CS604- Operating Systems (Session - 4)
Ref No:
Time: 90 min
Marks: 60
Student Info | |
StudentID: | |
Center: | |
ExamDate: |
Question No: 1 ( Marks: 1 ) - Please choose one
► Interrupt
► Trap
► Signal
► Process
Question No: 2 ( Marks: 1 ) - Please choose one
► Base register
► Limit register
► Status register
► None of the given options
Question No: 3 ( Marks: 1 ) - Please choose one
► context switching
► scheduling
► quantum period
► latency
Question No: 4 ( Marks: 1 ) - Please choose one
► mutex
► binary
► couting
► none of the given options
Question No: 5 ( Marks: 1 ) - Please choose one
► 0 and n
► 0 and 0
► 0 and 1
► None of the given options
Question No: 6 ( Marks: 1 ) - Please choose one
► Virtual
► Physical
► Relocatable
► Symbolic
Question No: 7 ( Marks: 1 ) - Please choose one
► Compiler
► Linker
► Text editor
► Loader
Question No: 8 ( Marks: 1 ) - Please choose one
► Frames, pages
► Pages, Frames
► Frames, holes
► Holes, segments
Question No: 9 ( Marks: 1 ) - Please choose one
► 2-level paging
► Page directory
► Page size
► Page table size
Question No: 10 ( Marks: 1 ) - Please choose one
►
Virtual, physical
► Hexadecimal, Binary,
► Valid, invalid
► Physical, Virtual
Question No: 11 ( Marks: 1 ) - Please choose one
► 2
► 3
► 4
► 5
Question No: 12 ( Marks: 1 ) - Please choose one
► Link
► Directory
► Common Group
► Access Permission
Question No: 13 ( Marks: 1 ) - Please choose one
► Soft
None of the given options
► Hard
► Soft or Hard
► Soft or Hard
Question No: 14 ( Marks: 1 ) - Please choose one
► Contiguous Allocation
► Linked Allocation
► Indexed Allocation
► None of the given options
Question No: 15 ( Marks: 1 ) - Please choose one
► Operating System
► Device Drivers
► Application Software
► Hardware
Question No: 16 ( Marks: 1 ) - Please choose one
► wait(S) {
while(S<=0)
;// no op
S--;
}
► wait(S) {
S++;
}
► wait(S) {
while(S>=0)
;// no op
S--;
}
► wait(S) {
S--;
}
Question No: 17 ( Marks: 1 ) - Please choose one
► Mutual Exclusion
► Deadlock
► Bounded Waiting
► All of the given options are correct
Question No: 18 ( Marks: 1 ) - Please choose one
► True
► False
Question No: 19 ( Marks: 1 ) - Please choose one
► paging
► thrashing
► page fault
► CPU utilization
Question No: 20 ( Marks: 1 ) - Please choose one
► counter based
► Least Frequently Used
► FIFO
► LRU
Question No: 21 ( Marks: 1 ) - Please choose one
► Operating system
► Programmer
► Kernel
► Shell
Question No: 22 ( Marks: 1 ) - Please choose one
► True
► False
Question No: 23 ( Marks: 1 ) - Please choose one
► True
► False
Question No: 24 ( Marks: 1 ) - Please choose one
► counting
► linked list
► bit vector
► grouping
Question No: 25 ( Marks: 1 ) - Please choose one
► Cycle
► Graph
► Edge
► Node
Question No: 26 ( Marks: 1 ) - Please choose one
► MULTICS
► OS/2
► Windows
► Linux
Question No: 27 ( Marks: 1 ) - Please choose one
► 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: 28 ( Marks: 1 ) - Please choose one
► True
► False
Question No: 29 ( Marks: 1 ) - Please choose one
► Software based solution
► Firmware based solution
► Operating system based solution
► Hardware based solution
Question No: 30 ( Marks: 1 ) - Please choose one
► User interface
► Hardware
► Kernel
► None of the given options
Question No: 31 ( Marks: 2 )
ANS:
We use wait-for graph in a condition if all the resources have only a single instance, then we use deadlock detection algorithm that uses a variant of the resource allocation graph.
Question No: 32 ( Marks: 2 )
Ans:
List the four events that cause the execution of a piece of code in kernel:
1- Interrupt
2- Trap
3- System call
4- signal
Question No: 33 ( Marks: 2 )
Ans:
A FIFO page replacement algorithm correlates with every page to know the time when that page was brought into memory. When a page becomes to be replaced, the oldest page is chosen. It is not necessary to record the time when the page was brought in. for this we can create a FIFO queue to hold all pages into memory. We simply replace the page at the head of the queue.
Question No: 34 ( Marks: 2 )
Question No: 35 ( Marks: 3 )
Ans:
1- compile time
2- load time
3- execution time
Question No: 36 ( Marks: 3 )
Question No: 37 ( Marks: 3 )
Ans:
1-Users would be able to write programs for an extremely lagre virtual address space which simplify the programming task.
2- less input and output needed to load or swap each user program into memory, so each user program would run faster.
Question No: 38 ( Marks: 3 )
Ans:
1- manage secondary storage devices
2- manage processes
3- allow a user to manage files and directories properly
Question No: 39 ( Marks: 5 )
Ans:
Question No: 40 ( Marks: 5 )
No comments:
Post a Comment
PLEASE COMMENT ABOUT YOUR VISIT AND MY SITE
Note: Only a member of this blog may post a comment.