- Executors
-
Learn
Learn Python Runnable examples, NumPy, pandas, and more Learn AI / Machine LearningNeural networks, ML and LLMs from scratch Learn C & C++ Pointers, memory, STL, and modern C++ Learn C#C# basics, OOP, LINQ, async, and .NET exercises Learn MatplotlibLine, bar, scatter and pie charts with live visualizers Learn RustOwnership, traits, error handling, and threads Learn GoSlices, interfaces, goroutines, and channels Python Algorithms Search, sorting, recursion, and visualizers O(n) C & C++ Algorithms Compare algorithms implemented in C and C++ Coding for Kids Learn to code by playing!
- QuizzesNew
- ChallengesNew
- For TeachersNew
- Updates
- Buy me a coffee
AI & Machine Learning Convolutional Neural Networks (CNNs) Quiz
This quiz is about convolutional neural networks, the models behind most computer vision. You will calculate output shapes with the size formula, count a conv layer's parameters and explain why CNNs beat dense layers on images.
Sample question
Question 1 of 10A 32x32 single-channel image goes through a 3x3 convolution with stride 1 and no padding. What is the output size?
Show the answer
A. 30x30 (W - K + 2P) / S + 1 = (32 - 3 + 0) / 1 + 1 = 30. A 3x3 kernel cannot be centered on the border pixels without padding, so one pixel is lost on each side.
What this quiz covers
- Output size = floor((W - K + 2P) / S) + 1
- Parameter counts of a conv layer
- Max pooling, padding and stride
- Weight sharing and receptive fields
- What 1x1 convolutions are for
Questions people ask
Do I need an account?
No. Anyone can play. Sign in to keep your XP, streak, badges and history.
Can I retake it?
Yes. Your best score is kept, and the questions and answers are shuffled each time.