0% found this document useful (0 votes)
13 views4 pages

Exam Answers

This document contains an exam with questions about operating system concepts. It asks the student to identify statements as true or false and choose the correct answer for multiple choice questions. The topics covered include processes, process management activities, types of APIs, and diagrams of operating system services and memory.

Uploaded by

Ahmed Gamal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views4 pages

Exam Answers

This document contains an exam with questions about operating system concepts. It asks the student to identify statements as true or false and choose the correct answer for multiple choice questions. The topics covered include processes, process management activities, types of APIs, and diagrams of operating system services and memory.

Uploaded by

Ahmed Gamal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Exam

Question One (A): Write true or false and correct the false
1. A process is a program in buffer. ( )
• Process is a program in execution; process execution must progress in
sequential fashion
2. multi-threaded process has two program counter per thread. ( )
• Multi-threaded process has one program counter per thread

3. Hardware interrupt provided by one of the devices. ( ✓ )

4. Process Control Block Maintains scheduling queues of processes. ( ✓ )


5. Direct Memory Access DMA is Used for high-speed I/O devices able to transmit
information at close to memory speeds. ( ✓ )
6. Each process has two Process Control Block. ( )
• Every process will get one process control block. If there are more than one
process, then, PCB also will be more than one according to the process and
all the PCB will be in link list
7. Mode bit in Dual-mode provided by software ( )
• Provided by hardware
8. MS-DOS support multi-tasking. ( )
• MS-DOS is unable to run multiple tasks simultaneously

9. a shell is a user interface for access to an operating system's services. ( ✓ )


10. System Calls written in a Low-level language (such as assembly). ( )
• Typically written in a high-level language (C or C++)

‫ال حول وال قوة إال ابهلل‬


Question One (B): Choose the correct answer
11. ……….. set of all processes in the system
a) Job queue b) Ready queue c) Device queues d) FIFO queue
12. ……...set of all processes residing in main memory, ready and waiting to
execute
a) Job queue b) Ready queue c) Device queues d) FIFO queue
13. ………………. set of processes waiting for an I/O device
a) Job queue b) Ready queue c) Device queues d) FIFO queue
14. Users Don’t care about……………………………in OS
a) Reliability b) performance c) accessibility d) resource utilization
15. Who provides the interface to access the services of the operating system?
a) System calls b) API c) Library d) Assembly instruction
16. bootstrap is a program stored in………………
a) Ram b) Rom c) Hard disk d) Cache
*Note: bootstrap is a program stored in Rom or EEPROM
17. Which of the following is a single-user operating system?
a) Windows b) MAC c) MS-DOS d) None of these
18. Which of the following operating systems does not support more than one
program at a time?
a) Linux b) Windows c) MAC d) DOS
19. Which one of the following interrupts have fixed memory location for transfer
of control from normal execution?
a) Exception b) Non-Vectored Interrupts
c) trap d) vector interrupt

‫ال حول وال قوة إال ابهلل‬


20. Operating system is a ……………….
a) A resource allocator b) a control program
c) an interrupt driven d) all of them

Question Two:
A. What are the Activities of Process Management?
• Creating and deleting both user and system processes
• Suspending and resuming processes
• Providing mechanisms for process synchronization
• Providing mechanisms for process communication
• Providing mechanisms for deadlock handling

B. What are the types of APIs?


Three most common APIs are
• Win32 API for Windows,
• POSIX API for POSIX-based systems (including virtually all versions of
UNIX, Linux, and Mac OS X),
• and Java API for the Java virtual machine (JVM)

C. Draw a diagram to view the Operating System Services?

‫ال حول وال قوة إال ابهلل‬


D. Draw a diagram to view the memory at system startup and running a
program?

‫ال حول وال قوة إال ابهلل‬

You might also like