TC Quiz-3

TC Quiz-3

University

8 Qs

quiz-placeholder

Similar activities

Chapter 1 -  Introducing Today's Technologies

Chapter 1 - Introducing Today's Technologies

University

10 Qs

Quiz 10 Teori Bahasa dan Otomata 2022-1

Quiz 10 Teori Bahasa dan Otomata 2022-1

University

10 Qs

n11-java-quiz-1

n11-java-quiz-1

University - Professional Development

12 Qs

Week 2- lecture Database system

Week 2- lecture Database system

University

9 Qs

Grammer and PDA

Grammer and PDA

University

10 Qs

Minecraft

Minecraft

KG - Professional Development

13 Qs

COMPILER DESIGN  QUIZ

COMPILER DESIGN QUIZ

University

10 Qs

TC Quiz-3

TC Quiz-3

Assessment

Quiz

Computers

University

Hard

Created by

Sarbeswara Hota

Used 6+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which ones are not in the proper form of CNF.

A--> aB

A-->BD

A-->a

A-->aBb

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which one is generated from the CFG

S-->aSa | bSb |a | b

Set of all strings that start and end with same symbol

Set of all even length palindromes

Set of all odd length palindromes

Set of all paliindromes

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The Push Down Automata uses ____ as the memory component

Queue

Stack

Tree

Heap

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The production of the form A->B , where A and B are non terminals is called

Null Production

CNF

Unit Production

GNF

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A PDA machine configuration (p, w, y) can be correctly represented as:

(current state, stack content, unprocessed input)

(current state, unprocessed input, stack content)

(unprocessed input, stack content, current state)

None of these

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt


A language is accepted by a push down automata if it is:

Regular

Context Free

Both Regular and Context Free

None of these

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The Grammar S-->aSb | SS | ε is

Not CFG, Not Regular

Not CFG, But Regular

CFG , Not Regular

None of these

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

S-->aS | ε

S-->aS | a

S--> aS |b

S-->bS | a