CS604_Final_Term_Spring_2010_13
CS604_Final_Term_Spring_2010_13
net
►l
►s
► ls
► none of the given options
► Semaphores
► Read/Write Locks
► Swaps
► Monitor
Addresses generated relative to part of program, not to start of physical memory are
► Virtual
► Physical
► Relocatable
► Symbolic
Object files and libraries are combined by a ------------- program to produce the
executable binary
► Compiler
► Linker
► Text editor
► Loader
► Fixed Allocation
► Propotional Allocation
► Priority Allocation
► None of the given options
________ is used to store data on secondary storage device, e.g., a source program(in C), an
executable program.
► Contiguous Allocation
► Linked Allocation
► Indexed Allocation
► None of the given options
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
► 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
► Mutual exclusion
► Hold and wait
► No preemption
► Circular wait
► Deadlock avoidance
► Deadlock detection
► Deadlock prevention
► Deadlock removal
► True
► False
► True
► False
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
► Fixed size
► Variable size
► One
► Two
► Three
► Four
► 36 bits
► 48 bits
► 64 bits
► 128 bits
► 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,
► Progress
► Bounded waiting
► Mutual exclusion
► None of the given
► Progress
► Bounded Waiting
► Mutual Exclusion
► Critical Region
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.
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.
the pipe system call creates a pipe and returns two file descriptors, one for reading and
second for writing.
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.
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.
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.
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