
TCS test no 1
Authored by Krishndeo Pawar
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Obtaining the final string by concatenating the labels of the tree from left to right is called yield of a _____ tree.
Perfect
Concatenation
Leaves crafting
Parse
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Given the grammar G = {{S, B}, {0,1}, {S}, P}, what are {0,1}?
Non terminals
Production
Starting Symbol
Terminals
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is a type of derivation tree that is obtained by applying production to the rightmost variable in each step?
Right part tree
Right derivation tree
Production processing rightly
Rightly derivation tree
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A left recursive production has a form of X --> aX. True or False
True
False
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A grammar G is said to be ________ if there exists two or more derivation tree for some sting in a L(G).
Ambitions
Ambigious
Ambiguous
Ambitious
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is NOT considered closed for Context free languages?
Concatenation
Union
Kleen Star
Complement
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Pushdown automata accepts
Regular language
Context-free language
Context-sensitive language
Both Regular and context-free language
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?