UGC NET Paper 2 (Computer Science)Very hard
Which statement about pushdown automata acceptance modes is correct?
- A. Every PDA accepting by final state has an equivalent PDA accepting by empty stack, and conversely
- B. Acceptance by empty stack is strictly more powerful than acceptance by final state
- C. Acceptance by empty stack cannot recognise any regular language
- D. A PDA accepting by empty stack never needs more than one stack symbol
Correct answer: A. Every PDA accepting by final state has an equivalent PDA accepting by empty stack, and conversely
Standard constructions convert a PDA of either acceptance mode into an equivalent one of the other mode, since both characterise exactly the context-free languages.
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
- Given a grammar in Chomsky Normal Form, the CYK algorithm decides whether a string of length n belongs to the language in time:
- Which of the following problems is undecidable in general?
- 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…