UGC NET Paper 2 (Computer Science)Hard
The minimum number of states in a DFA over {0, 1} accepting exactly the strings that end with 00 is:
- A. 3
- B. 4
- C. 2
- D. 5
Correct answer: A. 3
One state tracks no trailing zero, one tracks exactly one trailing zero, and one (accepting) tracks two or more trailing zeros; these three states are pairwise distinguishable.
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
- Which statement about pushdown automata acceptance modes is correct?
- 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…