1. Home
  2. Explore
  3. Computer Science
  4. Introduction to Neural Networks

Study methods

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

Introduction to Neural Networks

  • 71Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: AI Evolution

Where and when did the field of artificial intelligence originate?

71 questions

  1. 1

    Where and when did the field of artificial intelligence originate?

    1. A

      At Harvard in 1950

    2. B

      At Dartmouth in 1956

    3. C

      At Stanford in 1965

    4. D

      At MIT in 1956

    Correct answer
    B

    At Dartmouth in 1956

    Explanation

    The field of AI was formally defined at Dartmouth in 1956, with substantial representation from MIT.

  2. 2

    Which contribution is correctly associated with John McCarthy?

    1. A

      He founded information theory

    2. B

      He created the ResNet architecture

    3. C

      He invented the LISP programming language

    4. D

      He developed the first GPU

    Correct answer
    C

    He invented the LISP programming language

    Explanation

    John McCarthy invented LISP and was one of the researchers involved in founding the field of AI.

  3. 3

    Which contribution is correctly associated with Claude Shannon?

    1. A

      He founded the MIT AI Lab

    2. B

      He invented LISP

    3. C

      He invented information theory

    4. D

      He created logistic regression

    Correct answer
    C

    He invented information theory

    Explanation

    Claude Shannon, who was a professor at MIT, invented information theory.

  4. 4

    Which sequence best represents the major breakthroughs described in the development of AI?

    1. A

      Deep learning, traditional AI, machine learning, and robotics

    2. B

      Traditional AI, machine learning, deep learning, and generative AI

    3. C

      Machine learning, traditional AI, generative AI, and deep learning

    4. D

      Generative AI, deep learning, traditional AI, and machine learning

    Correct answer
    B

    Traditional AI, machine learning, deep learning, and generative AI

    Explanation

    The lecture described a progression from traditional rule-based AI to machine learning, deep learning, and generative AI.

  5. 5

    Which description best matches the informal definition of artificial intelligence?

    1. A

      Allowing computers to store larger quantities of numerical data

    2. B

      Making computers execute only predetermined arithmetic calculations

    3. C

      Using computers exclusively to control physical machines

    4. D

      Giving computers the ability to perform tasks typically requiring human cognition

    Correct answer
    D

    Giving computers the ability to perform tasks typically requiring human cognition

    Explanation

    AI was informally defined as imbuing computers with the ability to perform cognitive or thinking tasks that humans typically perform.

  6. 6

    Why did early researchers initially expect AI to be solved relatively quickly?

    1. A

      They assumed all real-world data would be structured

    2. B

      They expected GPUs to become widely available immediately

    3. C

      They believed computers already possessed general intelligence

    4. D

      They believed human reasoning could be captured with sufficiently many rules

    Correct answer
    D

    They believed human reasoning could be captured with sufficiently many rules

    Explanation

    Early researchers thought that formalizing human problem-solving methods could lead to rapid progress toward solving AI.

  7. 7

    What was the central strategy of traditional, rule-based AI?

    1. A

      Optimizing neural-network weights with gradient descent

    2. B

      Generating new text from multimodal prompts

    3. C

      Learning representations directly from raw images

    4. D

      Encoding expert knowledge as explicit if-then rules

    Correct answer
    D

    Encoding expert knowledge as explicit if-then rules

    Explanation

    Traditional AI attempted to capture expert knowledge by writing explicit rules such as, "If this condition occurs, perform this action."

  8. 8

    Why are rule-based AI systems often described as brittle?

    1. A

      They always produce several contradictory answers

    2. B

      They require too much computing power to evaluate any rule

    3. C

      They cannot represent any information using numerical values

    4. D

      They may fail when they encounter situations not covered by their rules

    Correct answer
    D

    They may fail when they encounter situations not covered by their rules

    Explanation

    Rule-based systems are trained or programmed with a limited set of cases, so they may not generalize well to new or unusual situations.

  9. 9

    What does Polanyi's paradox emphasize?

    1. A

      Human experts consciously apply every rule used in perception

    2. B

      Computers can always explain the reasoning behind their predictions

    3. C

      Statistical models cannot learn from input-output examples

    4. D

      People can perform some tasks without being able to articulate how they do them

    Correct answer
    D

    People can perform some tasks without being able to articulate how they do them

    Explanation

    Polanyi's paradox states that people often know more than they can explicitly explain, making it difficult to encode certain human skills as rules.

  10. 10

    What is the defining idea of machine learning?

    1. A

      Using only neural networks to process unstructured data

    2. B

      Writing every possible response as an explicit computer rule

    3. C

      Learning a mapping from inputs to outputs using statistical techniques

    4. D

      Converting every prediction into a physical action

    Correct answer
    C

    Learning a mapping from inputs to outputs using statistical techniques

    Explanation

    Machine learning learns relationships between inputs and outputs from examples rather than relying exclusively on hand-written rules.

  11. 11

    Which activity is an example of machine learning according to the lecture?

    1. A

      Designing a computer processor

    2. B

      Writing an exhaustive chess rulebook by hand

    3. C

      Fitting a linear regression model to data

    4. D

      Manually labeling every pixel in an image

    Correct answer
    C

    Fitting a linear regression model to data

    Explanation

    Linear regression is one of the many statistical methods that can be used to create a machine learning model.

  12. 12

    Which statement correctly describes the relationship between neural networks and machine learning?

    1. A

      Neural networks and machine learning are unrelated approaches

    2. B

      Machine learning consists exclusively of neural networks

    3. C

      Machine learning is one specialized layer inside neural networks

    4. D

      Neural networks are one method among many for performing machine learning

    Correct answer
    D

    Neural networks are one method among many for performing machine learning

    Explanation

    Neural networks are one of numerous machine learning methods, alongside approaches such as linear and logistic regression.

  13. 13

    What kind of input data traditionally works especially well with standard machine learning methods?

    1. A

      Raw audio with no measurable attributes

    2. B

      Free-form video without any numerical representation

    3. C

      Structured data arranged as numerical rows and columns

    4. D

      Unprocessed images with no extracted features

    Correct answer
    C

    Structured data arranged as numerical rows and columns

    Explanation

    Traditional machine learning works especially well when data can be numericalized and organized into spreadsheet-like rows and columns.

  14. 14

    How can categorical variables such as smoking status usually be prepared for standard machine learning?

    1. A

      They can be used only as the model's output variable

    2. B

      They can be converted into numerical values using methods such as one-hot encoding

    3. C

      They must be discarded because algorithms cannot process categories

    4. D

      They must be converted into images before model training

    Correct answer
    B

    They can be converted into numerical values using methods such as one-hot encoding

    Explanation

    Categorical variables can be numericalized using techniques such as one-hot encoding.

  15. 15

    What is a major limitation of traditional machine learning when working with raw unstructured data?

    1. A

      The raw data usually lacks directly meaningful features for the algorithm

    2. B

      The data always contains too few numerical values

    3. C

      The model cannot make predictions after training

    4. D

      The algorithm can process only binary outputs

    Correct answer
    A

    The raw data usually lacks directly meaningful features for the algorithm

    Explanation

    Raw images, audio, and similar data do not automatically provide meaningful spreadsheet-like features for traditional models.

  16. 16

    How is a digital color image represented in the example?

    1. A

      As one table containing only the image's object labels

    2. B

      As three numerical tables corresponding to red, green, and blue light

    3. C

      As a single number representing the entire image

    4. D

      As three tables containing beak length, color, and wingspan

    Correct answer
    B

    As three numerical tables corresponding to red, green, and blue light

    Explanation

    The example described a color image as three tables of numbers, one each for the amounts of red, green, and blue light at pixel locations.

  17. 17

    What does a pixel value from 000 to 255255255 represent in the image example?

    1. A

      The number of objects detected near that location

    2. B

      The amount of a particular color's light at that location

    3. C

      The physical size of the object at that location

    4. D

      The probability that the pixel belongs to an object

    Correct answer
    B

    The amount of a particular color's light at that location

    Explanation

    Each value represents the amount of red, green, or blue light at a pixel location on a scale from 000 to 255255255.

  18. 18

    Why does a raw image value such as 251251251 have limited intrinsic meaning by itself?

    1. A

      The value directly identifies the image's object category

    2. B

      The same value could arise from different underlying objects or surfaces

    3. C

      The value cannot be stored as a numerical quantity

    4. D

      The value always represents the color blue and nothing else

    Correct answer
    B

    The same value could arise from different underlying objects or surfaces

    Explanation

    A value such as 251251251 may indicate strong blue light, but that light could come from sky, water, paint, or another source.

  19. 19

    What is feature engineering or feature extraction?

    1. A

      Automatically generating new unstructured data from text

    2. B

      Manually converting raw data into informative measurable attributes

    3. C

      Changing the model's output without changing its input

    4. D

      Removing every numerical value from a dataset

    Correct answer
    B

    Manually converting raw data into informative measurable attributes

    Explanation

    Feature engineering involves extracting meaningful attributes from raw data, such as measuring a bird's beak length or wingspan.

  20. 20

    In the bird-classification example, which set contains manually engineered features?

    1. A

      Beak length, wingspan, and primary color

    2. B

      Training time, batch size, and model depth

    3. C

      Pixel address, file size, and camera brand

    4. D

      Bird sound, weather forecast, and image filename

    Correct answer
    A

    Beak length, wingspan, and primary color

    Explanation

    The example proposed measuring beak length, wingspan, and primary color to represent birds in a structured form.

  21. 21

    What does the term representation refer to in this context?

    1. A

      Repeating the same raw data in several storage locations

    2. B

      Displaying a model's prediction as a graph

    3. C

      Expressing raw data in a different form that is useful for modeling

    4. D

      Assigning a human name to each computer algorithm

    Correct answer
    C

    Expressing raw data in a different form that is useful for modeling

    Explanation

    Representation means transforming raw data into another form, often a set of features that a model can use effectively.

  22. 22

    Why did manually developing representations create a human bottleneck?

    1. A

      Experts had to spend substantial time designing features for each specific problem

    2. B

      Computers could not store the resulting structured datasets

    3. C

      Manual representations prevented all forms of classification

    4. D

      The features could be used only for generating music

    Correct answer
    A

    Experts had to spend substantial time designing features for each specific problem

    Explanation

    Researchers often spent years designing representations for particular tasks, limiting the reach and applicability of machine learning.

  23. 23

    What distinguishes deep learning from traditional machine learning in its treatment of representations?

    1. A

      Deep learning eliminates the need for input-output examples

    2. B

      Deep learning uses only structured spreadsheet data

    3. C

      Deep learning requires experts to hand-code every useful feature

    4. D

      Deep learning automatically learns representations from raw input data

    Correct answer
    D

    Deep learning automatically learns representations from raw input data

    Explanation

    Deep learning's key advantage is that it can automatically learn useful representations without upfront manual feature engineering.

  24. 24

    How does deep learning fit within the broader field of machine learning?

    1. A

      Machine learning is a subfield of deep learning

    2. B

      Deep learning replaces machine learning entirely

    3. C

      Deep learning is a subfield of machine learning

    4. D

      The two fields address completely different problems

    Correct answer
    C

    Deep learning is a subfield of machine learning

    Explanation

    Deep learning sits inside machine learning and uses neural networks to learn transformations and representations.

  25. 25

    Which pipeline best summarizes the basic deep-learning idea presented?

    1. A

      Raw input, automatically learned representations, and a final predictive model

    2. B

      Raw input, manual feature measurements, and a rulebook

    3. C

      Predictions, raw outputs, and manually selected inputs

    4. D

      Handwritten rules, fixed categories, and no predictive model

    Correct answer
    A

    Raw input, automatically learned representations, and a final predictive model

    Explanation

    Deep learning transforms raw input through learned intermediate representations and then feeds the result into a final model such as linear or logistic regression.

  26. 26

    Which combination of forces helped enable the modern success of deep learning?

    1. A

      Handwritten rules, small datasets, and slower processors

    2. B

      Fewer parameters, less data, and reduced computational capacity

    3. C

      New algorithms, abundant data, and parallel computing hardware

    4. D

      Expert interviews, categorical labels, and single-core hardware

    Correct answer
    C

    New algorithms, abundant data, and parallel computing hardware

    Explanation

    The lecture identified new algorithmic ideas, large amounts of data, and parallel hardware such as GPUs as three converging forces.

  27. 27

    Why are GPUs important to modern deep learning?

    1. A

      They automatically create correct labels for training data

    2. B

      They replace the need for neural-network architectures

    3. C

      They provide parallel computing hardware for large-scale computations

    4. D

      They convert every image into a hand-engineered feature table

    Correct answer
    C

    They provide parallel computing hardware for large-scale computations

    Explanation

    GPUs are graphics processing units that provide parallel computing capability, which supports the intensive calculations used in deep learning.

  28. 28

    What broad capability did deep learning make practical for sensors?

    1. A

      Eliminating the need to collect data from the environment

    2. B

      Replacing every physical sensor with a spreadsheet

    3. C

      Producing only binary numerical measurements from sensors

    4. D

      Detecting, recognizing, classifying, analyzing, and predicting sensor data

    Correct answer
    D

    Detecting, recognizing, classifying, analyzing, and predicting sensor data

    Explanation

    A deep-learning system attached to a sensor can analyze unstructured images, audio, video, or other signals and perform tasks such as detection and classification.

  29. 29

    Which example illustrates deep learning attached to a sensor?

    1. A

      Using a spreadsheet to calculate a loan's interest rate

    2. B

      Using a rulebook to list every possible chess position

    3. C

      Using a phone camera and a model to recognize the phone's owner

    4. D

      Using a calculator to add manually selected bird measurements

    Correct answer
    C

    Using a phone camera and a model to recognize the phone's owner

    Explanation

    Face ID uses a camera as a sensor and a deep-learning system to perform image classification for authentication.

  30. 30

    Which task is a typical use of deep learning in self-driving systems?

    1. A

      Writing traffic laws into a fixed spreadsheet

    2. B

      Replacing all cameras with manually entered labels

    3. C

      Predicting only the vehicle's fuel cost

    4. D

      Detecting pedestrians, stoplights, and zebra crossings

    Correct answer
    D

    Detecting pedestrians, stoplights, and zebra crossings

    Explanation

    Self-driving systems use multiple deep-learning algorithms for visual tasks such as pedestrian, stoplight, and zebra-crossing detection.

  31. 31

    What does the smart-binoculars example demonstrate?

    1. A

      Deep learning is useful only for medical diagnosis

    2. B

      A sensor can be paired with deep learning to provide useful recognition directly

    3. C

      Novel products require permanent monopolies to succeed

    4. D

      Unstructured data must always be converted manually before use

    Correct answer
    B

    A sensor can be paired with deep learning to provide useful recognition directly

    Explanation

    The binoculars use a camera and deep learning to identify birds while a user views them, illustrating how useful products can emerge from adding intelligence to sensors.

  32. 32

    What was a traditional limitation concerning model outputs?

    1. A

      Models could predict numbers relatively easily but struggled to generate unstructured data

    2. B

      Models could generate images easily but could not predict numerical values

    3. C

      Models could process no inputs unless the outputs were images

    4. D

      Models could produce unstructured outputs but not structured outputs

    Correct answer
    A

    Models could predict numbers relatively easily but struggled to generate unstructured data

    Explanation

    Traditional models could predict one or several numerical values, but generating images, text, audio, and other unstructured data was much harder.

  33. 33

    What is generative AI?

    1. A

      The ability to create unstructured data such as text, images, or audio

    2. B

      The ability to organize numerical data into spreadsheet columns

    3. C

      A method that predicts only one probability from structured data

    4. D

      The process of manually extracting features from raw images

    Correct answer
    A

    The ability to create unstructured data such as text, images, or audio

    Explanation

    Generative AI creates unstructured outputs, including text, pictures, music, and audio, and operates as one type of deep learning.

  34. 34

    What is the relationship between generative AI and deep learning?

    1. A

      Generative AI and deep learning are separate fields with no overlap

    2. B

      Deep learning is one type of generative AI, and all deep learning is generative

    3. C

      Generative AI is one type of deep learning, but deep learning includes much more

    4. D

      Generative AI replaced deep learning as the foundation of modern models

    Correct answer
    C

    Generative AI is one type of deep learning, but deep learning includes much more

    Explanation

    Generative AI runs on deep learning but represents only one portion of the broader deep-learning field.

  35. 35

    Which task is an example of generative AI?

    1. A

      Encoding smoking status with binary values

    2. B

      Predicting whether a borrower will repay a loan

    3. C

      Calculating a logistic-regression coefficient

    4. D

      Creating an image from a textual description

    Correct answer
    D

    Creating an image from a textual description

    Explanation

    Generating an image from text is an example of producing unstructured output, which is a central capability of generative AI.

  36. 36

    What does a multimodal model do?

    1. A

      It can process only multiple numerical columns in a spreadsheet

    2. B

      It produces only one type of output regardless of its input

    3. C

      It uses multiple labels but accepts only text as input

    4. D

      It can accept or produce multiple types of data such as text and images

    Correct answer
    D

    It can accept or produce multiple types of data such as text and images

    Explanation

    Multimodal models work across data types, such as text and images, and can accept them in combinations or sequences.

  37. 37

    What is ground truth in the medical-imaging example?

    1. A

      An image paired with a label provided by one or more human experts

    2. B

      A label generated automatically without human review

    3. C

      The raw image before it is captured by a medical device

    4. D

      A model's prediction after it has been deployed

    Correct answer
    A

    An image paired with a label provided by one or more human experts

    Explanation

    Ground truth consists of the input image and the corresponding expert-provided label, such as whether a mammogram shows a problem.

  38. 38

    Why can incorrect training labels reduce model quality?

    1. A

      The model can no longer produce any probability values

    2. B

      The model becomes unable to store numerical inputs

    3. C

      The model may learn relationships from inaccurate examples

    4. D

      The model automatically changes its architecture every time

    Correct answer
    C

    The model may learn relationships from inaccurate examples

    Explanation

    Training labels serve as targets, so inaccurate labels introduce noise and can cause the model to learn incorrect relationships.

  39. 39

    What characteristics should high-quality training data have?

    1. A

      It should contain only unstructured outputs and no labels

    2. B

      It should be small, incomplete, and manually simplified

    3. C

      It should exclude unusual cases and contain only easy examples

    4. D

      It should be complete, comprehensive, and correctly labeled

    Correct answer
    D

    It should be complete, comprehensive, and correctly labeled

    Explanation

    The lecture emphasized that training data should be complete, comprehensive, and associated with correct labels.

  40. 40

    What can neural networks sometimes tolerate during training?

    1. A

      A complete absence of training examples

    2. B

      A complete absence of input features

    3. C

      Labels that are intentionally reversed for every example

    4. D

      Some amount of noise in the training labels

    Correct answer
    D

    Some amount of noise in the training labels

    Explanation

    Neural networks can still perform well when a limited amount of label noise is present, although accurate and comprehensive data remain important.

  41. 41

    What does logistic regression usually produce from a vector of numerical inputs?

    1. A

      A categorical feature table with no numerical values

    2. B

      An unrestricted image with arbitrary dimensions

    3. C

      A sequence of expert-written if-then rules

    4. D

      A probability between 000 and 111

    Correct answer
    D

    A probability between 000 and 111

    Explanation

    Logistic regression applies a linear function followed by a sigmoid, producing a value between 000 and 111 that can be interpreted as a probability.

  42. 42

    What is the purpose of the sigmoid function in logistic regression?

    1. A

      It transforms a scalar into a three-dimensional vector

    2. B

      It maps a real-valued linear result to a value between 000 and 111

    3. C

      It converts a probability into an unrestricted real number

    4. D

      It removes all input variables except the largest one

    Correct answer
    B

    It maps a real-valued linear result to a value between 000 and 111

    Explanation

    The sigmoid function, 11+e−a\frac{1}{1+e^{-a}}1+e−a1​, maps any real-valued input to a value between 000 and 111.

  43. 43

    In the interview example, what do the input variables represent?

    1. A

      Image color and pixel brightness

    2. B

      Beak length and wingspan

    3. C

      GPA and years of work experience

    4. D

      Age and smoking status

    Correct answer
    C

    GPA and years of work experience

    Explanation

    The example uses GPA and work experience as two inputs and predicts whether a graduate is called for an interview.

  44. 44

    In the interview example, what does the output variable represent?

    1. A

      The probability that the person has a cardiac event

    2. B

      The person's numerical GPA

    3. C

      The number of years of work experience

    4. D

      Whether the person is called for an interview

    Correct answer
    D

    Whether the person is called for an interview

    Explanation

    The binary output is 000 if the person is not called for an interview and 111 if the person is called.

  45. 45

    How is a logistic-regression model represented as a simple network?

    1. A

      Inputs are multiplied by weights, summed with a bias, and passed through a sigmoid

    2. B

      Inputs are randomly discarded, concatenated, and returned unchanged

    3. C

      Inputs are converted into images, averaged, and passed through a rulebook

    4. D

      Inputs are classified individually without being combined

    Correct answer
    A

    Inputs are multiplied by weights, summed with a bias, and passed through a sigmoid

    Explanation

    The network view performs a weighted sum of the inputs plus an intercept, then applies the sigmoid to produce a probability.

  46. 46

    What terminology does neural-network language use for regression coefficients and intercepts?

    1. A

      Weights and biases

    2. B

      Features and labels

    3. C

      Inputs and outputs

    4. D

      Nodes and layers

    Correct answer
    A

    Weights and biases

    Explanation

    Neural networks call regression coefficients weights and call the intercept terms biases.

  47. 47

    Why is the network representation useful beyond merely making a formula easier to visualize?

    1. A

      It guarantees that every prediction is directly interpretable

    2. B

      It eliminates the need to calculate any weighted sums

    3. C

      It makes it possible to insert multiple transformations between inputs and outputs

    4. D

      It prevents the use of nonlinear functions

    Correct answer
    C

    It makes it possible to insert multiple transformations between inputs and outputs

    Explanation

    The network representation reveals that intermediate layers can transform the input before the final output computation.

  48. 48

    Why must intermediate activation functions generally be nonlinear?

    1. A

      Without nonlinearity, stacked linear transformations would not add useful expressive power

    2. B

      Nonlinearity guarantees that every output is a probability

    3. C

      Nonlinearity is required to convert every input into a category

    4. D

      Without nonlinearity, the network cannot contain any weights

    Correct answer
    A

    Without nonlinearity, stacked linear transformations would not add useful expressive power

    Explanation

    A composition of linear functions is still linear, so nonlinear activations are needed for hidden layers to learn richer transformations.

  49. 49

    What is a neuron in the lecture's terminology?

    1. A

      A complete neural network with no input variables

    2. B

      A data table containing only categorical variables

    3. C

      A linear function followed by a nonlinear activation function

    4. D

      A single output label supplied by a human expert

    Correct answer
    C

    A linear function followed by a nonlinear activation function

    Explanation

    A neuron receives inputs, computes a linear combination, applies an activation function, and produces one output number.

  50. 50

    What is a hidden layer?

    1. A

      A layer containing no neurons or numerical operations

    2. B

      A layer located between the input layer and the output layer

    3. C

      The layer that contains the original raw data only

    4. D

      The final layer that always produces the prediction

    Correct answer
    B

    A layer located between the input layer and the output layer

    Explanation

    Hidden layers are the intermediate layers where the network transforms inputs and learns representations.

  51. 51

    What is a fully connected, or dense, layer?

    1. A

      The layer contains no activation functions or weights

    2. B

      Only the first neuron in each layer receives an input

    3. C

      Every neuron in one layer connects to every neuron in the next layer

    4. D

      Each neuron connects only to itself in the following layer

    Correct answer
    C

    Every neuron in one layer connects to every neuron in the next layer

    Explanation

    A dense layer connects the output of every neuron in one layer to every neuron in the next layer.

  52. 52

    How can logistic regression be characterized as a neural network?

    1. A

      It is a network with infinitely many hidden layers

    2. B

      It is a network that has no output activation

    3. C

      It is a network with no hidden layers

    4. D

      It is a network that uses only recurrent connections

    Correct answer
    C

    It is a network with no hidden layers

    Explanation

    Logistic regression can be viewed as the simplest neural network arrangement, with an input directly connected to an output and no hidden layers.

  53. 53

    What primarily makes a neural network deep?

    1. A

      The presence of many layers of transformations

    2. B

      The presence of a single sigmoid output

    3. C

      The use of only structured data

    4. D

      The use of exactly two input variables

    Correct answer
    A

    The presence of many layers of transformations

    Explanation

    Deep learning refers to neural networks with many layers, allowing repeated transformations of the input.

  54. 54

    What does the term feedforward neural network indicate?

    1. A

      Information repeatedly returns to earlier layers through feedback connections

    2. B

      The network can process only data generated by sensors

    3. C

      Information flows through the network from left to right without recurrent loops

    4. D

      The network contains no hidden layers

    Correct answer
    C

    Information flows through the network from left to right without recurrent loops

    Explanation

    A feedforward network passes information forward from inputs through layers to outputs, unlike recurrent networks with feedback connections.

  55. 55

    What is meant by the architecture of a neural network?

    1. A

      The numerical range of the final prediction only

    2. B

      The physical location where the training data was collected

    3. C

      The arrangement of its layers, neurons, connections, and activation functions

    4. D

      The collection of labels used to train the network

    Correct answer
    C

    The arrangement of its layers, neurons, connections, and activation functions

    Explanation

    Architecture describes how neurons are arranged into layers and connected, along with the activation functions used.

  56. 56

    What does an activation function receive and produce?

    1. A

      It receives an entire dataset and produces a label table

    2. B

      It receives several classes and produces a training dataset

    3. C

      It receives one number and produces one number

    4. D

      It receives one image and produces several raw pixels

    Correct answer
    C

    It receives one number and produces one number

    Explanation

    An activation function operates on a scalar produced by a linear function and returns another scalar.

  57. 57

    What happens to a very negative input under the sigmoid activation function?

    1. A

      It produces a value close to 000

    2. B

      It produces an arbitrarily large positive value

    3. C

      It produces exactly the original negative value

    4. D

      It produces a value close to 111

    Correct answer
    A

    It produces a value close to 000

    Explanation

    The sigmoid approaches 000 for very negative inputs and approaches 111 for very positive inputs.

  58. 58

    What is the behavior of a linear activation function?

    1. A

      It replaces every negative input with zero

    2. B

      It converts one scalar into several independent outputs

    3. C

      It passes the input through without changing it

    4. D

      It maps every input to a value between zero and one

    Correct answer
    C

    It passes the input through without changing it

    Explanation

    A linear activation function simply passes its numerical input through unchanged.

  59. 59

    Which expression correctly defines the ReLU activation function?

    1. A

      max⁡(a,0)\max(a,0)max(a,0)

    2. B

      a2+1a^2+1a2+1

    3. C

      min⁡(a,0)\min(a,0)min(a,0)

    4. D

      11+e−a\frac{1}{1+e^{-a}}1+e−a1​

    Correct answer
    A

    max⁡(a,0)\max(a,0)max(a,0)

    Explanation

    ReLU is defined as max⁡(a,0)\max(a,0)max(a,0): positive inputs pass through unchanged, while negative inputs become zero.

  60. 60

    What does ReLU output when its input is negative?

    1. A

      The unchanged negative input

    2. B

      The absolute value of the input

    3. C

      A value close to 111

    4. D

      000

    Correct answer
    D

    000

    Explanation

    ReLU replaces negative inputs with 000.

  61. 61

    What is the usual rule of thumb for activation functions in hidden layers?

    1. A

      Use only a linear activation to preserve the inputs

    2. B

      Use ReLU as a strong default choice

    3. C

      Always use sigmoid regardless of the task

    4. D

      Always use softmax in every hidden layer

    Correct answer
    B

    Use ReLU as a strong default choice

    Explanation

    The lecture recommended ReLU as the default activation for hidden layers because it works well empirically.

  62. 62

    What determines the activation function used in the output layer?

    1. A

      The color distribution of the training images

    2. B

      The number of labels that were manually reviewed

    3. C

      The number of GPUs used during training

    4. D

      The nature and required range of the desired output

    Correct answer
    D

    The nature and required range of the desired output

    Explanation

    The output type determines the output activation: a sigmoid suits one probability, while softmax suits multiple probabilities that sum to 111.

  63. 63

    Which output activation is appropriate for a single probability between 000 and 111?

    1. A

      Sigmoid

    2. B

      Linear

    3. C

      ReLU

    4. D

      Tanh

    Correct answer
    A

    Sigmoid

    Explanation

    A sigmoid activation maps a scalar to a value between 000 and 111, making it appropriate for a single probability output.

  64. 64

    Which output activation is appropriate for several class probabilities that must sum to 111?

    1. A

      Softmax

    2. B

      Leaky ReLU

    3. C

      Linear

    4. D

      ReLU

    Correct answer
    A

    Softmax

    Explanation

    Softmax is used when multiple output values must represent probabilities that add up to 111.

  65. 65

    When designing a neural network, which components are generally chosen by the designer?

    1. A

      The raw input values and the true output labels

    2. B

      The hidden layers, neurons per layer, and hidden-layer activations

    3. C

      The physical sensors and every value in the environment

    4. D

      The correct labels after deployment and the test examples

    Correct answer
    B

    The hidden layers, neurons per layer, and hidden-layer activations

    Explanation

    The designer chooses the hidden architecture and hidden-layer activations, while the input and desired output are dictated by the problem.

  66. 66

    What does neural architecture search attempt to do?

    1. A

      Convert unstructured data into spreadsheet rows by hand

    2. B

      Replace all activation functions with linear functions

    3. C

      Find effective neural-network architectures by exploring alternatives

    4. D

      Correct every mislabeled example through manual inspection

    Correct answer
    C

    Find effective neural-network architectures by exploring alternatives

    Explanation

    Neural architecture search explores different architectures and uses optimization methods to identify promising designs.

  67. 67

    What is dropout primarily used for?

    1. A

      Guaranteeing that every neuron receives every input

    2. B

      Increasing the number of layers during every training pass

    3. C

      Reducing overfitting by randomly omitting some nodes during training

    4. D

      Converting categorical variables into numerical variables

    Correct answer
    C

    Reducing overfitting by randomly omitting some nodes during training

    Explanation

    Dropout randomly removes some nodes during network passes, which can help prevent overfitting.

  68. 68

    How are neural-network weights typically learned?

    1. A

      The model copies the values directly from the output labels

    2. B

      A human manually assigns every coefficient after inspecting each input

    3. C

      The weights are fixed before any training data is observed

    4. D

      Training data, a loss function, and an optimization algorithm adjust them to reduce prediction error

    Correct answer
    D

    Training data, a loss function, and an optimization algorithm adjust them to reduce prediction error

    Explanation

    The network uses training data, a loss function, and optimization procedures to learn weights and biases that reduce prediction error.

  69. 69

    How many trainable parameters does a network have with two inputs, one hidden layer of three neurons, and one output neuron, including biases?

    1. A

      13

    2. B

      9

    3. C

      12

    4. D

      15

    Correct answer
    A

    13

    Explanation

    The input-to-hidden connections contribute 2×3=62\times3=62×3=6 weights, the hidden-to-output connections contribute 3×1=33\times1=33×1=3 weights, and the four neurons contribute four biases, for a total of 6+3+4=136+3+4=136+3+4=13 parameters.

  70. 70

    Why is it important to include biases when counting neural-network parameters?

    1. A

      Each neuron generally has a bias in addition to its incoming weights

    2. B

      Biases replace all weights in the hidden layers

    3. C

      Biases are required only when the output is an image

    4. D

      Biases determine the number of input variables automatically

    Correct answer
    A

    Each neuron generally has a bias in addition to its incoming weights

    Explanation

    For the example network, four neurons contribute four biases, which must be added to the nine connection weights.

  71. 71

    What is the main explainability difficulty in a neural network?

    1. A

      The network does not specify which nodes receive each input

    2. B

      The network randomly changes its output without using its inputs

    3. C

      The network cannot calculate intermediate numerical values

    4. D

      The computation path is known, but assigning credit to individual input attributes is difficult

    Correct answer
    D

    The computation path is known, but assigning credit to individual input attributes is difficult

    Explanation

    The flow of a particular input through the network can be computed, but the many interacting transformations make it difficult to attribute a prediction to one feature.

Question 1 of 71
Question 1 of 71

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent