Back to Dashboard

Essentials

Complete Subject Question Bank

Subject Overview
Review software development basics, basic data structures (arrays, strings), common logic constructs, flowchart analysis, and the fundamentals of Generative AI.
Genai#1

In a neural network, what does a neuron compute?

A
A weighted sum followed by an activation function
B
Recurrent Neural Network (RNN)
C
Convolutional Neural Network (CNN)
D
Generative Adversarial Network (GAN)

The correct answer is: A weighted sum followed by an activation function.

Genai#2

Which function introduces non-linearity in a neural network?

A
Activation Function
B
Recurrent Neural Network (RNN)
C
Convolutional Neural Network (CNN)
D
Generative Adversarial Network (GAN)

The correct answer is: Activation Function.

Genai#3

Which of the following is NOT a layer type in a typical neural network?

A
Quantum Layer
B
Recurrent Neural Network (RNN)
C
Convolutional Neural Network (CNN)
D
Generative Adversarial Network (GAN)

The correct answer is: Quantum Layer.

Genai#4

Which application of ML is used to detect unusual patterns in data?

A
Anomaly Detection
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Anomaly Detection.

Genai#5

In which type of ML does an agent learn by interacting with an environment?

A
Reinforcement Learning
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Reinforcement Learning.

Genai#6

Which of the following is a common activation function in neural networks?

A
ReLU (Rectified Linear Unit)
B
Recurrent Neural Network (RNN)
C
Convolutional Neural Network (CNN)
D
Generative Adversarial Network (GAN)

The correct answer is: ReLU (Rectified Linear Unit).

Genai#7

How is a neural network's performance typically evaluated during training?

A
Using a validation set
B
Recurrent Neural Network (RNN)
C
Convolutional Neural Network (CNN)
D
Generative Adversarial Network (GAN)

The correct answer is: Using a validation set.

Genai#8

Which of the following is a challenge in training deep neural networks?

A
Vanishing/Exploding gradients
B
Recurrent Neural Network (RNN)
C
Convolutional Neural Network (CNN)
D
Generative Adversarial Network (GAN)

The correct answer is: Vanishing/Exploding gradients.

Genai#9

What is the role of the loss function in training a neural network?

A
To quantify the difference between predicted and actual values
B
Recurrent Neural Network (RNN)
C
Convolutional Neural Network (CNN)
D
Generative Adversarial Network (GAN)

The correct answer is: To quantify the difference between predicted and actual values.

Genai#10

What is the primary purpose of backpropagation?

A
Adjusting weights based on the error
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Adjusting weights based on the error.

Genai#11

What is the primary purpose of a loss function in training neural networks?

A
To quantify the difference between predicted and actual values
B
Recurrent Neural Network (RNN)
C
Convolutional Neural Network (CNN)
D
Generative Adversarial Network (GAN)

The correct answer is: To quantify the difference between predicted and actual values.

Genai#12

Which of the following is a technique to prevent overfitting in neural networks?

A
Dropout
B
Recurrent Neural Network (RNN)
C
Convolutional Neural Network (CNN)
D
Generative Adversarial Network (GAN)

The correct answer is: Dropout.

Genai#13

Which of the following is NOT a common machine learning algorithm?

A
Quantum Entanglement
B
Supervised Learning
C
Unsupervised Learning
D
Reinforcement Learning

The correct answer is: Quantum Entanglement.

Genai#14

What is the main difference between regression and classification?

A
Regression predicts a continuous output, Classification predicts a discrete label
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Regression predicts a continuous output, Classification predicts a discrete label.

Genai#15

What is the primary goal of machine learning?

A
To allow computers to learn from data
B
Supervised Learning
C
Unsupervised Learning
D
Reinforcement Learning

The correct answer is: To allow computers to learn from data.

Genai#16

In the context of neural networks, what does the term "backpropagation" refer to?

A
The method of adjusting weights based on the error
B
Recurrent Neural Network (RNN)
C
Convolutional Neural Network (CNN)
D
Generative Adversarial Network (GAN)

The correct answer is: The method of adjusting weights based on the error.

Genai#17

Which component of a neural network is responsible for combining inputs and passing them to the next layer?

A
Neuron (or Node)
B
Recurrent Neural Network (RNN)
C
Convolutional Neural Network (CNN)
D
Generative Adversarial Network (GAN)

The correct answer is: Neuron (or Node).

Genai#18

Which activation function outputs a value between 0 and 1?

A
Sigmoid
B
Likelihood function
C
Support Vector Machines
D
Decision Trees

The correct answer is: Sigmoid.

Genai#19

Which of the following is NOT a type of machine learning?

A
Recursive Learning
B
Supervised Learning
C
Unsupervised Learning
D
Reinforcement Learning

The correct answer is: Recursive Learning.

Genai#20

Which application of ML is used to group similar items?

A
Clustering
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Clustering.

Key Topics to Study

Based on our question bank analysis, master these concepts to score high in Essentials.

GenAISoftwareArrayPseudocodeAlgorithmSortingNeuralJavaScript
Recommended

Success Primer Exam

Test your knowledge under real exam conditions with our curated mock assessment.

Start Preparing for Primers
Watch Walkthroughs!