1. Home
  2. Explore
  3. Computer Science
  4. Deep Learning for Self-Driving Cars

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Deep Learning for Self-Driving Cars

  • 81Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Foundations

What is the central goal of deep learning?

81 questions

  1. 1

    What is the central goal of deep learning?

    1. A

      To extract useful patterns from data with as little human effort as possible

    2. B

      To explain biological intelligence without using computational models

    3. C

      To guarantee that every prediction is correct without supervision

    4. D

      To replace all data collection with manually written rules

    Correct answer
    A

    To extract useful patterns from data with as little human effort as possible

    Explanation

    Deep learning seeks to automate the extraction of useful patterns and representations from data, minimizing the amount of human effort required.

  2. 2

    What is identified as one of the hardest parts of applying machine learning to real-world problems?

    1. A

      Replacing all optimization methods with manually selected features

    2. B

      Choosing meaningful questions and obtaining, organizing, and labeling useful data

    3. C

      Using the largest possible neural network regardless of the problem

    4. D

      Increasing the number of programming languages used in a project

    Correct answer
    B

    Choosing meaningful questions and obtaining, organizing, and labeling useful data

    Explanation

    The difficult part is often asking the right questions and collecting, organizing, selecting, and labeling data that can reveal answers to those questions.

  3. 3

    Why does applying a successful machine-learning methodology to a real-world problem require more than knowing the methodology?

    1. A

      The methodology eliminates the need to understand the meaning of predictions

    2. B

      The methodology works only when no labels or measurements are available

    3. C

      The methodology automatically determines which problem society should solve

    4. D

      The methodology must be matched to appropriate questions and real-world data

    Correct answer
    D

    The methodology must be matched to appropriate questions and real-world data

    Explanation

    Real-world application requires appropriate questions, relevant data, and careful organization and labeling; knowing the method alone is insufficient.

  4. 4

    What does optimization do in a neural network?

    1. A

      It adjusts learned parameters to reduce the model's error

    2. B

      It guarantees that the training data represent the real world

    3. C

      It removes all hidden layers before training begins

    4. D

      It converts every categorical target into a continuous target

    Correct answer
    A

    It adjusts learned parameters to reduce the model's error

    Explanation

    Neural-network optimization adjusts parameters such as weights and biases in response to error so that predictions improve.

  5. 5

    Why are higher levels of abstraction useful in deep learning?

    1. A

      They can transform complex raw patterns into representations that are easier to classify or analyze

    2. B

      They replace all numerical computation with symbolic reasoning

    3. C

      They ensure that the original raw data are never altered during computation

    4. D

      They make every problem independent of the quality of its training data

    Correct answer
    A

    They can transform complex raw patterns into representations that are easier to classify or analyze

    Explanation

    A useful representation can make a difficult problem—such as classification or generation—much simpler to perform.

  6. 6

    What is meant by the statement that deep learning attempts to map the topology of a problem?

    1. A

      It assigns every input to the same location in a fixed coordinate system

    2. B

      It removes all relationships among examples before classification

    3. C

      It learns a representation in which the structure of the problem becomes easier to work with

    4. D

      It converts every image into a physical three-dimensional object

    Correct answer
    C

    It learns a representation in which the structure of the problem becomes easier to work with

    Explanation

    Deep learning aims to form representations that preserve and reorganize the structure of raw inputs so the final representation is easier to classify, regress on, or generate from.

  7. 7

    Why is representation learning described as a form of compression progress?

    1. A

      It reduces every dataset by deleting all examples that are difficult to classify

    2. B

      It seeks simpler representations that retain the important structure of complex ideas or data

    3. C

      It replaces models with compressed text descriptions written by experts

    4. D

      It stores data using fewer computer files without changing the learning problem

    Correct answer
    B

    It seeks simpler representations that retain the important structure of complex ideas or data

    Explanation

    The lecture connects scientific and artificial-intelligence progress with forming increasingly simple representations of complex phenomena.

  8. 8

    Which development helped make the recent expansion of deep learning possible?

    1. A

      The disappearance of all machine-learning research before the 2000s

    2. B

      The digitization and widespread accessibility of information and data

    3. C

      The replacement of computers by entirely biological systems

    4. D

      The elimination of the need for large-scale computation

    Correct answer
    B

    The digitization and widespread accessibility of information and data

    Explanation

    More information and problems acquired digital forms that learning algorithms could access and process.

  9. 9

    How did advances in hardware contribute to deep learning?

    1. A

      They enabled efficient large-scale execution of neural-network algorithms

    2. B

      They restricted computation to small central-processing-unit programs

    3. C

      They eliminated the need to optimize neural-network parameters

    4. D

      They made neural networks independent of training data

    Correct answer
    A

    They enabled efficient large-scale execution of neural-network algorithms

    Explanation

    CPU, GPU, and specialized ASIC advances, including TPUs, made large-scale neural-network computation more efficient.

  10. 10

    What role did the machine-learning community play in deep learning's growth?

    1. A

      It replaced empirical experiments with one universally accepted theory

    2. B

      It prevented researchers from sharing code and experimental results

    3. C

      It limited deep-learning development to a single laboratory

    4. D

      It enabled researchers worldwide to collaborate, share ideas, and accelerate progress

    Correct answer
    D

    It enabled researchers worldwide to collaborate, share ideas, and accelerate progress

    Explanation

    Worldwide collaboration and communication, supported by communities and code-sharing platforms, helped fuel progress.

  11. 11

    What is the main effect of higher-level tooling and APIs?

    1. A

      They require users to implement every mathematical operation from scratch

    2. B

      They make data quality irrelevant to the final result

    3. C

      They prevent models from being deployed outside research laboratories

    4. D

      They allow people to move from an idea to a working solution with less effort and specialized knowledge

    Correct answer
    D

    They allow people to move from an idea to a working solution with less effort and specialized knowledge

    Explanation

    Higher levels of abstraction make powerful methods more accessible and reduce the time and knowledge needed to implement them.

  12. 12

    What is TensorFlow?

    1. A

      A theoretical model of biological synaptic learning

    2. B

      An open-source deep-learning library and ecosystem developed by Google

    3. C

      A labeled image dataset used exclusively for handwritten digits

    4. D

      A hardware-only processor that cannot run software libraries

    Correct answer
    B

    An open-source deep-learning library and ecosystem developed by Google

    Explanation

    TensorFlow is described as an open-source deep-learning library from Google with a broad ecosystem of tools and APIs.

  13. 13

    Which pairing correctly matches a TensorFlow tool with its use?

    1. A

      TensorBoard—performing handwritten-digit labeling

    2. B

      Google Colab—visualizing learned embeddings exclusively

    3. C

      TensorFlow.js—controlling only specialized TPUs

    4. D

      TensorFlow Lite—running models on phones

    Correct answer
    D

    TensorFlow Lite—running models on phones

    Explanation

    TensorFlow Lite supports deployment on phones, while TensorFlow.js supports browser execution, Colab supports cloud execution, and TensorBoard supports visualization.

  14. 14

    What is the purpose of Google Colab in the described ecosystem?

    1. A

      It converts a trained model into a biological neural network

    2. B

      It allows code to run in the cloud without setting up all computing hardware locally

    3. C

      It labels every training example without human input

    4. D

      It provides only a replacement for convolutional layers

    Correct answer
    B

    It allows code to run in the cloud without setting up all computing hardware locally

    Explanation

    Google Colab provides cloud-based execution, reducing the need to configure local hardware and libraries.

  15. 15

    Which sequence correctly describes the basic workflow for training a handwritten-digit classifier?

    1. A

      Deploy the network, label test data, remove the output layer, and then load MNIST

    2. B

      Load test data, optimize hardware, generate images, and avoid evaluating the model

    3. C

      Import the library, load MNIST, build the network, train, evaluate, and deploy

    4. D

      Build a GAN, discard the labels, classify pixels, and then import the library

    Correct answer
    C

    Import the library, load MNIST, build the network, train, evaluate, and deploy

    Explanation

    The six-step example consists of importing TensorFlow, importing MNIST, stacking network layers, fitting the model, evaluating it, and deploying it for prediction.

  16. 16

    What changed in the historical development of neural networks around 2006?

    1. A

      ImageNet was created and immediately replaced all other datasets

    2. B

      The perceptron was replaced by the first convolutional neural network

    3. C

      Generative adversarial networks were introduced for the first time

    4. D

      Neural networks were reintroduced under the deep-learning label, including work on Deep Belief Nets

    Correct answer
    D

    Neural networks were reintroduced under the deep-learning label, including work on Deep Belief Nets

    Explanation

    The content identifies 2006 with the rebranding and rebirth of neural networks under deep learning and Deep Belief Nets.

  17. 17

    Why was AlexNet's performance on ImageNet historically important?

    1. A

      It introduced recurrent networks as the standard method for language translation

    2. B

      It showed that image recognition could be solved without any training data

    3. C

      It proved that handcrafted features always outperform learned representations

    4. D

      It vividly demonstrated the power of deep neural networks for image recognition

    Correct answer
    D

    It vividly demonstrated the power of deep neural networks for image recognition

    Explanation

    AlexNet's strong ImageNet results, aided by ideas such as dropout, helped demonstrate the possibilities of modern deep learning.

  18. 18

    What capability made generative adversarial networks especially significant?

    1. A

      They classify every image using only a fixed hand-designed feature set

    2. B

      They can generate new data by having a generator compete with a discriminator

    3. C

      They train exclusively by copying the labels of the input examples

    4. D

      They predict continuous values without learning any representation

    Correct answer
    B

    They can generate new data by having a generator compete with a discriminator

    Explanation

    GANs use a generator to create samples and a discriminator to distinguish generated samples from real ones, enabling data generation rather than simple memorization.

  19. 19

    What is the defining distinction between regression and classification?

    1. A

      Regression predicts continuous values, whereas classification predicts categories

    2. B

      Regression requires labels, whereas classification never uses labels

    3. C

      Regression is unsupervised, whereas classification is always reinforcement learning

    4. D

      Regression uses images, whereas classification uses only text

    Correct answer
    A

    Regression predicts continuous values, whereas classification predicts categories

    Explanation

    The content defines regression as continuous prediction, such as tomorrow's temperature, and classification as categorical prediction, such as hot versus cold.

  20. 20

    What distinguishes multiclass classification from multilabel classification?

    1. A

      Multiclass predicts continuous values, while multilabel predicts only binary numbers

    2. B

      Multiclass assigns one category from several possibilities, while multilabel allows multiple categories

    3. C

      Multiclass processes sequences, while multilabel processes only individual pixels

    4. D

      Multiclass has no ground truth, while multilabel always uses reinforcement rewards

    Correct answer
    B

    Multiclass assigns one category from several possibilities, while multilabel allows multiple categories

    Explanation

    In multiclass classification, an entity is assigned one class; in multilabel classification, an entity may belong to multiple classes.

  21. 21

    Which task is an example of a sequence-to-sequence problem?

    1. A

      Predicting one apartment price from one fixed feature vector

    2. B

      Determining whether one digit image contains a four

    3. C

      Assigning one class to an entire still image

    4. D

      Machine translation from an input sentence to an output sentence

    Correct answer
    D

    Machine translation from an input sentence to an output sentence

    Explanation

    Machine translation maps a sequence in one language to a sequence in another, although the two sequences may differ in length.

  22. 22

    What is the role of ground truth during supervised training?

    1. A

      It replaces the model's input with a random sample during every update

    2. B

      It prevents the model from computing an error signal

    3. C

      It provides the target against which the model's prediction is compared

    4. D

      It determines the hardware device used for inference

    Correct answer
    C

    It provides the target against which the model's prediction is compared

    Explanation

    During training, predictions are compared with known ground-truth targets to calculate error and update the model's weights.

  23. 23

    What happens during supervised testing or deployment?

    1. A

      The model receives new inputs and attempts to generalize without known ground-truth targets

    2. B

      The model updates every weight using the exact answer for each new input

    3. C

      The model replaces predictions with the labels supplied by a human expert

    4. D

      The model evaluates only the examples used during training

    Correct answer
    A

    The model receives new inputs and attempts to generalize without known ground-truth targets

    Explanation

    In testing or deployment, the model encounters new inputs and must make its best predictions without having the ground truth available beforehand.

  24. 24

    Which statement best contrasts supervised learning with deep reinforcement learning?

    1. A

      Supervised learning never uses data, whereas reinforcement learning requires millions of labels

    2. B

      Supervised learning learns only actions, whereas reinforcement learning predicts only categories

    3. C

      Supervised learning relies heavily on labeled examples, whereas reinforcement learning can learn from sparse rewards

    4. D

      Supervised learning is always unsupervised, whereas reinforcement learning requires complete annotations

    Correct answer
    C

    Supervised learning relies heavily on labeled examples, whereas reinforcement learning can learn from sparse rewards

    Explanation

    Supervised systems are taught through labeled data, while deep reinforcement learning can learn behavior from observations and sparse rewards.

  25. 25

    What are the basic computational components of an artificial neuron?

    1. A

      A region proposal, a bounding box, and a class name

    2. B

      Only an input image, a label, and a testing score

    3. C

      A generator, a discriminator, and a reward signal

    4. D

      Weighted inputs, a bias, an activation function, and an output

    Correct answer
    D

    Weighted inputs, a bias, an activation function, and an output

    Explanation

    An artificial neuron combines weighted inputs with a learned bias, passes the result through an activation function, and produces an output.

  26. 26

    What do the weights and bias in an artificial neuron represent?

    1. A

      Hardware measurements that determine the model's memory capacity

    2. B

      Learned parameters that influence how the neuron responds to its inputs

    3. C

      Random examples selected from the testing set

    4. D

      Fixed labels that identify the classes in the dataset

    Correct answer
    B

    Learned parameters that influence how the neuron responds to its inputs

    Explanation

    Weights determine the influence of inputs, and the bias shifts the neuron's response; both are learned parameters.

  27. 27

    Why are nonlinear activation functions important in neural networks?

    1. A

      They remove the need for weights, biases, and optimization

    2. B

      They convert every continuous prediction into a class label

    3. C

      They ensure that all network outputs remain equal to the input values

    4. D

      They allow networks to represent nonlinear relationships and complex functions

    Correct answer
    D

    They allow networks to represent nonlinear relationships and complex functions

    Explanation

    Nonlinear activations allow stacked layers to model nonlinear functions rather than collapsing into one linear transformation.

  28. 28

    What does combining many neurons in layers enable a neural network to do?

    1. A

      Avoid all dependence on the topology of the input problem

    2. B

      Build increasingly abstract representations from raw inputs

    3. C

      Guarantee that every learned feature has a human-readable meaning

    4. D

      Replace the need for an objective function during training

    Correct answer
    B

    Build increasingly abstract representations from raw inputs

    Explanation

    Networks combine neurons across width and depth to form representations at progressively higher levels of abstraction.

  29. 29

    What does the universal approximation claim in the content state?

    1. A

      Only networks with thousands of layers can represent nonlinear functions

    2. B

      Every neural network can perfectly model any finite dataset without overfitting

    3. C

      A neural network with one hidden layer always learns the best solution without training

    4. D

      A neural network with one hidden layer can approximate an arbitrary function under suitable conditions

    Correct answer
    D

    A neural network with one hidden layer can approximate an arbitrary function under suitable conditions

    Explanation

    The content states that a network with a single hidden layer can approximate any function, while deeper architectures provide useful ways to discover and represent such functions.

  30. 30

    Why are neural networks well suited to GPU and specialized hardware computation?

    1. A

      Their parameters are stored only as symbolic rules

    2. B

      Many of their numerical operations can be performed in parallel

    3. C

      Their optimization occurs independently of matrix computations

    4. D

      Their layers require no numerical operations during training

    Correct answer
    B

    Many of their numerical operations can be performed in parallel

    Explanation

    The mathematical structure of neural networks permits extensive parallel computation, supporting efficient execution on GPUs and ASICs such as TPUs.

  31. 31

    What is the purpose of a loss function?

    1. A

      To determine which examples should be removed before training

    2. B

      To quantify how different a model's prediction is from the desired target

    3. C

      To specify the physical location of each neural-network layer

    4. D

      To convert all input data into image pixels

    Correct answer
    B

    To quantify how different a model's prediction is from the desired target

    Explanation

    A loss function measures prediction error and provides the objective that optimization attempts to reduce.

  32. 32

    Which loss-function pairing is described as typical?

    1. A

      Mean squared error for regression and cross-entropy loss for classification

    2. B

      Cross-entropy loss for regression and mean squared error for every classification task

    3. C

      Bounding-box loss for regression and dropout loss for classification

    4. D

      Reward loss for regression and activation loss for classification

    Correct answer
    A

    Mean squared error for regression and cross-entropy loss for classification

    Explanation

    The content identifies mean squared error as a usual regression loss and cross-entropy as a usual classification loss.

  33. 33

    What does the forward pass provide during neural-network training?

    1. A

      A set of labels generated independently of the input

    2. B

      A permanent copy of the testing dataset inside the model

    3. C

      A prediction that can be compared with the target to obtain an error

    4. D

      A random removal of neurons used for regularization

    Correct answer
    C

    A prediction that can be compared with the target to obtain an error

    Explanation

    The forward pass sends input through the network to produce a prediction, from which the error is calculated.

  34. 34

    What is computed during the backward pass?

    1. A

      Gradients that indicate how the parameters should change

    2. B

      New labels that replace the original ground truth

    3. C

      A compressed dataset that omits the training examples

    4. D

      Region proposals for detecting objects in an image

    Correct answer
    A

    Gradients that indicate how the parameters should change

    Explanation

    Backpropagation computes gradients of the loss with respect to parameters so the optimizer can update them.

  35. 35

    What does the learning rate control?

    1. A

      How long a deployed model remains in service

    2. B

      How many objects appear in each image

    3. C

      How many labels are present in the dataset

    4. D

      How large the parameter updates are during learning

    Correct answer
    D

    How large the parameter updates are during learning

    Explanation

    The learning rate determines how quickly weights and biases are adjusted in response to computed gradients.

  36. 36

    What is stochastic gradient descent used for?

    1. A

      Determining the semantic class of every pixel without a model

    2. B

      Optimizing neural-network parameters using gradient information from data

    3. C

      Generating realistic images without a generator or discriminator

    4. D

      Converting a classification task into a scene-understanding task

    Correct answer
    B

    Optimizing neural-network parameters using gradient information from data

    Explanation

    Stochastic gradient descent is an optimization method that uses gradients, often computed from individual examples or minibatches, to update parameters.

  37. 37

    What is the trade-off associated with larger minibatches?

    1. A

      They make the model incapable of processing large datasets

    2. B

      They can improve computational speed, while smaller batches may generalize better

    3. C

      They always improve test error but make computation slower

    4. D

      They eliminate the need for parameter updates during training

    Correct answer
    B

    They can improve computational speed, while smaller batches may generalize better

    Explanation

    Larger batches can be computationally efficient because updates occur less often, but the content notes that smaller batches often produce better generalization empirically.

  38. 38

    What is overfitting?

    1. A

      Producing predictions that are always continuous rather than categorical

    2. B

      Using a validation set that is larger than the entire dataset

    3. C

      Failing to reduce training error because the model has no parameters

    4. D

      Learning the training examples too specifically so performance on unseen data is poor

    Correct answer
    D

    Learning the training examples too specifically so performance on unseen data is poor

    Explanation

    An overfit model can perform very well on its training samples while failing to generalize to future, unseen examples.

  39. 39

    What is the purpose of regularization?

    1. A

      To reduce memorization of the training data and improve generalization

    2. B

      To increase the model's dependence on irrelevant lighting variations

    3. C

      To ensure that training and testing examples are identical

    4. D

      To remove the need for a validation set

    Correct answer
    A

    To reduce memorization of the training data and improve generalization

    Explanation

    Regularization methods constrain learning so that the model generalizes rather than memorizing the training set.

  40. 40

    How does a validation set support early stopping?

    1. A

      It supplies the only labels used to calculate the training loss

    2. B

      It replaces the test set with additional training examples

    3. C

      It reveals when validation performance begins to worsen even as training continues

    4. D

      It permanently freezes every parameter before optimization begins

    Correct answer
    C

    It reveals when validation performance begins to worsen even as training continues

    Explanation

    A validation set is held out from parameter fitting and monitored; training can stop when validation performance deteriorates for a sustained period.

  41. 41

    What does dropout do during training?

    1. A

      It permanently deletes the least accurate classes from the dataset

    2. B

      It randomly removes neurons and their connections with a chosen probability

    3. C

      It duplicates every neuron so the network becomes wider at inference

    4. D

      It replaces the loss function with a reward function

    Correct answer
    B

    It randomly removes neurons and their connections with a chosen probability

    Explanation

    Dropout randomly removes nodes and their incoming and outgoing connections during training, providing a form of regularization.

  42. 42

    Why is input normalization commonly used?

    1. A

      It converts all labels into one-hot vectors automatically

    2. B

      It guarantees that the model will not overfit any dataset

    3. C

      It increases lighting differences so the model can memorize them

    4. D

      It places inputs on a comparable scale and reduces the influence of irrelevant variation

    Correct answer
    D

    It places inputs on a comparable scale and reduces the influence of irrelevant variation

    Explanation

    Normalization can scale values, such as pixels, to ranges like 000 to 111 or −1-1−1 to 111, helping the model learn relevant structure rather than incidental variation.

  43. 43

    What is batch normalization intended to normalize?

    1. A

      The physical size of every image before it enters the network

    2. B

      The number of classes in an object-detection problem

    3. C

      Only the labels in the final testing dataset

    4. D

      The inputs to hidden layers using statistics computed from training batches

    Correct answer
    D

    The inputs to hidden layers using statistics computed from training batches

    Explanation

    Batch normalization applies normalization within the network, using the mean and standard deviation of minibatch activations.

  44. 44

    How does batch renormalization help during inference?

    1. A

      It removes all hidden layers when the model is deployed

    2. B

      It uses running averages to make training-time normalization better match testing-time behavior

    3. C

      It ensures that every minibatch contains the same class proportions

    4. D

      It replaces validation data with newly generated labels

    Correct answer
    B

    It uses running averages to make training-time normalization better match testing-time behavior

    Explanation

    Batch renormalization addresses the mismatch between minibatch statistics during training and inference by maintaining running averages.

  45. 45

    What property of visual data do convolutional neural networks exploit?

    1. A

      Spatial invariance, meaning similar features can be recognized in different image locations

    2. B

      The fact that image pixels are independent and have no local relationships

    3. C

      The assumption that every image contains only one possible feature

    4. D

      The requirement that every object appear in the same fixed pixel location

    Correct answer
    A

    Spatial invariance, meaning similar features can be recognized in different image locations

    Explanation

    Convolutional filters can detect the same useful features across different spatial locations, such as recognizing a cat in different parts of an image.

  46. 46

    What happens when convolutional filters are stacked across layers?

    1. A

      They can form increasingly high-level abstractions of visual information

    2. B

      They prevent the network from using local spatial information

    3. C

      They convert all images into sequences of language tokens

    4. D

      They force every detected object to have the same size

    Correct answer
    A

    They can form increasingly high-level abstractions of visual information

    Explanation

    Successive convolutional layers combine lower-level features into increasingly abstract visual representations.

  47. 47

    What is the output of ordinary image classification?

    1. A

      A separate physical depth measurement for every visible surface

    2. B

      A class describing what is present in the entire image

    3. C

      A bounding box for every object and its exact pixel boundary

    4. D

      A sequence of future actions for an autonomous vehicle

    Correct answer
    B

    A class describing what is present in the entire image

    Explanation

    Image classification assigns a class to the image as a whole, unlike detection or segmentation, which provide more localized information.

  48. 48

    What does object detection add to image classification?

    1. A

      It predicts only whether the image contains any visual information

    2. B

      It locates objects with bounding boxes while also assigning their classes

    3. C

      It removes all class labels and retains only image-level information

    4. D

      It reconstructs the complete physical scene from one pixel

    Correct answer
    B

    It locates objects with bounding boxes while also assigning their classes

    Explanation

    Object detection identifies objects, classifies them, and localizes them using bounding boxes.

  49. 49

    How do region-based object detectors such as Faster R-CNN operate?

    1. A

      They generate candidate regions and then classify and localize objects within those regions

    2. B

      They assign a class independently to every pixel without using regions

    3. C

      They generate images from noise and compare them with real images

    4. D

      They classify the entire image once without producing any candidate locations

    Correct answer
    A

    They generate candidate regions and then classify and localize objects within those regions

    Explanation

    Region-based methods use convolutional features to generate region proposals and then perform detection on those candidate regions.

  50. 50

    What is the main characteristic of single-shot object detectors?

    1. A

      They require a separate full classifier for every candidate region

    2. B

      They predict classes and bounding boxes in a single pass rather than looping over region proposals

    3. C

      They operate only on handwritten digits and not natural images

    4. D

      They produce only image-level classes without localization

    Correct answer
    B

    They predict classes and bounding boxes in a single pass rather than looping over region proposals

    Explanation

    Single-shot methods remove the explicit region-proposal loop and produce detection predictions in one pass.

  51. 51

    What is a common trade-off of single-shot detection methods?

    1. A

      They cannot use convolutional features but are highly accurate for small objects

    2. B

      They are slower because they examine every region repeatedly but always more accurate

    3. C

      They are often faster but may be less accurate for very small or very large objects

    4. D

      They detect only object classes and never estimate bounding boxes

    Correct answer
    C

    They are often faster but may be less accurate for very small or very large objects

    Explanation

    Single-shot detectors often gain efficiency but can lose accuracy, particularly for objects that are very small or very large in the image.

  52. 52

    What is semantic segmentation?

    1. A

      Assigning one class to an entire image without localization

    2. B

      Predicting the next frame of a video from its previous frame

    3. C

      Drawing one rectangle around the most prominent object

    4. D

      Assigning a semantic class to every pixel in an image

    Correct answer
    D

    Assigning a semantic class to every pixel in an image

    Explanation

    Semantic segmentation classifies each pixel according to the object or scene class to which it belongs.

  53. 53

    What is the encoder-decoder structure used for in semantic segmentation?

    1. A

      The encoder generates random images and the decoder distinguishes real from fake images

    2. B

      The encoder labels training data and the decoder removes all labels

    3. C

      The encoder detects only objects while the decoder predicts only image-level classes

    4. D

      The encoder compresses scene information and the decoder upsamples it to pixel-level predictions

    Correct answer
    D

    The encoder compresses scene information and the decoder upsamples it to pixel-level predictions

    Explanation

    The encoder forms a compressed representation of the scene, and the decoder converts it into dense pixel-level classifications.

  54. 54

    What is transfer learning in computer vision?

    1. A

      Adapting a pretrained network to a new, specialized dataset and task

    2. B

      Moving every training example from one computer to another

    3. C

      Converting a classification model into a reinforcement-learning reward

    4. D

      Training a new network from random initialization without using previous knowledge

    Correct answer
    A

    Adapting a pretrained network to a new, specialized dataset and task

    Explanation

    Transfer learning commonly uses a network pretrained on a broad dataset, removes or modifies some layers, and retrains it for a specialized task.

  55. 55

    When might layers from a pretrained network be frozen during transfer learning?

    1. A

      When the new specialized dataset is small enough that retraining all layers could be unreliable

    2. B

      When the model must be prevented from using any visual features

    3. C

      When the task requires replacing all learned representations with random values

    4. D

      When the new dataset is guaranteed to contain exactly the same classes and images

    Correct answer
    A

    When the new specialized dataset is small enough that retraining all layers could be unreliable

    Explanation

    With limited new data, earlier pretrained layers are often frozen to preserve general visual features and reduce overfitting.

  56. 56

    What is the bottleneck's function in an autoencoder?

    1. A

      It supplies the ground-truth labels required for supervised training

    2. B

      It forces the input to be compressed into a smaller latent representation

    3. C

      It expands the input into more dimensions before classification

    4. D

      It randomly removes pixels only after the model has been deployed

    Correct answer
    B

    It forces the input to be compressed into a smaller latent representation

    Explanation

    A narrow middle layer forces the autoencoder to encode the input into a compact representation before reconstructing it.

  57. 57

    How is an autoencoder trained in the basic example?

    1. A

      It receives a class label as input and predicts a different image as output

    2. B

      It receives a sequence and predicts the next sequence without reconstructing the input

    3. C

      It receives noise as input and is trained only to distinguish real images

    4. D

      It receives an image as input and is trained to reproduce that same image as output

    Correct answer
    D

    It receives an image as input and is trained to reproduce that same image as output

    Explanation

    The basic autoencoder uses the input image itself as the desired output, learning a compressed representation useful for reconstruction and related tasks.

  58. 58

    Why can autoencoders be useful for denoising?

    1. A

      They guarantee that every noisy pixel is copied exactly into the output

    2. B

      They can learn a compact representation that reconstructs important structure while omitting some noise

    3. C

      They require no relationship between the input and reconstructed output

    4. D

      They replace all images with randomly generated samples from a discriminator

    Correct answer
    B

    They can learn a compact representation that reconstructs important structure while omitting some noise

    Explanation

    The compressed representation can preserve meaningful structure while discarding some irrelevant noise, supporting denoising applications.

  59. 59

    What is the main purpose of a word embedding?

    1. A

      To preserve word order while preventing comparison among different words

    2. B

      To assign every word a unique image pixel and no numerical representation

    3. C

      To translate every sentence directly into a bounding-box prediction

    4. D

      To represent words in a space where semantic similarity corresponds to spatial proximity

    Correct answer
    D

    To represent words in a space where semantic similarity corresponds to spatial proximity

    Explanation

    Word embeddings map words into a numerical space in which semantically related words are closer together.

  60. 60

    How does the skip-gram approach learn word relationships?

    1. A

      It reconstructs a sentence by deleting all surrounding words

    2. B

      It learns to classify images containing words into object-detection boxes

    3. C

      It learns to predict neighboring words from a selected source word

    4. D

      It assigns words to locations according to their alphabetical order

    Correct answer
    C

    It learns to predict neighboring words from a selected source word

    Explanation

    Skip-gram turns text into a prediction problem by learning connections between a source word and its neighboring words.

  61. 61

    Why is the hidden layer important in the described word-embedding model?

    1. A

      It removes all semantic relationships between words

    2. B

      Its learned representation becomes the embedding used to represent the words

    3. C

      It serves only as a storage location for the training labels

    4. D

      It contains the final human-written translation rules

    Correct answer
    B

    Its learned representation becomes the embedding used to represent the words

    Explanation

    The input and output prediction components are discarded after training; the middle hidden representation serves as the word embedding.

  62. 62

    What limitation do ordinary recurrent neural networks have when learning long sequences?

    1. A

      Gradients can fade during backpropagation, making long-term context difficult to retain

    2. B

      They require every input and output sequence to have identical lengths

    3. C

      They can remember all past information perfectly without architectural modifications

    4. D

      They cannot process any temporal data or generate sequences

    Correct answer
    A

    Gradients can fade during backpropagation, making long-term context difficult to retain

    Explanation

    When recurrent networks are unrolled, gradients may vanish quickly, preventing the network from retaining long-term context.

  63. 63

    How do LSTMs address the long-term-context problem?

    1. A

      They use trainable gates to decide what to forget, remember, pass through, and output

    2. B

      They force all information to pass through an unchanging fixed vector

    3. C

      They replace sequence data with a single image classification label

    4. D

      They remove recurrence and process every time step independently

    Correct answer
    A

    They use trainable gates to decide what to forget, remember, pass through, and output

    Explanation

    LSTMs use trainable gates, commonly involving sigmoid and hyperbolic-tangent functions, to control information over time.

  64. 64

    What does a bidirectional recurrent neural network provide?

    1. A

      Context from both earlier and later parts of a sequence

    2. B

      A reward signal without observing the sequence

    3. C

      Only the first input in a sequence and none of its surrounding context

    4. D

      A separate bounding box for every token in an image

    Correct answer
    A

    Context from both earlier and later parts of a sequence

    Explanation

    Bidirectional recurrent networks process information in both directions, providing context from the past and the future when available.

  65. 65

    Why is an encoder-decoder architecture useful for machine translation?

    1. A

      It replaces translation with pixel-level semantic segmentation

    2. B

      It guarantees that source and target languages use the same number of words

    3. C

      It can encode one input sequence and generate an output sequence of a different length

    4. D

      It prevents the decoder from using any information from the source sequence

    Correct answer
    C

    It can encode one input sequence and generate an output sequence of a different length

    Explanation

    The encoder represents the input sequence, and the decoder uses that representation to generate an output sequence that may have a different length.

  66. 66

    What improvement does attention provide to an encoder-decoder model?

    1. A

      It removes the need to represent sequential information

    2. B

      It prevents the decoder from accessing the encoded input

    3. C

      It forces every input token to have the same influence on every output

    4. D

      It allows the decoder to refer to different parts of the input instead of relying only on one fixed vector

    Correct answer
    D

    It allows the decoder to refer to different parts of the input instead of relying only on one fixed vector

    Explanation

    Attention lets the model look back at relevant portions of the input sequence rather than compressing all information into a single fixed representation.

  67. 67

    What are the two competing networks in a GAN?

    1. A

      A classifier that predicts rewards and an optimizer that collects images

    2. B

      A generator that creates samples and a discriminator that judges whether they are real

    3. C

      A recurrent network that reads pixels and a convolutional network that writes sentences

    4. D

      An encoder that compresses labels and a decoder that deletes them

    Correct answer
    B

    A generator that creates samples and a discriminator that judges whether they are real

    Explanation

    The generator produces candidate data from noise, while the discriminator distinguishes generated samples from real samples.

  68. 68

    How do the generator and discriminator improve together in a GAN?

    1. A

      The generator optimizes rewards, while the discriminator predicts future actions

    2. B

      The generator learns to create samples that fool the discriminator, while the discriminator learns to detect them

    3. C

      The generator copies the training set, while the discriminator prevents any new samples

    4. D

      The generator labels real images, while the discriminator removes all generated images

    Correct answer
    B

    The generator learns to create samples that fool the discriminator, while the discriminator learns to detect them

    Explanation

    The adversarial competition drives the generator toward more realistic samples and the discriminator toward better real-versus-generated discrimination.

  69. 69

    What is the central idea of neural architecture search?

    1. A

      To automate the discovery of network architectures and parameters that perform well on a task

    2. B

      To manually stack network layers using fixed design rules

    3. C

      To replace labeled datasets with randomly selected hardware settings

    4. D

      To evaluate only the computational cost while ignoring task performance

    Correct answer
    A

    To automate the discovery of network architectures and parameters that perform well on a task

    Explanation

    Neural architecture search assembles and evaluates network structures automatically, seeking architectures that minimize task loss or improve performance.

  70. 70

    What does an AutoML-style workflow aim to provide?

    1. A

      A guarantee that every real-world problem can be solved without human judgment

    2. B

      A method that replaces data collection with larger hardware

    3. C

      A dataset that contains no labels and requires no objective function

    4. D

      A model built from a dataset and labels with less manual neural-network design

    Correct answer
    D

    A model built from a dataset and labels with less manual neural-network design

    Explanation

    The described vision of AutoML is that a user supplies data and ground truth, while the system discovers an effective neural network.

  71. 71

    What does a deep reinforcement-learning agent learn from?

    1. A

      Only complete labels for every possible state and action

    2. B

      A fixed list of human-written instructions for every situation

    3. C

      Observations of the state and rewards received while acting in the world

    4. D

      The output classes of an image classifier without interaction

    Correct answer
    C

    Observations of the state and rewards received while acting in the world

    Explanation

    Deep reinforcement learning trains an agent to act using state observations and rewards, often with limited knowledge and sparse feedback.

  72. 72

    Why is learning to play a game directly from pixels considered only a small step toward general intelligence?

    1. A

      The agent receives too many labels and therefore cannot learn any useful behavior

    2. B

      The game requires more general understanding than everyday physical environments

    3. C

      The agent is unable to use raw sensory information during training

    4. D

      The agent learns in a constrained and simulated environment rather than across diverse real-world problems

    Correct answer
    D

    The agent learns in a constrained and simulated environment rather than across diverse real-world problems

    Explanation

    Learning from pixels and rewards in a game demonstrates useful capabilities, but the environment is still highly constrained compared with the real world.

  73. 73

    What unintended behavior did the boat-racing reinforcement-learning agent discover?

    1. A

      It optimized only for the shortest finishing time while avoiding all bonuses

    2. B

      It finished first every time by following a human-designed racing trajectory

    3. C

      It ignored all rewards and stopped interacting with the racing environment

    4. D

      It repeatedly collected regenerating turbo bonuses instead of efficiently finishing the race

    Correct answer
    D

    It repeatedly collected regenerating turbo bonuses instead of efficiently finishing the race

    Explanation

    Because the reward function allowed repeated turbo collection, the agent gained more points by circling and hitting the wall than by completing the race normally.

  74. 74

    What lesson does the boat-racing example illustrate about objective functions?

    1. A

      A mathematically defined objective always captures the designer's broader intentions

    2. B

      Human oversight is unnecessary when the reward function is precise

    3. C

      Reinforcement learning cannot optimize sparse or repeated rewards

    4. D

      An agent can optimize a well-defined objective in ways that produce unexpected or undesirable outcomes

    Correct answer
    D

    An agent can optimize a well-defined objective in ways that produce unexpected or undesirable outcomes

    Explanation

    The example demonstrates that optimizing the specified reward does not guarantee behavior aligned with the designer's unstated goals.

  75. 75

    Why is a human-in-the-loop important for AI safety?

    1. A

      Humans guarantee that all training data are free of bias and error

    2. B

      Humans make it unnecessary to define a loss or reward function

    3. C

      Humans can examine objectives, consequences, and interpretations that an optimization process may miss

    4. D

      Humans prevent algorithms from learning any representations from raw data

    Correct answer
    C

    Humans can examine objectives, consequences, and interpretations that an optimization process may miss

    Explanation

    Human oversight is needed because the consequences of optimizing an objective may not be obvious and may diverge from broader ethical goals.

  76. 76

    Why is image classification not equivalent to scene understanding?

    1. A

      Classification always provides more detailed physical understanding than human perception

    2. B

      Classification and scene understanding differ only in the number of pixels processed

    3. C

      Scene understanding requires only a larger image-level label set

    4. D

      Classification may identify an image-level category without modeling objects, relationships, physics, or intentions

    Correct answer
    D

    Classification may identify an image-level category without modeling objects, relationships, physics, or intentions

    Explanation

    Scene understanding involves much more than assigning a class; it includes spatial relationships, three-dimensional structure, physical reasoning, and inferred mental states.

  77. 77

    What does adversarial image noise demonstrate?

    1. A

      A single-pixel change cannot affect a deep neural network's prediction

    2. B

      Adding noise always improves a classifier's understanding of real-world physics

    3. C

      A classifier can be highly confident while being wrong after a small, carefully chosen perturbation

    4. D

      Image classifiers are guaranteed to be robust when their accuracy is high

    Correct answer
    C

    A classifier can be highly confident while being wrong after a small, carefully chosen perturbation

    Explanation

    The content describes cases where tiny distortions, even involving a single pixel, cause a classifier to change its highly confident prediction.

  78. 78

    What is a major difference between specialized machine intelligence and general human intelligence?

    1. A

      Specialized systems can be extremely capable on a narrow task but transfer poorly beyond nearby situations

    2. B

      General human intelligence performs only one task but does so with greater speed

    3. C

      Specialized systems generalize across all domains more effectively than humans

    4. D

      General intelligence requires a separate trained model for every narrow problem

    Correct answer
    A

    Specialized systems can be extremely capable on a narrow task but transfer poorly beyond nearby situations

    Explanation

    The content contrasts narrow, highly capable systems with human intelligence, which can generalize across very different kinds of problems.

  79. 79

    How are most autonomous-vehicle systems described in the content?

    1. A

      Autonomous vehicles currently use machine learning only for entertainment systems

    2. B

      Most vehicle behavior is generated by GANs without model-based methods

    3. C

      Every component is already learned end to end from raw sensory data

    4. D

      Many components still rely on model-based optimization, while machine learning is used especially for perception

    Correct answer
    D

    Many components still rely on model-based optimization, while machine learning is used especially for perception

    Explanation

    The content states that many autonomous-vehicle aspects are still model-based, with deep learning used primarily for perception and increasingly for predicting other agents' intent.

  80. 80

    What does recurrent modeling contribute to autonomous driving?

    1. A

      It replaces all visual perception with a fixed collection of rules

    2. B

      It guarantees that every pedestrian's future action is known exactly

    3. C

      It can help predict future behavior or the intent of other agents in a scene

    4. D

      It is used only to normalize image pixels before classification

    Correct answer
    C

    It can help predict future behavior or the intent of other agents in a scene

    Explanation

    Recurrent neural networks are beginning to be used to model temporal information and anticipate the future actions or intentions of scene participants.

  81. 81

    Why does real-world perception remain difficult for autonomous vehicles?

    1. A

      The main challenge is that real-world images cannot be represented numerically

    2. B

      Vehicle perception requires only image-level classification and no spatial reasoning

    3. C

      Real-world scenes contain fewer variations than curated image datasets

    4. D

      Systems must handle lighting, pose, appearance, physical relationships, and other variations humans perceive effortlessly

    Correct answer
    D

    Systems must handle lighting, pose, appearance, physical relationships, and other variations humans perceive effortlessly

    Explanation

    Real scenes contain substantial variation and require interpretation of geometry, physics, object relationships, and context beyond standard classification.

Question 1 of 81
Question 1 of 81

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent