Computer Science :: All Aptitude Test ::

1.Daisy chain is a device for
A. connecting a number of controllers to a device
B. connecting a number of controllers to a device
C. all of above
D. connecting a number of controllers to a device

2.A series of statements explaining how the data is to be processed is called
A. instruction
B. compiler
C. program
D. instruction

3.A hardware device which is capable of executing a sequence of instructions, is known as
A. CPU
B. ALU
C. CU
D. CPU

4.With multiprogramming, ______ is used productively.
A. time
B. space
C. money
D. time

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

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

7.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.

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

9.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

10.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

11.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

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

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

14.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

15.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

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

17.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

18.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

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

20.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

21.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

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

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

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

25.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

26.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

27. 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

28.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

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

30.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


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