Bihar STET – TOC Practice Test | Set 2

Questions 21-25 of 100

0% completed (0/100 answered)
Your score 0/100 0 answered
Correct 0 Incorrect 0 Unanswered 100 Accuracy 0%

Question 21

MCQ · Single Correct 1 mark
Previous Year Question Bihar STET C.S. 12.06.2024 (Shift-II) PYQ

In a Context-Free Grammar, what is the maximum height 'h' of a parse tree for a string of length 'n' derived in Chomsky Normal Form (CNF)?

Answers for question 21

Question 22

MCQ · Single Correct 1 mark
Previous Year Question Bihar STET C.S. 03.11.2025 (Shift-I) PYQ

In a binary parse tree generated by a grammar in Chomsky Normal Form (CNF), if the tree height is 'h', what is the MAXIMUM length of the derived terminal string?

Answers for question 22

Question 23

MCQ · Single Correct 1 mark
Previous Year Question Bihar STET C.S. 04.11.2025 PYQ

When simplifying a Context-Free Grammar, in what strictly required ORDER must transformations be applied?

Answers for question 23

Question 24

MCQ · Single Correct 1 mark
Previous Year Question Bihar STET C.S. 18.09.2023 (Shift-I) PYQ

How is Immediate Left Recursion of the form A → A $\alpha 1 | A \alpha 2 |$... | $\beta 1 | \beta 2 |$... eliminated from a CFG?

Answers for question 24

Question 25

MCQ · Single Correct 1 mark
Previous Year Question Bihar STET C.S. 12.09.2023 (Shift-I) PYQ

What is the primary purpose of applying 'Left Factoring' to a Context-Free Grammar?

Answers for question 25
Scroll to Top