Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations

AMU MCA Previous Year Questions (PYQs)

AMU MCA Operating System PYQ


AMU MCA PYQ
System CPU time is defined as:






Go to Discussion

AMU MCA Previous Year PYQ AMU MCA AMU MCA 2020 PYQ

Solution

System CPU time = kernel execution time.


AMU MCA PYQ
Which of the following system call is used to create new process in UNIX operating system?






Go to Discussion

AMU MCA Previous Year PYQ AMU MCA AMU MCA 2020 PYQ

Solution

New process is created using fork().


AMU MCA PYQ
The Banker's theorem is associated with which of the following concept?






Go to Discussion

AMU MCA Previous Year PYQ AMU MCA AMU MCA 2020 PYQ

Solution

Banker’s Algorithm is used for deadlock avoidance in operating systems.


AMU MCA PYQ
Which access method is used to obtain a record from a cassette tape?






Go to Discussion

AMU MCA Previous Year PYQ AMU MCA AMU MCA 2020 PYQ

Solution

Cassette tape uses sequential access method.


AMU MCA PYQ
The directory can be viewed as ………… that translate filenames into their directory entries





Go to Discussion

AMU MCA Previous Year PYQ AMU MCA AMU MCA 2022 PYQ

Solution

A directory maps file names to metadata entries, just like a symbol table.

AMU MCA PYQ
A semaphore is a shared integer variable





Go to Discussion

AMU MCA Previous Year PYQ AMU MCA AMU MCA 2022 PYQ

Solution

Semaphore value is never allowed to become negative.

AMU MCA PYQ
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





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)

AMU MCA PYQ
What is a critical section?





Go to Discussion

AMU MCA Previous Year PYQ AMU MCA AMU MCA 2025 PYQ

Solution

Critical section is the part of program where shared resources are accessed.

AMU MCA PYQ
Data Mining can be used as a ………… tool.





Go to Discussion

AMU MCA Previous Year PYQ AMU MCA AMU MCA 2022 PYQ

Solution

Data mining is mainly used as a research and analysis tool to discover patterns.

AMU MCA PYQ
Every process consists of two steps CPU and I/O bursts. An I/O bound program will lead to:





Go to Discussion

AMU MCA Previous Year PYQ AMU MCA AMU MCA 2025 PYQ

Solution

I/O bound programs spend more time in I/O, leading to low CPU utilization.

AMU MCA PYQ
Initial value of the semaphore is to allow only one of the many processes to enter their critical section is:





Go to Discussion

AMU MCA Previous Year PYQ AMU MCA AMU MCA 2025 PYQ

Solution

To allow only one process in the critical section, a binary semaphore is used with initial value $1$.

AMU MCA PYQ
How does the software trigger an interrupt?





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.

AMU MCA PYQ
Which of the following system call is used to create new process in UNIX operating system?





Go to Discussion

AMU MCA Previous Year PYQ AMU MCA AMU MCA 2022 PYQ

Solution

fork() creates a new child process in UNIX.

AMU MCA PYQ
What is the name of storage device which is used to compensate for the difference in rates of flow of data from one device to another?





Go to Discussion

AMU MCA Previous Year PYQ AMU MCA AMU MCA 2022 PYQ

Solution

A buffer temporarily stores data to handle speed mismatch between devices.

AMU MCA PYQ
The first operating system of Micro-processor is …………





Go to Discussion

AMU MCA Previous Year PYQ AMU MCA AMU MCA 2022 PYQ

Solution

The first widely used OS for microprocessors was CP/M (Control Program for Microcomputers).

AMU MCA PYQ
The time interval from the time of submission of a process to the time of completion is:





Go to Discussion

AMU MCA Previous Year PYQ AMU MCA AMU MCA 2025 PYQ

Solution

Turnaround time = Completion time − Arrival time.

AMU MCA PYQ
What are two types of semaphores?





Go to Discussion

AMU MCA Previous Year PYQ AMU MCA AMU MCA 2022 PYQ

Solution

Semaphores are classified into Counting and Binary semaphores.

AMU MCA PYQ
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.





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.

AMU MCA PYQ
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)





Go to Discussion

AMU MCA Previous Year PYQ AMU MCA AMU MCA 2022 PYQ

Solution

All listed factors are considered in fair scheduling.

AMU MCA PYQ
A front-end processor is usually used in





Go to Discussion

AMU MCA Previous Year PYQ AMU MCA AMU MCA 2022 PYQ

Solution

Front-end processors are mainly used for I/O handling in time-sharing systems.

AMU MCA PYQ
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





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

AMU MCA PYQ
Which of these data types is used by operating system to manage recursion in Java/C/C++?





Go to Discussion

AMU MCA Previous Year PYQ AMU MCA AMU MCA 2021 PYQ

Solution

Recursion uses function call stack (LIFO).


AMU MCA


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

AMU MCA


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...