Quiz II

Quiz II

University

15 Qs

quiz-placeholder

Similar activities

ATCD - MCQ - IAE1 Portions

ATCD - MCQ - IAE1 Portions

University

15 Qs

DFA_TAFL

DFA_TAFL

University

10 Qs

CD QUIZ S6 30-3-22

CD QUIZ S6 30-3-22

University

10 Qs

UAS TEORI BAHASA DAN AUTOMATA

UAS TEORI BAHASA DAN AUTOMATA

University

20 Qs

CD TEST3

CD TEST3

University

10 Qs

Teori Bahasa dan Automata

Teori Bahasa dan Automata

University

18 Qs

CD QUIZ S6 WS 22-3-22

CD QUIZ S6 WS 22-3-22

University

10 Qs

Quiz II

Quiz II

Assessment

Quiz

Computers

University

Easy

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?