TOC 3A

TOC 3A

University

25 Qs

quiz-placeholder

Similar activities

MPMC Quiz 1

MPMC Quiz 1

University

20 Qs

Konsep Struktur Data

Konsep Struktur Data

University

20 Qs

KUIZ SURAH AL-ZALZALAH

KUIZ SURAH AL-ZALZALAH

KG - University

23 Qs

CSC305 Topic 1 & 2

CSC305 Topic 1 & 2

University

30 Qs

UNIT - 2 C Bottom-Up Parsing Quiz

UNIT - 2 C Bottom-Up Parsing Quiz

University

25 Qs

UNIT -2 B Top-Down Parsing Quiz

UNIT -2 B Top-Down Parsing Quiz

University

25 Qs

UNIT -3  A Intermediate Languages and TAC Quiz

UNIT -3 A Intermediate Languages and TAC Quiz

University

25 Qs

TFN Theory Reviewer

TFN Theory Reviewer

University

25 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?