Qus : 7
AMU MCA PYQ
2
Match the following for Unix system calls:
List–I List-II 1. exec (i) Creates a new process 2.brk (ii) Invokes another program overlaying memory space with a copy of an executable file 3. wait (iii) To increase or decrease the size of data region 4. fork (iv) A process synchronizes with termination of child process
1
1-(ii), 2-(iii), 3-(i), 4-(iv) 2
1-(ii), 2-(iii), 3-(iv), 4-(i) 3
1-(iii), 2-(ii), 3-(iv), 4-(i) 4
1-(ii), 2-(iv), 3-(iii), 4-(i) Go to Discussion
AMU MCA Previous Year PYQ
AMU MCA AMU MCA 2022 PYQ
Solution exec → overlays program ⇒ (ii)
brk → changes data size ⇒ (iii)
wait → waits for child ⇒ (iv)
fork → creates process ⇒ (i)
Qus : 12
AMU MCA PYQ
2
How does the software trigger an interrupt?
1
Sending signals to CPU through bus 2
Executing a special operation called system call 3
Executing a special operation called system program 4
Executing a special operation called interrupt trigger program Go to Discussion
AMU MCA Previous Year PYQ
AMU MCA AMU MCA 2022 PYQ
Solution Software interrupt is generated by executing a system call instruction.
Qus : 18
AMU MCA PYQ
2
Which statement is true about process 0 in the Unix operating system?
I. Process 0 is called init process.
II. Process 0 is not created by fork system call.
III. After forking process 1, process 0 becomes swapper process.
IV. Process 0 is a special process created when system boots.
1
I, II, III 2
II, III, IV 3
I, III, IV 4
I, II, IV Go to Discussion
AMU MCA Previous Year PYQ
AMU MCA AMU MCA 2022 PYQ
Solution Process 0 is created at boot, not by fork, becomes swapper, and is special.
Init is process 1, not process 0.
Qus : 19
AMU MCA PYQ
1
The criteria for calculation of priority of a process are:
(A) Weight assigned to the group of user
(B) Processor utilization by an individual process
(C) Processor utilization by a user as group of process (priority calculated in fair scheduler)
1
All 2
Both (A) and (B) 3
Both (B) and (C) 4
None of the above Go to Discussion
AMU MCA Previous Year PYQ
AMU MCA AMU MCA 2022 PYQ
Solution All listed factors are considered in fair scheduling.
Qus : 21
AMU MCA PYQ
4
Find number of page faults for FIFO (First In First Out) page replacement policy if only 3 pages can be loaded at time
Reference string: 5, 4, 3, 2, 1, 4, 3, 5, 4, 3, 2, 1, 5
1
9 2
10 3
11 4
13 Go to Discussion
AMU MCA Previous Year PYQ
AMU MCA AMU MCA 2021 PYQ
Solution Simulating FIFO with 3 frames:
5 F
5 4 F
5 4 3 F
4 3 2 F
3 2 1 F
2 1 4 F
1 4 3 F
4 3 5 F
3 5 4 F
5 4 3 F
4 3 2 F
3 2 1 F
2 1 5 F
Total page faults = 13
[{"qus_id":"16749","year":"2025"},{"qus_id":"16755","year":"2025"},{"qus_id":"16758","year":"2025"},{"qus_id":"16775","year":"2025"},{"qus_id":"16987","year":"2022"},{"qus_id":"16993","year":"2022"},{"qus_id":"16995","year":"2022"},{"qus_id":"17009","year":"2022"},{"qus_id":"17017","year":"2022"},{"qus_id":"17018","year":"2022"},{"qus_id":"17025","year":"2022"},{"qus_id":"17030","year":"2022"},{"qus_id":"17031","year":"2022"},{"qus_id":"17032","year":"2022"},{"qus_id":"17033","year":"2022"},{"qus_id":"17034","year":"2022"},{"qus_id":"17037","year":"2021"},{"qus_id":"17047","year":"2021"},{"qus_id":"17206","year":"2020"},{"qus_id":"17213","year":"2020"},{"qus_id":"17216","year":"2020"},{"qus_id":"17222","year":"2020"}]