T4Tutorials .PK

Past Papers CS101 – VU Computer Science Importants MCQs on Process Management & Security

Q#1: What components handle the coordination of processes in an operating system’s kernel?
(A) File manager and memory manager
(B) Scheduler and dispatcher
(C) Process table and memory area
(D) Interrupt handler and timer circuit
Answer: (B) Scheduler and dispatcher

Q#2: What information is stored in the process table by the scheduler?
(A) User’s name and password
(B) Process’s priority and memory area
(C) Mass storage operation status
(D) Time slice duration
Answer: (B) Process’s priority and memory area

Q#3: When is a process considered “waiting” according to the paragraph?
(A) When it is in a state where progress can continue
(B) When it is waiting for a time slice
(C) When it is in a state of suspension
(D) When it is interrupted by another process
Answer: (C) When it is waiting for an external event

Q#4: What initiates the end of a time slice in a time-sharing/multitasking system?
(A) Process completion
(B) User intervention
(C) Timer circuit generating an interrupt
(D) Dispatcher’s decision
Answer: (C) Timer circuit generating an interrupt

Q#5: What is the procedure called when changing from one process to another in a time-sharing system?
(A) Process termination
(B) Process initiation
(C) Time slice completion
(D) Process switch or context switch
Answer: (D) Process switch or context switch

Q#6: Which component of the CPU is responsible for reacting to interrupt signals?
(A) Memory manager
(B) Scheduler
(C) Interrupt handler
(D) Dispatcher
Answer: (C) Interrupt handler

Q#7: What is the primary purpose of a semaphore in an operating system?
(A) Controlling access to printer devices
(B) Managing process priorities
(C) Enabling multitasking
(D) Preventing memory overflows
Answer: (A) Controlling access to printer devices

Q#8: How is deadlock defined in the paragraph?
(A) When a process is interrupted
(B) When two processes compete for resources
(C) When a process cannot complete its task
(D) When resources are requested partially and cannot be forcibly retrieved
Answer: (B) When two processes compete for resources

Q#9: What are the conditions that must be satisfied for deadlock to occur?
(A) 1 and 2
(B) 2 and 3
(C) 1, 2, and 3
(D) None of the above
Answer: (C) 1, 2, and 3

Q#10: What is the technique called when non-sharable resources are made to appear sharable in an operating system?
(A) Spooling
(B) Multiprogramming
(C) Deadlock detection
(D) Privilege mode
Answer: (A) Spooling

Q#11: What is the role of auditing software in computer security?
(A) Allocating resources to processes
(B) Detecting unauthorized access
(C) Managing memory limits
(D) Controlling printer access
Answer: (B) Detecting unauthorized access

Q#12: What is the term used to describe the situation in which an intruder tricks the operating system into allowing access beyond a user’s privileges?
(A) Privilege escalation
(B) Memory limit override
(C) Resource allocation
(D) Deadlock
Answer: (A) Privilege escalation

Q#13: How is a CPU typically switched between privileged and non-privileged modes?
(A) Using interrupt signals
(B) With a “change privilege mode” instruction
(C) By the operating system administrator
(D) Automatically at system startup
Answer: (B) With a “change privilege mode” instruction

Q#14: What can a single flaw in privilege level control lead to?
(A) Unauthorized access to printer devices
(B) Increased memory limits
(C) Disaster from malicious programming or errors
(D) Improved resource allocation
Answer: (C) Disaster from malicious programming or errors

Q#15: Which component is NOT mentioned as being responsible for allocating resources in the operating system?
(A) File manager
(B) Memory manager
(C) Dispatcher
(D) Scheduler
Answer: (C) Dispatcher

Q#16: What information is stored in a process entry in the process table?
(A) User’s name and password
(B) Priority of the process and memory area
(C) Keyboard input data
(D) Execution time of the process
Answer: (B) Priority of the process and memory area

Q#17: What is the primary purpose of an interrupt handler in the CPU?
(A) Allocating resources to processes
(B) Responding to external events and signals
(C) Managing printer access
(D) Controlling process priorities
Answer: (B) Responding to external events and signals

Q#18: How does the CPU handle an interrupt signal?
(A) It immediately resumes the interrupted task.
(B) It saves its position in the current process and starts executing an interrupt handler.
(C) It ignores the interrupt and continues with the current task.
(D) It terminates the current process.
Answer: (B) It saves its position in the current process and starts executing an interrupt handler.

Q#19: What is the term for the procedure of changing from one process to another in a time-sharing system?
(A) Process termination
(B) Time slice completion
(C) Process switch or context switch
(D) Process initiation
Answer: (C) Process switch or context switch

Q#20: How are multiprogramming CPUs designed to save a process’s state when interrupted?
(A) By immediately resuming the interrupted task
(B) By storing the process’s state in a separate memory area
(C) By using machine-language instructions for state reloading
(D) By creating a new process entry in the process table
Answer: (C) By using machine-language instructions for state reloading

Exit mobile version