GAT Subject :: All Aptitude Test ::

Hassan
1.A system program that sets up an executable program in main memory ready for execution is
A. assembler
B. linker
C. loader
D. assembler

2.Which of the following are loaded into main memory when the computer is booted?
A. internal command instructions
B. external command instructions
C. utility programs
D. internal command instructions

3.The FIFO algorithm
A. executes first the job that last entered the queue
B. executes first the job that first entered the queue
C. execute first the job that has been in the queue the longest
D. executes first the job that last entered the queue

4.What is the name given to the organized collection of software that controls the overall operation of a computer?
A. Working system
B. Peripheral system
C. Operating system
D. Working system

5.The principle of locality of reference justifies the use of
A. reenterable
B. non reusable
C. virtual memory
D. reenterable

6.The register or main memory location which contains the effective address of the operand is known as
A. pointer
B. indexed register
C. special location
D. pointer

7.Thrashing can be avoided if
A. the pages, belonging to the working set of the programs, are in main memory
B. the speed of CPU is increased
C. the speed of I/O processor is increased
D. the pages, belonging to the working set of the programs, are in main memory

8.In analyzing the compilation of PL/I program, the term "Lexical analysis" is associated with
A. recognition of basic syntactic constructs through reductions.
B. recognition of basic elements and creation of uniform symbols
C. creation of more optional matrix.
D. recognition of basic syntactic constructs through reductions.

9.Resolution of externally defined symbols is performed by
A. Linker
B. Loader
C. Compiler
D. Linker

10.System generation:
A. is always quite simple
B. is always very difficult
C. varies in difficulty between systems
D. is always quite simple

11.The Memory Address Register
A. is a hardware memory device which denotes the location of the current instruction being executed.
B. is a group of electrical circuits (hardware), that performs the intent of instructions fetched from memory.
C. contains the address of the memory location that is to be read from or stored into.
D. is a hardware memory device which denotes the location of the current instruction being executed.

12.In virtual memory systems, Dynamic address translation
A. is the hardware necessary to implement paging
B. stores pages at a specific location on disk
C. is useless when swapping is used
D. is the hardware necessary to implement paging

13.Fragmentation of the file system
A. occurs only if the file system is used improperly
B. can always be prevented
C. can be temporarily removed by compaction
D. occurs only if the file system is used improperly

14.A non-relocatable program is one which
A. cannot be made to execute in any area of storage other than the one designated for it at the time of its coding or translation.
B. consists of a program and relevant information for its relocation.
C. can itself performs the relocation of its address-sensitive portions.
D. cannot be made to execute in any area of storage other than the one designated for it at the time of its coding or translation.

15.Which of the following are(is) Language Processor(s)
A. assembles
B. compilers
C. interpreters
D. assembles

16.In which addressing mode the effective address of the operand is the contents of a register specified in the instruction and after accessing the operand, the contents of this register is incremented to point to the next item in the list?
A. index addressing
B. indirect addressing
C. auto increment
D. index addressing

17.The memory allocation scheme subject to "external" fragmentation is
A. segmentation
B. swapping
C. pure demand paging
D. segmentation

18.While working with MS-DOS, which command will you use to transfer a specific file from one disk to another?
A. DISKCOPY
B. COPY
C. RENAME
D. DISKCOPY

19.What is the name of the operating system for the laptop computer called MacLite?
A. Windows
B. DOS
C. MS-DOS
D. Windows

20.In which addressing mode the contents of a register specified in the instruction are first decremented, and then these contents are used as the effective address of the operands?
A. index addressing
B. indirect addressing
C. auto increment
D. index addressing

21.Page stealing
A. is a sign of an efficient system
B. is taking page frames from other working sets
C. should be the tuning goal
D. is a sign of an efficient system

22.In MS-DOS 5.0, which is the number that acts as a code to uniquely identify the software product?
A. MS
B. DOS
C. MS DOS
D. MS

23.Bug means
A. A logical error in a program
B. A difficult syntax error in a program
C. Documenting programs using an efficient documentation tool
D. A logical error in a program

24.Memory management is :
A. not used in modern operating system
B. replaced with virtual memory on current systems
C. not used on multiprogramming systems
D. not used in modern operating system

25.The initial value of the semaphore that allows only one of the many processes to enter their critical sections, is
A. 8
B. 1
C. 16
D. 8

26.The Register - to - Register (RR) instructions
A. have both their operands in the main store.
B. which perform an operation on a register operand and an operand which is located in the main store, generally leaving the result in the register, except in the case of store operation when it is also written into the specified storage location.
C. which perform indicated operations on two fast registers of the machine and leave the result in one of the registers.
D. have both their operands in the main store.

27.A page fault
A. is an error is a specific page
B. occurs when a program accesses a page of memory
C. is an access to a page not currently in memory
D. is an error is a specific page

28.An algorithm is best described as
A. A computer language
B. A step by step procedure for solving a problem
C. A branch of mathematics
D. A computer language

29.The process of transferring data intended for a peripheral device into a disk (or intermediate store) so that it can be transferred to peripheral at a more convenient time or in bulk, is known as
A. multiprogramming
B. spooling
C. caching
D. multiprogramming

30.Block caches or buffer caches are used
A. to improve disk performance
B. to handle interrupts
C. to increase the capacity of the main memory
D. to improve disk performance


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