Quiz Space

May 2024 term · Computational Thinking · BSCS1001

Computational Thinking (CT) End Term: 1 September 2024, Set 2 (May 2024 term)

The IIT Madras BS Computational Thinking (Computational Thinking (CT)) End Term paper sat on 1 Sept 2024, in the May 2024 term, set 2: 26 questions for 106 marks in 180 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.

Questions
26
Marks
106
Duration
180 min
MCQ
12
MSQ
6
Written
8

Updated

Official paper: IIT M FOUNDATION DIPLOMA FN EXAM · No negative marking.

Question 1

+1 markOne correct option

THIS IS QUESTION PAPER FOR THE SUBJECT "FOUNDATION LEVEL : SEMESTER I: COMPUTATIONAL THINKING (COMPUTER BASED EXAM)" ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT? CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN. (IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)

  1. A

    YES

  2. B

    NO

Show answer

Correct answer

  • A

    YES

Question 2

+1 markOne correct option
Figure from the original question paper
  1. A

    Useful Data has been mentioned above.

  2. B

    This data attachment is just for a reference & not for an evaluation.

Show answer

Correct answer

  • A

    Useful Data has been mentioned above.

Question 3

+5 marksOne correct option
Figure from the original question paper
  1. A

    Number of pairs of students with different gender or same TownCity

  2. B

    Number of pairs of students with same gender or different TownCity

  3. C

    Number of pairs of students with the same gender and the same TownCity

  4. D

    The code will give an error due to incorrect return statements in lines 15 and18

Show answer

Correct answer

  • A

    Number of pairs of students with different gender or same TownCity

Question 4

+5 marksOne correct option
Figure from the original question paper
  1. A

    A dictionary with gender as key mapped to the Physics marks

  2. B

    A dictionary with gender as key mapped to the highest Physics marks scoredby that gender in city k

  3. C

    A dictionary with gender as key mapped to the lowest Physics marks scored bythat gender in city k

  4. D

    A dictionary with cities as keys mapped to the Physics marks

Show answer

Correct answer

  • C

    A dictionary with gender as key mapped to the lowest Physics marks scored bythat gender in city k

Question 5

+5 marksOne correct option
Figure from the original question paper
  1. A

    The difference between highest and lowest Mathematics marks of the city i

  2. B

    The difference between overall highest and lowest Mathematics marks of thedataset

  3. C

    The difference between highest and second highset Mathematics marks of thecity i

  4. D

    It will be always 0

Show answer

Correct answer

  • A

    The difference between highest and lowest Mathematics marks of the city i

Question 6

+4 marksOne correct option
Figure from the original question paper
  1. A
    Figure from the original question paper
  2. B
    Figure from the original question paper
  3. C
    Figure from the original question paper
  4. D
    Figure from the original question paper
Show answer

Correct answer

  • B
    Figure from the original question paper

Question 7

+6 marksOne correct option
Figure from the original question paper
  1. A

    Number of words in which vowels occur consecutively

  2. B

    Number of words in which no two vowels occur consecutively

  3. C

    Number of words in which either vowels or consonants occur consecutively

  4. D

    Number of words in which no two vowels and no two consonants occurconsecutively

Show answer

Correct answer

  • C

    Number of words in which either vowels or consonants occur consecutively

Question 8

+4 marksOne or more correct options
Figure from the original question paper

Select all that apply.

  1. A

    ['z', 'y']

  2. B

    ['y', 'x', 'z']

  3. C

    ['x', 'y']

  4. D

    ['z', 'x', 'y']

Show answer

Correct answers

  • B

    ['y', 'x', 'z']

  • D

    ['z', 'x', 'y']

Question 9

+5 marksOne or more correct options
Figure from the original question paper

Select all that apply.

  1. A
    Figure from the original question paper
  2. B
    Figure from the original question paper
  3. C
    Figure from the original question paper
  4. D
    Figure from the original question paper
Show answer

Correct answers

  • A
    Figure from the original question paper
  • C
    Figure from the original question paper

Question 10

+6 marksOne or more correct options
Figure from the original question paper

Select all that apply.

  1. A
    Figure from the original question paper
  2. B
    Figure from the original question paper
  3. C
    Figure from the original question paper
  4. D
    Figure from the original question paper
  5. E
    Figure from the original question paper
  6. F
    Figure from the original question paper
Show answer

Correct answers

  • B
    Figure from the original question paper
  • F
    Figure from the original question paper

Question 11

+6 marksOne or more correct options
Figure from the original question paper

Select all that apply.

  1. A
    Figure from the original question paper
  2. B
    Figure from the original question paper
  3. C
    Figure from the original question paper
  4. D
    Figure from the original question paper
Show answer

Correct answers

  • A
    Figure from the original question paper
  • B
    Figure from the original question paper
  • C
    Figure from the original question paper

Question 12

+6 marksOne or more correct options
Figure from the original question paper

Select all that apply.

  1. A
    Figure from the original question paper
  2. B
    Figure from the original question paper
  3. C
    Figure from the original question paper
  4. D
    Figure from the original question paper
  5. E
    Figure from the original question paper
  6. F
    Figure from the original question paper
Show answer

Correct answers

  • B
    Figure from the original question paper
  • E
    Figure from the original question paper

Question 13

+5 marksWritten answer
Figure from the original question paper
Show answer

A written answer, not marked automatically.

Question 14

+5 marksWritten answer
Figure from the original question paper
Show answer

A written answer, not marked automatically.

Question 15

+4 marksOne correct option

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.

When will procedure doSomething(X) return True?

  1. A

    X is a prime number

  2. B

    X is an even number

  3. C

    X is an odd number

  4. D

    X is more than 1

Show answer

Correct answer

  • A

    X is a prime number

Question 16

+5 marksOne correct option

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.
Figure from the original question paper
  1. A

    M = [13, 11]

  2. B

    M = [13, 23, 11]

  3. C

    M = [11, 23]

  4. D

    M = [13, 23]

Show answer

Correct answer

  • A

    M = [13, 11]

Question 17

+5 marksWritten answer

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.
Figure from the original question paper
Show answer

A written answer, not marked automatically.

Question 18

+4 marksWritten answer

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.
Figure from the original question paper
Show answer

A written answer, not marked automatically.

Question 19

+5 marksOne correct option

Based on above information, answer the given subquestions

Based on above information, answer the given subquestions
Figure from the original question paper
  1. A

    p = 0, q = 0

  2. B

    p = 1, q = 0

  3. C

    p = 0, q = 1

  4. D

    p = 1, q = 1

Show answer

Correct answer

  • B

    p = 1, q = 0

Question 20

+5 marksOne correct option

Based on above information, answer the given subquestions

Based on above information, answer the given subquestions
Figure from the original question paper
  1. A

    p = 0, q = 0

  2. B

    p = 1, q = 0

  3. C

    p = 0, q = 1

  4. D

    p = 1, q = 1

Show answer

Correct answer

  • D

    p = 1, q = 1

Question 21

+5 marksOne or more correct options

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.

Choose the correct option(s) with respect to the graph G.

Select all that apply.

  1. A
    Figure from the original question paper
  2. B
    Figure from the original question paper
  3. C
    Figure from the original question paper
  4. D
    Figure from the original question paper
Show answer

Correct answers

  • A
    Figure from the original question paper
  • C
    Figure from the original question paper

Question 22

+5 marksOne correct option

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.
Figure from the original question paper
  1. A

    If student i has scored greater total marks than at least one student

  2. B

    If student i has scored less total marks than at least one student

  3. C

    If student i has scored lowest total marks among all students

  4. D

    If student i has scored highest total marks among all students

Show answer

Correct answer

  • D

    If student i has scored highest total marks among all students

Question 23

+1 markWritten answer

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.
Show answer

A written answer, not marked automatically.

Question 24

+1 markWritten answer

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.
Show answer

A written answer, not marked automatically.

Question 25

+1 markWritten answer

Based on above information, answer the given subquestions

Based on above information, answer the given subquestions
Show answer

A written answer, not marked automatically.

Question 26

+1 markWritten answer

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.
Show answer

A written answer, not marked automatically.