Degree:, Stream: Paper Code: MCA301 Paper Name:: MCA MCA Third Semester Examination 2024
Degree:, Stream: Paper Code: MCA301 Paper Name:: MCA MCA Third Semester Examination 2024
Full Duratio
Examination No. of Questions and Marks Division
Marks n
Part A : 10 x 2 marks with alternatives = 20 questions
End Semester 100 Part B : 6 x 5 marks with alternatives = 12 questions 3 hours
Part C : 5 x 10 marks with alternatives = 10 questions
Points to Note:
1. Course Outcome (CO) Levels should be mentioned as COx, where x denotes the CO
between 1 to 7 (Example: CO1), as defined per subject. One questions shall be under
only ONE CO.
2. Bloom’s Taxonomy Level (BL) should be mentioned in words (Example: Remember) as
follow, as defined per question:
a. BL1 – Remember
b. BL2 – Understand
c. BL3 – Apply
d. BL4 – Analyze
e. BL5 – Evaluate
f. BL6 – Create
Part A
QB
Question
Sr. Question Module CO BL
Marks
No.
1 What is the need for an operating system? 2 1 CO1 Understand
2 What is SPOOL? What is the benefit of spooling? 2 1 CO1 Remember
Explain the characteristics of multi-processor and distributed
3 2 1 CO1 Remember
systems.
4 What is a timer? Explain its role in an operating system. 2 1 CO1 Understand
5 Give examples of hardware, software, and virtual resources. 2 1 CO1 Remember
What is the difference between a system call and a system
6 2 1 CO1 Understand
program?
7 What are the shortcomings of monolithic architecture? 2 1 CO1 Understand
8 Differentiate between monolithic and microkernel. 2 1 CO1 Understand
Some CPUs provide for more than two modes of operation. What
9 2 1 CO1 Analyze
are two possible uses of these multiple modes?
10 What is the purpose of system calls? 2 1 CO1 Understand
11 What is the purpose of system programs? 2 1 CO1 Understand
Page 1 of 5
Institute of Engineering & Management, Kolkata, New Town
(School of University of Engineering and Management
Kolkata)
Page 2 of 5
Institute of Engineering & Management, Kolkata, New Town
(School of University of Engineering and Management
Kolkata)
Page 3 of 5
Institute of Engineering & Management, Kolkata, New Town
(School of University of Engineering and Management
Kolkata)
84 What is the key difference between sequential access and direct 4 CO4 Analyze
access to a file?
2
Part B
QB
Question
Sr. Question Module CO BL
Marks
No.
The major drawback of multiprogrammed batch systems was the
1 lack of user/programmer interaction with their jobs. How can you 5 1 CO1 Understand
overcome this?
What are the five major activities of an operating system with
2 5 1 CO1 Understand
regard to file management?
Can a process switch from ready to terminated or blocked to
3 5 1 CO1 Apply
terminated state? Justify your answer.
What is the difference between
4 (a) consumable and non-consumable resources 5 1 CO1 Understand
(b) pre-emptive and non-pre-emptive resources
Is it true that the role of IPC mechanisms will increase in real-time
5 5 1 CO1 Analyze
systems?
6 How is reliability increased in microkernel architecture? 5 1 CO1 Analyze
7 How can scheduling be application-specific in case of user threads? 5 1 CO1 Apply
What are two differences between user-level threads and kernel-
8 level threads? Under what circumstances is one type better than 5 1 CO1 Understand
the other?
Describe the actions taken by a kernel to context-switch between
9 5 1 CO1 Remember
processes.
What is the purpose of the command interpreter? Why is it usually
10 5 1 CO1 Analyze
separate from the kernel?
11 Why does FCFS tend to favour long processes? 5 2 CO2 Understand
Page 4 of 5
Institute of Engineering & Management, Kolkata, New Town
(School of University of Engineering and Management
Kolkata)
Page 5 of 5
Institute of Engineering & Management, Kolkata, New Town
(School of University of Engineering and Management
Kolkata)
21 5 3 CO2 Apply
Page 6 of 5
Institute of Engineering & Management, Kolkata, New Town
(School of University of Engineering and Management
Kolkata)
CPU Burst
Process Priority Arrival Time
Time
P1 10 3 0
P2 1 1 0
43 5 2 CO2 Evaluate
P3 2 3 1
P4 1 4 3
P5 5 2 6
Page 7 of 5
Institute of Engineering & Management, Kolkata, New Town
(School of University of Engineering and Management
Kolkata)
A 3 0 1 1 1 1 0 0
B 0 1 0 0 0 1 1 2
C 1 1 1 0 3 1 0 0
D 1 1 0 1 0 0 1 0
46 5 3 CO3 Evaluate
E 0 0 0 0 2 1 1 0
Resource Available
R1 R2 R3 R4
1 0 2 0
Part C
QB
Sr. Question
Question Module CO BL
No Marks
.
Page 8 of 5
Institute of Engineering & Management, Kolkata, New Town
(School of University of Engineering and Management
Kolkata)
Page 9 of 5
Institute of Engineering & Management, Kolkata, New Town
(School of University of Engineering and Management
Kolkata)
10 2 CO2 Evaluate
Draw the Gantt chart for the execution of the processes, showing 10 2 CO2 Evaluate
their start time and end time using priority number-based
scheduling (pre-emptive) & RR (with time quantum = 5, ignoring
the priority). Calculate turnaround time, normalized turnaround
time, and waiting time for each process and average turnaround
time, average normalized turnaround time, and average waiting
time for the system and conclude which algorithm is better suited
for the given set of processes.
10
Page 10 of 5
Institute of Engineering & Management, Kolkata, New Town
(School of University of Engineering and Management
Kolkata)
10 2 CO2 Evaluate
Draw the Gantt chart for the execution of the processes,
showing their start time and end time, using SPN and SRN
scheduling. Calculate turnaround time, normalized turnaround
time, and waiting time for each process and average turnaround
time, average normalized turnaround time, and average waiting
time for the system.
11
10 2 CO2 Evaluate
Draw the Gantt chart for the execution of the processes, showing
their start time and end time using FCFS, RR. Calculate turnaround
time, normalized turnaround time, and waiting time for each
process and average turnaround time, average normalized
turnaround time, and average waiting time for the system.
12
Prove that all the CS protocol requirements are satisfied in
10 2 CO2 Apply
13 Dekker’s solution for process synchronization.
Prove that all the CS protocol requirements are satisfied in
10 2 CO2 Apply
14 Petorson’s solution for process synchronization.
There is a unisex salon where both males and females can get the
salon service. However, there is a condition that males and
females cannot come to the salon at the same time. The second
10 2 CO2 Create
condition is that there cannot be more
than three persons in the salon at a time. Give a synchronization
15 solution using semaphores.
A working couple has three babies. The babies cannot be left
unattended: Any one from the couple must be present at home for
10 2 CO2 Create
the babies. Write a solution for synchronizing the parents with the
16 babies.
What is the meaning of the term busy waiting? What other kinds
of waiting are there in an operating system? Can busy waiting be 10 2 CO2 Remember
17 avoided altogether? Explain your answer.
Page 11 of 5
Institute of Engineering & Management, Kolkata, New Town
(School of University of Engineering and Management
Kolkata)
10 2 CO2 Apply
Does this initial allocation lead to a safe state? Explain with reason.
If P2 requests two instances of R1, one instance of R3, and one
instance of R4, check whether the system is still in safe state.
If it is, find out the safe sequence of process execution.
19
20
What is Segmentation? Draw the concerned diagram and state all
the steps required for logical to physical address conversion where 10 3 CO3 Create
21 segmentation and segment table is involved.
22 What is TLB? Draw and explain the Paging implementation of TLB. 10 3 CO3 Create
What is Belady's Anomaly? For the given reference string check if
Belady's anomaly will occur with frame sizes 3 & 4 respectively. 10 3 CO3 Analyze
23 432143543215
What is the significance of Page Replacement Algorithms? For the
given reference string identify the better page replacement
10 3 CO3 Analyze
algorithm among FIFO and LRU with frame size 3. Clearly state the
24 reason for your choice.
Suppose that a disk drive has 5,000 cylinders, numbered 0 to
4,999. The drive is currently serving a request at cylinder 2,150,
and the previous request was at cylinder 1,805. The queue of 10 3 CO3 Evaluate
pending requests, in FIFO order, is:
25 2,069, 1,212, 2,296, 2,800, 544, 1,618, 356, 1,523, 4,965, 3681
Page 12 of 5
Institute of Engineering & Management, Kolkata, New Town
(School of University of Engineering and Management
Kolkata)
Page 13 of 5