
Quiz II

Quiz
•
Computers
•
University
•
Easy

Mrs. Muthulakshmi
Used 7+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The number of tokens in the following C statement isprintf("i = %d, &i = %x", i, &i);
3.
26
10
21
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In a compiler, keywords of a language are recognized during
parsing of the program
the code generation
the lexical analysis of the program
dataflow analysis
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The lexical analysis for a modern computer language such as Java needs the power of which one of the following machine models in a necessary and sufficient sense?
Finite state automata
Deterministic pushdown automata
Non Deterministic pushdown automata
Turing Machine
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The process of forming tokens from an input stream of characters is called
Liberalisation
Characterisation
Tokenization
None
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
When expression sum=3+2 is tokenized then what is the token category of 3?
Identifier
Assignment operator
Integer Literal
Addition Operator
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which grammar defines Lexical Syntax?
Regular Grammar
Syntactic Grammar
Context free Grammar
Lexical Grammar
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Two Important lexical categories are
White Space
Comments
White Space & Comments
None
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
UAS TEORI BAHASA DAN AUTOMATA

Quiz
•
University
20 questions
Compiler Design

Quiz
•
University
10 questions
Automata theory Q1

Quiz
•
University
20 questions
Formal Language and Automata

Quiz
•
University
12 questions
Compiler Design -Lexical analysis and Syntax analysis

Quiz
•
University
20 questions
Compiler Review

Quiz
•
University
20 questions
1.2.2 Application Generation

Quiz
•
12th Grade - University
20 questions
Compiler - Intro

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade