CNN and NLP Quiz - Part A

Quiz
•
Other
•
University
•
Medium
Sayan De
Used 2+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of a convolutional layer in a CNN?
To perform matrix multiplication
To reduce the dimensions of the input
To detect patterns in the input data
To perform data normalization
Answer explanation
The primary purpose of a convolutional layer in a CNN is to detect patterns in the input data. It achieves this by applying filters that capture spatial hierarchies, enabling the model to recognize features like edges and textures.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given an input image of size 64∗64∗3, kernel size of 5∗5, stride of 2, and no padding, what is the output size?
30∗30∗3
30∗30∗1
32∗32∗1
32∗32∗3
Answer explanation
To calculate the output size, use the formula: \( O = \frac{(W - K + 2P)}{S} + 1 \). Here, W=64, K=5, P=0, S=2. Thus, \( O = \frac{(64 - 5 + 0)}{2} + 1 = 30 \). The depth remains 3, so the output size is 30∗30∗3.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of the feature map produced when applying a 3∗3 filter to an input of size 28∗28∗3 with stride 1 and padding 1?
28∗28∗3
28∗28∗1
30∗30∗3
30∗30∗1
Answer explanation
With a 3x3 filter, stride 1, and padding 1, the output size remains the same as the input size. Therefore, the feature map produced is 28x28x3, matching the input dimensions.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For a convolutional layer with 32 filters, a 5∗5 kernel, and an input depth of 3, how many trainable parameters are there?
480
800
2400
400
Answer explanation
To calculate the trainable parameters: each filter has a size of 5*5*3 (kernel width * kernel height * input depth) plus 1 bias term. Thus, for 32 filters: (5*5*3 + 1) * 32 = 800. Therefore, the correct answer is 800.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Max pooling with a 2∗2 filter, stride 2, and no padding is applied to an image of size 10∗10∗3. What is the output size?
5∗5∗3
5∗5∗1
8∗8∗3
4∗4∗3
Answer explanation
Max pooling with a 2x2 filter and stride 2 reduces each dimension by half. For a 10x10 input, the output size becomes (10/2, 10/2) = 5x5. The depth remains the same at 3, resulting in an output size of 5x5x3.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the number of filters in a CNN layer is increased, which of the following happens?
The feature map depth decreases
The feature map depth increases
The spatial dimensions of the output reduce
The input size increases
Answer explanation
Increasing the number of filters in a CNN layer results in a greater number of feature maps, which directly increases the feature map depth. Thus, the correct answer is that the feature map depth increases.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given two vectors A=[1,2,3] and B=[4,5,6], what is the cosine similarity between them?
0.974
0.992
1.0
0.5
Answer explanation
Cosine similarity is calculated as (A·B) / (||A|| ||B||). Here, A·B = 1*4 + 2*5 + 3*6 = 32, ||A|| = sqrt(14), ||B|| = sqrt(77). Thus, cosine similarity = 32 / (sqrt(14) * sqrt(77)) ≈ 0.974, which is the correct answer.
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
MRK 317 Practice Test Week 12

Quiz
•
University
30 questions
CSE Quiz DC3

Quiz
•
University
31 questions
Chapter 17-18

Quiz
•
University
25 questions
UNIT - 1 A Compiler Concepts Quiz

Quiz
•
University
25 questions
Security Analyst

Quiz
•
University
25 questions
CRI 200 - BSCRIM3-03

Quiz
•
University
26 questions
Flexibility Training

Quiz
•
University
25 questions
UNIT - 4 B Compiler Optimization Quiz

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University