stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Quiz! for CPT316 assessment Flashcards | StudBud
Explore
/
Quiz! for CPT316 assessment
Quiz! for CPT316 assessment
12 terms
·
StudBud Administration
·
107 plays
Flashcards
12 cards
F
Practice quiz
P
Host live
L
Questions
12
Answers
1
In this phase, token arrangements are checked against the source code grammar.
Syntax Analyzer
Semantic Analyzer
Lexical Analyzer
Code Generator
2
Punctuation, and parenthesis are exampes of?
Alphabets
Strings
Numbers
Special Symbols
3
An object program can be
assembly language program
All
a sequence of relocatable machine instructions
a sequence of absolute machine instructions
4
It checks whether the parse tree constructed follows the rules of language.
Code Generator
Lexical Analyzer
Syntax Analyzer
Semantic Analyzer
5
Any finite set of symbols
Special Symbols
Strings
Numbers
Alphabets
6
It is a tool that produces input for compilers.
Preprocessor
Cross-compiler
Loader
Interpreter
7
Actions during the lexical analysis stage:
statement processing
ignoring comments
deleting comments
All
8
After parsing, we can assume that the original program has been converted into some intermediate representation
True
False
9
Breaks the source code into its constituent elements and creates an intermediate representation of the source code
interpreter
analysis
begin
synthesis
10
Any finite sequence of alphabets.
Numbers
Strings
Special Symbols
Alphabets
11
This phase scans the source code as a stream of characters and converts it into meaningful lexemes
Syntax Analyzer
Lexical Analyzer
Code Generator
Semantic Analyzer
12
The following statements are true for the interpreter:
creates an intermediate representation
All
does not create any new program
performs the operations contained in the program text