Analysis of Algorithms and Computational Complexity Questions and Answers

Practice Mode
Showing 10 of 239 questions
Q101
For secondary key processing which of the following file organisations is preferred ?
  • A Indexed sequential file organisation
  • B Two-way linked list
  • C Inverted file organisation
  • D Sequential file organisation
Answer: Option D
Q102
In a circularly linked list organization, insertion of a record involves the modification of
  • A no pointer
  • B 1 pointer
  • C 2 pointers
  • D 3 pointers
Answer: Option C
Q103
Stack is useful for implementing
  • A radix
  • B breadth first search
  • C recursion
  • D none of these
Answer: Option C
Q104
A machine needs a minimum of 100 sec to sort 1000 names by quick sort. the minimum time needed to sort 100 names will be approximately
  • A 50.2 sec
  • B 6.7 sec
  • C 72.7sec
  • D 11.2 sec
Answer: Option B
Q105
A machine took 200 sec to sort 200 names, using bubble sort. In 800 sec, it can approximately sort
  • A 400 names
  • B 800 names
  • C 750 names
  • D 800 names
Answer: Option A
Q106
Which of the following is useful in traversing a given graph by breadth first search ?
  • A stack
  • B set
  • C list
  • D queue
Answer: Option D
Q107
Which of the following is useful in implementing quick sort
  • A stack
  • B set
  • C list
  • D queue
Answer: Option A
Q108
Which of the following relates of machine language ?
  • A difficult to learn
  • B machine-dependent
  • C instructions and data are represented by binary digits
  • D all of these
Answer: Option D
Q109
Queue can be used to implement
  • A radix sort
  • B quick sort
  • C recursion
  • D depth first search
Answer: Option A
Q110
Which of the following allows users to specify what the computer is supposed to do rather than how the computer is supposed to do it ?
  • A nonprocedural language
  • B FORTRAN
  • C BASIC
  • D COBOL
Answer: Option A
Questions and Answers for Competitive Exams Various Entrance Test