You are on page 1of 3
Suez Canal University Faculty of Engineering Computer Engineering Department 4" Year — Fall 2021 Operating Systems - Midterm Exam Time Allowed: 30 Minutes Part 1: (30 Points) Multiple Choice Question 1. SPis an abbreviation for Stack Riwkela— 2. What is operating system? a) collection of programs that manages hardware resources b) system service provider to the application programs ©} link to interface the hardware and application programs MFallof the mentioned — 3. Which one of the following is not true? a) kemel is the program that constitutes the central core of the operating system ') kernel is the first part of operating system to load into memory during booting Bk xemnel is made of various modules which can not be loaded in running operating system 4) kernel remains in the memory during the entire computer session 4. The main function of the command interpreter is PMo get and execute the next user-specified command .~ ») to provide the interface between the API and application program ©) to handle the files in operating system ~ 4) none of the mentioned '. The sensor nodes are tiny computers that can consume any amount of power eT rue b) False 6. In operating system, each process has its own a) address space and global variables ) open files c) pending alarms, signals and signal handlers Mallof the mentioned _—~ 7, What is interprocess communication? a) communication within the process communication between two process — ©) communication between two threads of same process 4d) none of the mentioned 8. Interprocess communication has two techniques, mention thei ) MNES. Qe. on. Mo Sing... LEC. Ce Re 9. The address of the next instruction to be executed by the current process is provided by the a) CPU registers # Program counter -~_c) Process stack 4) Pipe 10. The objective of multiprogramming is to: @ Have some process running at all times —— 'b) Have multiple programs waiting in a queue ready to run ¢) To minimize CPU utilization d) None of the mentioned Page 1 of 3 Best of Luck Dr. Mohamed Khairy Shahin Scanned with CamScanner IL. Process is, program in high level language kept on disk. _B, contents of main memory a program in execution p D.a job in secondary memory . In operating system, each process has its own: a) address space and global variables b) open files ©) pending alarms, signals and signal handlers @allof the mentioned + 13. Data may be transferred from processor to memory (or) from memory to processor through: a) Processor memory b) Register a Bus 4) Buffer 14. Stack pointer is a register that points to the: ) Pop the stack ») Push the stack ATop of the stack 4) Bottom of the stack 15. Which of the following requires a device driver? a) Register b) Cache ¢) Main memory Disk y- 16, Why your selection of Question 15 requires a device driver? AB. disk, dVOL...S.. Sok KL Doe. Wicly..erralles.. CommauniCabion locker wnatentnel. Paw diNe Cor dvive)..dand Cove Duster. . me 17. Program counter contains the address of the: #Next instruction to be fetchede~ b) Previous instruction to be fetched ¢) Prey is data to be fetched d) Next data to be fetched 18. Instruction register contains the instruction most a) Recently deleted b) Recently fetched c) Recently updated # Recently executed — 19. With only one process can execute at a time; meanwhile all other process are waiting for the processor. With more than one process can be running simultaneously each on a different processor. a) Multiprocessing, Multiprogramming b) Multiprogramming, Uniprocessing ¢) Multiprogramming, Multiprocessing Mf Uniprogramming, Multiprocessing —— 20. What else is a command interpreter called? a, prompt, b. keel A shell = d. command 21. Which is the Linux operating system? a. Private operating system b. Windows operating system # Open-source operating system ~~ __d. None of these 20, Which of the following is a single-user operating system? a. Windows b. MAC MS-DOS*~__d. None of these 21. Which of the following operating systems does not support more than one program ata time? a. Linux b, Windows c. MAC #D0s 22. Who provides the interface to access the services of the operating system? a, APL ft System calle c. Library d. Assembly instruction 23. Which of the following is an example of a Real Time Operating System? a. MAC b. MS-DOS. ¢. Windows 10 Process Control 24. Which of the following is system software? a. Operating system b. Compiler ¢. Utilities @Alllof the above 25. Another name for the program counter register is the ....... *aSP BAIR ei d. PSW, 1 26, Write the complete name for your answer for Question 23, LinStvuc ion. Pointe Page 2 of 3 Best of Luck ‘Dr. Mohamed Khairy Shahin Scanned with CamScanner 27, When the OS needs to execute a trap a.Kemel mode__b. privileged mode c. superuser mode _@. all of the above p-~ 28, Generally, all of the OS instructions can be executed in the user space. a. True P False 1 ~ 29. In Linux, pipe is a tool for # Interprocess communication’ context switch 30. Real Time Operating system function isto: a. To work with a deterministic time frame c. To assure a predefined response instruction it has to convert to: c.multimedia ___. all of the abov. # To meet a predefined deadlines —~ d. all of the above Part 2: (10 Points) True (T) or False (F) Questions 1. An operating system is interrupt driven. L-— 2. In DMA structure, only one interrupt is generated per block, rather than the one interrupt per byte.-~ 3. The microkernel system structure is usually called monolithic. X Keywel 4. System programs provide services such as file manipulation, status information, and programming language support. ,-— 5, Timesharing (multitasking) describes when the CPU switches jobs so frequently that users can interact with each job while it’s running, creating interactive computing. 6. Stack and heap are two sections of the process located dynamically in the memory. L-— 7. Google Chrome Browser enhance its speed performance by creating a process for each tab.2~ 8, Parallelization implies a system can perform more than one task simultaneously. ~~ 42: Cache memory is controlled by Operating System. X 4-10. CPU registers are controlled by Operating System. X Page 3 of 3 Best of Luck Dr. Mohamed Khairy Shahin Scanned with CamScanner

You might also like