Artificial Intelligence MCQs (Set-2)

Difficulty: Easy & Basic

Breadth-first search uses which structure for first-in, first-out behavior?

A LIFO stack
B Binary heap
C FIFO queue
D Hash table

Depth-first exploration commonly relies on which structure?

A Hash map
B Stack
C Matrix
D Queue

A* ranks nodes using which score?

A f = h only
B f = g Γ— h
C f = g + h
D f = g βˆ’ h

Cumulative path cost determines uniform-cost search priorityβ€”what is selected?

A Accumulated path cost
B Estimated goal distance
C Number of features
D Depth of tree

For optimal A* tree search, what must an admissible heuristic avoid?

A Never overestimate cost
B Prefer deeper nodes
C Always equal true cost
D Ignore path costs

What does a search state represent?

A A model parameter
B A training label
C An evaluation metric
D A possible configuration

Goal testing checks what about a state?

A Whether loss is zero
B Whether the goal is reached
C Whether a model is trained
D Whether data is labeled

Percepts arrive through sensors; actions leave through what?

A Labels and features
B Sensors and actuators
C Queues and stacks
D Loss and gradient

PEAS uses S to stand for which component?

A Sensors
B Supervision
C Search
D States

How does a loss function summarize prediction error?

A Search depth
B Prediction error
C Reward frequency
D Training examples

Gradient descent updates parameters in which direction?

A Toward larger loss
B Along the gradient
C At random only
D Opposite the gradient

During training, one epoch generally means what?

A One test example
B One prediction
C One hidden layer
D One pass through training data

Hyperparameters are best described as what?

A Learned model weights
B Externally chosen settings
C Predicted classes
D Target labels

During k-fold validation, each fold is used how?

A Training twice
B Feature selection only
C Validation once
D Testing continuously

K-nearest neighbors bases prediction on which examples?

A A single centroid
B Rule weights only
C Random hidden states
D Nearby labeled examples

To run k-means, which setting must be chosen?

A Number of clusters
B Number of labels
C Loss threshold
D Tree depth

Decision-tree leaves usually contain what?

A A gradient
B A feature test
C A search queue
D A prediction

Predicted versus actual classes are summarized by which matrix?

A Rewards and actions
B Predicted and actual classes
C Features and gradients
D Training and test sizes

Precision divides true positives by what?

A Predicted positives
B All negatives
C All examples
D Actual positives

Recall divides true positives by what?

A All predictions
B Predicted positives
C Actual positives
D True negatives

Accuracy measures which fraction?

A Missing features
B Training errors
C Positive predictions
D Correct predictions

F1 combines which two metrics harmonically?

A Precision and recall
B Bias and variance
C Accuracy and loss
D Recall and specificity

How does a recommender system support users?

A Sorts source code
B Finds shortest paths
C Suggests personalized items
D Labels every pixel

Outlier detection is another name for what task?

A Nearest centroids
B Balanced classes
C Unusual observations
D Common labels

Speech recognition converts spoken audio into what?

A Class weights
B Written text
C Search paths
D Pixel labels