cs604 Final Term Mcqs Solved With References by Moaaz
cs604 Final Term Mcqs Solved With References by Moaaz
moaaz
FINALTERM EXAMINATION
Spring 2010
CS604- Operating Systems (Session - 4)
► Interrupt
► Trap
► Signal
► Process
► Base register
► Limit register
► Status register
► None of the given options
► context switching
► scheduling
► quantum period
► latency
► mutex
► binary
► couting
► none of the given options
► 0 and n
► 0 and 0
► 0 and 1
► None of the given options
► Virtual
► Physical
► Relocatable
► Symbolic
► Compiler
► Linker
► Text editor
► Loader
► Frames, pages
► Pages, Frames
► Frames, holes
► Holes, segments
► 2-level paging
► Page directory
► Page size
► Page table size
►Virtual, physical
► Hexadecimal, Binary,
► Valid, invalid
► Physical, Virtual
►2
►3
►4
►5
► Link
► Directory
► Common Group
► Access Permission
► Soft
► Hard
► Soft or Hard
► Contiguous Allocation
► Linked Allocation
► Indexed Allocation
► None of the given options
► Operating System
► Device Drivers
► Application Software
► Hardware
► wait(S) {
while(S<=0)
;// no op
S--;
}
► wait(S) {
S++;
}
► wait(S) {
while(S>=0)
;// no op
S--;
}
► wait(S) {
S--;
}
► Mutual Exclusion
► Deadlock
► Bounded Waiting
► All of the given options are correct
► True
► False
► paging
► thrashing
► page fault
► CPU utilization
► counter based
► Least Frequently Used
► FIFO
► LRU
► True
► False
► Cycle
► Graph
► Edge
► Node
► MULTICS
► OS/2
► Windows
► Linux
► 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
6
► True
► False (Page 100)
► User interface
► Hardware
► Kernel
► None of the given options
FINALTERM EXAMINATION
Spring 2010
CS604- Operating Systems (Session - 4)
►l
►s
► ls
► none of the given options
► Bounded
► Unbounded
► Both Unbounded & bounded
► None of the given options
► Semaphores
► Read/Write Locks
► Swaps
► Monitor
► Directed graph
► Critical path
► Resource allocation graph
► Mixed graph
► Counting
► Binary
► Mutex
► Bounded buffer
► True
► False
► protected
► shared
► legal
► illegal
► Fixed Allocation
► Propotional Allocation
► Priority Allocation
► None of the given options
► Operating system
► Application software
► All Software
► All of the given
► Busy waiting
► Spinlock
► Critical section
► Mutex
► Mutual exclusion
► Hold and wait
► No preemption
► Circular wait
► Deadlock
► Starvation
► True
► False
► Fixed size
► Variable size
► Progress
► Bounded waiting
► Mutual exclusion
► None of the given
12
► Progress
► Bounded Waiting
► Mutual Exclusion
► Critical Region
13
No.2(19-June-2013)
Mutual exclusion
Context switching
Multithreading
Progress
Crystal section
Entry section
Remainder section
14
Counter
Buffer
Entry section
Exit section
4
3
1
2
Semaphore
Mutex
Busy waiting
Signal
Multiprocessor
Multithreading
Uniprocessor
Separate address spacing
Mutual Exclusion
Starvation
Critical Section
Bounded Buffer
► nice
►cmd
►Cat
►grep
► Bankers
► Bakery
► Babbles
6
►Interactive
► Non-interactive
►Foreground
►Preemptive
TestAndSet
Semaphore
Swap
Trap
Semaphore S
Spinlock
Locking Semaphore
Mutex
Multithreading
Context switching
Critical section
Pipelining
► True
► False
17
3
1
2
0
► Input queue
► Output queue
► Both of the
► None of the above
► Internal fragmentation
► External fragmentation
► Paging
► MVT
► True
► False
18
► Volatile
► Permanent and non volatile
► Temporary
► None of the
► Internal fragmentation
► External fragmentation
► Paging
► MVT
► Volatile memory
► Non-volatile
► Permanent
► Virtual
► Logical address
► Physical address
► Binary address
► None of the above
19
► Swapping
► Overlays
► Multiprogramming with fixed tasks (MFT)
► Multiprogramming with fixed tasks (MFT)
► Wait-for graph
► Resource allocation graph
► Circular graph
► Claim edge graph
► True
► False
► Demand paging
► Paging
► Segmentation
► Page segmentation
► Page fault
► Page replacement
► Paging
► Segmentation
► Replacement that page will not be use for the longest period of time (Page 199)
► Replacement that page will be required most frequently in the execution of process
► Replace the page which is biggest in size.
► Segmentation
► Internal fragmentation
► Swapping
► External Fragmentation
21
► Bakery
► Banker’s
► Mutual exclusion
► Safe Sequence
► Fragmentation
► Paging
► Swapping
► Overlays
► Static linking
► Dynamic linking
► Execution
► Loading
► Address Binding
► Compiling
22
► Safe
► Un-Safe
► Mutual
► Starvation
► Claim edge
► Request edge
► Assignment edge
► Allocation edge
► Linker
► Compiler
23
► Critical region
► Circular wait
► Monitors
► Critical section
► Mutual exclusion
► Hold and wait
► No preemption
► Circular wait
24
► Proportional Allocation
► Fixed allocation
► Priority allocation
► None of these
26
27
► fg (Page 68)
► bg
► jobs
► kill
►is
►cp (Page 30)
►mv
►mkdir
►0 (Page 40)
►1
►2
►3
► Symmetric
► Asymmetric (Page 47)
► Both symmetric and asymmetric
► None of the given options
► Progress
► Mutual exclusion
► Bounded Waiting
► All of these (Page 101)
28
► OS/2
► Windows
► Unix click here for detail
► None of the above
29
► . (dot)
► # ( hash )
► / (slash)
► ~ (tilt) (Page 25)
Question No: 13 (Marks: 1) - Please choose one
Mkfifo() is a .
► Non-preemptive SJF
► Priority Scheduling
► Preemptive Shortest Job First (Page 85)
► FCFS
30
► Command
► Process (Page 31)
► Software
► Compiler
Question No: 19 (Marks: 1) - Please choose one
The manual pages can be read in Linux using command.
► fork
► wait (Page 42)
► exec
► exit
► fg
► bg
► jobs (Page 68)
► kill
31
► <Ctrl-A>
► <Ctrl-C> (Page 69)
► <Ctrl-Z>
► None of the given options
32
► Swap space
► Medium term scheduler (Page 37)
► Short term scheduler
► Long term scheduler
► True (Page 9)
► False
33
► Create
► Move
► Remove (Page 30)
► Modify
► Child
► Thread
► Zombie
► Fork
►DOS
►Windows
► UNIX (Page 25)
►None of the given options
►rmdir
► mkdir (Page 29)
►cp
►gcc
► Pipes
► BSD Sockets (Page 53)
► Named pipe (FIFO)
► None of the given options
36
► <Ctrl-A>
► fg
► jobs
► kill -l (Page 69)
► preemptive
► non-preemptive (Page 83)
► both preemptive and non- preemptive
► none of the given options
► Preemptive only
► non-preemptive only
► preemptive or non-preemptive. (Page 85)
► None of the given options
37
► First-Come-First-Served (FCFS)
► Round-Robin
► Sorted Job First (SJF) (Page 85)
► Priority
► Application software
► Bus speed of the system Click here for detail
► Memory
► Virtual memory
►Critical analysis
► Critical section (Page 100)
►Critical path
►Critical code
38
► True (Page 7)
►False
►1
►2
►3 Click here for detail
►4
►Deadlock
►Aging
► Starvation (Page 86)
►None of the these
►Same
► Different (Page 71)
►Is
►Cs
► Top (Page 67)
►Cd
39
►Starvation
►Deadlock
► Aging (Page 87)
►None of the these
► True
►False
► Is
►Cs
►Mv
►/bin
►/dev
►/boot
► /etc
► Pipe
►read
►write
►open
41
42
► Mechanism
►Policy
►Mechanism and Policy:
►None of the given
► True
►False
►Layered
► Micro Kernal
►Virtual Machine
►None of The Given
►Software Layer
► Hardware Layer
►Lower Level Layer
►None of The Given
43
► True
►False
► True
►False
►Mechanism
► Policy
►Mechanism and Policy
►None of the given
► Top down
►Bottum Up
► True
►False
44
►Regenetrate
► Execute
►Store
►Remove
► True
►False
►Hardware
► Application
►Operating System
►Users
►Linux
►Unix
►Windows Xp
► Datebase
► True
►False
►CPU
► OS
►I/O Devices
►Memory
45
► Priorit
►Weight
►Time
►Scheduling
46
► Fork
► exec
►wait
►exit
►True
►False
►ls
► ps
►gcc
►cat
► True
► False
►read
► write
►open
►fork
►Child
►Thread
► Zombie
►Fork
47
►True
►False
►Non-preemptive scheduling
►Preemptive scheduling
►Dispatching scheduling
►FCFS scheduling
48
► True
► False
► True
► False
49