Engineering :: All Aptitude Test ::

Hassan
1.________________ Operating System does not implement multitasking.
A. Windows XP
B. Windows NT
C. Windows 98
D. Windows XP

2.When a process fails, most OS write the error information to a ______
A. new file
B. another running process
C. log file
D. new file

3. Which replacement allows a process to select a replacement frame from the set of all frames, even if the frame is currently allocated to some other process?
A. Local
B. Global
C. Universal
D. Local

4.A platform for other software to run on is called ______________
A. Operating System
B. System Software
C. Application Software
D. Operating System

5.__________________ facility, both in user processes and in the kernel, dynamically adds probes to a running system.
A. DLocate
B. DAdd
C. DMap
D. DLocate

6.operating system is______?
A. link that is to interface the hardware and application programs
B. system service provider to the application programs
C. . collection of programs that manages hardware resources
D. link that is to interface the hardware and application programs

7.The interface to access the services of the operating system is provided by_______
A. Assembly instructions
B. API
C. Library
D. Assembly instructions

8.By the operating system which one error will be handled from the following?
A. connection failure in the network
B. power failure
C. lack of paper in the printer
D. connection failure in the network

9.The command interpreter in The main function is ______
A. to handle the files in the operating system
B. to get and execute the next user-specified command
C. to provide the interface between the API and application program
D. to handle the files in the operating system

10.The resource management can be done by operating system via_______
A. both time and space division multiplexing
B. space division multiplexing
C. time-division multiplexing
D. both time and space division multiplexing

11.In the most operating system if a process fails it write the error information to a?
A. new file
B. another running process
C. log file
D. new file

12._______ OS X has?
A. monolithic kernel with modules
B. microkernel
C. hybrid kernel
D. monolithic kernel with modules

13.Each process has its own______ In the operating system
A. open files
B. pending alarms, signals and signal handlers
C. address space and global variables
D. open files

14.The new process In Unix created by which system call?
A. create
B. new
C. fork
D. create

15.Termination of a process can be due to?
A. fatal error
B. killed by another process
C. normal exit
D. fatal error

16.Interprocess communication is____?
A. communication between two process
B. communication between two threads of the same process
C. communication within the process
D. communication between two process

17.Processes is deadlock if _______
A. all processes are trying to kill each other
B. each process is terminated
C. each process is blocked and will remain so forever
D. all processes are trying to kill each other

18.IPC stands for
A. Inter Process Communication
B. Intra Process Communication
C. Inter Process Command
D. Inter Process Communication

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

20.Message passing system allows processes to __________
A. communicate with one another without resorting to shared data
B. communicate with one another by resorting to shared data
C. share data
D. communicate with one another without resorting to shared data

21.Which of the following two operations are provided by the IPC facility?
A. Write & delete message
B. Delete & receive message
C. Send & delete a message
D. Write & delete message

22.Messages sent by a process __________
A. have to be of a fixed size
B. have to be a variable size
C. can be fixed or variable sized
D. have to be of a fixed size

23.The link between two processes P and Q to send and receive messages is called __________
A. communication link
B. message-passing link
C. synchronization link
D. communication link

24.Which of the following are TRUE for direct communication?
A. A communication link can be associated with N number of process(N = max. number of processes supported by system)
B. A communication link can be associated with exactly two processes
C. Exactly N/2 links exist between each pair of processes(N = max. number of processes supported by system)
D. A communication link can be associated with N number of process(N = max. number of processes supported by system)

25.Concurrent access to shared data may result in ____________
A. data consistency
B. data insecurity
C. data inconsistency
D. data consistency

26.A situation where several processes access and manipulate the same data concurrently and the outcome of the execution depends on the particular order in which access takes place is called ____________
A. data consistency
B. race condition
C. starvation
D. data consistency

27.The segment of code in which the process may change common variables, update tables, write into files is known as ____________
A. program
B. race condition
C. synchronizing
D. program

28.Which of the following conditions must be satisfied to solve the critical section problem?
A. Mutual Exclusion
B. Progress
C. Bounded Waiting
D. Mutual Exclusion

29.Mutual exclusion implies that ____________
A. if a process is executing in its critical section, then no other process must be executing in their critical sections
B. if a process is executing in its critical section, then other processes must be executing in their critical sections
C. if a process is executing in its critical section, then all the resources of the system must be blocked until it finishes execution
D. if a process is executing in its critical section, then no other process must be executing in their critical sections

30.TestAndSet instruction is executed ____________
A. periodically
B. after a particular process
C. atomically
D. periodically


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