Quiz on Context-Free Grammars

Quiz on Context-Free Grammars

University

25 Qs

quiz-placeholder

Similar activities

Ultimate office trivia quiz

Ultimate office trivia quiz

KG - Professional Development

25 Qs

Consumer Behavior

Consumer Behavior

University

20 Qs

EMBEDDED SYSTEM DESIGN

EMBEDDED SYSTEM DESIGN

University

20 Qs

BEEE Pre-test Assessment

BEEE Pre-test Assessment

University

20 Qs

Principal of marketing chapter 2

Principal of marketing chapter 2

University

20 Qs

Artificial Potential Field Method & Roadmaps

Artificial Potential Field Method & Roadmaps

University

20 Qs

T1B3 ACTIVITY: Modules 1 to 3

T1B3 ACTIVITY: Modules 1 to 3

University

20 Qs

Dasar Fotografi

Dasar Fotografi

University

20 Qs

Quiz on Context-Free Grammars

Quiz on Context-Free Grammars

Assessment

Quiz

Other

University

Practice Problem

Hard

Created by

sajuraj T

Used 3+ 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

The entity which generate Language is termed as:

Automata

Tokens

Grammar

Data

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Production Rule: aAb->agb belongs to which of the following category?

Regular Language

Context free Language

Context Sensitive Language

Recursively Ennumerable Language

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statement is false?

Context free language is the subset of context sensitive language

Regular language is the subset of context sensitive language

Recursively ennumerable language is the super set of regular language

Context sensitive language is a subset of context free language

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The Grammar can be defined as: G=(V, ∑, p, S) In the given definition, what does S represents?

Accepting State

Starting Variable

Sensitive Grammar

None of these

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which among the following cannot be accepted by a regular grammar?

L is a set of numbers divisible by 2

L is a set of binary complement

L is a set of string with odd number of 0

L is a set of 0n1n

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the expression is appropriate? For production p: a->b where a∈V and b∈_______

V

S

(V+∑)*

V+ ∑

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For S->0S1|e for ∑={0,1}*, which of the following is wrong for the language produced?

Non regular language

0n1n | n>=0

0n1n | n>=1

None of the mentioned

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?