QUIZ SECTION

Q1. The translator used by second generation languages is?
compiler
interpreter
assembler
linker


Q2. What is the role of compiler in computers?
It converts the HLL to MLL
It converts the MLL to HLL
Both a and b
None of the above


Q3. A computer programe that converts the whole programe into machine language at a single time is called?
Interpreter
Compiler
Translater
All of the above


Q4. Compiler is a?
programe
software
translator
None of the above


Q5. Compiler can check?
Logical Error
Syntax Error
Both Logical and Syntax Error
Not Logical and Syntax Error


Q6. Select the machine independent phase of the compiler?
Syntax analysis
Intermediate code generation
Lexical analysis
All of the above


Q7. Compiler translates the Source code to?
binary code
machine code
Both
None


Q8. A system program that combines the separately compiled modules of a program into a form suitable for execution?
Assembler
Compiler
Linking loader
Interpreter


Q9. The advantage(s) of incorporating the macro processor into pass 1 is/ are:
many functions do not have to be implemented twice
Functions are combined and it is not necessary to create intermediate files as output from the macro processor and input to the assembler
more flexibility is available to the programmer in which he/she may use all the features of the assembler in conjunction with macros
All of the above


Q 10. In which addressing mode, the effective address of the operand is generated by adding a constant value to the contents of register?
absolute mode
indirect mode
immediate mode
index mode


Your Score :