System Design - Operating System (TEST-1)
System Design - Operating System (TEST-1)
https://testmoz.com/13951664/admin/key?word=0&version=a&key=1 1/10
9/22/24, 11:12 PM System Design - Operating System (TEST-1)
7. Which scheduling algorithm selects the process that has been waiting the longest? (2 points)
⚪ Round Robin
⚫ First-Come, First-Served (FCFS)
⚪ Shortest Job Next
⚪ Priority Scheduling
⚪ All of the Above
https://testmoz.com/13951664/admin/key?word=0&version=a&key=1 2/10
9/22/24, 11:12 PM System Design - Operating System (TEST-1)
⚪ A memory location
⚪ A type of hardware
⚪ A list of files
⚪ All of the Above
12. Which of the following is a command to change the permissions of a file in Linux? (2 points)
⚫ chmod
⚪ chperm
⚪ changeperm
⚪ setperm
⚪ All of the Above
14. Which of the following is NOT a characteristic of a real-time operating system? (2 points)
⚪ Predictability
⚪ Deterministic response
⚫ High throughput
⚪ Low latency
⚪ All of Above
15. Which of the following algorithms is used for deadlock avoidance? (2 points)
⚪ Round Robin
⚫ Banker's Algorithm
⚪ Shortest Job First
⚪ FCFS
https://testmoz.com/13951664/admin/key?word=0&version=a&key=1 3/10
9/22/24, 11:12 PM System Design - Operating System (TEST-1)
19. What does the term "zombie process" refer to? (2 points)
⚫ A process that has finished execution but still has an entry in the process table
⚪ A process that is consuming all system resources
⚪ A process that is waiting for a resource
⚪ A process that is blocked indefinitely
⚪ All of the Above
20. Which of the following is a method for achieving mutual exclusion? (2 points)
⚪ Spinlock
⚪ Semaphore
⚪ Mutex
⚫ All of the above
21. In a Linux system, which command is used to terminate a running process? (2 points)
⚫ kill
⚪ stop
⚪ end
⚪ terminate
⚪ All of the Above
22. What type of memory is typically used for cache in a CPU? (2 points)
https://testmoz.com/13951664/admin/key?word=0&version=a&key=1 4/10
9/22/24, 11:12 PM System Design - Operating System (TEST-1)
⚪ ROM
⚪ Flash
⚫ SRAM
⚪ DRAM
⚪ All of the Above
26. What is the main difference between TCP and UDP? (2 points)
⚫ TCP is connection-oriented, while UDP is connectionless
⚪ TCP is faster than UDP
⚪ UDP guarantees delivery, while TCP does not
⚪ TCP is used for streaming, while UDP is for file transfer
https://testmoz.com/13951664/admin/key?word=0&version=a&key=1 5/10
9/22/24, 11:12 PM System Design - Operating System (TEST-1)
30. In which type of memory is the operating system typically loaded? (2 points)
⚪ ROM
⚪ Cache
⚪ Flash
⚫ RAM
⚪ All of the Above
32. In which scheduling algorithm does the CPU execute the process that has the least estimated (2 points)
remaining time?
⚫ Shortest Job First (SJF)
⚪ Round Robin
⚪ Priority Scheduling
⚪ First-Come, First-Served (FCFS)
⚪ All of the Above
https://testmoz.com/13951664/admin/key?word=0&version=a&key=1 6/10
9/22/24, 11:12 PM System Design - Operating System (TEST-1)
33. Which of the following is true about the UNIX operating system? (2 points)
⚪ It is a closed-source operating system
⚫ It supports multiple users and multitasking
⚪ It cannot be used for networking
⚪ It is primarily a desktop operating system
37. Which of the following methods is NOT used for inter-process communication? (2 points)
⚪ Shared memory
⚪ Message passing
⚫ File handling
⚪ Semaphore
https://testmoz.com/13951664/admin/key?word=0&version=a&key=1 7/10
9/22/24, 11:12 PM System Design - Operating System (TEST-1)
⚫ mkdir
43. Which of the following is NOT a component of a process control block (PCB)? (2 points)
⚪ Process state
⚪ Program counter
⚪ CPU registers
⚫ Disk space allocation
https://testmoz.com/13951664/admin/key?word=0&version=a&key=1 8/10
9/22/24, 11:12 PM System Design - Operating System (TEST-1)
46. What type of attack involves gaining unauthorized access to a system through privilege (2 points)
escalation?
⚪ Phishing
⚪ SQL Injection
⚪ Social Engineering
⚫ Malware
⚪ All of Above
48. Which of the following protocols is used for process synchronization? (2 points)
⚪ TCP
⚪ UDP
⚪ PTP
⚪ FTP
⚫ None of Above
https://testmoz.com/13951664/admin/key?word=0&version=a&key=1 9/10
9/22/24, 11:12 PM System Design - Operating System (TEST-1)
50. In a paging system, what does the term "page fault" refer to? (2 points)
⚪ A process that has finished execution
⚫ A request to access a page not currently in memory
⚪ A memory leak
⚪ A successful memory access
⚪ All of Above
https://testmoz.com/13951664/admin/key?word=0&version=a&key=1 10/10