Computer Science :: All Aptitude Test ::

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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