Engineering :: All Aptitude Test ::

Hassan
1.When high priority task is indirectly preempted by medium priority task effectively inverting the relative priority of the two tasks, the scenario is called
A. priority inversion
B. priority removal
C. priority exchange
D. priority inversion

2.Process synchronization can be done on
A. hardware level
B. software level
C. Both (a) and (b)
D. hardware level

3.A monitor is a module that encapsulates
A. shared data structures
B. procedures that operate on shared data structure
C. synchronization between concurrent procedure invocation
D. shared data structures

4.To enable a process to wait within the monitor,
A. a condition variable must be declared as condition
B. condition variables must be used as boolean objects
C. semaphore must be used
D. a condition variable must be declared as condition

5.Restricting the child process to a subset of the parent’s resources prevents any process from :
A. overloading the system by using a lot of secondary storage
B. under-loading the system by very less CPU utilization
C. overloading the system by creating a lot of sub-processes
D. overloading the system by using a lot of secondary storage

6.A parent process calling _____ system call will be suspended until children processes terminate.
A. wait
B. fork
C. exit
D. wait

7.Cascading termination refers to termination of all child processes before the parent terminates ______.
A. Normally
B. Abnormally
C. Both (a) and (b)
D. Normally

8.With ……………. only one process can execute at a time; meanwhile all other process are waiting for the processor. With ………….. more than one process can be running simultaneously each on
A. Multiprocessing, Multiprogramming
B. Multiprogramming, Uniprocessing
C. Multiprogramming, Multiprocessing
D. Multiprocessing, Multiprogramming

9. In UNIX, each process is identified by its :
A. Process Control Block
B. Device Queue
C. Process Identifier
D. Process Control Block

10. In UNIX, the return value for the fork system call is _____ for the child process and _____ for the parent process.
A. A Negative integer, Zero
B. Zero, A Negative integer
C. Zero, A nonzero integer
D. A Negative integer, Zero

11.The child process can :
A. be a duplicate of the parent process
B. never be a duplicate of the parent process
C. have another program loaded into it
D. be a duplicate of the parent process

12.The child process completes execution,but the parent keeps executing, then the child process is known as :
A. Orphan
B. Zombie
C. Body
D. Orphan

13.Inter process communication :
A. allows processes to communicate and synchronize their actions when using the same address space.
B. allows processes to communicate and synchronize their actions without using the same address space.
C. allows the processes to only synchronize their actions without communication.
D. allows processes to communicate and synchronize their actions when using the same address space.

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

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

16.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 one link exists between each pair of processes
D. A communication link can be associated with N number of process(N = max. number of processes supported by system)

17. Free of cost repair of software bug available at Internet is called ….
A. Version
B. Ad-on
C. Tutorial
D. Version

18.The Internet was originally a project of which agency?
A. ARPA
B. NSF
C. NSA
D. ARPA

19.Which of the following is a correct format of Email address?
A. name@website@info
B. [email protected]
C. www.nameofebsite.com
D. name@website@info

20.HTML is used to create
A. machine language program
B. high level program
C. web page
D. machine language program

21. The computer jargon - WWWW, stands for :
A. World Wide Web Worm
B. World Wide Wildlife Web
C. World Wide Women's Web
D. World Wide Web Worm

22. The process of transferring files from a computer on the Internet to your computer is called
A. Uploading
B. Forwarding
C. FTP
D. Uploading

23.In internet terminology IP means
A. Internet Provider
B. Internet Protocol
C. Internet Procedure
D. Internet Provider

24.A Web site's front page /main page is called
A. Browser Page
B. Search Page
C. Home Page
D. Browser Page

25.Which one of the following is not a search engine?
A. Bing
B. Google
C. Yahoo
D. Bing

26.Verification of a login name and password is known as:
A. configuration
B. accessibility
C. authentication
D. configuration

27. Internet explorer falls under
A. Operating System
B. Compiler
C. Browser
D. Operating System

28.Which address is used in an internet employing the TCP/IP protocols?
A. physical address and logical address
B. port address
C. specific address
D. physical address and logical address

29.Which address identifies a process on a host?
A. physical address
B. logical address
C. port address
D. physical address

30. Transmission data rate is decided by
A. network layer
B. physical layer
C. data link layer
D. network layer


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