Quiz Space

May 2025 term · Computational Thinking · BSCS1001

Computational Thinking Quiz 1: 13 July 2025, Set 5 (May 2025 term)

The IIT Madras BS Computational Thinking (Computational Thinking (CT)) Quiz 1 paper sat on 13 Jul 2025, in the May 2025 term, set 5: 14 questions for 52 marks in 120 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.

Questions
14
Marks
52
Duration
120 min
MCQ
9
MSQ
3
Written
2

Updated

Official paper: IIT M IMPROVEMENT AN EXAM QIP4 13 July · No negative marking.

Question 1

+1 markOne correct option

THIS IS QUESTION PAPER FOR THE SUBJECT "FOUNDATION LEVEL : 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
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

Consider the flowchart shown below:

Consider the flowchart shown below: Which of the following pseudocode is correct for the given flowchart?

Consider the flowchart shown below:
  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

  • C
    Figure from the original question paper

Question 4

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

    The number of sentences in which at least one word has the highest vowel-to-letter ratio.

  2. B

    The number of sentences in which the last word has the lowest vowel-to-letterratio.

  3. C

    The number of sentences that contain exactly one word with a vowel-to-letterratio equal to the minimum ratio found in the entire dataset.

  4. D

    The number of sentences that end with a word whose vowel-to-letter ratioequals the minimum ratio found in the dataset.

Show answer

Correct answer

  • D

    The number of sentences that end with a word whose vowel-to-letter ratioequals the minimum ratio found in the dataset.

Question 5

+4 marksOne correct option

Consider the "Scores" dataset. The procedure AvgMarks(gen) computes the average Chemistry marks of all students who belong to the gender gen.
Which of the following is the correct implementation of the procedure AvgMarks(gen)?

  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 6

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

    count represents the number of words starting with 'mo' in the first sentenceof the dataset.

  2. B

    count represents the number of words starting with 'mo' in the entire dataset.

  3. C

    count represents the number of sentences in which the first word starts with'mo'.

  4. D

    count represents the number of sentences in which the first word starts with'mo', except the first sentence of the dataset.

Show answer

Correct answer

  • D

    count represents the number of sentences in which the first word starts with'mo', except the first sentence of the dataset.

Question 7

+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

  • C
    Figure from the original question paper

Question 8

+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

  • A
    Figure from the original question paper

Question 9

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

Select all that apply.

  1. A

    A represents number of male students whose total marks are greater than250.

  2. B

    A represents number of students whose total marks are greater than 250.

  3. C

    B represents number of male students whose total marks are less than 200.

  4. D

    The value of B will always be 0.

Show answer

Correct answers

  • A

    A represents number of male students whose total marks are greater than250.

  • D

    The value of B will always be 0.

Question 10

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

    Line 1: Incorrect initialization of count

  2. B

    Line 9: Incorrect assignment of Flag

  3. C

    Line 16: Incorrect conditional statement

  4. D

    No error

Show answer

Correct answer

  • B

    Line 9: Incorrect assignment of Flag

Question 11

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

Select all that apply.

  1. A

    silver_count will equal the number of silver medals that were awarded whenthe host country was not the USA.

  2. B

    If gender_check is equal to silver_count, then all silver medal winners inevents not hosted by the USA were male.

  3. C

    silver_count counts the total number of silver medals won by athletes who donot belong to the USA.

  4. D

    silver_count counts the total number of silver medals won by male athletes inevents hosted in the USA.

Show answer

Correct answers

  • A

    silver_count will equal the number of silver medals that were awarded whenthe host country was not the USA.

  • B

    If gender_check is equal to silver_count, then all silver medal winners inevents not hosted by the USA were male.

Question 12

+4 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
  • D
    Figure from the original question paper

Question 13

+4 marksWritten answer

The following pseudocode is executed using the “Words” dataset.

The following pseudocode is executed using the “Words” dataset.

The following pseudocode is executed using the “Words” dataset.
Show answer

A written answer, not marked automatically.

Question 14

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

A written answer, not marked automatically.