Computer Science :: All Aptitude Test ::

1.Thrashing
A. is a natural consequence of virtual memory systems
B. can always be avoided by swapping
C. always occurs on large computers
D. is a natural consequence of virtual memory systems

2.Supervisor state is
A. never used
B. entered by programs when they enter the processor
C. required to perform any I/O
D. never used

3.Which of the following instruction steps, would be written within the diamond-shaped box, of a flowchart?
A. S = B - C
B. IS A<10
C. PRINT A
D. S = B - C

4.Which of the following statements is false?
A. the technique of storage compaction involves moving all occupied areas of storage to one end or other of main storage
B. compaction does not involve relocation of programs
C. compaction is also know as garbage collection
D. the technique of storage compaction involves moving all occupied areas of storage to one end or other of main storage

5.Interprocess communication
A. is required for all processes
B. is usually done via disk drives
C. is never necessary,
D. is required for all processes

6.Which of the following functions is(are) performed by the loader
A. allocate space in memory for the programs and resolve symbolic references between object decks
B. adjust all address dependent locations, such as address constants, to correspond to the allocated space.
C. physically place the machine instructions and data into memory.
D. allocate space in memory for the programs and resolve symbolic references between object decks

7.User-Friendly Systems are:
A. required for object-oriented programming
B. easy to develop
C. common among traditional mainframe operating systems
D. required for object-oriented programming

8.Which of the following addressing modes, facilitates access to an operand whose location is defined relative to the beginning of the data structure in which it appears?
A. ascending
B. sorting
C. index
D. ascending

9.While running DOS on a PC, which command would be used to duplicate the entire diskette?
A. COPY
B. DISKCOPY
C. CHKDSK
D. COPY

10.Which of the following rules out the use of GO TO?
A. Flowchart
B. HIPO-DIAGRAMS
C. Nassi-Shneiderman diagram
D. Flowchart

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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