TOC UNIT II - CFC

TOC UNIT II - CFC

KG

30 Qs

quiz-placeholder

Similar activities

Microsoft Word: Module 2

Microsoft Word: Module 2

9th - 12th Grade

25 Qs

CD_quiz1

CD_quiz1

University

31 Qs

CSC305: CLASS EXERCISE 1

CSC305: CLASS EXERCISE 1

University

25 Qs

Python Quiz

Python Quiz

University - Professional Development

25 Qs

Quiz Teori bahasa Otomata

Quiz Teori bahasa Otomata

University

25 Qs

CA-II_TOC_Gate

CA-II_TOC_Gate

University

30 Qs

TAFL Quiz-3 (Module-2)

TAFL Quiz-3 (Module-2)

University

30 Qs

IT support level-1 (MCQ-2)

IT support level-1 (MCQ-2)

Professional Development

25 Qs

TOC UNIT II - CFC

TOC UNIT II - CFC

Assessment

Quiz

Computers

KG

Hard

Created by

wjasmine jeya

Used 6+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Let G=(V, T, P, S)

where a production can be written as:

S->aAS|a

A->SbA|ba|SS

Which of the following string is produced by the grammar?

aabbaa

aabbaab

baabab

None of the mentioned

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Simplify the given grammar:

A-> a| aaA| abBc

B-> abba| b

A-> a| aaA| ababbAc| abbc, B-> abba|b

A-> a| aaA| abbc, B->abba

None of the mentioned

A-> a| aaA| ababbAc| abbc

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For the given Regular expression, the minimum number of variables including starting variable required to derive its grammar is:

(011+1)*(01)*

4

6

3

5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The minimum number of productions required to produce a language consisting of palindrome strings over ∑={a,b} is

3

6

7

5

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The entity which generate Language is termed as:

Grammar

Automata

Data

Tokens

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

L is a set of string with odd number of 0

L is a set of binary complement

L is a set of 0n1n

L is a set of numbers divisible by 2

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For the given Regular expression, the minimum number of terminals required to derive its grammar is:

(011+1)*(01)*

4

6

3

5

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?

Discover more resources for Computers