cpp-programming-mcqs - Set (2)

Correct Answer: Orange && Worng Answer: Red

1. Analysis which determines the meaning of a statement once its grammatical structure becomes known is termed as

  • (A). Semantic analysis
  • (B). Syntax analysis
  • (C). Regular analysis
  • (D). General analysis
  • View Answer

    Explanation: Not Avilable

    2. Load address for the first word of the program is called

  • (A). Linker address origin
  • (B). Load address origin
  • (C). Phase library
  • (D). Absolute library
  • View Answer

    Explanation: Not Avilable

    3. Program generation activity aims at

  • (A). Automatic generation of program
  • (B). Organize execution of a program written in PL.
  • (C). Skips generation of program
  • (D). Speedens generation of program
  • View Answer

    Explanation: Not Avilable

    4. A macro definition consists of

  • (A). A macro prototype statement
  • (B). One or more model statements
  • (C). Macro pre-processor statements
  • (D). All of the above
  • View Answer

    Explanation: Not Avilable

    5. Action implementing instruction’s meaning are a actually carried out by

  • (A). Instruction fetch
  • (B). Instruction decode
  • (C). Instruction execution
  • (D). Instruction program
  • View Answer

    Explanation: Not Avilable

    6. Relocation bits used by relocating loader are specified by

  • (A). Relocating loader itself
  • (B). Assembler or Translator
  • (C). Macro processor
  • (D). Both (a) and (b)
  • View Answer

    Explanation: Not Avilable

    7. Relocatable programs

  • (A). cannot be used with fixed partitions
  • (B). can be loaded almost anywhere in memory
  • (C). do not need a linker
  • (D). can be loaded only at one specific location
  • View Answer

    Explanation: Not Avilable

    8. Recognition of basic syntactic constructs through reductions, this task is performed by

  • (A). Lexical analysis
  • (B). Syntax analysis
  • (C). Semantic analysis
  • (D). Structure analysis
  • View Answer

    Explanation: Not Avilable

    9. A grammar for a programming lanaguage is a formal description of

  • (A). Syntax
  • (B). Semantics
  • (C). Structure
  • (D). Code
  • View Answer

    Explanation: Not Avilable

    10. Problem analysis is done during

  • (A). System design phase
  • (B). System analysis phase
  • (C). Before system test
  • (D). all of the above
  • View Answer

    Explanation: Not Avilable

    11. System programs such as Compilers are designed so that they are

  • (A). Reenterable
  • (B). Non reusable
  • (C). Serially usable
  • (D). Recursive
  • View Answer

    Explanation: Not Avilable

    12. Advantage of using assembly language rather than machine language is :

  • (A). It is mnemonic and easy to read
  • (B). Address any symbolic, not absolute
  • (C). Introduction of data to program is easier
  • (D). None of these
  • View Answer

    Explanation: Not Avilable

    13. Which of the following software types is used to simply using systems software ?

  • (A). Spreadsheet
  • (B). Operating environment
  • (C). Timesharing
  • (D). Multitasking
  • View Answer

    Explanation: Not Avilable

    14. In absolute loading scheme, which loader function is accomplished by assembler

  • (A). Reallocation
  • (B). Allocation
  • (C). Linking
  • (D). Loading
  • View Answer

    Explanation: Not Avilable

    15. In absolute loading scheme, which loader function is accomplished by loader

  • (A). Reallocation
  • (B). Allocation
  • (C). Linking
  • (D). Loading
  • View Answer

    Explanation: Not Avilable