TOC 3A

TOC 3A

University

25 Qs

quiz-placeholder

Similar activities

Statistics Quiz

Statistics Quiz

University

20 Qs

GGSR Midterm Review 10/07/21

GGSR Midterm Review 10/07/21

University

20 Qs

AGR453 - CHAPTER 1

AGR453 - CHAPTER 1

University

20 Qs

Tìm hiểu phòng cháy chữa cháy

Tìm hiểu phòng cháy chữa cháy

1st Grade - University

21 Qs

Турецкий А1 6

Турецкий А1 6

University

23 Qs

Chapter 4

Chapter 4

University

20 Qs

Rehab 105 Short Quiz 4 - Endterms

Rehab 105 Short Quiz 4 - Endterms

University

20 Qs

Teacher Recruitment- Test 1: Vikramjit Singh

Teacher Recruitment- Test 1: Vikramjit Singh

University

20 Qs

TOC 3A

TOC 3A

Assessment

Quiz

Other

University

Practice Problem

Medium

Created by

SAJU RAJ T

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?