Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
A. Executable code
B. Machine code
C. Binary code
D. Both B and C
2. Which of the following groups is/are token together into semantic structures?
A. Syntax analyzer
C. Lexical analyzer
D. Semantic analyzer
translation process.
A. Classes
B. Objects
of lexical analyzer?
A. A parse tree
B. A list of tokens
C. Intermediate
code
D. Machine code
5. Compiler translates
A. Executable code
B. Machine code
C. Binary code
D. Both B and C
6. Which of the
following groups
into semantic
structures?
A. Syntax analyzer
B. Intermediate
code generation
C. Lexical analyzer
D. Semantic
analyzer
7. Compiler should
of __________ in the
source program, in
translation process.
A. Classes
B. Objects
C. Errors
D. Text
of lexical analyzer?
A. A parse tree
B. A list of tokens
C. Intermediate
code
D. Machine code
A. Logical
B. Syntax
C. Content
D. Both A and B
some sentence is
called as
A. Ambiguous
B. Unambiguous
C. Regular
D. All of these
11.Lexical analysis is
about breaking a
sequence of
characters into
A. Groups
B. Packets
C. Lines
D. Tokens
12.
16.Three
address
code
involves
A. Exactly 3
address
B. At most
most 3
address
C. No unary
operators
D. None of
these
general phase
structured
14.What is the name
determining
grammar.
whether a string of C. Errors
A.can
tokens Context
be sensitive
D. Text
generated by a
B. Regular
grammar?
C. Context free
A. Analysing
D. All of these
B. Recognizing
13.________ is
C. Translating
considered as a
sequence of
D. Parsing
characters in a
15.A _________ is a
token.
software utility
A. Texeme
tha
t tra B. Pattern
C. code
nslates Lexeme
written in higher
D. Mexeme
language into a
A. Converter
B. Compiler
C. Text editor
A.Lexical analysis
B.Code generation
D.None of these
18. System program such a s compiler are designed so that they are
A.re-enterable
B.non-reusable
C.serially usable
D.None of these
A.assembly
B.machine
C.COBOL
D.program
20. A system program that setup an executable program in main memory ready for execution
is
A.assembler
B.linker
C.loader
D.load and go
21. Which of the following system program forgoes the production of object code to generate
absolute machine code and load it into the physical main storage location from which it will
B.Load-and-go-assembler
C.Macroprocessor
D.Linker
23. A system program that set-up an executable program in main memory ready for execution
is
A.assembler
B.linker
C.Loader
D.text editor
A.compiler
B.interpreter
D.None of these
A.Assembly
B.Machine
C.Pascal
D.FORTRAN
26. A system program that combines separately compiled modules of a program into a form
A.assembler
B.linking loader
C.cross compiler
D.None of these
27. In which way a macro processor for assembly language can be implemented?
D.All of these
A.Linker
B.Loader
C.Compiler
D.Interpreter
29. The symbol table implementation is based on the property of locality of reference is
A.linear list
B.search tree
C.hash table
D.self-organization list
D.none of these
A.it can be constructed to recognize CFG corresponding to almost all programming constructs
D.none of these
B.LALR
C.Canonical LR
D.Operator-precedence
D.none of these