Download Al- Balqa Applied University Al-huson University College Dept. of

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

RSTS/E wikipedia , lookup

Plan 9 from Bell Labs wikipedia , lookup

Security-focused operating system wikipedia , lookup

Library (computing) wikipedia , lookup

Spring (operating system) wikipedia , lookup

Unix security wikipedia , lookup

Copland (operating system) wikipedia , lookup

CP/M wikipedia , lookup

Distributed operating system wikipedia , lookup

VS/9 wikipedia , lookup

Burroughs MCP wikipedia , lookup

DNIX wikipedia , lookup

Process management (computing) wikipedia , lookup

Transcript
‫جامعة البلقاء التطبيقية‬
‫كلية الحصن الجامعية‬
‫قسم تكنولوجيا المعلومات‬
Al- Balqa Applied University
Al-huson University College
Dept. of Information Technology
First Exam of operating system
Name : --------------------------------------
Date : 28 / 10 / 2014- Tuesday (10-11)AM
Number : ----------------------------------Q1(20 Marks): in this question you will get Basic operating system Multiple Choice Questions, read
the whole question and select answers carefully?
1. A process can be terminated due to
A) normal exit
B) fatal error
C) killed by another process
D) all of the mentioned
2. What is interprocess COMMUNICATION?
A) COMMUNICATION within the process
B) COMMUNICATION between two process
C) COMMUNICATION between two threads of same process
D) none of the mentioned
3. Which system call returns the process identifier of a terminated child?
A) wait
B) exit
C) fork
D) get
4. The address of the next instruction to be executed by the current process is provided by the
A) CPU registers
B) program counter
C) process stack
D) pipe
5. Which one of the following is not shared by threads?
A) PROGRAM counter
B) stack
C) both (a) and (b)
D) none of the mentioned
1
6. A process can be
A) single threaded
B) multithreaded
C) both (a) and (b)
D) none of the mentioned
7. Which one of the following is not a valid state of a thread?
A) running
B) parsing
C ready
D) blocked
8. To access the services of operating system, the interface is provided by the
A) system calls
B) API
C) library
D) assembly instructions
9. If a process fails, most operating system write the error INFORMATION to a
A) log file
B) another running process
C) new file
D) none of the mentioned
10- Process is
A)program in High level language kept on disk
B) contents of main memory
C) a program in execution
D)a job in secondary memory
111. process moves from the Running state to the terminated state when:
A)An interrupt occurs.
B
B) The process requires an I/O operation.
C
C) The process executes the last instruction.
D
D) A and B.
12- What is the ready state of a process?
A) when process is waiting to be assigned to a processor
B) when process is unable to run until some task has been completed
C) when process is using the CPU
D) none of the mentioned
2
13- A process control block does not contain
A) function parameters
B) local variables
C) return addresses
D) PID of child process
14- Which system call returns the process identifier of a terminated child?
A) wait
B) exit
C) fork
D) get
15- The address of the next instruction to be executed by the current process is provided by the
A) CPU registers
B) program counter
C) process stack
D) pipe
16-What is operating system?
A) collection of programs that manages hardware resources
B) system service provider to the application programs
C) link to interface the hardware and application programs
D) all of the mentioned
17- To access the services of operating system, the interface is provided by the
A) system calls
B) API
C) library
D) assembly instructions
18- Which one of the following is not true?
A) kernel is the program that constitutes the central core of the operating system
B) kernel is the first part of operating system to load into memory during booting
C) kernel is made of various modules which can not be loaded in running operating system
D) kernel remains in the memory during the entire computer session
19- Which one of the following error will be handle by the operating system?
A) power failure
B) lack of paper in printer
C) connection failure in the network
D) all of the mentioned
3
20- The main function of the command interpreter is
A) to fetch a command from user and executes it
B) to provide the interface between the API and application program
C) to handle the files in operating system
D) none of the mentioned
Good luck
4