UGC NET Paper 2 (Computer Science)Hard
Which of the following problems is undecidable in general?
- A. The Post Correspondence Problem
- B. Whether a given string belongs to a given regular language
- C. Whether a DFA has unreachable states
- D. Whether two DFAs accept the same language
Correct answer: A. The Post Correspondence Problem
PCP, given two lists of strings, asks if some sequence of indices makes both concatenations equal, which has no algorithm; membership, reachability and DFA equivalence are all decidable.
Practise more UGC NET Computer Science and Applications questionsUGC NET Computer Science and Applications: notes and key points
More UGC NET Computer Science and Applications questions
- The four networks 10.0.4.0/24, 10.0.5.0/24, 10.0.6.0/24 and 10.0.7.0/24 can be aggregated (route-summarised) into:
- On receiving three duplicate ACKs, TCP Reno performs:
- A link has a bandwidth of 100 Mbps and a round-trip time of 20 ms. The bandwidth-delay product, i.e. the minimum window size needed to…
- Three processes P0, P1, P2 request two resource types X and Y. Available = (2, 1). Allocation: P0 = (0, 0), P1 = (1, 0), P2 = (0, 1). Max…
- Compared to semaphores, a monitor provides:
- The main advantage of a multilevel feedback queue scheduler over a simple multilevel queue scheduler is that it: