GAT Subject :: All Aptitude Test ::

Hassan
1.Which of the following statements is false?
A. a small page size causes large page tables
B. internal fragmentation is increased with small pages
C. a large page size causes instructions and data that will not be referenced brought into primary storage
D. a small page size causes large page tables

2.The action of parsing the source program into the proper syntactic classes is known as
A. syntax analysis
B. lexical analysis
C. interpretation analysis
D. syntax analysis

3.Which, of the following is not true about the description of a decision table?
A. A decision table is easy to modify
B. A decision table is directly understood by the computer
C. A decision table is easy to understand
D. A decision table is easy to modify

4.Trojan-Horse programs
A. are legitimate programs that allow unauthorized access
B. do not usually work
C. are hidden programs that do not show up on the system
D. are legitimate programs that allow unauthorized access

5.When did IBM release the first version of disk operating system DOS version 1.0?
A. 1981
B. 1982
C. 1983
D. 1981

6.Which of the following is false about disk when compared to main memory?
A. non-volatile
B. longer storage capacity
C. lower price per bit
D. non-volatile

7.Producer consumer problem can be solved using
A. semaphores
B. event counters
C. monitors
D. semaphores

8.The CPU, after receiving an interrupt from an I/O device
A. halts for a predetermined time
B. hands over control of address bus and data bus to the interrupting device
C. branches off to the interrupt service routine immediately
D. halts for a predetermined time

9.Seeks analysis
A. is used for analyzing paging problems
B. is used for analyzing device busy problems
C. is used for analyzing control-unit busy problems
D. is used for analyzing paging problems

10.Which is a permanent database in the general model of compiler?
A. Literal Table
B. Identifier Table
C. Terminal Table
D. Literal Table

11.What is the name of the technique in which the operating system of a computer executes several programs concurrently by switching back and forth between them?
A. Partitioning
B. Multitasking
C. Windowing
D. Partitioning

12.Operating system
A. links a program with the subroutines it references
B. provides a layered, user-friendly interface
C. enables the programmer to draw a flowchart
D. links a program with the subroutines it references

13.Software that measures, monitors, analyzes, and controls real-world events is called:
A. system software
B. real-time software
C. scientific software
D. system software

14.The details of all external symbols and relocation formation (relocation list or map) is provided to linker by
A. Macro processor
B. Translator
C. Loader
D. Macro processor

15.The macro processor must perform
A. recognize macro definitions and macro calls
B. save the macro definitions
C. expand macros calls and substitute arguments
D. recognize macro definitions and macro calls

16.A development strategy whereby the executive control modules of a system are coded and tested first, is known as
A. Bottom-up development
B. Top-down development
C. Left-Right development
D. Bottom-up development

17.Which of the following is helpful in evaluating applications software what will best suit your needs?
A. recommendations by other users
B. computer magazines
C. objective software reviews
D. recommendations by other users

18.The dispatcher
A. actually schedules the tasks into the processor
B. puts tasks in I/O wait
C. is always small and simple
D. actually schedules the tasks into the processor

19.System programs such as Compilers are designed so that they are
A. reenterable
B. non reusable
C. serially usable
D. reenterable

20.IBM released its first PC in 1981. Can you name the operating system which was most popular at that time?
A. MS-DOS
B. PC-DOS
C. OS/360
D. MS-DOS

21.If the number of bits in a virtual address of a program is 16 and the page size is 0.5 K bytes, the number of pages in the virtual address space is
A. 16
B. 32
C. 64
D. 16

22.Which table is a permanent database that has an entry for each terminal symbol.
A. Terminal table
B. Literal table
C. Identifier table
D. Terminal table

23.The function(s) of the Syntax phase is(are)
A. to recognize the major constructs of the language and to call the appropriate action routines that will generate the intermediate form or matrix for these constructs.
B. to build a literal table and an identifier table
C. to build a uniform symbol table
D. to recognize the major constructs of the language and to call the appropriate action routines that will generate the intermediate form or matrix for these constructs.

24.Swapping
A. works best with many small partitions
B. allows many programs to use memory simultaneously
C. allows each program in turn to use the memory
D. works best with many small partitions

25.A disk scheduling algorithm in an operating system causes the disk arm to move back and forth across the disk surface in order to service all requests in its path. This is a
A. First come first served
B. Shortest Seek Time First (SSTE)
C. Scan
D. First come first served

26.A translator is best described as
A. an application software
B. a system software
C. a hardware component
D. an application software

27.Data encryption
A. is mostly used by public networks
B. is mostly used by financial networks
C. cannot be used by private installations
D. is mostly used by public networks

28.What is the name given to the process of initializing a microcomputer with its operating system?
A. Cold booting
B. Booting
C. Warm booting
D. Cold booting

29.The function(s) of the Storage Assignment is (are)
A. to assign storage to all variables referenced in the source program.
B. to assign storage to all temporary locations that are necessary for intermediate results.
C. to assign storage to literals, and to ensure that the storage is allocate and appropriate locations are initialized.
D. to assign storage to all variables referenced in the source program.

30.With MS-DOS which command will divide the surface of the blank floppy disk into sectors and assign a unique address to each one?
A. FORMAT command
B. FAT command
C. VER command
D. FORMAT command


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