
TOC 3B

Quiz
•
Other
•
University
•
Hard
SAJU RAJ T
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which grammar generates {aⁿbⁿcⁿ | n ≥ 1}?
CFG
Type 3
Type 1
Regular expression
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true for deterministic PDA?
It accepts all CFLs
Every N-PDA can be converted to D-PDA
D-PDA languages ⊂ CFLs
D-PDA = N-PDA
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which production causes left recursion?
A → aA
A → Aa
A → a
A → ε
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The language {aⁿbⁿcᵐ | n, m ≥ 0} is:
Regular
Context-free
Context-sensitive
Recursive
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A PDA accepts by final state if:
Stack is empty
Final state is reached
Both input and stack are empty
All of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In CFG, which form ensures no left recursion?
Greibach Normal Form
Chomsky Normal Form
Leftmost derivation
Rightmost derivation
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which string is not generated by S → aSb | ab?
ab
aabb
aaabbb
abab
Create a free account and access millions of resources
Similar Resources on Wayground
27 questions
Finals Mock Test

Quiz
•
KG - Professional Dev...
21 questions
Semantics

Quiz
•
University
25 questions
UNIT -3 A Intermediate Languages and TAC Quiz

Quiz
•
University
25 questions
FLAT UNIT 5

Quiz
•
University
20 questions
Mikrobiologi & Parasitologi

Quiz
•
University
20 questions
ASD LAST WEEK \o/

Quiz
•
University
25 questions
SOAL PENGETAHUAN KEPRAMUKAAN DAN DEWAN KERJA

Quiz
•
University
25 questions
Phases of compiler Quiz

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade