Which of the following problems are decidable?1) Does a given program ever produce an output?2) If L is a context-free language, then is L’ (complement of L) also context-free?3) If L is a regular language, then is L’ also regular?4) If L is a recursive language, then, is L’ also recursive?

🎲 Try a Random Question  |  Total Questions in Quiz: 95  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Theory of Computation and Compiler Design Practice Test — practice the complete quiz, review flashcards, or try a random question.

Automata theory (also known as Theory Of Computation) is a theoretical branch of Computer Science and Mathematics, which mainly deals with the logic of computation with respect to simple machines, referred to as automata. Automata* enables scientists to understand how machines compute the functions and solve problems.
Theory of Computation is very important in compiler design as it helps in writing efficient algorithms, which help make efficient compiler construcion.


Which of the following problems are decidable?<br>1) Does a given program ever produce an output?<br>2) If L is a context-free language, then is L’ (complement of L) also context-free?<br>3) If L is a regular language, then is L’ also regular?<br>4) If L is a recursive language, then, is L’ also recursive?