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

GATE 2007

184 questions

MCQ 1841-mark 184

Questions 111–115 of 184

Q111Finite Automata1 markMCQ−0.33 if wrong
Consider the following DFA in which S0S_0 is the start state and S1S_1, S3S_3 are the final states
S0 S1 S2 S3 start x x y y y y x x
What language does this DFA recognize?

Q112Finite Automata1 markMCQ−0.33 if wrong
Consider the following Finite State Automaton:
q0 q1 q2 q3 a b b a a a b b
The minimum state automaton equivalent to the above FSA has the following number of states

Q113Finite Automata1 markMCQ−0.33 if wrong
Consider the following Finite State Automaton:
q0 q1 q2 q3 a b b a a a b b
The language accepted by this automaton is given by the regular expression

Q114Finite Automata1 markMCQ−0.33 if wrong
A minimum state deterministic finite automaton accepting the language L={w|w∈\in {0,1}*} , number of 0s and 1s in w are divisible by 3 and 5, respectively has

Q115Regular Grammar1 markMCQ−0.33 if wrong
Consider the following two statements:

P: Every regular grammar is LL(1)
Q: Every regular set has a LR(1) grammar

Which of the following is TRUE?