YOUR SUBJECT CS502 Fundamentals of AlgorithmsChange subject ↗
PRACTICE AT YOUR OWN PACE

CS502 practice questions

Think through the options before revealing the answer. Use the term filter to focus your revision.

260 questions
CS502 · Final-term only#210

If we associate (x, y) integers pair to cars where x is the speed of the car and y is the negation of the price. High
y value for a car means a ________ car.

  1. A
    ?Fast
  2. B
    ?Slow
  3. C
    ?Expensive
  4. D
    ?Cheap
Show correct answer

Correct answer: D. ?Cheap

Check community answers against your course notes.Question permalink ↗
CS502 · Final-term only#209

8n2 + 2n - 3 will eventually exceed c2*(n) no matter how large we make c2.

  1. A
    ?True
  2. B
    ?False
Show correct answer

Correct answer: A. ?True

Check community answers against your course notes.Question permalink ↗
CS502 · Final-term only#208

F (n) and g (n) are asymptotically equivalent. This means that they have essentially the same __________ for
large n.

  1. A
    ?Results
  2. B
    ?Variables
  3. C
    ?Size
  4. D
    ?Growth rates
Show correct answer

Correct answer: D. ?Growth rates

Check community answers against your course notes.Question permalink ↗
CS502 · Final-term only#207

The running time of an algorithm would not depend upon the optimization by the compiler but that of an
implementation of the algorithm would depend on it.

  1. A
    ?True
  2. B
    ?False
Show correct answer

Correct answer: A. ?True

Check community answers against your course notes.Question permalink ↗
CS502 · Final-term only#206

An algorithm is a mathematical entity that is dependent on a specific programming language.

  1. A
    ? True
  2. B
    ?False
Show correct answer

Correct answer: B. ?False

Check community answers against your course notes.Question permalink ↗
CS502 · Final-term only#205

In 2d-space a point is said to be ________if it is not dominated by any other point in that space.

  1. A
    ?Member
  2. B
    ?Minimal
  3. C
    ?Maximal
  4. D
    ?Joint
Show correct answer

Correct answer: C. ?Maximal

Check community answers against your course notes.Question permalink ↗
CS502 · Final-term only#204

The ancient Roman politicians understood an important principle of good algorithm design that is plan-sweep
algorithm.

  1. A
    ?True
  2. B
    ?False
Show correct answer

Correct answer: B. ?False

Check community answers against your course notes.Question permalink ↗
CS502 · Final-term only#203

In simple brute-force algorithm, we give no thought to efficiency.

  1. A
    ?True
  2. B
    ?False
Show correct answer

Correct answer: A. ?True

Check community answers against your course notes.Question permalink ↗
CS502 · Final-term only#202

The array to be sorted is not passed as argument to the merge sort algorithm.

  1. A
    ?True
  2. B
    ?False
Show correct answer

Correct answer: B. ?False

Check community answers against your course notes.Question permalink ↗
CS502 · Final-term only#201

For small values of n, any algorithm is fast enough. Running time does become an issue when n gets large.

  1. A
    ?True
  2. B
    ?Fast
Show correct answer

Correct answer: A. ?True

Check community answers against your course notes.Question permalink ↗