Computer Science :: All Aptitude Test ::

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

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

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

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

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

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

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

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

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

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

11.Multiprogramming
A. is a method of memory allocation by which the program is subdivided into equal portions, or pages and core is subdivided into equal portions or blocks.
B. consists of those addresses that may be generated by a processor during execution of a computation.
C. is a method of allocating processor time.
D. is a method of memory allocation by which the program is subdivided into equal portions, or pages and core is subdivided into equal portions or blocks.

12.A translator which reads an entire program written in a high level language and converts it into machine language code is:
A. assembler
B. translator
C. compiler
D. assembler

13.The advantage(s) inherent to using high level languages is (are)
A. Fewer people, less management and shorter transition in learning time
B. Improved debugging capability, and superior documentation
C. A greater degree of machine independence
D. Fewer people, less management and shorter transition in learning time

14.Addressing modes
A. defines the fundamental method of determining effective operand addresses
B. are variations in the use of fundamental addressing structures, or some associated actions which are related to addressing.
C. performs indicated operations on two fast registers of the machine and leave the result in one of the registers.
D. defines the fundamental method of determining effective operand addresses

15.In which way(s) a macro processor for assembly language can be implemented:
A. independent two-pass processor
B. independent one-pass processor
C. processor incorporated into pass 1 of a standard two-pass assembler
D. independent two-pass processor

16.Which of the following is a type of systems software used on microcomputers?
A. MS-DOS
B. PC-DOS
C. Unix
D. MS-DOS

17.The working set theory of programming behaviour of processes running within an operating system involves
A. the collection of pages that a process accesses
B. disk scheduling mechanisms
C. coalescing holes in memory
D. the collection of pages that a process accesses

18.Operating system is
A. A collection of hardware components
B. A collection of input-output devices
C. A collection of software routines
D. A collection of hardware components

19.A file organization component of a VSAM file is:
A. relative record data set
B. keyed sequential data set
C. entry sequential data set
D. relative record data set

20.What is the name given to the software which can be legally compiled and often used for free?
A. Shareware program
B. Public domain program
C. Firmware program
D. Shareware program

21.The SJF algorithm executes first the job
A. that last entered the queue
B. that first entered the queue
C. that has been in the queue the longest
D. that last entered the queue

22.In which of the storage placement strategies a program is placed in the largest available hole in the main memory?
A. best fit
B. first fit
C. worst fit
D. best fit

23.Which of the following is a block device
A. mouse
B. printer
C. terminals
D. mouse

24.The problem of thrashing is affected significantly by:
A. program structure
B. program size
C. primary-storage size
D. program structure

25.Which of the following software types is used to simplify using systems software?
A. spreadsheet
B. operating environment
C. timesharing
D. spreadsheet

26.Advantage(s) of using assembly language rather than machine language is (are):
A. It is mnemonic and easy to read.
B. Addresses any symbolic, not absolute
C. Introduction of data to program is easier
D. It is mnemonic and easy to read.

27.Which of the following is not true about the memory management?
A. virtual memory is used only in multi-user systems
B. segmentation suffers from external fragmentation
C. paging suffers from internal fragmentation
D. virtual memory is used only in multi-user systems

28.Job Control Language (JCL) statements are used to
A. Read the input from the slow-speed card reader to the high-speed magnetic disk
B. Specify, to the operating system, the beginning and end of a job in a batch
C. Allocate the CPU to a job
D. Read the input from the slow-speed card reader to the high-speed magnetic disk

29.Paging
A. is a method of memory allocation by which the program is subdivided into equal portions, or pages and core is subdivided into equal portions or blocks.
B. consists of those addresses that may be generated by a processor during execution of a computation.
C. is a method of allocating processor time.
D. is a method of memory allocation by which the program is subdivided into equal portions, or pages and core is subdivided into equal portions or blocks.

30.Which of the following is not true about documentation?
A. Documentation, of a system, should be as clear and direct as possible
B. Documentation increases the maintenance time and cost
C. Documentation gives better understanding of the problem
D. Documentation, of a system, should be as clear and direct as possible


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