Back to Practice Artificial Intelligence

AI Fundamentals - Practice MCQs for CCAT

50 Questions Section B: Programming Artificial Intelligence

AI Fundamentals Question Bank for C-CAT

Topic-wise AI Fundamentals MCQs for CDAC C-CAT preparation with answers and explanations.

Q1.
Artificial Intelligence (AI) is the simulation of:
AHuman intelligence by machines
BHuman physical strength
CNatural phenomena
DChemical reactions
Show Answer & Explanation

Correct Answer: A - Human intelligence by machines

AI involves creating systems that can perform tasks that typically require human intelligence.

Q2.
The Turing Test evaluates:
AComputer speed
BWhether a machine can exhibit intelligent behavior indistinguishable from human
CMemory capacity
DNetwork latency
Show Answer & Explanation

Correct Answer: B - Whether a machine can exhibit intelligent behavior indistinguishable from human

The Turing Test, proposed by Alan Turing, tests if a machine's responses are indistinguishable from a human's.

Q3.
Which is an example of Narrow AI?
AA robot with consciousness
BSpam email filter
CAI with human-level intelligence
DSelf-aware AI
Show Answer & Explanation

Correct Answer: B - Spam email filter

Narrow AI (Weak AI) is designed for specific tasks like spam filtering, chess playing, or voice assistants.

Q4.
General AI (AGI) refers to:
AAI for a single task
BAI with human-level intelligence across all domains
CAI for gaming only
DAI for data storage
Show Answer & Explanation

Correct Answer: B - AI with human-level intelligence across all domains

Artificial General Intelligence (AGI) would have human-level intelligence and ability to learn any intellectual task.

Q5.
Expert systems are based on:
ANeural networks
BKnowledge base and inference rules
CGenetic algorithms
DRandom decisions
Show Answer & Explanation

Correct Answer: B - Knowledge base and inference rules

Expert systems use knowledge bases and inference engines to emulate decision-making of human experts.

Q6.
Heuristic in AI refers to:
AExact algorithm
BProblem-solving approach using practical methods
CDatabase query
DNetwork protocol
Show Answer & Explanation

Correct Answer: B - Problem-solving approach using practical methods

Heuristics are practical problem-solving approaches that may not be optimal but are sufficient for immediate goals.

Q7.
Search algorithms in AI are used for:
AData compression
BAudio playback
CImage display
DFinding solutions in problem spaces
Show Answer & Explanation

Correct Answer: D - Finding solutions in problem spaces

Search algorithms explore problem spaces to find solutions, paths, or optimal states.

Q8.
A* algorithm is known for:
ASorting data
BOptimal pathfinding using heuristics
CEncryption
DCompression
Show Answer & Explanation

Correct Answer: B - Optimal pathfinding using heuristics

A* is a best-first search algorithm that finds optimal paths using heuristics to guide the search.

Q9.
Knowledge representation in AI involves:
ADeleting knowledge
BHiding data
CEncoding information for reasoning
DNetwork routing
Show Answer & Explanation

Correct Answer: C - Encoding information for reasoning

Knowledge representation encodes information in a form that AI systems can use for reasoning and inference.

Q10.
Intelligent agents in AI:
AOnly observe
BOnly transmit data
COnly store data
DPerceive environment and take actions to achieve goals
Show Answer & Explanation

Correct Answer: D - Perceive environment and take actions to achieve goals

Intelligent agents perceive their environment through sensors and act upon it through actuators to achieve goals.

Q11.
PEAS in AI agent design stands for:
APlan, Evaluate, Act, Sense
BProgram, Execute, Analyze, Store
CPerformance, Environment, Actuators, Sensors
DProcess, Extract, Apply, Save
Show Answer & Explanation

Correct Answer: C - Performance, Environment, Actuators, Sensors

PEAS describes an agent's Performance measure, Environment, Actuators, and Sensors.

Q12.
Fuzzy logic handles:
AOnly true or false values
BOnly integers
CDegrees of truth between 0 and 1
DOnly negative values
Show Answer & Explanation

Correct Answer: C - Degrees of truth between 0 and 1

Fuzzy logic deals with degrees of truth rather than strict true/false, handling uncertainty and vagueness.

Q13.
Genetic algorithms are inspired by:
ABiological evolution
BHuman brain
CChemical reactions
DPhysical laws
Show Answer & Explanation

Correct Answer: A - Biological evolution

Genetic algorithms use concepts from natural evolution: selection, crossover, and mutation to solve optimization problems.

Q14.
The Chinese Room argument challenges:
AComputer speed
BData storage
CNetwork security
DWhether computers can truly understand
Show Answer & Explanation

Correct Answer: D - Whether computers can truly understand

Searle's Chinese Room argues that symbol manipulation (like programs) doesn't constitute genuine understanding.

Q15.
Planning in AI involves:
ARandom actions
BGenerating sequence of actions to achieve goals
COnly data storage
DOnly user input
Show Answer & Explanation

Correct Answer: B - Generating sequence of actions to achieve goals

AI planning generates sequences of actions that transform an initial state into a desired goal state.

Q16.
Constraint satisfaction problems (CSP) are solved by:
AAssigning values to variables satisfying all constraints
BRandom guessing
CDeleting constraints
DIgnoring variables
Show Answer & Explanation

Correct Answer: A - Assigning values to variables satisfying all constraints

CSPs find assignments to variables that satisfy all constraints, used in scheduling, puzzles, etc.

Q17.
Breadth-first search explores:
AAll nodes at current depth before deeper levels
BDeepest nodes first
CRandom nodes
DOnly leaf nodes
Show Answer & Explanation

Correct Answer: A - All nodes at current depth before deeper levels

BFS explores all nodes at the current depth level before moving to the next depth level.

Q18.
Depth-first search uses:
AQueue data structure
BHash table
CStack data structure
DBinary tree only
Show Answer & Explanation

Correct Answer: C - Stack data structure

DFS uses a stack (or recursion) to explore as far as possible along each branch before backtracking.

Q19.
Minimax algorithm is used in:
AData compression
BImage processing
CGame playing (adversarial search)
DAudio processing
Show Answer & Explanation

Correct Answer: C - Game playing (adversarial search)

Minimax is used in two-player games to minimize the maximum possible loss (optimal adversarial play).

Q20.
Alpha-beta pruning improves minimax by:
AExploring more nodes
BAdding random moves
CEliminating branches that won't affect the outcome
DIgnoring the opponent
Show Answer & Explanation

Correct Answer: C - Eliminating branches that won't affect the outcome

Alpha-beta pruning eliminates branches that cannot influence the final decision, reducing search space.

Q21.
Which type of AI is designed to perform a narrow task such as facial recognition or playing chess?
AGeneral AI
BHybrid AI
CSuper AI
DNarrow AI
Show Answer & Explanation

Correct Answer: D - Narrow AI

Narrow AI (also called Weak AI) is designed to perform a specific task. Most current AI systems, such as Siri, Alexa, and chess engines, are examples of Narrow AI.

Q22.
The Turing Test was proposed by Alan Turing in which year?
A1950
B1945
C1956
D1960
Show Answer & Explanation

Correct Answer: A - 1950

Alan Turing proposed the Turing Test in 1950 in his paper 'Computing Machinery and Intelligence' to determine whether a machine can exhibit intelligent behavior indistinguishable from a human.

Q23.
Which search algorithm explores all nodes at the current depth before moving to nodes at the next depth level?
ADepth-First Search
BBreadth-First Search
CA* Search
DHill Climbing
Show Answer & Explanation

Correct Answer: B - Breadth-First Search

Breadth-First Search (BFS) explores all neighbor nodes at the present depth before moving on to nodes at the next depth level, using a queue data structure.

Q24.
An expert system consists of which two main components?
ACPU and Memory
BCompiler and Interpreter
CInput and Output
DKnowledge Base and Inference Engine
Show Answer & Explanation

Correct Answer: D - Knowledge Base and Inference Engine

An expert system has two main components: a Knowledge Base (storing domain-specific facts and rules) and an Inference Engine (applying logical rules to the knowledge base to derive conclusions).

Q25.
Which of the following is NOT a characteristic of an intelligent agent?
AAutonomy
BDeterminism
CReactivity
DProactiveness
Show Answer & Explanation

Correct Answer: B - Determinism

Intelligent agents are characterized by autonomy, reactivity, proactiveness, and social ability. Determinism is not a required characteristic; agents can operate in non-deterministic environments.

Q26.
In AI, a heuristic function is used to:
AEstimate the cost to reach the goal from a given state
BGuarantee the optimal solution
CStore knowledge in rules
DParse natural language
Show Answer & Explanation

Correct Answer: A - Estimate the cost to reach the goal from a given state

A heuristic function estimates the cost from a given state to the goal state. It guides search algorithms like A* to find solutions more efficiently, though it may not always guarantee the optimal path.

Q27.
Which AI approach attempts to mimic the structure and function of the human brain?
AConnectionism
BSymbolic AI
CExpert Systems
DFuzzy Logic
Show Answer & Explanation

Correct Answer: A - Connectionism

Connectionism (neural network-based approach) attempts to mimic the structure of the human brain using interconnected nodes (artificial neurons) to process information and learn from data.

Q28.
The A* search algorithm uses which of the following evaluation functions?
Af(n) = g(n)
Bf(n) = g(n) + h(n)
Cf(n) = h(n)
Df(n) = g(n) × h(n)
Show Answer & Explanation

Correct Answer: B - f(n) = g(n) + h(n)

A* uses f(n) = g(n) + h(n) where g(n) is the actual cost from the start to node n, and h(n) is the heuristic estimate of the cost from n to the goal. This combines actual and estimated costs.

Q29.
Which of the following is an example of a strong AI system?
AA hypothetical machine with human-level intelligence
BSelf-driving cars
CGoogle Search
DSpam email filter
Show Answer & Explanation

Correct Answer: A - A hypothetical machine with human-level intelligence

Strong AI (Artificial General Intelligence) refers to a hypothetical system that possesses human-level intelligence and can perform any intellectual task a human can. No strong AI system exists yet.

Q30.
In the context of search algorithms, what does 'completeness' mean?
AThe algorithm always finds the optimal solution
BThe algorithm will find a solution if one exists
CThe algorithm runs in polynomial time
DThe algorithm uses minimal memory
Show Answer & Explanation

Correct Answer: B - The algorithm will find a solution if one exists

Completeness means the algorithm is guaranteed to find a solution if one exists. For example, BFS is complete for finite graphs, while DFS may not be complete for infinite graphs.

Q31.
Which of the following is a knowledge representation technique in AI?
AHash Table
BQuick Sort
CBinary Search
DSemantic Networks
Show Answer & Explanation

Correct Answer: D - Semantic Networks

Semantic Networks represent knowledge as a graph of nodes (concepts) connected by edges (relationships). They are used in AI to model relationships between objects and concepts.

Q32.
The Depth-First Search algorithm uses which data structure?
AStack
BQueue
CPriority Queue
DLinked List
Show Answer & Explanation

Correct Answer: A - Stack

DFS uses a stack (LIFO) data structure to keep track of nodes to visit. It can also be implemented using recursion, which implicitly uses the call stack.

Q33.
Which type of agent maintains an internal model of the world?
ASimple Reflex Agent
BModel-Based Reflex Agent
CTable-Driven Agent
DUtility-Based Agent
Show Answer & Explanation

Correct Answer: B - Model-Based Reflex Agent

A Model-Based Reflex Agent maintains an internal model of the world to handle partially observable environments. It updates the model based on percepts and uses it to make decisions.

Q34.
What is the primary purpose of the minimax algorithm?
ADecision making in adversarial games
BSorting data
CClustering data points
DText classification
Show Answer & Explanation

Correct Answer: A - Decision making in adversarial games

The minimax algorithm is used for decision making in adversarial (two-player) games. It minimizes the possible loss for a worst-case scenario by considering all possible moves of both players.

Q35.
Alpha-beta pruning is used to optimize which algorithm?
AA* Search
BMinimax Algorithm
CDijkstra's Algorithm
DBreadth-First Search
Show Answer & Explanation

Correct Answer: B - Minimax Algorithm

Alpha-beta pruning is an optimization technique for the minimax algorithm. It reduces the number of nodes evaluated in the game tree by pruning branches that cannot influence the final decision.

Q36.
Which of the following best describes 'Artificial General Intelligence' (AGI)?
AAI that matches human cognitive abilities across all domains
BAI that excels at one specific task
CAI that surpasses human intelligence
DAI used only for gaming
Show Answer & Explanation

Correct Answer: A - AI that matches human cognitive abilities across all domains

Artificial General Intelligence (AGI) refers to AI that can understand, learn, and apply knowledge across a wide range of tasks at a level comparable to human intelligence, unlike narrow AI which is task-specific.

Q37.
In a production system, what are 'rules' also known as?
AFacts
BAxioms
CProductions
DSchemas
Show Answer & Explanation

Correct Answer: C - Productions

In a production system, rules are called productions. They are condition-action pairs (IF-THEN rules) that specify what action to take when certain conditions are met in the working memory.

Q38.
Which search strategy always expands the node with the lowest path cost?
ABFS
BDFS
CUniform Cost Search
DIterative Deepening
Show Answer & Explanation

Correct Answer: C - Uniform Cost Search

Uniform Cost Search (UCS) expands the node with the lowest cumulative path cost from the start node. It uses a priority queue and guarantees finding the optimal solution when all step costs are non-negative.

Q39.
The Chinese Room argument was proposed by:
AAlan Turing
BJohn McCarthy
CMarvin Minsky
DJohn Searle
Show Answer & Explanation

Correct Answer: D - John Searle

John Searle proposed the Chinese Room argument in 1980 to challenge the idea that a computer running a program can truly 'understand' language or have a 'mind' in the way humans do.

Q40.
Which of the following is a characteristic of Hill Climbing search?
AIt always finds the global optimum
BIt requires a priority queue
CIt explores all possible paths
DIt can get stuck at local maxima
Show Answer & Explanation

Correct Answer: D - It can get stuck at local maxima

Hill Climbing is a local search algorithm that continuously moves in the direction of increasing value. Its main limitation is that it can get stuck at local maxima, plateaus, or ridges.

Q41.
What is the term for AI that surpasses human intelligence in all aspects?
ANarrow AI
BGeneral AI
CApplied AI
DSuper AI
Show Answer & Explanation

Correct Answer: D - Super AI

Super AI (also called Artificial Superintelligence or ASI) is a hypothetical form of AI that surpasses human intelligence in all aspects including creativity, problem-solving, and social intelligence.

Q42.
In forward chaining, inference starts from:
AThe goal and works backward
BRandom states
CKnown facts and derives new facts
DThe most recent rule
Show Answer & Explanation

Correct Answer: C - Known facts and derives new facts

Forward chaining is a data-driven approach that starts from known facts and applies inference rules to derive new facts until the goal is reached. It is the opposite of backward chaining.

Q43.
Which of the following is NOT a type of environment in AI?
ADeterministic
BStochastic
CEpisodic
DRecursive
Show Answer & Explanation

Correct Answer: D - Recursive

AI environments are classified as deterministic/stochastic, episodic/sequential, static/dynamic, discrete/continuous, and fully/partially observable. 'Recursive' is not a standard environment classification.

Q44.
Fuzzy logic was introduced by:
ALotfi Zadeh
BAlan Turing
CJohn McCarthy
DClaude Shannon
Show Answer & Explanation

Correct Answer: A - Lotfi Zadeh

Lotfi Zadeh introduced Fuzzy Logic in 1965. Unlike classical Boolean logic (true/false), fuzzy logic deals with degrees of truth, allowing reasoning with imprecise or uncertain information.

Q45.
Which search algorithm combines the benefits of BFS and DFS?
AA* Search
BBidirectional Search
CIterative Deepening Depth-First Search
DGreedy Best-First Search
Show Answer & Explanation

Correct Answer: C - Iterative Deepening Depth-First Search

Iterative Deepening DFS (IDDFS) combines BFS's completeness and optimality with DFS's space efficiency. It performs DFS repeatedly with increasing depth limits.

Q46.
What does PEAS stand for in the context of AI agents?
APerception, Evaluation, Action, State
BProcessing, Execution, Analysis, Storage
CPerformance, Environment, Actuators, Sensors
DPlanning, Execution, Assessment, Strategy
Show Answer & Explanation

Correct Answer: C - Performance, Environment, Actuators, Sensors

PEAS stands for Performance measure, Environment, Actuators, and Sensors. It is a framework used to describe the task environment of an intelligent agent.

Q47.
Which of the following problems is best solved using Constraint Satisfaction?
ASorting an array
BFinding shortest path
CMap coloring
DMatrix multiplication
Show Answer & Explanation

Correct Answer: C - Map coloring

Map coloring is a classic Constraint Satisfaction Problem (CSP) where the goal is to assign colors to regions such that no two adjacent regions have the same color, subject to defined constraints.

Q48.
The term 'Artificial Intelligence' was coined at which conference?
ADartmouth Conference 1956
BMIT Conference 1952
CStanford Workshop 1960
DCarnegie Mellon Symposium 1958
Show Answer & Explanation

Correct Answer: A - Dartmouth Conference 1956

The term 'Artificial Intelligence' was coined at the Dartmouth Conference in 1956, organized by John McCarthy, Marvin Minsky, Nathaniel Rochester, and Claude Shannon.

Q49.
In backward chaining, the inference process starts from:
AKnown facts
BRandom hypotheses
CThe first rule in the knowledge base
DThe goal and works backward to find supporting facts
Show Answer & Explanation

Correct Answer: D - The goal and works backward to find supporting facts

Backward chaining is a goal-driven approach that starts from the goal and works backward to find the facts that support it. It is commonly used in expert systems for diagnosis.

Q50.
What is the time complexity of Breadth-First Search?
AO(n)
BO(n2)
CO(log n)
DO(bd)
Show Answer & Explanation

Correct Answer: D - O(bd)

The time complexity of BFS is O(bd) where b is the branching factor and d is the depth of the shallowest goal. BFS must explore all nodes at each level before moving deeper.

Showing 1-10 of 50 questions