GATE 2005 Computer Science and Information Technology (CS) Questions with Solutions

GATE 2005

203 questions

MCQ 2031-mark 203

Questions 126–130 of 203

Q126Regular Expression1 markMCQ−0.33 if wrong
Which of the following statements is TRUE about the regular expression 01*0?

Q127Finite Automata1 markMCQ−0.33 if wrong
Consider the non-deterministic finite automaton (NFA) shown in the figure.
X Y Z start 0 0 1 0 0 1 1 0
State X is the starting state of the automaton. Let the language accepted by the NFA with Y as the only accepting state be L1. Similarly, let the language accepted by the NFA with Z as the only accepting state be L2. Which of the following statements about L1 and L2 is TRUE?

Q128Finite Automata1 markMCQ−0.33 if wrong
The following diagram represents a finite state machine which takes as input a binary number from the least significant bit.
0/00/11/01/1Q0Q0
Which one of the following is TRUE?

Q129Finite Automata1 markMCQ−0.33 if wrong
Let NfN_{f} and NpN_{p} denote the classes of languages accepted by non-deterministic finite automata and non- deterministic push-down automata, respectively. Let DfD_{f} and DpD_{p} denote the classes of languages accepted by deterministic finite automata and deterministic push-down automata respectively. Which one of the following is TRUE?

Q130Finite Automata1 markMCQ−0.33 if wrong
Consider the machine M:
abbaabba,ba
The language recognized by M is :