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

GATE 2001

60 questions

MCQ 601-mark 60

Questions 36–40 of 60

Q36Asymptotic Notation1 markMCQ−0.33 if wrong
Let f(n)=n2lognf (n) =n^{2} logn and g(n)=n(logn)10g(n) = n(logn)^{10} be two positive functions of n. Which of the following statements is correct ?

Q37Graph Traversal (BFS and DFS)1 markMCQ−0.33 if wrong
Consider the undirected unweighted graph G. Let a breadth-first traversal of G be done starting from a node r . Let d(r,u) and d(r,v) be the lengths of the shortest paths form r to u and v respectively in G. If u is visited before v during the breadth-first traversal, which of the following statements is correct ?

Q38Shortest Path1 markMCQ−0.33 if wrong
Consider the undirected unweighted graph G. Let a breadth-first traversal of G be done starting from a node r . Let d(r,u) and d(r,v) be the lengths of the shortest paths form r to u and v respectively in G. If u is visited before v during the breadth-first traversal, which of the following statements is correct ?

Q39Finite Automata1 markMCQ−0.33 if wrong
Consider a DFA over Σ\Sigma= {a,b} accepting all strings which have number of a's divisible by 6 and number of b's divisible by 8. What is the minimum number of states that the DFA will have ?

Q40Finite Automata1 markMCQ−0.33 if wrong
Given an arbitary non-deterministic finite automaton (NFA) with N states, the maximum number of states in an equivalent minimized DFA is at least.