الأسئلة اللي أتذكرها
11. What are some other terms for kernel mode?
A) supervisor mode
B) system mode
C) privileged mode
D) All of the above
19. A(n) ________ is the unit of work in a system.
A) process
B) operating system
C) timer
D) mode bit
1. A _____ is an example of a systems program.
A) command interpreter
B) Web browser
C) text formatter
D) database system
20. _____ is/are not a technique for passing parameters from an application to a system call.
A) Cache memory
B) Registers
C) Stack
D) Special block in memory
2. A process control block ____.
A) includes information on the process's state
B) stores the address of the next instruction to be processed by a different process
C) determines which process is to be executed next
D) is an example of a process queue
4. The _____________ refers to the number of processes in memory.
A) process count
B) long-term scheduler
C) degree of multiprogramming
D) CPU scheduler
10. In multithreaded programs, the kernel informs an application about certain events using a procedure known as a(n) ____.
A) signal
B) upcall
C) event handler
D) pool
22. _________ involves distributing tasks across multiple computing cores.
A) Concurrency
B) Task parallelism
C) Data paralleli
1. A race condition ____.
A) results when several threads try to access the same data concurrently
B) results when several threads try to access and modify the same data concurrently
C) will result only if the outcome of execution does not depend on the order in which instructions are executed
D) None of the above
3. A counting semaphore ____.
A) is essentially an integer variable
B) is accessed through only one standard operation
C) can be modified simultaneously by multiple threads
D) cannot be used to control access to a thread's critical sections
8. ____________ occurs when a higher-priority process needs to access a data structure that is currently being accessed by a
lower-priority process.
A) Priority inversion
B) Deadlock
C) A race condition
D) A critical section
1. A deadlocked state occurs whenever ____.
A) a process is waiting for I/O to a device that does not exist
B) the system has no available free resources
C) every process in a set is waiting for an event that can only be caused by another process in the set
D) a process is unable to release its request for a
9. To handle deadlocks, operating systems most often _____.
A) pretend that deadlocks never occur
B) use protocols to prevent or avoid deadlocks
C) detect and recover from deadlocks
D) None of the above
3. An address generated by a CPU is referred to as a ____.
A) physical address
B) logical address
C) post relocation register address
D) Memory-Management Unit (MMU) generated address
هذا اللي اتذكر منها كل اللي مر علي أخذته من الملف لكن طلع لي 8 من 25 ما أعرف هل المشكله من البلاك بورد أو الملف
ياليت اللي ختبر يقولنا وش يصير معه