Core Concept Questions
1. What are the six capabilities a computer must have to pass the Total Turing Test?
To pass the Total Turing Test, a computer system must demonstrate:
- Natural Language Processing (NLP) - to communicate in natural human languages
- Knowledge Representation - to store and retrieve general knowledge
- Automated Reasoning - to use stored information to answer questions and draw new conclusions
- Machine Learning - to adapt to new circumstances and detect patterns
- Computer Vision - to perceive objects visually
- Robotics (Motor Control) - to manipulate objects and move
2. Differentiate between a Goal-Based Agent and a Utility-Based Agent
Feature | Goal-Based Agent | Utility-Based Agent |
---|---|---|
Decision Basis | Achieves defined goal(s) | Maximizes a utility function |
Evaluation | Binary (Goal achieved or not) | Graded (How good is the state) |
Flexibility | Lower | Higher |
Example | Path planning in maze | Route optimization with fuel cost |
Heuristic Search & Pathfinding
3. Follow the graph where edge weights show step costs and nodes show heuristic values. Find the most cost-effective path from start to goal using appropriate algorithms.
Solution Approach:
- Identify start and goal nodes
- Calculate f(n) = g(n) + h(n) for each node
- Apply A* search algorithm
- Track the path with lowest cumulative cost
4. Explain Alpha-Beta pruning. Define alpha and beta, and solve an example.
Alpha-Beta Pruning: An optimization of minimax that eliminates unnecessary branches in game trees.
- Alpha (α): Best value MAX can guarantee
- Beta (β): Best value MIN can guarantee
Prune when α ≥ β. Example:
A (MAX) / | \ 3 12 8 → Prune anything > 8 under MIN
Predicted Exam Questions
5. What is a learning agent? Draw and explain the conceptual diagram.
A Learning Agent improves its performance based on feedback from experience.
Components:
- Performance Element: Chooses external actions
- Learning Element: Makes improvements
- Critic: Evaluates performance
- Problem Generator: Suggests exploratory actions
6. Define the task environment and provide PEA descriptions for an autonomous taxi driver
Component | Description |
---|---|
Performance | Safety, speed, passenger comfort |
Environment | Roads, traffic, weather conditions |
Actuators | Steering, brakes, accelerator |
Sensors | Cameras, LIDAR, GPS |
7. Define CSP. Formulate 8-Queens as CSP.
Constraint Satisfaction Problem (CSP) has:
- Variables: Q1 to Q8
- Domains: 1 to 8 (columns)
- Constraints:
- No two queens in same row
- No two queens in same column
- No two queens in same diagonal
8. Distinguish between Predicate Logic and Propositional Logic.
Feature | Propositional Logic | Predicate Logic |
---|---|---|
Expressiveness | Low | High |
Uses | Facts | Facts + Relationships |
Example | P ∨ Q | Loves(John, Mary) |
9. What is PDDL? Provide PDDL for Spare Tire Problem.
Planning Domain Definition Language (PDDL)
Spare Tire:
- Objects: spare, flat, axle
- Initial: flat on axle, spare in trunk
- Goal: spare on axle
- Actions: Remove(flat), Remove(spare), PutOn(spare)
10. PEAS for various agents.
Agent | Performance | Environment | Actuators | Sensors |
---|---|---|---|---|
Self-driving Car | Safety, speed | Roads | Wheels, brakes | Cameras, GPS |
Vacuum Cleaner | Cleanliness | House floor | Wheels, vacuum | Dust sensor |
11. Compare UCS, Greedy BFS, and A*
Strategy | f(n) | Optimal | Informed |
---|---|---|---|
UCS | g(n) | Yes | No |
Greedy BFS | h(n) | No | Yes |
A* | g(n) + h(n) | Yes | Yes |
12. Define problem components using Mars Rover
- State space: All rover positions on Mars
- Initial state: Starting point of rover
- Actions: Move North, South, etc.
- Transition model: New position = old + action
- Path cost: Energy or time
- Goal test: At sampling location
13. Explain Genetic Algorithm with example
Steps:
- Initial Population
- Selection (based on fitness)
- Crossover
- Mutation
- New generation
Example: Maximize f(x) = (a+b)-(c+d)+(e+f)-(g+h)
Chromosomes: 87126601, 65413532...
Crossover at middle, mutation flips bit
14. Explain Wumpus World problem using Logic
- Percepts: Breeze, Stench
- Rules: If breeze, then pit nearby
- Represent in propositional logic:
- B[1,1] → P[1,2] ∨ P[2,1]
Use resolution or model checking to infer safe paths.
15. Omniscient vs Rational Agents + Examples of AI apps
Feature | Omniscient | Rational |
---|---|---|
Knows all | Yes | No |
Chooses | Perfect decision | Best given knowledge |
Applications:
- ChatGPT (NLP)
- Tesla Autopilot (Robotics)
- Google Search (Inference)
- Siri / Alexa (Voice Assistants)