GAT Subject :: All Aptitude Test ::

Hassan
1.where two or more processes are waiting indefinitely for an event that can be caused only by one of the waiting processes is called:
A. MutexLocks
B. deadlocked
C. spinlocks
D. MutexLocks

2.Indefinite blocking may occur if we remove processes from the list associated with a semaphore in ________ order.
A. LIFO (last-in, first-out)
B. FIFO (First-in, first-out)
C. LIFO and FIFO
D. LIFO (last-in, first-out)

3.In Priority Inversion Which of following Stands TRUE:
A. A scheduling challenge arises when a higher-priority process needs to read or modify kernel data that are currently being accessed by a lower-priority process
B. Since kernel data are typically protected with a lock, the higher-priority process will have to wait for a lower-priority one to finish with the resource
C. The situation becomes more complicated if the lower-priority process is preempted in favor of another process with a higher priority
D. A scheduling challenge arises when a higher-priority process needs to read or modify kernel data that are currently being accessed by a lower-priority process

4.A classic ______solution to the critical-section problem known as:
A. Hardware based
B. software-based
C. software and Hardware based
D. Hardware based

5.Process control information is the additional information needed by the:
A. User
B. Operating System
C. CPU
D. User

6.Process control block (PCB) is the most important:
A. Data Access Type
B. Data Algorithm
C. Data Structure
D. Data Access Type

7.Data collection created by a user is called:
A. Process Location Block
B. Process Creation
C. Utilities
D. Process Location Block

8.Process location tells about the location of:
A. Processes
B. Data
C. Files
D. Processes

9.When a program is loaded into the memory it is called as:
A. Procedure
B. Process
C. Register
D. Procedure

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

11.An executed program of computer system is called________ ?
A. Process
B. Program
C. Thread
D. Process

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

13.The address of the next instruction to be executed by the current process is provided by the_____?
A. Program Stack
B. Program Counter
C. Pipeline
D. Program Stack

14.A Process Control Block(PCB) does not contain which of the following ?
A. Bootstrap Program
B. Code
C. Data
D. Bootstrap Program

15.Which of the following is not the state of a process?
A. New
B. Running
C. Waiting
D. New

16.The Process Control Block is:
A. A secondary storage section
B. A Block in memory
C. Data Structure
D. A secondary storage section

17.The number of processes completed per unit time is known as __________?
A. Output
B. Efficiency
C. Capacity
D. Output

18.Which of the following do not belong to queues for processes ?
A. PCB Queue
B. Device Queue
C. Job Queue
D. PCB Queue

19.Which of the following need not necessarily be saved on a context switch between processes ?
A. General purpose registers
B. Program counter
C. Translation lookaside buffer
D. General purpose registers

20.Each process is represented in the operating system by a____?
A. process control block
B. printed circuit board
C. program control block<
D. process control block

21.Process control block (PCB) contains which of the following?
A. list of open files
B. list of open files
C. process state
D. list of open files

22. The entry of all the PCBs of the current processes is in :
A. Process Register
B. Program Counter
C. Process Table
D. Process Register

23.A single thread of control allows the process to perform :
A. only one task at a time
B. multiple tasks at a time
C. both (a) and (b)
D. only one task at a time

24.Which of the following do not belong to queues for processes ?
A. Job Queue
B. PCB queue
C. Device Queue
D. Job Queue

25.When the process issues an I/O request :
A. It is placed in an I/O queue
B. It is placed in a waiting queue
C. It is placed in the ready queue
D. It is placed in an I/O queue

26.A set of processes is deadlock if:
A. each process is blocked and will remain so forever
B. each process is terminated
C. none of the mentioned
D. each process is blocked and will remain so forever

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

28.Antonym of EXPAND is?
A. Condense
B. Convert
C. Conclude
D. Condense

29.Antonym of ARTIFICIAL is?
A. Truthful
B. Natural
C. Solid
D. Truthful

30.Antonym of ENORMOUS is?
A. Tiny
B. Soft
C. Weak
D. Tiny


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