Co&os Imp Questions
Co&os Imp Questions
6.a Give an overview of the basic functional units and bus structures of a computer?
b) Give an overview of the performance measurement of computers.
7. What are the functional units of a computer system? Explain the way of handling
information by each of them?
10. Write about various general purpose registers involved in the typical computer system.
11. “System software is responsible for coordination of all activities in a computing system”-
Justify this statement with the functionalities of it.
14. Discuss various computer types with their applications in real world environment.
15. 12. What do you mean by multiprogramming?
18. What is the role of Processor clock, clock rate in the performance of computer
system? Explain.
1. What do you mean by register transfer language? What are the uses of register
transfer language?
3. What are the basic differences among a branch instruction, a call subroutine
instruction, and program interrupt?
6. Construct a bidirectional shift register with parallel load and give the function table of the
circuit.(OS)
8. An 8-bit register contains the binary value 10011100. What is the register value after
arithmetic shift right? Starting from the initial number 10011100, determine the register
value after an arithmetic shift left, and state whether there is an overflow?
10. Using a 4-bit counter with parallel load and a 4-bit adder, draw a block diagram
that shows how to implement the following statements:
x: R1 ←R1+R2 Add R2 to R1
12. Differentiate the instruction execution for adding ‘n’ numbers using Straight line
sequencing and branching?
14 a) Write about various means by which data are transferred between memory of a
computer and outside world.
15 a) What is register transfer notation? Write and explain these notations to three-
address, two-address, single address and zero-address instruction types.
17. In how many ways the location of an operand is specified in an instruction? Explain
each mode with suitable examples.
18. Represent the number (+46.5)10 as a floating-point binary number with 24 bits?
The normalized fraction mantissa has 16 bits and the exponent has 8 bits?
19. Distinguish between fixed point representation and floating point representation.
21. Illustrate with examples fixed point representation and floating point representation
type of Instructions
1. Give the flow chart of addition and subtraction of two floating-point binary numbers.
5. Suppose two numbers located in memory are to be added. What are the functional units
of digital computer system will carry out this? Explain how.
Input/Output Organization
1. Give few examples of external interrupts and few examples of internal interrupts. What
is the difference between a software interrupt and subroutine call?
2. What is the difference between isolated I/O and memory mapped I/O? What are the
advantages and disadvantages of each?
15. Design parallel priority interrupt hardware for a system with eight interrupt sources.
16. What is direct memory transfer? Give an overview and the block diagram of a DMA
controller.
21. Explain typical read operation with various data transfer signals on the PCI bus.
22. Write about two different approaches for bus arbitration.
23. What are the main phases involved in the operation of SCSI bus?
24. List the functionalities of I/O interface. Draw and explain a combined
input/output interface circuit?
26. Explain the importance of handshake control for data transfer in asynchronous bus?
28. Explain the usage of daisy chains and priority in simultaneous interrupt handling?
Processing Unit
1. Define Micro-operation.
3. Define Microcode.
5. Define Microinstruction.
13. What are the microinstructions needed for the fetch routine? Explain.
b) Give the block diagram of a control memory and the associated hardware needed
for selecting the next micro-instruction address.
Processor design
Process management.
And demonstrate its performance for the following workload in a system with
Consider the set of 5 processes whose arrival time and burst time are given
below
P1 5 5
P2 4 6
P3 3 7
P4 1 9
P5 2 2
P6 6 3
Draw a Gantt chart illustrating the execution of these jobs and also Calculate
5) What are the causes for External and Internal fragmentation? Suggest
9) Explain Indexed file allocation method and discuss its advantages and
disadvantages.
11) What are the important functions of an operating system? Explain in detail.
multithreaded programming?
19) Why is it important to balance file-system I/O among the disks and controllers
20) What is meant by a system call? Explain how Linux handles system calls.
31) Explain the main purpose of an Operating System.
33) Describe the actions taken by a Kernel to context switch between processes.
34) Consider the set of 6 processes whose arrival time and burst time are given below:
P1 0 4
P2 1 5
P3 2 2
P4 3 1
P5 4 6
P6 5 3
If the CPU scheduling policy is Round Robin with time quantum = 2. Draw a Gantt
chart illustrating the execution of these jobs and calculate the average waiting time
35) Explain the five major activities of an operating system with regard to memory
management.
36) What is paging? Explain the steps involved in handling a page fault.
Considering a system with five processes P0 through P4 and three resources of type
instances. Suppose at time t0 following snapshot of the system has been taken:
ii) Is the system in a safe state? If Yes, then what is the safe sequence?
iii) What will happen if process P1 requests one additional instance of resource type
37) Explain the three allocation methods in file system implementation. Illustrate with a
proper diagram.
i) Batch ii) Interactive iii) Time sharing iv) Real time v) Parallel
41) Discuss how the following pairs of scheduling criteria conflict in a certain settings.
i) CPU utilization and response time, ii) Average turnaround time and maximum
waiting time, and iii) I/O device utilization and CPU utilization.
42) What is fragmentation? Explain the differences between internal and external
fragmentation.
43) Compare the main memory organization schemes of continuous memory
allocation, pure segmentation, and pure paging with respect to the following
45) What is a deadlock? Explain the necessary condition for deadlock. [6M]
processes.
49) Draw and explain OS layered and modular architecture and its services.
50) Write and explain various scheduling criteria’s with respect CPU scheduling.
intervals.
52) What is paging? Explain the hardware support given for paging.
1,4,3,2,3,4,7. Calculate the number of page faults with LRU, FIFO and optimal
54) What is critical section problem? Write and explain Peterson’s solution for it.
56) What are the advantages and disadvantages of recording the name of the
57) In detail explain the structure of disk with a neat diagram. How to attach to the
programming and multi processing? Explain. (Assume system have two user
processes).
60) For the processes listed below, evaluate Average Waiting Time and Average
Turnaround Time for: i) FCFS ii) SJF iii) SRT iv) Non-Preemptive Priority
61) What is paging? Explain its structure for 32 -byte memory with 4-byte pages.
64) List out the various methods for free-space management and explain them.
With a neat sketch, Explain in detail about the interrelation between various
66a) Explain in detail, the sequence of actions taken by the operating system to context
b) Assume the following workload in a system. All jobs arrive at time 0 in the order
given.
Draw a Gantt chart illustrating the execution of these jobs using Priority CPU
scheduling algorithm and also Calculate the average waiting time and average
turnaround time.
67) What is a page fault? Explain the steps involved in handling a page fault with a
neat sketch.
neat diagram.
68 a) What is a Critical Section problem? Give the conditions that a solution to the
b) Consider a disk queue with following requests for I/O to blocks on cylinders
Draw FCFS and SSTF scheduling and also determine how many times the disk
head changes its direction for each of the above mentioned scheduling techniques.
systems.
Discuss various operating system services that are very much helpful to the user.
b) What are the advantages and disadvantages of using the same system call
72a) How demand paging affects the performance of a computer system? Give
explanation.
b) How does the system detect Thrashing? What can the system do to eliminate this
problem? Explain.
73 a) What happens if the wait() and signal() semaphore operations are not executed
algorithm.
76a) Explain the process scheduling with a neat queuing diagram. [7M]
b) Assume the following workload in a system. All jobs arrive at time 0 in the order
given.
Draw a Gantt chart illustrating the execution of these jobs using Round Robin CPU
scheduling algorithm (Assume time quantum= 1 unit) and also Calculate the
77. a) Explain the difference between External fragmentation and Internal fragmentation.
1,2,4,7,3,5,6,3,6,1,4,2,3,6,5,2
How many page faults would occur for the optimal page replacement algorithm,
80a) Discuss various challenges and issues that are to be considered while designing an
operating system.
b) Why Real time operating systems are needed? Give some examples.
c) Write the difference between the function and system call. Briefly explain the six
b) What are the criteria for evaluating the CPU scheduling algorithms? Why do we
need it?
1,2,4,7,3,5,6,3,6,1,4,2,3,6,5,2
How many page faults would occur for the LRU page replacement algorithm,
83 a) How does the signal() operation associated with monitors differ from the
b) Compare the SCAN and C-SCAN disk scheduling algorithms with an example.