Quiz Space

Advanced Algorithms End Term: 3 September 2023, Set QPE1-S1 (May 2023 term)

Question 1

+3 marksOne correct option

Recall the Dance Class problem:

Problem Definition

Dance Classes

Input: A collection of nn intervals given by their left and right endpoints (s1,f1),…,(sn,fn)(s_1, f_1), \ldots, (s_n, f_n), where si<fis_i < f_i for all 1⩽i⩽n1 \leqslant i \leqslant n.

Question: What is the size of the largest collection of mutually pairwise non-overlapping intervals?

On which of the following instances will this algorithm produce a suboptimal answer?

Instance 1:

The number of classes is N = 4
The timings of the classes are given by:
1 - 5
3 - 7
6 - 9
8 - 10

Instance 2:

The number of classes is N = 4
The timings of the classes are given by:
2 - 5
6 - 10
11 - 15
1 - 10

Instance 3:

The number of classes is N = 4
The timings of the classes are given by:
1 - 5
6 - 8
9 - 11
12 - 15

  1. A

    Instance 1

  2. B

    Instance 2

  3. C

    Instance 3

  4. D

    None of these

Question 2

+3 marksOne correct option
  1. A

    TRUE

  2. B

    FALSE

Question 3

+3 marksOne correct option

True or false?

  1. A

    TRUE

  2. B

    FALSE

31 more questions in this paper

Sign in with Google — it is free — to see every question with its answer and explanation, practise it in learning mode, or take it as a timed mock test.

More on the Advanced Algorithms End Term 3 Sept 2023 Set QPE1-S1 paper

The IIT Madras BS Advanced Algorithms (Advanced Algorithms) End Term paper sat on 3 Sept 2023, in the May 2023 term, set QPE1-S1: 34 questions for 100 marks in 180 minutes. The first 3 questions are below. Sign in with Google — it is free — to see the whole paper with its answers and explanations, in learning mode or as a timed mock test.

FeatureAdvanced Algorithms End Term 3 Sept 2023 Set QPE1-S1 at a glance
TermMay 2023 term
SubjectAdvanced Algorithms
Course codeBSCS4021
Questions34
Marks100
Duration180 min
MCQ28
Numerical6
Official paperIIT M DEGREE ET1 EXAM QPE1 S2 03 Sep
Negative markingNo negative marking.
Updated

Other sets that day

Same End Term, other subjects

More Advanced Algorithms