Search Header Logo

TOC 3A

Authored by SAJU RAJ T

Other

University

Used 1+ times

TOC 3A
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?