Quiz Space

September 2023 term · Computational Thinking · BSCS1001

Computational Thinking (CT) End Term: 24 December 2023, Set 4 (September 2023 term)

The IIT Madras BS Computational Thinking (Computational Thinking (CT)) End Term paper sat on 24 Dec 2023, in the September 2023 term, set 4: 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
17
MSQ
5
Written
4

Updated

Official paper: IIT M FOUNDATION AN EXAM ADF3 24 Dec 2023 · 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
Figure from the original question paper
  1. A

    (i) - r, (ii) - p, (iii) - q

  2. B

    (i) - q, (ii) - r, (iii) - p

  3. C

    (i) - q, (ii) - p, (iii) - r

  4. D

    (i) - p, (ii) - r, (iii) - q

Show answer

Correct answer

  • B

    (i) - q, (ii) - r, (iii) - p

Question 4

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

    Number of nouns which have at least one verb adjacent to it

  2. B

    Number of verbs which have at least one noun adjacent to it

  3. C

    Number of nouns which are surrounded by verbs

  4. D

    Number of verbs which are surrounded by nouns

Show answer

Correct answer

  • A

    Number of nouns which have at least one verb adjacent to it

Question 5

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

  • D
    Figure from the original question paper

Question 6

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

    1

  2. B

    3

  3. C

    12

  4. D

    15

Show answer

Correct answer

  • B

    3

Question 7

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

    List of stations through which maximum number of trains pass

  2. B

    List of stations through which minimum number of trains pass

  3. C

    List of trains that pass through the maximum number of stations

  4. D

    List of trains that pass through the minimum number of stations

Show answer

Correct answer

  • A

    List of stations through which maximum number of trains pass

Question 8

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

    Letter count of the longest verb in the fourth sentence

  2. B

    Letter count of the longest verb in the fifth sentence

  3. C

    Letter count of the longest verb in the first four sentences

  4. D

    Letter count of the longest verb in the first five sentences

Show answer

Correct answer

  • D

    Letter count of the longest verb in the first five sentences

Question 9

+4 marksOne correct option

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.

What will A represent at the end of the execution?

  1. A

    Number of students who have scored less than 90 marks in Physics

  2. B

    Number of female students who have scored more than 90 marks in Physics

  3. C

    Number of female students who have not scored more than 90 marks inPhysics

  4. D

    Number of male students who have not scored more than 90 marks in Physics

Show answer

Correct answer

  • C

    Number of female students who have not scored more than 90 marks inPhysics

Question 10

+4 marksOne correct option

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.

What will B represent at the end of the execution?

  1. A

    Total Number of male students

  2. B

    Number of male students who have scored not more than 90 marks in Physics

  3. C

    Number of male students who have scored more than 90 marks in Physics

  4. D

    It will be zero.

Show answer

Correct answer

  • D

    It will be zero.

Question 11

+4 marksOne correct option

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.

What will N represent at the end of the execution?

  1. A

    Maximum number of bills issued to a single customer

  2. B

    Maximum number of bills issued to a single customer from the same shop

  3. C

    Maximum number of customers who purchased items from the same shop

  4. D

    Minimum number of customers who purchased items from the same shop

Show answer

Correct answer

  • A

    Maximum number of bills issued to a single customer

Question 12

+4 marksOne correct option

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.

What will count represent at the end of the execution?

  1. A

    Number of customers

  2. B

    Total number of bills

  3. C

    Number of customers who have a maximum number of bills

  4. D

    Number of customers who have a minimum number of bills

Show answer

Correct answer

  • A

    Number of customers

Question 13

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

For each pair of vertices i and j with i != j, choose the correct statement about M[i][j].

Select all that apply.

  1. A

    M[i][j] is a list of subjects in which i scores more than j

  2. B

    M[i][j] is a list of subjects in which i does not score less than j

  3. C

    M[j][i] is a list of subjects in which i scores less than j

  4. D

    M[j][i] is a list of subjects in which i does not score more than j

Show answer

Correct answers

  • A

    M[i][j] is a list of subjects in which i scores more than j

  • C

    M[j][i] is a list of subjects in which i scores less than j

Question 14

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

Which of the following statement(s) is/are correct ? Note: Assume that no two students have scored the same maximum marks.

Select all that apply.

  1. A

    If student i has scored the minimum marks in subject S then S will not appearin M[i][j] for any j.

  2. B

    If student i has scored the minimum marks in subject S then S will appear inM[i][j] for any i.

  3. C

    If student i has scored the maximum marks in subject S then S will appear inM[i][j] for any j.

  4. D

    If student i has scored the maximum marks in subject S then S will not appearin M[i][j] for any j.

Show answer

Correct answers

  • A

    If student i has scored the minimum marks in subject S then S will not appearin M[i][j] for any j.

  • C

    If student i has scored the maximum marks in subject S then S will appear inM[i][j] for any j.

Question 15

+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

    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

  • C

    p = 0, q = 1

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

    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 17

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

Question 18

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

    List of customers who purchased an item other than what both customers xand y purchased.

  2. B

    List of customers who purchased exactly the same item(s), which waspurchased by either customer x or customer y

  3. C

    List of customers who bought at least one item in common with both customerx and customer y

  4. D

    List of customers who purchased at least one item, which was purchased byeither customer x or customer y

Show answer

Correct answer

  • C

    List of customers who bought at least one item in common with both customerx and customer y

Question 19

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

    L = [4, 2, 1, 0, 3, 5]

  2. B

    L = [4, 2, 0, 1, 3, 5]

  3. C

    L = [4, 3, 2, 1, 0, 5]

  4. D

    L = [4, 3, 0, 1, 2, 5]

Show answer

Correct answer

  • B

    L = [4, 2, 0, 1, 3, 5]

Question 20

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

    Statement I: D[a.Category][a.ItemName] = [a.Price]Statement II: D[a.Category][a.ItemName] = [a.Price]

  2. B

    Statement I: D[a.Category][a.ItemName] = [a.Price]Statement II: D[a.Category][a.ItemName] = D[a.Category][a.ItemName] ++ [a.Price]

  3. C

    Statement I: D[a.Category][a.ItemName] = D[a.Category][a.ItemName] ++[a.Price]Statement II: D[a.Category][a.ItemName] = [a.Price]

  4. D

    Statement I: D[a.Category][a.ItemName] = D[a.Category][a.ItemName] ++ [a.Price]Statement II: D[a.Category][a.ItemName] = D[a.Category][a.ItemName] ++ [a.Price]

Show answer

Correct answer

  • A

    Statement I: D[a.Category][a.ItemName] = [a.Price]Statement II: D[a.Category][a.ItemName] = [a.Price]

Question 21

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

Question 22

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

Select all that apply.

  1. A

    Line 1: Incorrect initialization of D

  2. B

    Line 8: Incorrect conditional expression

  3. C

    Line 9: A updated with wrong value

  4. D

    Line 13: Incorrect initialization of i

  5. E

    Line 16: Conditional expression should not use the "not" operator

  6. F

    Line 22: i updated at wrong place

Show answer

Correct answers

  • B

    Line 8: Incorrect conditional expression

  • E

    Line 16: Conditional expression should not use the "not" operator

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
Figure from the original question paper
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.