Computer Science :: All Aptitude Test ::

1.Information in a memory that is no longer valid or wanted is known as
A. non-volatile
B. volatile
C. surplus
D. non-volatile

2.Which of the following filename extension suggests that the file is a backup copy of another file?
A. TXT
B. COM
C. BAS
D. TXT

3.Relocation bits used by relocating loader are specified (generated) by
A. Relocating loader itself
B. Linker
C. Assembler or translator
D. Relocating loader itself

4.Which of the following statements is false?
A. a process scheduling algorithm is preemptive if the CPU can be forcibly removed from a process
B. time sharing systems generally use preemptive CPU scheduling
C. response time are more predictable in preemptive systems than in non preemptive systems
D. a process scheduling algorithm is preemptive if the CPU can be forcibly removed from a process

5.Nonmodifiable procedures are called
A. serially usable procedures
B. concurrent procedures
C. reentrant procedures
D. serially usable procedures

6.The instruction 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.

7.Which of the following scheduling objectives should be applied to the following: the system should admit jobs to create a mix that will keep most devices busy
A. to be fair
B. to balance resource utilization
C. to obey priorities
D. to be fair

8.Multiprogramming systems:
A. are easier to develop than single programming system
B. execute each job faster
C. execute more jobs in the same time period
D. are easier to develop than single programming system

9.Backups should be done
A. daily for most installations
B. weekly for most installations
C. as several image copies, followed by an incremental
D. daily for most installations

10.In an absolute loading scheme, which loader function is accomplished by assembler.
A. Reallocation
B. Allocation
C. Linking
D. Reallocation

11.The command interpreter
A. is usually the primary user interface
B. requires fixed format commands
C. is menu drive
D. is usually the primary user interface

12.A task in a blocked state
A. is executable
B. is running
C. must still be placed in the run queues
D. is executable

13.System maintenance:
A. is usually not necessary
B. is necessary on all systems, regardless of how good
C. is not required if the system is well written
D. is usually not necessary

14.Which of the following statements is not true about the FORTRAN language?
A. FORTRAN is a high level language
B. A FORTRAN program, written for the IBM-PC, is totally different from a FORTRAN program written for execution on the SUN machine
C. FORTRAN is extensively used to write programs for performing scientific computations
D. FORTRAN is a high level language

15.A linker
A. creates a load module
B. is not necessary with variable partitions
C. must be run after the loader
D. creates a load module

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

17.In which addressing mode, the effective address of the operand is generated by adding a constant value to the contents of register?
A. absolute mode
B. indirect mode
C. immediate mode
D. absolute mode

18.The higher versions of the operating systems are so written that programs designed for earlier versions can still be run. What is it called?
A. Upgradability
B. Upward mobility
C. Universality
D. Upgradability

19.If special forms are needed for printing the output, the programmer specifies these forms through?
A. JCL
B. JPL
C. Utility programs
D. JCL

20.Which of the following can be accesses by transfer vector approach of linking?
A. External data segments
B. External subroutines
C. Data located in other procedures
D. External data segments

21.Which of the following terms refers to the degree to which data in a database system are accurate and correct?
A. data security
B. data validity
C. data independence
D. data security

22.In analyzing the compilation of PL/I program, the term "Syntax 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.

23.A hardware device that is capable of executing a sequence of instructions, is known as
A. CPU
B. ALU
C. CU
D. CPU

24.Which of following is/are the advantage(s) of modular programming?
A. The program is much easier to change
B. Modules can be reused in other programs
C. Easy debugging
D. The program is much easier to change

25.The function(s) performed by the paging software is (are)
A. Implementation of the access environment for all programs in the system
B. Management of the physical address space
C. Sharing and protection
D. Implementation of the access environment for all programs in the system

26.A compiler for a high-level language that runs on one machine and produces code for a different machine is called is
A. optimizing compiler
B. one pass compiler
C. cross compiler
D. optimizing compiler

27.A critical region is
A. a program segment that has not been proved bug-free
B. a program segment that often causes unexpected system crashes
C. a program segment where shared resources are accessed
D. a program segment that has not been proved bug-free

28.Assembler language
A. is usually the primary user interface
B. requires fixed-format commands
C. is a mnemonic form of machine language
D. is usually the primary user interface

29.The primary job of the operating system of a computer is to
A. command resources
B. manage resources
C. provide utilities
D. command resources

30.Which of the following is a measure to test how good or bad a modular design is
A. Module strength
B. Module coupling
C. Static analysis
D. Module strength


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