Engineering :: All Aptitude Test ::

Hassan
1.What must reside in the main memory under all situations in a resident - OS computer?
A. Linker
B. Loader
C. Assembler
D. Linker

2.Where does a computer add and compare data?
A. Hard disk
B. Floppy disk
C. CPU chip
D. Hard disk

3.Which of the following is correct regarding operating system?
A. It manages the computer hardware.
B. It executes user programs.
C. Provide system services to the application.
D. It manages the computer hardware.

4.When a thread needs to wait for an event it will
A. Block
B. Execute
C. Terminate
D. Block

5.In a pure Kernel Level Thread facility all of work of thread management is done by the
A. Application
B. Program
C. Kernel
D. Application

6.The systems which allows only one process execution at a time, are called
A. uniprogramming systems
B. uniprocessing systems
C. unitasking systems
D. uniprogramming systems

7.In operating system, each process has its own
A. address space and global variables
B. open files
C. pending alarms, signals and signal handlers
D. address space and global variables

8.In Unix, Which system call creates the new process?
A. fork
B. create
C. new
D. fork

9.A process can be terminated due to
A. normal exit
B. fatal error
C. killed by another process
D. normal exit

10.What is the ready state of a process?
A. when process is scheduled to run after some execution
B. when process is unable to run until some task has been completed
C. when process is using the CPU
D. when process is scheduled to run after some execution

11.What is inter-process communication?
A. communication within the process
B. communication between two process
C. communication between two threads of same process
D. communication within the process

12.A process stack does not contain
A. function parameters
B. local variables
C. return addresses
D. function parameters

13.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. CPU registers

14.The part of machine level instruction, which tells the central processor what has to be done, is
A. Operation code
B. Address
C. Locator
D. Operation code

15.Process State is a part of
A. Process Control block
B. Inode
C. File Allocation Table
D. Process Control block

16.The kernel keeps track of the state of each task by using a data structure called _________ .
A. Process control block
B. User control block
C. Memory control block
D. Process control block

17.The removal of process from active contention of CPU and reintroduce them into memory later is known as ____________.
A. Interrupt
B. Swapping
C. Signal
D. Interrupt

18. A thread is a __________ process .
A. Heavy Weight
B. Mutliprocess
C. Inter Thread
D. Heavy Weight

19.Information about a process is maintained in a _________.
A. Stack
B. Translation Lookaside Buffer
C. Process Control Block
D. Stack

20.PCB is
A. Program Control Block
B. Process Control Block
C. Process Communication Block
D. Program Control Block

21.Which of the following is contained in Process Control Block (PCB)?
A. Process Number
B. List of Open files
C. Memory Limits
D. Process Number

22.In the running state
A. only the process which has control of the processor is found
B. all the processes waiting for I/O to be completed are found
C. all the processes waiting for the processor are found
D. only the process which has control of the processor is found

23. The kernel keeps track of the state of each task by using a data structure called __
A. Process control block
B. User control block
C. Memory control block
D. Process control block

24.Algorithm of splitting m frames into n processes for giving equal share the m/n frames is known as :
A. split allocation algorithm
B. equal allocation algorithm
C. proportional allocation algorithm
D. split allocation algorithm

25.The layer between the hardware and the user program is
A. Operating environment
B. System environment
C. Operating system
D. Operating environment

26.Which of the following is the main function of the command interpreter?
A. to handle the files in the operating system
B. to provide the interface between the API and application program
C. to get and execute the next user-specified command
D. to handle the files in the operating system

27.Allocation of memory to each process according to its size is known as :
A. proportional allocation algorithm
B. split allocation algorithm
C. equal allocation algorithm
D. proportional allocation algorithm

28.___________________ is built directly on the hardware.
A. Computer Environment
B. Application Software
C. Database System
D. Computer Environment

29.The resource management can be done in an operating system via
A. space division multiplexing
B. both time and space division multiplexing
C. time division multiplexing
D. space division multiplexing

30.A high priority process is treated ___________ a low priority process, With either equal or proportional algorithm.
A. lesser than
B. greater than
C. same as
D. lesser than


Date to Date Current Affairs 2022

PakMCQs.net

Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers