Quiz Space

Deep Learning and GenAI Quiz 1: 26 October 2025 (September 2025 term)

Question 1

+2 marksOne correct option
  1. A

    torch.tensor([1, 4, 7])

  2. B

    torch.tensor([2, 5, 8])

  3. C

    torch.tensor([3, 6, 9])

  4. D

    torch.tensor([4, 5, 6])

  5. E

    torch.tensor([5])

Question 2

+2 marksOne correct option

You have a tensor x = torch.tensor([1, 2, 3, 4]) with shape (4,). You perform the following operations:

python
stacked_x = torch.stack([x, x, x], dim=0)
stacked_y = torch.stack([x, x, x], dim=1)

What are the shapes of stacked_x and stacked_y respectively?

  1. A

    (3, 4) and (3, 4)

  2. B

    (3, 4) and (4, 3)

  3. C

    (4, 3) and (4, 3)

  4. D

    (4, 3) and (3, 4)

Question 3

+2 marksOne correct option
  1. A

    (1, 2, 2)

  2. B

    (2, 2)

  3. C

    (2,)

  4. D

    (1, 1, 2, 2)

  5. E

    (1, 2, 2, 1)

17 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 Deep Learning and GenAI Quiz 1 26 Oct 2025 paper

The IIT Madras BS Introduction to Deep Learning and Generative AI (Deep Learning and GenAI) Quiz 1 paper sat on 26 Oct 2025, in the September 2025 term: 20 questions for 50 marks in 120 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.

FeatureDeep Learning and GenAI Quiz 1 26 Oct 2025 at a glance
TermSeptember 2025 term
SubjectIntroduction to Deep Learning and Generative AI
Course codeBSDA2001
Questions20
Marks50
Duration120 min
MCQ10
Numerical10
Official paperIIT M DIPLOMA AN EXAM QDD2 26 Oct 2025
Negative markingNo negative marking.
Updated

Same Quiz 1, other subjects

More Deep Learning and GenAI