Mock Quiz Hub

Mock Quiz Hub

Recent Updates
Added: OS Mid 1 Quiz
Added: OS Mid 2 Quiz
Added: OS Lab 1 Quiz
Time: 00:00

Quiz

Navigate through questions using the controls below

0%
Question 1 of 60 Quiz ID: q1
Which of the following components is NOT part of a process's memory layout?
Question 2 of 60 Quiz ID: q2
What happens during a context switch?
Question 3 of 60 Quiz ID: q3
In process scheduling, what is the main purpose of the ready queue?
Question 4 of 60 Quiz ID: q4
What is a zombie process?
Question 5 of 60 Quiz ID: q5
In the producer-consumer problem with bounded buffer, why can only BUFFER_SIZE-1 elements be used?
Question 6 of 60 Quiz ID: q6
What is the main difference between ordinary pipes and named pipes?
Question 7 of 60 Quiz ID: q7
In message passing IPC, what is a rendezvous?
Question 8 of 60 Quiz ID: q8
What is the purpose of the Mach port mechanism?
Question 9 of 60 Quiz ID: q9
In RPC systems, what is the function of the stub?
Question 10 of 60 Quiz ID: q10
What problem does the External Data Representation (XDR) format solve in RPC?
Question 11 of 60 Quiz ID: q11
In Android's process importance hierarchy, which process type is most likely to be terminated when memory is needed?
Question 12 of 60 Quiz ID: q12
What is the primary advantage of Chrome's multiprocess architecture?
Question 13 of 60 Quiz ID: q13
In the Windows CreateProcess API, what is the purpose of the STARTUPINFO structure?
Question 14 of 60 Quiz ID: q14
What is cascading termination?
Question 15 of 60 Quiz ID: q15
In POSIX shared memory, what is the purpose of the shm_open() function?
Question 16 of 60 Quiz ID: q16
What is the main difference between shared memory and message passing IPC?
Question 17 of 60 Quiz ID: q17
In a socket communication, what does the port number 127.0.0.1:6013 represent?
Question 18 of 60 Quiz ID: q18
What is the race condition demonstrated in the producer-consumer example with a counter?
Question 19 of 60 Quiz ID: q19
In indirect communication with mailboxes, what problem arises when multiple processes share a mailbox?
Question 20 of 60 Quiz ID: q20
What is the purpose of the mmap() function in POSIX shared memory?
Question 21 of 60 Quiz ID: q21
In the process state diagram, what transition occurs when an I/O or event wait completes?
Question 22 of 60 Quiz ID: q22
What information is typically stored in a Process Control Block (PCB)?
Question 23 of 60 Quiz ID: q23
Why is context switch time considered overhead?
Question 24 of 60 Quiz ID: q24
In mobile systems like iOS, what distinguishes a foreground process from a background process?
Question 25 of 60 Quiz ID: q25
What is the main purpose of the wait() system call?
Question 26 of 60 Quiz ID: q26
In the process creation hierarchy, what is the typical relationship between parent and child processes regarding resources?
Question 27 of 60 Quiz ID: q27
What is the significance of the init process (pid = 1) in Unix-like systems?
Question 28 of 60 Quiz ID: q28
In the producer-consumer problem, what is the difference between bounded-buffer and unbounded-buffer approaches?
Question 29 of 60 Quiz ID: q29
What is the purpose of the exec() system call in Unix process creation?
Question 30 of 60 Quiz ID: q30
In message passing, what is the difference between direct and indirect communication?
Question 31 of 60 Quiz ID: q31
What is the main advantage of using sockets for interprocess communication?
Question 32 of 60 Quiz ID: q32
In the Windows LPC mechanism, what is the purpose of the connection port?
Question 33 of 60 Quiz ID: q33
What problem does the 'dining philosophers problem' illustrate in interprocess communication?
Question 34 of 60 Quiz ID: q34
In Android, what is the role of a service in background processing?
Question 35 of 60 Quiz ID: q35
What is the purpose of the mach_msg() function in the Mach operating system?
Question 36 of 60 Quiz ID: q36
In the context of process scheduling, what is the dispatcher?
Question 37 of 60 Quiz ID: q37
What is the main challenge in implementing remote procedure calls (RPC)?
Question 38 of 60 Quiz ID: q38
In the Chrome browser architecture, what is the purpose of the renderer process?
Question 39 of 60 Quiz ID: q39
What is the significance of well-known ports (below 1024) in socket programming?
Question 40 of 60 Quiz ID: q40
In the process state model, what causes a transition from Running to Ready state?
Question 41 of 60 Quiz ID: q41
What is the purpose of the ftruncate() function in POSIX shared memory?
Question 42 of 60 Quiz ID: q42
In message passing with bounded capacity, what happens when the link is full?
Question 43 of 60 Quiz ID: q43
What is the main advantage of using multi-threaded processes over multiple single-threaded processes?
Question 44 of 60 Quiz ID: q44
In the Windows API, what is the purpose of the WaitForSingleObject() function in process management?
Question 45 of 60 Quiz ID: q45
What is the role of the matchmaker in RPC systems?
Question 46 of 60 Quiz ID: q46
In the process creation sequence using fork() and exec(), what is unique about the child process immediately after fork()?
Question 47 of 60 Quiz ID: q47
What is the main purpose of the 'sandbox' in Chrome's renderer processes?
Question 48 of 60 Quiz ID: q48
In direct communication, what is a limitation of the communication link?
Question 49 of 60 Quiz ID: q49
What is the significance of the program counter in process context?
Question 50 of 60 Quiz ID: q50
In the producer-consumer problem with message passing, what synchronization is required?
Question 51 of 60 Quiz ID: q51
What is the purpose of the shm_unlink() function in POSIX shared memory?
Question 52 of 60 Quiz ID: q52
In process termination, what is the difference between exit() and abort()?
Question 53 of 60 Quiz ID: q53
What is the main advantage of using message passing over shared memory for IPC?
Question 54 of 60 Quiz ID: q54
In the Windows LPC mechanism, what is the purpose of the shared section object?
Question 55 of 60 Quiz ID: q55
What is the role of the kernel port in Mach task creation?
Question 56 of 60 Quiz ID: q56
In the context of process scheduling, what is the main goal of process scheduling?
Question 57 of 60 Quiz ID: q57
What is the purpose of the time_slice field in Linux's task_struct?
Question 58 of 60 Quiz ID: q58
In the Chrome multiprocess architecture, what is the role of the browser process?
Question 59 of 60 Quiz ID: q59
What is the significance of the 'counter' variable in the producer-consumer problem with full buffer utilization?
Question 60 of 60 Quiz ID: q60
In RPC, what is the purpose of marshalling parameters?

Quiz Summary

Review your answers before submitting

60
Total Questions
0
Answered
60
Remaining
00:00
Time Spent