Toggle navigation
Terms & Conditions
Contact
Home
GK
Computer
TRB
TNPSC
Aptitude
English
Reasoning
Technical
Bank Exams
SSC
Engineering
Puzzles
Interview
GD Topics
Blogs
Online Test
Free computer quiz Online Test - MeritNotes
Home
Online Exam
No. of Questions :10
Remaining Time :
1. Which data structure in a compiler is used for managing information about variables and their attributes?
(a)
Abstract syntax tree
(b)
Parse table
(c)
Semantic stack
(d)
Symbol table
2. Access time of the symbol table will be logarithmic, if it is implemented by
(a)
Self organizing list
(b)
Hash table
(c)
Search tree
(d)
Linear list
3. A grammar is said to be ambiguous if
(a)
Two or more productions have the same non terminal on the left hand side
(b)
Brackets are not present in the grammar
(c)
A derivation tree has more than one associated sentence
(d)
There is a sentence with more than one derivation tree corresponding to it
4. Two producers both of which treat the other as a called procedure and itself the callee, are called
(a)
Ambiguous master slave routines
(b)
Co-routines
(c)
Sub-sub routines
(d)
Master slave routines
5. In a resident – OS computer, which of the following systems must reside in the main memory under all situations?
(a)
Assembler
(b)
Linker
(c)
Compiler
(d)
Loader
6. Back patching is useful for handling
(a)
Backward references
(b)
Forward references
(c)
Conditional jumps
(d)
Unconditional jumps
7. Which of the following is used for grouping of characters into tokens?
(a)
Scanner
(b)
Code generator
(c)
Code optimization
(d)
Parser
8. Type checking is normally done during
(a)
Code optimization
(b)
Syntax directed translation
(c)
Syntax analysis
(d)
Lexical analysis
9. Pee hole optimization is a form of
(a)
Data flow analysis
(b)
Constant folding
(c)
Local optimization
(d)
Loop optimization
10. Loader is a program that
(a)
Appears to execute a source program as if it were machine language
(b)
Accepts a program written in a high level language and produces an object program
(c)
Automates the translation of assembly language into machine language
(d)
Places programs into memory and prepares them for execution