TC Quiz-3

TC Quiz-3

University

8 Qs

quiz-placeholder

Similar activities

Desarrolllo Móvil

Desarrolllo Móvil

University

10 Qs

Quiz 10 Teori Bahasa dan Otomata 2022-1

Quiz 10 Teori Bahasa dan Otomata 2022-1

University

10 Qs

Quiz 12 Teori Bahasa dan Otomata 2023-1

Quiz 12 Teori Bahasa dan Otomata 2023-1

University

10 Qs

Quiz 10 Susulan  Teori Bahasa dan Otomata 2022-1

Quiz 10 Susulan Teori Bahasa dan Otomata 2022-1

University

10 Qs

Grammer and PDA

Grammer and PDA

University

10 Qs

Quiz 12: Templates, STL

Quiz 12: Templates, STL

University

10 Qs

TOC - Grammar

TOC - Grammar

University

10 Qs

DSA-Quiz1

DSA-Quiz1

University

12 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