Quiz Space

Intro to Big Data End Term: 22 December 2024, Set QDB3 (September 2024 term)

Question 1

+5 marksOne correct option

Consider the following code snippets for loading and modifying VGGNet-16 and VGGNet-19 architectures for a classification task with 10 classes:

python
import torch
import torch.nn as nn
from torchvision.models import vgg16, vgg19
# Block A: VGGNet-16 with modified classification head
class VGG16Modified(nn.Module):
def __init__(self, num_classes=10):
super(VGG16Modified, self).__init__()
self.vgg16 = vgg16(pretrained=True)
self.vgg16.classifier[6] = nn.Linear(4096, num_classes)
def forward(self, x):
return self.vgg16(x)
model_a = VGG16Modified()
# Block B: VGGNet-19 with modified classification head
class VGG19Modified(nn.Module):
def __init__(self, num_classes=10):
super(VGG19Modified, self).__init__()
self.vgg19 = vgg19(pretrained=True)
self.vgg19.classifier[6] = nn.Linear(4096, num_classes)
def forward(self, x):
return self.vgg19(x)
model_b = VGG19Modified()
# Block C: Loading VGGNet-16 and freezing feature extraction layers
vgg16_model = vgg16(pretrained=True)
for param in vgg16_model.features.parameters():
param.requires_grad = False
vgg16_model.classifier[6] = nn.Linear(4096, 10)
# Block D: VGGNet-19 with feature extraction layers unfrozen
vgg19_model = vgg19(pretrained=True)
vgg19_model.classifier[6] = nn.Linear(4096, 10)

Which of the following statements are true about the provided blocks?

(a) Block A uses VGGNet-16 and modifies the classification head to support 10 classes.
(b) Block B and Block C both use VGGNet-19 but differ in how feature extraction layers are handled.
(c) Block C freezes the feature extraction layers in VGGNet-16 for transfer learning.
(d) Block D unfreezes feature extraction layers in VGGNet-19, making it trainable end-to-end.

Select the correct options:

  1. A

    (a) and (c)

  2. B

    (b) and (d)

  3. C

    (a), (c), and (d)

  4. D

    All of these

Also asked in End Term 22 Dec 2024

Question 2

+5 marksOne correct option
  1. A

    LeNet

  2. B

    ResNet

  3. C

    AlexNet

  4. D

    VGG16

  5. E

    None

Question 3

+5 marksOne correct option

Suppose I have an image of size 227×227. Which of the following code snippets correctly implements a Min Pooling operation with a window size of 2 × 2, stride of 2, and padding of 1 in PyTorch?

  1. A
  2. B
  3. C
  4. D

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 Intro to Big Data End Term 22 Dec 2024 Set QDB3 paper

The IIT Madras BS Introduction to Big Data (Intro to Big Data) End Term paper sat on 22 Dec 2024, in the September 2024 term, set QDB3: 20 questions for 50 marks in 180 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.

FeatureIntro to Big Data End Term 22 Dec 2024 Set QDB3 at a glance
TermSeptember 2024 term
SubjectIntroduction to Big Data
Course codeBSDA5001
Questions20
Marks50
Duration180 min
MCQ19
MSQ1
Official paperIIT M DEGREE AN EXAM QDB4 22 Dec 2024
Negative markingNo negative marking.
Updated

Other sets that day

Same End Term, other subjects

More Intro to Big Data