TOC 3A

TOC 3A

University

25 Qs

quiz-placeholder

Similar activities

Push Down Automata Quiz

Push Down Automata Quiz

University

25 Qs

Phases of compiler Quiz

Phases of compiler Quiz

University

25 Qs

UNIT -3  A Intermediate Languages and TAC Quiz

UNIT -3 A Intermediate Languages and TAC Quiz

University

25 Qs

CD UNIT  1 QUIZ

CD UNIT 1 QUIZ

University

20 Qs

Exploring Regular and Context-Free Languages

Exploring Regular and Context-Free Languages

University

20 Qs

Compiler Design Quiz

Compiler Design Quiz

University

24 Qs

TOC 1 A

TOC 1 A

University

25 Qs

RTOS and Memory Management Quiz

RTOS and Memory Management Quiz

University

20 Qs

TOC 3A

TOC 3A

Assessment

Quiz

Other

University

Hard

Created by

SAJU RAJ T

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many types of grammar are in Chomsky's hierarchy?

2

3

4

5

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which grammar type is most powerful?

Type 0

Type 1

Type 2

Type 3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does CFG stand for?

Context-Free Grammar

Constant Finite Grammar

Control Flow Grammar

Contextual Free Grammar

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which device recognizes context-free languages?

DFA

PDA

Turing Machine

NFA

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a parse tree represent?

Finite automaton

Grammar's structure

State transitions

Stack content

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What causes ambiguity in a grammar?

Multiple parse trees for a string

Undefined terminals

No start symbol

Infinite productions

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a context-free grammar production?

A → aB

A → aB | b

A → aAb | ε

All of the above

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?