Exam preparation MCQs with answers

Practice Pakistan's most useful MCQs for competitive exams

Prepare for NTS, PPSC, FPSC and subject-wise tests with fresh multiple choice questions, clear options and quick answer reveal.

Latest MCQs

The function(s) of the Storage Assignment is/are_________________?
  • (A)  to assign storage to literals, and to ensure that the storage is allocated and appropriate locations are initialized
  • (B)  to assign storage to all temporary locations that are necessary for intermediate results
  • (C)  to assign storage to all variables referenced in the source program
  • (D)  All of the above
A non-relocatable program is one which___________________?
  • (A)  consists of a program and relevant information for its relocation
  • (B)  can itself perform the relocation of its address-sensitive portions
  • (C)  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
  • (D)  All of the above
The advantage(s) of incorporating the macro processor into pass 1 is/ are_______________?
  • (A)  many functions do not have to be implemented twice
  • (B)  more flexibility is available to the programmer in which he/she may use all the features of the assembler in conjunction with macros
  • (C)  Functions are combined and it is not necessary to create intermediate files as output from the macro processor and input to the assembler
  • (D)  All of the above