wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

AI Agents and Search Algorithms Quiz

Total questions: 50

Worksheet time: 25mins

Name
Class
Date
1.

An AI agent is defined as an entity that:

a)

Learns only from data

b)

Acts upon an environment using sensors and actuators

c)

Solves only numerical problems

d)

Stores information only

2.

Which of the following is an example of a simple reflex agent?

a)

Chess-playing program

b)

Thermostat

c)

Self-driving car

d)

Virtual assistant

3.

The performance measure of an agent determines:

a)

How fast the agent runs

b)

How much memory it uses

c)

How successful the agent is

d)

The agent’s hardware

4.

A rational agent always:

a)

Acts randomly

b)

Chooses the action that maximizes expected performance

c)

Copies human behavior

d)

Acts emotionally

5.

Which agent keeps track of the world using an internal state?

a)

Simple reflex agent

b)

Learning agent

c)

Model-based agent

d)

Utility-based agent

6.

Sensors are used by agents to:

a)

Perform actions

b)

Measure performance

c)

Perceive the environment

d)

Store data

7.

Actuators are used by agents to:

a)

Sense temperature

b)

Store knowledge

c)

Take actions

d)

Learn models

8.

Which agent improves performance over time?

a)

Simple reflex

b)

Learning agent

c)

Goal-based

d)

Utility-based

9.

PEAS stands for:

a)

Performance, Environment, Actuators, Sensors

b)

Program, Environment, Agent, Sensors

c)

Performance, Evaluation, Actions, States

d)

Planning, Execution, Actions, Sensors

10.

Which agent uses a utility function?

a)

Simple reflex

b)

Model-based

c)

Utility-based

d)

Learning

11.

BFS explores nodes in:

a)

Depth-wise order

b)

Random order

c)

Level-wise order

d)

Heuristic order

12.

DFS uses which data structure?

a)

Queue

b)

Stack

c)

Priority Queue

d)

Tree

13.

BFS is guaranteed to find the shortest path if:

a)

Graph is weighted

b)

Graph is unweighted

c)

Graph has cycles

d)

Graph is infinite

14.

DFS may fail in infinite-depth spaces because:

a)

It uses more memory

b)

It explores shallow nodes first

c)

It can get stuck in infinite paths

d)

It is too slow

15.

BFS memory requirement is:

a)

Low

b)

Moderate

c)

Very high

d)

Zero

16.

DFS is preferred when:

a)

Optimal solution is required

b)

Memory is limited

c)

Path cost matters

d)

Heuristic is available

17.

BFS is complete if:

a)

Branching factor is infinite

b)

Graph is finite

c)

Heuristic is admissible

d)

Path cost is zero

18.

DFS is not optimal because:

a)

It uses stack

b)

It ignores path cost

c)

It finds deeper solutions first

d)

It explores level-wise

19.

BFS time complexity depends on:

a)

Depth only

b)

Branching factor and depth

c)

Heuristic value

d)

Memory size

20.

DFS explores:

a)

All nodes at one level

b)

One branch fully before backtracking

c)

Nodes with lowest cost

d)

Nodes randomly

21.

A* algorithm uses:

a)

Only path cost

b)

Only heuristic

c)

f(n) = g(n) + h(n)

d)

Random cost

22.

g(n) represents:

a)

Estimated cost to goal

b)

Total cost

c)

Cost from start to node n

d)

Heuristic value

23.

h(n) represents:

a)

Cost from start

b)

Estimated cost to goal

c)

Actual cost

d)

Total cost

24.

A heuristic is called admissible if it:

a)

Overestimates cost

b)

Underestimates cost

c)

Is always zero

d)

Is random

25.

A* is optimal if:

a)

h(n) = 0

b)

h(n) is admissible

c)

Graph is infinite

d)

DFS is used

26.

Informed search differs from uninformed search by using:

a)

Sensors

b)

Actuators

c)

Heuristic information

d)

Random moves

27.

Which is an informed search algorithm?

a)

BFS

b)

DFS

c)

A*

d)

Depth-limited search

28.

Greedy Best-First Search uses:

a)

g(n) only

b)

h(n) only

c)

g(n) + h(n)

d)

Random value

29.

A* combines advantages of:

a)

BFS and DFS

b)

UCS and Greedy search

c)

DFS and Greedy

d)

BFS and IDS

30.

If h(n) = 0 for all nodes, A* behaves like:

a)

DFS

b)

BFS

c)

Uniform Cost Search

d)

Greedy Search

31.

Informed search generally:

a)

Explores more nodes

b)

Explores fewer nodes

c)

Uses no memory

d)

Ignores goal

32.

Heuristic function improves search by:

a)

Increasing branching factor

b)

Reducing search space

c)

Increasing memory

d)

Randomizing search

33.

A consistent heuristic satisfies:

a)

h(n) ≤ cost(n,n') + h(n')

b)

h(n) > actual cost

c)

h(n) = 0

d)

h(n) is random

34.

Priority queue is used in:

a)

DFS

b)

BFS

c)

A*

d)

Depth-limited search

35.

A* search may fail if:

a)

Heuristic is admissible

b)

Heuristic overestimates cost

c)

Graph is finite

d)

Cost is positive

36.

An environment is fully observable if:

a)

Agent sees part of the state

b)

Agent sees the complete state

c)

State is hidden

d)

Environment is random

37.

Chess is an example of:

a)

Stochastic environment

b)

Partially observable

c)

Deterministic environment

d)

Continuous environment

38.

A stochastic environment is one where:

a)

Outcome is predictable

b)

Outcome is uncertain

c)

Actions are fixed

d)

Agent is passive

39.

Self-driving car operates in:

a)

Simple environment

b)

Static environment

c)

Dynamic environment

d)

Discrete environment

40.

Taxi driving problem is:

a)

Episodic

b)

Sequential

c)

Static

d)

Single-agent

41.

Medical diagnosis is an example of AI application in:

a)

Education

b)

Robotics

c)

Healthcare

d)

Gaming

42.

Expert systems are mainly used for:

a)

Data storage

b)

Decision making

c)

Image processing

d)

Hardware control

43.

NLP is primarily concerned with:

a)

Images

b)

Numbers

c)

Human language

d)

Robotics

44.

Recommendation systems are used by:

a)

Operating systems

b)

Search algorithms

c)

E-commerce platforms

d)

Compilers

45.

Robotics combines AI with:

a)

Philosophy

b)

Mechanical engineering

c)

Economics

d)

Literature

46.

AI in education helps in:

a)

Manual grading

b)

Personalized learning

c)

Hardware design

d)

Networking

47.

Virtual assistants are examples of:

a)

Simple agents

b)

Intelligent agents

c)

Static agents

d)

Offline systems

48.

AI applications in banking include:

a)

Manual auditing

b)

Fraud detection

c)

Paper filing

d)

Cash handling

49.

Game playing AI mainly uses:

a)

Search algorithms

b)

Sorting algorithms

c)

Hashing

d)

Encryption

50.

The main goal of AI is to:

a)

Replace humans

b)

Make machines intelligent

c)

Store large data

d)

Control hardware