Analysis of Algorithms and Computational Complexity Questions and Answers

Practice Mode
Showing 10 of 239 questions
Q51
A given connected graph G is a Euler graph if and only if all vertices of G arre of
  • A same degree
  • B even degree
  • C odd degree
  • D different degree
Answer: Option B
Q52
A circuit in connected graph which includes every vertex of the graph is known as
  • A Euler
  • B Unicursal
  • C Hamiltonian
  • D Clique
Answer: Option C
Q53
The length of a Hamiltonian path (if exist) in a connected graph of n vertices is
  • A n - 1
  • B n
  • C n + 1
  • D n / 1
Answer: Option A
Q54
A simple graph in which there exists an edge between every pair of vertices is called a (an)
  • A incomplete graph
  • B complete graph
  • C Euler graph
  • D planar graph
Answer: Option B
Q55
If B is a circuit matrix of a graph with k components, e edges and n vertices, the rank of B is
  • A n - k
  • B e - n - k
  • C e - n + k
  • D e + n - k
Answer: Option C
Q56
Consider a graph G having cutset matrix C(G) and incidence matrix A(G). The Rank of B is
  • A same as the rank of A(G)
  • B more than the rank of A(G)
  • C less than the rank of A(G)
  • D independent of the rank of A(G)
Answer: Option A
Q57
Let X be the adjacency matrix of a graph G with no self loops. the entries along the principle diagonal of X are
  • A all zeros
  • B all ones
  • C both zeros and ones
  • D different
Answer: Option A
Q58
Which of the following tool is used to specify lexical analyzers for variety of languages
  • A Lex
  • B Yaac
  • C EQN
  • D TeX
Answer: Option A
Q59
In compilers, the syntax analysis is done by
  • A exical analyzer
  • B scanner
  • C parser
  • D code generator
Answer: Option C
Q60
Which of the following parsing methods handle left-recursive grammars ?
  • A Top-down parsing
  • B button-up parsing
  • C both top-down and bottom-up
  • D none of these
Answer: Option A
Questions and Answers for Competitive Exams Various Entrance Test