Artificial Neural Networks
- 50Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What role does the nervous system analogy play in explaining artificial neural networks?
What role does the nervous system analogy play in explaining artificial neural networks?
50 questions
- 1
What role does the nervous system analogy play in explaining artificial neural networks?
- A
It demonstrates that all decisions require only one neuron
- B
It illustrates how inputs are processed to produce decisions
- C
It shows that neural networks require sensory organs
- D
It proves that artificial neurons are biological cells
Correct answer
BIt illustrates how inputs are processed to produce decisions
Explanation
The analogy shows that sensory inputs are received, processed by neurons, and used to produce decisions, similar to the flow of information in an artificial neural network.
- A
- 2
In the car-avoidance example, what happens after the eyes and ears receive signals?
- A
The signals are discarded unless the eyes detect danger
- B
The signals are stored permanently in the sensory organs
- C
The signals are immediately converted into motor movements
- D
The signals are sent to neurons for processing
Correct answer
DThe signals are sent to neurons for processing
Explanation
The visual and auditory signals are received and sent to neurons, where processing occurs before the decision to jump away is made.
- A
- 3
Why can different situations lead to different decisions in the nervous-system analogy?
- A
Neurons become inactive whenever multiple inputs arrive
- B
Different groups of neurons become activated
- C
Only the ears determine which decision is made
- D
The same neurons always produce identical decisions
Correct answer
BDifferent groups of neurons become activated
Explanation
The content explains that different neurons are activated when a person jumps away compared with when the person relaxes, leading to different responses.
- A
- 4
What is the main function of processing in a neural system?
- A
To replace all input data with random values
- B
To use received inputs to determine an appropriate response
- C
To ensure that every neuron is activated equally
- D
To prevent inputs from reaching any neurons
Correct answer
BTo use received inputs to determine an appropriate response
Explanation
Processing transforms input signals into an outcome or decision by determining which neurons should be activated.
- A
- 5
Which modern application was identified as relying on neural networks?
- A
Fraud detection in banking
- B
Manual filing of paper documents
- C
Mechanical adjustment of a bicycle chain
- D
Basic arithmetic without learned parameters
Correct answer
AFraud detection in banking
Explanation
The content lists enterprise banking fraud detection, along with systems such as ChatGPT, Gemini, and self-driving cars, as applications of neural networks.
- A
- 6
What is the relationship between an artificial neural network and its biological inspiration?
- A
The artificial network is conceptually based on signal processing by neurons
- B
The artificial network operates without inputs or processing
- C
The artificial network contains the same physical organs as the nervous system
- D
The artificial network is a complete biological replica of the nervous system
Correct answer
AThe artificial network is conceptually based on signal processing by neurons
Explanation
Artificial neural networks are presented as systems built conceptually on the way neurons receive and process signals, not as literal biological replicas.
- A
- 7
What is the primary job of the input layer in an artificial neural network?
- A
To adjust weights using gradient descent
- B
To receive data and pass it to the next layer
- C
To calculate the final prediction from the data
- D
To compute the loss after the prediction
Correct answer
BTo receive data and pass it to the next layer
Explanation
The input layer receives the data and sends it to the hidden layer; the content states that its role does not include processing or calculation.
- A
- 8
Where does most of the processing described in the network architecture occur?
- A
Exclusively in the output label
- B
In the input data source
- C
Only outside the neural network
- D
In the hidden layer
Correct answer
DIn the hidden layer
Explanation
The hidden layer performs the calculations on the inputs, whereas the input layer mainly receives and forwards data.
- A
- 9
How are inputs from the input layer connected to neurons in the next layer?
- A
Each input-layer neuron sends information to the neurons in the next layer
- B
Only the first input-layer neuron sends information to the next layer
- C
Each input is sent directly to the final output without intermediate layers
- D
Inputs are combined into one value before any connection is made
Correct answer
AEach input-layer neuron sends information to the neurons in the next layer
Explanation
The content states that the inputs from all neurons in the input layer go to all neurons in the hidden layer.
- A
- 10
What flexibility does a neural network have regarding hidden layers and hidden-layer neurons?
- A
It cannot contain more neurons than the input layer
- B
It must contain one hidden layer for every input feature
- C
It can contain varying numbers of hidden layers and neurons
- D
It must always contain exactly one hidden layer and two neurons
Correct answer
CIt can contain varying numbers of hidden layers and neurons
Explanation
The example uses one hidden layer with two neurons for simplicity, but the content states that networks can have as many hidden layers and neurons as needed.
- A
- 11
What is the role of the output layer?
- A
To calculate only the training examples' features
- B
To receive raw data without passing it onward
- C
To assign the initial random weights
- D
To produce the neural network's final decision
Correct answer
DTo produce the neural network's final decision
Explanation
The output layer processes information from the previous layer and produces the outcome interpreted as the network's decision.
- A
- 12
What does forward propagation describe?
- A
The movement of data from the input layer to the output layer
- B
The conversion of labels into numerical features
- C
The random assignment of weights before training
- D
The movement of errors from the output layer to the input layer
Correct answer
AThe movement of data from the input layer to the output layer
Explanation
Forward propagation starts at the input layer and proceeds through the network until an output is produced.
- A
- 13
Why are the four variables in the fitness example called features?
- A
They are input characteristics used to influence the label
- B
They are loss values calculated during backpropagation
- C
They are activation functions applied to the output neuron
- D
They are output decisions produced after classification
Correct answer
AThey are input characteristics used to influence the label
Explanation
Exercise, junk-food consumption, sleep, and water intake are input characteristics that may influence whether a person is classified as fit.
- A
- 14
Which set correctly identifies the four features in the fitness example?
- A
Age, height, location, and occupation
- B
Exercise, junk food, sleep, and water intake
- C
Dietary calories, pulse rate, gender, and nationality
- D
Weight, income, temperature, and blood pressure
Correct answer
BExercise, junk food, sleep, and water intake
Explanation
The example uses weekly exercise hours, weekly junk-food consumption, daily sleep duration, and daily water consumption.
- A
- 15
What is the label in the fitness example?
- A
The amount of training data available
- B
The number of features used by the network
- C
Whether the person is fit or unfit
- D
The number of hidden neurons in the network
Correct answer
CWhether the person is fit or unfit
Explanation
The label indicates whether a person is fit or not fit based on the four input features.
- A
- 16
Why is the fitness example a binary classification problem?
- A
It contains two hidden layers
- B
It produces two continuous measurements
- C
It has two possible outcomes: fit or unfit
- D
It uses exactly two input features
Correct answer
CIt has two possible outcomes: fit or unfit
Explanation
Binary classification involves two possible classes, represented here as fit and unfit.
- A
- 17
How are the two fitness classes numerically represented in the example?
- A
Fit is represented by 0 and unfit by 1
- B
Fit is represented by 1 and unfit by 0
- C
Fit is represented by 1 and unfit by −1
- D
Fit is represented by 2 and unfit by 1
Correct answer
BFit is represented by 1 and unfit by 0
Explanation
The example explicitly assigns 1 to fit and 0 to unfit.
- A
- 18
Why is labeled data used to train the fitness classifier?
- A
Labels replace the need for hidden-layer calculations
- B
The correct outcome is already known for each training example
- C
Labeled data prevents the network from using numerical inputs
- D
Labeled data guarantees that every prediction is correct
Correct answer
BThe correct outcome is already known for each training example
Explanation
Training examples include known outcomes, allowing the network's predictions to be compared with the actual labels.
- A
- 19
What should the trained network do when given a new person's features without a label?
- A
Ignore the features because no label is provided
- B
Generate a new hidden layer for every feature
- C
Predict whether the person is fit or unfit
- D
Return the original training label automatically
Correct answer
CPredict whether the person is fit or unfit
Explanation
After training, the network should use the person's features to predict the person's class without being given the answer in advance.
- A
- 20
Why are weights assigned to connections in a neural network?
- A
They prevent the activation function from being used
- B
They determine how strongly each input influences a calculation
- C
They identify which examples already have labels
- D
They specify how many output classes exist
Correct answer
BThey determine how strongly each input influences a calculation
Explanation
A larger or smaller weight gives an input more or less influence on the neuron's calculated value.
- A
- 21
How are weights initially assigned when the network has not yet learned?
- A
They are set according to the correct feature importance
- B
They are calculated from the final predictions
- C
They are assigned randomly
- D
They are copied from the labels
Correct answer
CThey are assigned randomly
Explanation
The network initially does not know which features matter, so the weights are assigned randomly.
- A
- 22
Which expression represents the basic calculation performed before activation?
- A
z=∑ixiwi−b2
- B
z=∑ixiwi+b
- C
z=∑iwixi+b
- D
z=∑ixi+wi−b
Correct answer
Bz=∑ixiwi+b
Explanation
The neuron multiplies each input by its corresponding weight, adds the products, and then adds the bias: z=∑ixiwi+b.
- A
- 23
What is the purpose of the bias in the neuron calculation?
- A
It is an additional value added after the weighted inputs are summed
- B
It determines the number of neurons in the input layer
- C
It converts the output directly into a class label
- D
It replaces all weights when the input is missing
Correct answer
AIt is an additional value added after the weighted inputs are summed
Explanation
The described calculation adds a bias to the sum of the input-weight products.
- A
- 24
What is the purpose of an activation function?
- A
To compare the training set with the test set
- B
To help determine whether a neuron should be activated
- C
To remove all weights from the network
- D
To assign the original input values to features
Correct answer
BTo help determine whether a neuron should be activated
Explanation
After the weighted-sum calculation, the activation function transforms the result and helps determine the neuron's activation.
- A
- 25
How does the ReLU activation function described in the content behave?
- A
It converts every value into a probability from 0 to 1
- B
It always outputs exactly one for every input
- C
It keeps positive values and outputs zero for negative values
- D
It changes every positive value into a negative value
Correct answer
CIt keeps positive values and outputs zero for negative values
Explanation
ReLU is described as taking the maximum with zero: positive values remain, while negative values result in an inactive neuron.
- A
- 26
If a hidden neuron receives a preactivation value of −3, what does the described ReLU function produce?
- A
0, leaving the neuron inactive
- B
1, converting it into a class label
- C
3, reversing the sign
- D
−3, activating the neuron negatively
Correct answer
A0, leaving the neuron inactive
Explanation
ReLU outputs the maximum of the input and zero, so ReLU(−3)=0.
- A
- 27
Why is sigmoid preferred over ReLU in the described binary output layer?
- A
Sigmoid produces an unrestricted negative or positive value
- B
Sigmoid guarantees that every prediction is exactly correct
- C
Sigmoid maps the output to a range from 0 to 1
- D
Sigmoid prevents the hidden layer from using weights
Correct answer
CSigmoid maps the output to a range from 0 to 1
Explanation
For binary classification, sigmoid is useful because it produces an output between 0 and 1, which can be interpreted as a confidence-like value.
- A
- 28
What does a sigmoid output near 1 indicate in the fitness example?
- A
The network is highly confident in the positive class
- B
The network has received no input features
- C
The network is highly confident in the negative class
- D
The network has not performed any calculation
Correct answer
AThe network is highly confident in the positive class
Explanation
The content interprets a value such as 0.99 as strong confidence that the person belongs to the fit class.
- A
- 29
According to the described decision rule, how is a sigmoid output of 0.3 interpreted?
- A
The output neuron is not activated
- B
The network must randomly reassign the label
- C
The network must add another hidden layer
- D
The output neuron is activated
Correct answer
AThe output neuron is not activated
Explanation
The content uses 0.5 as the threshold: values from 0 to 0.5 are treated as inactive, while values above 0.5 are treated as active.
- A
- 30
What is the main purpose of comparing predicted and actual outputs during training?
- A
To calculate how much error the prediction contains
- B
To replace the activation function with a label
- C
To ensure that the initial weights remain unchanged
- D
To determine how many input features exist
Correct answer
ATo calculate how much error the prediction contains
Explanation
The comparison is used to calculate a loss value that measures how far the prediction is from the actual output.
- A
- 31
What does a loss value close to zero generally indicate?
- A
The network has not received any training data
- B
The prediction is very far from the actual output
- C
The prediction is correct or close to correct
- D
The weights must be reset to their initial random values
Correct answer
CThe prediction is correct or close to correct
Explanation
The content explains that a loss near zero means the predicted output is correct or close to the correct output.
- A
- 32
Why is binary cross-entropy used in the described fitness problem?
- A
The function can only be used with regression outputs
- B
The function eliminates the need for labels
- C
The problem contains exactly two input neurons
- D
The problem has two possible output classes
Correct answer
DThe problem has two possible output classes
Explanation
Binary cross-entropy is presented as an appropriate loss function for the binary classification task of predicting fit versus unfit.
- A
- 33
How does binary cross-entropy treat a seriously incorrect prediction?
- A
It ignores the prediction during backpropagation
- B
It changes the prediction into a new feature
- C
It assigns a loss of exactly zero
- D
It assigns a relatively large loss
Correct answer
DIt assigns a relatively large loss
Explanation
The content emphasizes that binary cross-entropy gives a heavy penalty when the neural network makes a significant mistake.
- A
- 34
What does backpropagation determine about the network's weights?
- A
How much each weight contributed to the loss
- B
Which input feature should be deleted permanently
- C
How many labels were used before training
- D
Whether the input layer should receive numerical data
Correct answer
AHow much each weight contributed to the loss
Explanation
Backpropagation moves backward through the network and calculates each weight's contribution to the loss so the weights can be adjusted.
- A
- 35
What is the role of gradient descent in training?
- A
It updates weights in an effort to reduce the loss
- B
It converts images directly into labels without calculation
- C
It assigns the first random weights to an untrained network
- D
It determines which neurons belong to the input layer
Correct answer
AIt updates weights in an effort to reduce the loss
Explanation
Gradient descent is used to adjust the weights so that the loss gradually moves closer to zero.
- A
- 36
In the weight-update expression, what does the learning rate control?
- A
The size of each weight-update step
- B
The number of output classes
- C
The number of features in each example
- D
The threshold used to define a binary label
Correct answer
AThe size of each weight-update step
Explanation
The learning rate determines how large a step is taken when updating weights during gradient descent.
- A
- 37
What can happen if the learning rate is too high?
- A
The loss may oscillate instead of steadily decreasing
- B
The network will always reach zero loss immediately
- C
The weights will never change during training
- D
The network will stop using activation functions
Correct answer
AThe loss may oscillate instead of steadily decreasing
Explanation
A learning rate that is too high can cause updates to overshoot, making the loss move back and forth rather than approach zero smoothly.
- A
- 38
What can happen when the learning rate is appropriately small?
- A
The network skips the loss calculation entirely
- B
The loss can decrease gradually through successive updates
- C
The output becomes independent of the weights
- D
The network produces only negative predictions
Correct answer
BThe loss can decrease gradually through successive updates
Explanation
The example describes a smaller learning rate as allowing the loss to move closer to zero step by step.
- A
- 39
In the weight-update discussion, what does the derivative represent conceptually?
- A
The total number of neurons in the network
- B
The probability range of the sigmoid function
- C
The numerical label assigned to the input example
- D
How a particular weight contributes to the loss
Correct answer
DHow a particular weight contributes to the loss
Explanation
The derivative is described as measuring how much the current weight contributes to the loss, guiding its adjustment.
- A
- 40
What overall sequence describes one training pass through the network?
- A
Loss calculation, random initialization, output removal, and data generation
- B
Forward propagation, loss calculation, backpropagation, and weight adjustment
- C
Weight adjustment, label removal, forward propagation, and feature deletion
- D
Backpropagation, input deletion, activation removal, and label assignment
Correct answer
BForward propagation, loss calculation, backpropagation, and weight adjustment
Explanation
Training first produces a prediction through forward propagation, calculates loss, propagates information backward, and updates the weights.
- A
- 41
Why are many data examples passed through the network during training?
- A
Repeated examples prevent the use of a loss function
- B
A single example cannot contain any numerical features
- C
Repeated updates gradually improve the weights and the model
- D
Multiple examples force every neuron to activate equally
Correct answer
CRepeated updates gradually improve the weights and the model
Explanation
Passing hundreds, thousands, or millions of examples allows repeated loss-based updates that gradually improve the network's weights.
- A
- 42
What does it mean for the trained network to generalize?
- A
It removes all feature information before prediction
- B
It memorizes only the labels seen during training
- C
It produces the same output for every input
- D
It can make useful predictions on new unlabeled data
Correct answer
DIt can make useful predictions on new unlabeled data
Explanation
The goal is a generalized model that can use new data without labels to make decisions with good, though not perfect, accuracy.
- A
- 43
What is the practical benefit of neural-network libraries such as TensorFlow, Keras, or PyTorch?
- A
They make numerical input unnecessary
- B
They guarantee that training data is always clean
- C
They eliminate the need to choose a loss function
- D
They automate much of the mathematical computation
Correct answer
DThey automate much of the mathematical computation
Explanation
The content explains that libraries can perform the underlying calculations automatically after the user specifies architectural and training choices.
- A
- 44
Why should a practitioner still understand the mathematics behind a neural network when using libraries?
- A
Understanding the process helps with effective training and configuration
- B
Mathematical knowledge is required to replace all training data
- C
The libraries cannot perform any calculations automatically
- D
The formulas are needed to prevent the use of numerical inputs
Correct answer
AUnderstanding the process helps with effective training and configuration
Explanation
Although libraries automate calculations, understanding what happens inside the network helps users choose suitable activation functions, losses, and optimizers.
- A
- 45
Which pairing matches the example's hidden-layer and output-layer activation functions?
- A
ReLU for the hidden layer and sigmoid for the output layer
- B
Binary cross-entropy for the hidden layer and ReLU for the output layer
- C
Gradient descent for the hidden layer and sigmoid for the output layer
- D
Sigmoid for the hidden layer and ReLU for the output layer
Correct answer
AReLU for the hidden layer and sigmoid for the output layer
Explanation
The example uses ReLU in the hidden layer and sigmoid in the binary-classification output layer.
- A
- 46
Which pairing matches the example's loss function and optimizer?
- A
Gradient descent as the loss and binary cross-entropy as the optimizer
- B
ReLU as the loss and sigmoid as the optimizer
- C
Sigmoid as the loss and ReLU as the optimizer
- D
Binary cross-entropy as the loss and gradient descent as the optimizer
Correct answer
DBinary cross-entropy as the loss and gradient descent as the optimizer
Explanation
The example specifies binary cross-entropy to measure error and gradient descent to update the weights.
- A
- 47
What kind of input do neural networks require according to the content?
- A
Unprocessed labels without features
- B
Numerical values
- C
Only spoken language
- D
Only physical objects
Correct answer
BNumerical values
Explanation
The content states that neural networks understand numbers, so nonnumeric information must be represented numerically before being used as input.
- A
- 48
Why is image classification possible if neural networks accept numerical inputs?
- A
Images bypass the input layer and enter the output layer directly
- B
The network changes every image into a binary label before training
- C
Images are processed without any features or numerical representation
- D
An image can be represented numerically before being given to the network
Correct answer
DAn image can be represented numerically before being given to the network
Explanation
Although the content emphasizes numerical inputs, image classification is possible by converting image information into numerical data for the network.
- A
- 49
Why is handwritten digit recognition described as multiclass classification?
- A
The task uses multiple hidden layers but one output class
- B
The possible classes are the digits from 0 through 9
- C
The task predicts a continuous value rather than a class
- D
The task has only the two classes fit and unfit
Correct answer
BThe possible classes are the digits from 0 through 9
Explanation
Digit recognition involves more than two possible classes: the ten digits from 0 to 9.
- A
- 50
What is the key difference between the fitness example and handwritten digit recognition?
- A
The fitness task uses images, while digit recognition uses only labels
- B
The fitness task has no input features, while digit recognition has four
- C
The fitness task is binary, while digit recognition is multiclass
- D
The fitness task is unsupervised, while digit recognition has no outputs
Correct answer
CThe fitness task is binary, while digit recognition is multiclass
Explanation
Fitness prediction has two classes, whereas handwritten digit recognition distinguishes among the digits 0 through 9.
- A

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