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

GATE 2003

107 questions

MCQ 1071-mark 107

Questions 71–75 of 107

Q71Minimum Spanning Tree1 markMCQ−0.33 if wrong
What is the weight of a minimum spanning tree of the following graph?
a b c d e f g h i j 6 1 2 2 2 3 15 19 8 14 4 5 4 9 8 11 2 8

Q72Shortest Path1 markMCQ−0.33 if wrong
Let G = (V,E) be an undirected graph with a sub-graph G1 = (V1,E1), Weight are assigned to edges of G as follows
w(e)={0if  e∈E1,1otherwisew(e)=\left\{\begin{matrix} 0 &if \; e \in E1, \\ 1& otherwise \end{matrix}\right.

A single-source shortest path algorithm is executed on the weighted graph (V,E,w) with an arbitrary vertex v1 of V1 as the source. Which of the following can always be inferred from the path costs computed?

Q73Regular Expression1 markMCQ−0.33 if wrong
The regular expression 0*(10*)* denotes the same set as

Q74Finite Automata1 markMCQ−0.33 if wrong
Consider the NFA M shown below.
00,10,110
Let the language accepted by M be L. Let L1 be the language accepted by the NFA M1, obtained by changing the accepting state of M to a non-accepting state and by changing the non-accepting state of M to accepting states. Which of the following statements is true ?

Q75Finite Automata1 markMCQ−0.33 if wrong
Consider the following deterministic finite state automaton M.
001100,11
Let S denote the set of seven bit binary strings in which the first, the fourth, and the last bits are 1.
The number of strings in S that are accepted by M is