No student devices needed. Know more
20 questions
Language Processor helps in translating
intermediate code to machine executable code
high level code to intermediate code
low level code to intermediate code
high level code to machine executable code
Both assembly language and machine language are categories under low level languages.
Yes
No
choose the correct order in which the language processor works. Pre processor,Compiler,Assembler,Linker
1,3,4,2
1,2,3,4
1,2,4,3
1,4,3,2
Name two main phases of the compiler
Choose the correct answer for blank space in correct order.
semantic, syntax, lexical
syntax, linear, semantic
linear, semantic, syntax
lexical, syntax, semantic
For position := initial + rate * 60 fill the intermediate code
temp1 = inttoreal(60)
temp2 = id3 * temp1
-------------------------
id1 = temp3
In lexical analysis phase, input - token and output - lexeme
yes
no
Identify the token from the given options.
if
>=
identifier
white space
Identify the lexeme from the given options.
<=
literal
identifier
num
_________ is a process of finding a parse tree for a string of tokens.
Parsing
Tokenizing
Does the compiler program translate the whole source code in one step?
yes
no
Depends on the Compiler
Which computer program accepts the high-level language and converts it into assembly language?
Assembler
Compiler
Interpreter
Linker
output of lexical analyzer
Machine code
Intermediate code
A list of tokens
A parse tree
List the Phases of Compiler
________ is considered as a sequence of characters in a token.
------phase is known as the back-end of the compiler.
Analysis
Synthesis
both
none
Who is responsible for the creation of the symbol table?
Assembler
Compiler
Interpreter
all the above
Compiler can diagnose
Logical errors only
Grammatical and logical errors
Grammatical errors only
All of the mentioned
List the names of compilers
A compiler for a high-level language that runs on one machine and produces code for a different machine is called------
Cross compiler
Optimizing compiler
One pass compiler
Source compiler
Explore all questions with a free account