OJEE SERIES
Computer-science-information-technology

Theory Of Computations

3 previous year questions.

Volume: 3 Ques
Yield: Medium

High-Yield Trend

3
2025

Chapter Questions
3 MCQs

01
PYQ 2025
medium
computer-science-information-technology ID: ojee-202

Consider the grammar . Which one of the following options correctly characterizes the language generated by the given grammar over the alphabet {a,b}

1
All palindromes
2
All odd length palindromes
3
Strings that begin and end with the same symbol
4
All even length palindromes
02
PYQ 2025
medium
computer-science-information-technology ID: ojee-202
To prove that a problem in NP is NP-complete, it would be sufficient to show which one of the following to be true?
1
The problem can be reduced to the 3-SAT problem in polynomial time
2
The 3-SAT problem can be reduced to in polynomial time
3
The problem can be reduced to any other problem in NP in polynomial time
4
Some problem in NP can be reduced to in polynomial time
03
PYQ 2025
medium
computer-science-information-technology ID: ojee-202
Which one of the following problems is undecidable?
1
Deciding if a given context-free grammar is ambiguous
2
Deciding if a given string can be generated by a given context-free grammar
3
Deciding if the language generated by a given context-free grammar is empty
4
Deciding if the language generated by a given context-free grammar is finite