Quiz Space

January 2025 term · Computational Thinking · BSCS1001

Computational Thinking (CT) Quiz 2: 16 March 2025, Set 8 (January 2025 term)

The IIT Madras BS Computational Thinking (Computational Thinking (CT)) Quiz 2 paper sat on 16 Mar 2025, in the January 2025 term, set 8: 17 questions for 55 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
17
Marks
55
Duration
120 min
MCQ
10
MSQ
4
Written
3

Updated

Official paper: IIT M IMPROVEMENT AN EXAM QIM4 16 Mar · 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

+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 4

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

    [3, 2, 6, 7, 8]

  2. B

    [3, 8, 7, 6, 2]

  3. C

    [2, 6, 7, 8, 3]

  4. D

    [2, 3, 6, 7, 8]

Show answer

Correct answer

  • B

    [3, 8, 7, 6, 2]

Question 5

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

    {3: 4, 5: 3, 7: 1, 8: 3, 9: 1}

  2. B

    {3: 3, 5: 4, 7: 1, 8: 2, 9: 2}

  3. C

    {3: 4, 5: 3, 7: 1, 8: 2, 9: 1}

  4. D

    {3: 4, 5: 3, 7: 2, 8: 3, 9: 1}

Show answer

Correct answer

  • A

    {3: 4, 5: 3, 7: 1, 8: 3, 9: 1}

Question 6

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

Select all that apply.

  1. A

    A represents the card numbers of students with a total score greater than 200.

  2. B

    Length(B) >= Length(A) will always be true.

  3. C

    B represents the card numbers of all students from Chennai in the dataset.

  4. D

    Length(A) >= Length(B) will always be true.

Show answer

Correct answers

  • A

    A represents the card numbers of students with a total score greater than 200.

  • D

    Length(A) >= Length(B) will always be true.

Question 7

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

Select all that apply.

  1. A

    Y.Word = "complexity"

  2. B

    Y.Word = "science"

  3. C

    Y.Word = "building"

  4. D

    Y.Word = "study"

Show answer

Correct answers

  • A

    Y.Word = "complexity"

  • C

    Y.Word = "building"

Question 8

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

Select all that apply.

  1. A

    Error in Line 1

  2. B

    Error in Line 10

  3. C

    Error in Line 13

  4. D

    Error in Line 14

Show answer

Correct answers

  • B

    Error in Line 10

  • D

    Error in Line 14

Question 9

+3 marksOne correct option

Let M, P, and C be a list of sequence numbers of students who have scored more than the average marks in Mathematics, Physics and Chemistry respectively using the "Scores" dataset.

Let M, P, and C be a list of sequence numbers of students who have scored more than the average marks in Mathematics, Physics and Chemistry respectively using the "Scores" dataset. Answer the given subquestions.

Let M, P, and C be a list of sequence numbers of students who have scored more than the average marks in Mathematics, Ph

If seqDict[n] == 0 is a True statement, then choose the correct option regarding the student with sequence number n.

  1. A

    The student has scored more than the average marks in any one of the threesubjects.

  2. B

    The student has not scored more than the average marks in any subject.

  3. C

    The student might have scored more than the average marks either in Physicsor in Chemistry

  4. D

    The student has scored more than the average marks in Mathematics only

Show answer

Correct answer

  • D

    The student has scored more than the average marks in Mathematics only

Question 10

+4 marksOne or more correct options

Let M, P, and C be a list of sequence numbers of students who have scored more than the average marks in Mathematics, Physics and Chemistry respectively using the "Scores" dataset.

Let M, P, and C be a list of sequence numbers of students who have scored more than the average marks in Mathematics, Physics and Chemistry respectively using the "Scores" dataset. Answer the given subquestions.

Let M, P, and C be a list of sequence numbers of students who have scored more than the average marks in Mathematics, Ph

If seqDict[n] == 1 is a True statement, then choose the correct option(s) regarding the student with sequence number n. It is a Multiple Select Question (MSQ).

Select all that apply.

  1. A

    The student has scored more than the average marks in Physics andChemistry but not in Mathematics .

  2. B

    The student has scored more than the average marks in Mathematics andmight have scored more than the average marks in Physics but not in Chemistry.

  3. C

    The student has scored more than the average marks in Mathematics andmight have scored more than the average marks in Chemistry but not in Physics.

  4. D

    The student has scored more than average marks in any two of three subjects.

Show answer

Correct answers

  • B

    The student has scored more than the average marks in Mathematics andmight have scored more than the average marks in Physics but not in Chemistry.

  • C

    The student has scored more than the average marks in Mathematics andmight have scored more than the average marks in Chemistry but not in Physics.

Question 11

+4 marksOne correct option

The following pseudocode is executed using the "Words" dataset.

The following pseudocode is executed using the "Words" dataset. Based on the above data, answer the given subquestions.

The following pseudocode is executed using the "Words" dataset.

What will B represent at the end of the execution?

  1. A

    Maximum number of nouns in a sentence across all sentences.

  2. B

    Total number of nouns across all sentences.

  3. C

    Minimum number of nouns in a sentence across all sentences.

  4. D

    Number of sentences having maximum number of nouns.

Show answer

Correct answer

  • A

    Maximum number of nouns in a sentence across all sentences.

Question 12

+4 marksOne correct option

The following pseudocode is executed using the "Words" dataset.

The following pseudocode is executed using the "Words" dataset. Based on the above data, answer the given subquestions.

The following pseudocode is executed using the "Words" dataset.

What will length(sList) represent at the end of the execution?

  1. A

    Total number of words in the "Words" dataset.

  2. B

    Total number of sentences in the "Words" dataset.

  3. C

    Total number of words with the same part of speech in the "Words" dataset.

  4. D

    Total number of words with different parts of speech in the "Words" dataset.

Show answer

Correct answer

  • B

    Total number of sentences in the "Words" dataset.

Question 13

+5 marksOne correct option

Consider the following pseudocodes executed on the "Words" dataset and answer the given subquestions

Consider the following pseudocodes executed on the "Words" dataset and answer the given subquestions

Consider the following pseudocodes executed on the "Words" dataset and answer the given subquestions

Which of the following statements is/are correct?

  1. A

    In Pseudocode 2, count represents the number of sentences containing atleast 10 consonants.

  2. B

    In Pseudocode 1, count represents the number of sentences containing atleast 10 consonants.

  3. C

    In Pseudocode 1, count represents the number of sentences containing atleast 10 distinct consonants.

  4. D

    In Pseudocode 2, count represents the number of sentences containing atleast 10 distinct consonants.

Show answer

Correct answer

  • C

    In Pseudocode 1, count represents the number of sentences containing atleast 10 distinct consonants.

Question 14

+5 marksOne correct option

Consider the following pseudocodes executed on the "Words" dataset and answer the given subquestions

Consider the following pseudocodes executed on the "Words" dataset and answer the given subquestions

Consider the following pseudocodes executed on the "Words" dataset and answer the given subquestions

Which of the following statements is/are correct ?

  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 15

+1 markWritten answer

Let M, P, and C be a list of sequence numbers of students who have scored more than the average marks in Mathematics, Physics and Chemistry respectively using the "Scores" dataset.

Let M, P, and C be a list of sequence numbers of students who have scored more than the average marks in Mathematics, Physics and Chemistry respectively using the "Scores" dataset. Answer the given subquestions.

Let M, P, and C be a list of sequence numbers of students who have scored more than the average marks in Mathematics, Ph
Show answer

A written answer, not marked automatically.

Question 16

+1 markWritten answer

The following pseudocode is executed using the "Words" dataset.

The following pseudocode is executed using the "Words" dataset. Based on the above data, answer the given subquestions.

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

A written answer, not marked automatically.

Question 17

+1 markWritten answer

Consider the following pseudocodes executed on the "Words" dataset and answer the given subquestions

Consider the following pseudocodes executed on the "Words" dataset and answer the given subquestions

Consider the following pseudocodes executed on the "Words" dataset and answer the given subquestions
Show answer

A written answer, not marked automatically.