Unit 1: Foundations & Applications of AI; AI Problem Modeling & Search Concepts - Subjective Questions
INT428 — Artificial Intelligence Essentials • Practice Questions with Detailed Answers
20 questions
Define Intelligence and Artificial Intelligence (AI). How does AI attempt to replicate natural intelligence?
Intelligence is the ability of an entity to acquire knowledge, reason, learn from experience, adapt to new situations, understand abstract concepts, and apply knowledge to manipulate one's environment.
Artificial Intelligence (AI) is a branch of computer science concerned with building machines and software capable of performing tasks that normally require human intelligence, such as reasoning, learning, perception, problem-solving, and language understanding.
How AI replicates natural intelligence:
- Learning: Machine learning algorithms learn patterns from data, mimicking human learning from experience.
- Reasoning: Logic-based systems and inference engines simulate deductive and inductive reasoning.
- Perception: Computer vision and speech recognition emulate human senses.
- Problem Solving: Search and optimization algorithms mimic goal-directed human thinking.
- Language: Natural Language Processing (NLP) replicates human communication abilities.
AI systems aim to achieve rational behavior—acting to maximize the expected outcome given available knowledge—rather than perfectly imitating human thought.
Explain the key characteristics of Artificial Intelligence that distinguish it from conventional computer programs.
AI systems possess several distinguishing characteristics:
- Learning Ability: AI systems improve their performance over time by learning from data and experience rather than relying solely on fixed instructions.
- Reasoning: They can draw logical conclusions and make inferences from available information.
- Problem Solving: AI can navigate complex problem spaces to find solutions, often using search and optimization.
- Perception: Ability to interpret sensory inputs such as images, sound, and text.
- Adaptability: AI adjusts its behavior when facing new or changing environments.
- Autonomy: Capable of operating and making decisions with minimal human intervention.
- Handling Uncertainty: Uses probabilistic reasoning to make decisions with incomplete or noisy data.
- Natural Language Understanding: Can process and generate human language.
Unlike conventional programs that follow explicit, deterministic rules, AI systems generalize from patterns and can handle ambiguity, making them suitable for tasks that are hard to define with fixed logic.
Discuss the foundations of AI by explaining the contributions of at least five different disciplines.
AI is an interdisciplinary field built upon foundations from many areas:
- Philosophy: Provided ideas about logic, reasoning, knowledge, mind, and the notion that thinking can be a form of computation. Concepts of rationality and dualism originate here.
- Mathematics: Contributed formal logic, probability theory, algorithms, and computational complexity—the tools for representing and solving problems.
- Economics: Introduced decision theory, utility, game theory, and the concept of maximizing expected outcomes for rational agents.
- Neuroscience: Provided understanding of the brain and neurons, inspiring artificial neural networks.
- Psychology & Cognitive Science: Contributed models of human perception, memory, and reasoning, helping design systems that mimic cognition.
- Computer Engineering: Delivered the hardware (fast processors, GPUs) and software needed to build practical AI systems.
- Linguistics: Contributed the study of language structure, essential for Natural Language Processing.
- Control Theory & Cybernetics: Provided the study of self-regulating systems that act to achieve goals.
Together, these disciplines give AI its theoretical basis and practical tools.
Describe the evolution of Artificial Intelligence from its inception to the modern era, highlighting the major milestones and the AI winters.
The evolution of AI can be traced through several phases:
- 1943–1955 (Gestation): McCulloch & Pitts proposed the first model of artificial neurons; Alan Turing published "Computing Machinery and Intelligence" (1950) introducing the Turing Test.
- 1956 (Birth of AI): The Dartmouth Conference coined the term "Artificial Intelligence." John McCarthy, Marvin Minsky, and others founded the field.
- 1956–1974 (Early Enthusiasm): Development of programs like the Logic Theorist and General Problem Solver; high optimism.
- 1974–1980 (First AI Winter): Funding declined due to unmet expectations and limited computing power.
- 1980–1987 (Expert Systems Boom): Rule-based expert systems (e.g., MYCIN, XCON) achieved commercial success.
- 1987–1993 (Second AI Winter): Collapse of the expert-systems market led to reduced funding.
- 1993–2011 (Revival): Growth of machine learning, statistical methods, and successes like IBM's Deep Blue defeating Garry Kasparov (1997).
- 2011–Present (Deep Learning Era): Big data, GPUs, and deep neural networks drove breakthroughs—image recognition, IBM Watson, AlphaGo (2016), and Large Language Models like GPT.
The AI winters were periods of reduced funding and interest caused by overpromising and technological limitations, followed by resurgences driven by new techniques and hardware.
Distinguish between Narrow AI (ANI), General AI (AGI), and Super AI (ASI) with suitable examples.
AI can be classified based on its capabilities:
1. Narrow AI (Artificial Narrow Intelligence – ANI):
- Designed to perform a single or limited task very well.
- Cannot operate beyond its predefined domain.
- Also called Weak AI.
- Examples: Siri, Alexa, spam filters, recommendation systems, self-driving car modules, image classifiers.
- This is the only type that currently exists.
2. General AI (Artificial General Intelligence – AGI):
- Possesses the ability to understand, learn, and apply intelligence across any task like a human.
- Can transfer knowledge across domains and reason flexibly.
- Also called Strong AI.
- Status: Theoretical / not yet achieved.
3. Super AI (Artificial Super Intelligence – ASI):
- A hypothetical AI that surpasses human intelligence in virtually every field, including creativity and problem-solving.
- Would be self-aware and vastly more capable than humans.
- Status: Purely speculative.
Summary Table:
| Type | Capability | Existence |
|---|---|---|
| Narrow AI | Single task | Exists today |
| General AI | Human-level, any task | Theoretical |
| Super AI | Beyond human | Hypothetical |
Explain the key AI problems and techniques used to solve them.
AI addresses a range of fundamental problems, each with associated techniques:
Key AI Problems:
- Search & Problem Solving: Finding paths or solutions in a state space (e.g., puzzles, route finding).
- Knowledge Representation: Encoding facts about the world so machines can reason.
- Reasoning & Inference: Drawing conclusions from known facts.
- Planning: Determining a sequence of actions to achieve goals.
- Learning: Improving performance from data and experience.
- Perception: Interpreting sensory data (vision, speech).
- Natural Language Processing: Understanding and generating human language.
- Uncertainty Handling: Making decisions with incomplete information.
Techniques Used:
- Search Algorithms: BFS, DFS, A*, hill climbing.
- Logic & Rule-Based Systems: Propositional and predicate logic, expert systems.
- Machine Learning: Supervised, unsupervised, and reinforcement learning.
- Neural Networks & Deep Learning: For perception and pattern recognition.
- Probabilistic Models: Bayesian networks, Hidden Markov Models.
- Optimization: Genetic algorithms, gradient descent.
The choice of technique depends on the nature of the problem, data availability, and required accuracy.
Describe the applications of AI across various domains such as business, healthcare, automation, computer vision, and language.
AI has transformative applications across multiple domains:
1. Business:
- Customer segmentation and targeted marketing.
- Fraud detection in banking and finance.
- Chatbots for customer service.
- Predictive analytics for sales and demand forecasting.
2. Healthcare:
- Medical image analysis (detecting tumors in X-rays, MRIs).
- Drug discovery and development.
- Personalized treatment recommendations.
- Virtual health assistants and diagnosis support.
3. Automation:
- Robotic Process Automation (RPA) for repetitive office tasks.
- Industrial robots in manufacturing.
- Autonomous vehicles and drones.
- Smart home and IoT systems.
4. Computer Vision:
- Facial recognition and biometric security.
- Object detection in surveillance.
- Quality inspection in manufacturing.
- Augmented reality applications.
5. Language (NLP):
- Machine translation (Google Translate).
- Sentiment analysis of reviews.
- Voice assistants (Alexa, Siri).
- Text summarization and generation (ChatGPT).
These applications demonstrate AI's ability to enhance efficiency, accuracy, and decision-making across industries.
Compare TensorFlow and PyTorch as modern AI toolkits, highlighting their features, advantages, and use cases.
Both TensorFlow and PyTorch are leading open-source deep learning frameworks.
TensorFlow:
- Developed by Google Brain (2015).
- Uses static computation graphs (with eager execution added later).
- Excellent for production deployment and scalability.
- Rich ecosystem: TensorBoard (visualization), TensorFlow Lite (mobile), TensorFlow Serving.
- Strong support for distributed training.
PyTorch:
- Developed by Facebook's AI Research (FAIR) (2016).
- Uses dynamic computation graphs (define-by-run), making it intuitive and flexible.
- Preferred in research and academia due to Pythonic style and easy debugging.
- Strong community and rapid prototyping support.
Comparison Table:
| Feature | TensorFlow | PyTorch |
|---|---|---|
| Developer | Meta (Facebook) | |
| Graph Type | Static (+ eager) | Dynamic |
| Best For | Production, scalability | Research, prototyping |
| Debugging | Harder | Easier (Pythonic) |
| Deployment | Excellent (Lite, Serving) | Improving (TorchServe) |
Conclusion: TensorFlow is often preferred for large-scale production systems, while PyTorch is favored for research and experimentation. Both are converging in features over time.
What is Responsible AI? Explain its key principles and why it is important.
Responsible AI refers to the practice of designing, developing, and deploying AI systems in a manner that is ethical, transparent, fair, and accountable, ensuring they benefit society while minimizing harm.
Key Principles of Responsible AI:
- Fairness: AI should avoid bias and discrimination, treating all individuals and groups equitably.
- Transparency: AI decisions should be explainable and understandable to users (explainable AI).
- Accountability: Developers and organizations must take responsibility for AI outcomes.
- Privacy & Security: Protecting user data and ensuring systems are secure from misuse.
- Reliability & Safety: AI must perform consistently and safely under expected conditions.
- Inclusiveness: AI should be accessible and beneficial to diverse populations.
- Human Oversight: Humans should remain in control of critical AI decisions.
Importance:
- Prevents harm from biased or unfair decisions (e.g., in hiring or lending).
- Builds public trust in AI technologies.
- Ensures legal and regulatory compliance.
- Mitigates risks related to privacy breaches and misuse.
- Promotes ethical use aligned with human values.
Responsible AI is essential as AI increasingly influences decisions affecting people's lives.
Explain how an AI problem can be defined as a State Space and Search Problem. Illustrate with the components involved.
Many AI problems are formulated as state space search problems, where solving the problem means finding a path from an initial state to a goal state.
Components of a State Space Search Problem:
- State: A representation of a configuration of the problem at a given moment.
- State Space: The set of all possible states reachable from the initial state. Often represented as a graph or tree.
- Initial State: The starting configuration of the problem.
- Goal State (Goal Test): The desired configuration(s); a test to check whether a state satisfies the goal.
- Actions / Operators: The set of moves that transition from one state to another.
- Transition Model: Describes the result of applying an action to a state.
- Path Cost: A numeric cost associated with a path; used to find optimal solutions.
Example – 8-Puzzle:
- State: Arrangement of tiles.
- Initial State: Given scrambled configuration.
- Goal State: Ordered arrangement.
- Actions: Move blank tile up, down, left, or right.
- Path Cost: Number of moves.
Solution: A sequence of actions (a path) leading from the initial state to the goal state. Search algorithms like BFS, DFS, and A* explore the state space to find this path.
Describe the characteristics of AI problem spaces that must be analyzed before choosing a problem-solving technique.
Before selecting a method to solve an AI problem, its problem space must be analyzed based on the following characteristics (often posed as key questions):
- Decomposability: Can the problem be broken into smaller independent subproblems? (e.g., integration problems are decomposable).
- Recoverability / Reversibility of Steps:
- Ignorable: Solution steps can be ignored (e.g., theorem proving).
- Recoverable: Steps can be undone (e.g., 8-puzzle).
- Irrecoverable: Steps cannot be undone (e.g., chess).
- Predictability of the Universe: Is the outcome of actions certain (deterministic) or uncertain (e.g., card games)?
- Nature of the Solution: Is any acceptable solution good enough, or is the best/optimal solution required?
- Role of Knowledge: How much knowledge is needed to solve the problem effectively?
- Solution as a State or a Path: Is the answer a final state (e.g., natural language understanding) or the path to reach it (e.g., water jug problem)?
- Consistency of Knowledge Base: Is the knowledge base absolute and consistent, or does it change?
- Human Interaction: Is the problem solved autonomously or with human involvement?
Analyzing these characteristics helps in selecting appropriate search strategies and control mechanisms.
Explain the concept of an AI Workflow. Describe the typical stages involved in building an AI solution.
An AI workflow is the structured, end-to-end process of developing, deploying, and maintaining an AI/ML solution. It provides a systematic approach from problem definition to production.
Typical Stages of an AI Workflow:
- 1. Problem Definition: Clearly identify the business/technical problem and define measurable objectives.
- 2. Data Collection: Gather relevant raw data from various sources (databases, sensors, APIs).
- 3. Data Preparation / Preprocessing: Clean, transform, handle missing values, normalize, and label data. This is often the most time-consuming stage.
- 4. Exploratory Data Analysis (EDA): Understand data patterns, distributions, and relationships through visualization.
- 5. Feature Engineering: Select and create meaningful features that improve model performance.
- 6. Model Selection & Training: Choose suitable algorithms and train models on the prepared data.
- 7. Model Evaluation: Assess performance using metrics like accuracy, precision, recall, and F1-score on test data.
- 8. Model Tuning: Optimize hyperparameters to improve results.
- 9. Deployment: Integrate the model into production systems for real-world use.
- 10. Monitoring & Maintenance: Continuously track performance and retrain as data drifts over time.
This workflow is iterative—insights from later stages often lead back to earlier ones for refinement.
What is Data-Centric Modeling in AI? How does it differ from the traditional model-centric approach?
Data-Centric Modeling is an approach to AI development that emphasizes systematically improving the quality of data rather than solely focusing on refining the model or algorithm. The core idea is that better, cleaner, well-labeled data yields better AI performance.
Data-Centric Approach:
- Keeps the model relatively fixed and focuses on improving data quality.
- Activities: fixing label errors, removing noise, ensuring data consistency, augmenting data, balancing datasets.
- Championed by Andrew Ng as key to real-world AI success.
Model-Centric Approach (Traditional):
- Keeps the dataset fixed and focuses on improving the model/algorithm.
- Activities: tuning architecture, hyperparameters, trying new algorithms.
Comparison:
| Aspect | Data-Centric | Model-Centric |
|---|---|---|
| Focus | Data quality | Model/algorithm |
| Assumption | Data can improve | Model can improve |
| Key Activity | Clean, label, augment data | Tune model, architecture |
Why Data-Centric Matters:
- In many real-world problems, improving data quality gives larger gains than tweaking models.
- Consistent, high-quality labels reduce noise and bias.
- Especially important when data is limited or messy.
Modern practice often combines both approaches, but data-centric AI has gained prominence for practical deployments.
Discuss the major challenges in AI problem solving.
AI problem solving faces numerous challenges across technical, ethical, and practical dimensions:
Technical Challenges:
- Data Quality & Quantity: AI needs large amounts of clean, labeled, unbiased data, which is often difficult to obtain.
- Combinatorial Explosion: The state space can grow exponentially, making exhaustive search infeasible.
- Uncertainty & Incomplete Information: Real-world problems involve noise and missing data.
- Generalization: Models may overfit and fail on unseen data.
- Computational Cost: Training complex models requires significant hardware and energy.
Knowledge & Representation Challenges:
- Knowledge Representation: Encoding real-world common sense is extremely difficult.
- Explainability: Complex models (deep networks) act as "black boxes," making decisions hard to interpret.
Ethical & Social Challenges:
- Bias & Fairness: Models can inherit and amplify biases from training data.
- Privacy: Handling sensitive personal data responsibly.
- Accountability: Determining responsibility for AI errors.
Practical Challenges:
- Scalability: Deploying solutions at scale.
- Integration: Fitting AI into existing systems and workflows.
- Changing Environments: Models degrade as real-world data drifts (concept drift).
Addressing these challenges requires a combination of better algorithms, quality data, ethical frameworks, and human oversight.
Explain the Turing Test. What are its components, and what are its limitations?
The Turing Test, proposed by Alan Turing in 1950, is a test of a machine's ability to exhibit intelligent behavior indistinguishable from that of a human.
How it Works:
- A human interrogator communicates via text with two hidden participants: one a human and the other a machine.
- The interrogator asks questions and receives typed responses.
- If the interrogator cannot reliably distinguish the machine from the human, the machine is said to have passed the test and exhibits intelligent behavior.
Capabilities a Machine Needs to Pass:
- Natural Language Processing: To communicate effectively.
- Knowledge Representation: To store what it knows.
- Automated Reasoning: To answer questions and draw conclusions.
- Machine Learning: To adapt and detect patterns.
Total Turing Test additionally requires computer vision and robotics to perceive and manipulate objects.
Limitations:
- It tests imitation of human behavior, not genuine understanding or consciousness.
- A machine could pass by deception without true intelligence.
- It ignores non-human forms of intelligence.
- Focuses on conversation, not other intelligent capabilities.
- The Chinese Room argument (Searle) challenges whether passing implies real understanding.
Despite limitations, it remains a landmark conceptual benchmark in AI.
Differentiate between Weak AI and Strong AI, and explain the philosophical debate surrounding them.
Weak AI (Narrow AI):
- Refers to AI systems designed and trained for a specific task.
- The machine simulates intelligent behavior but does not possess genuine understanding or consciousness.
- Examples: Chess engines, voice assistants, recommendation systems.
- All current AI systems are examples of Weak AI.
Strong AI (General AI):
- Refers to a machine that possesses genuine intelligence and consciousness, capable of understanding, reasoning, and self-awareness like a human.
- Such a machine would truly "think" rather than merely simulate thinking.
- Status: Hypothetical; not yet achieved.
Comparison:
| Aspect | Weak AI | Strong AI |
|---|---|---|
| Understanding | Simulated | Genuine |
| Consciousness | Absent | Present (claimed) |
| Scope | Task-specific | General |
| Existence | Real today | Theoretical |
Philosophical Debate:
- The debate centers on whether a machine can truly think and understand or merely simulate thinking.
- Searle's Chinese Room Argument claims that manipulating symbols (as computers do) does not amount to real understanding—supporting the view that Strong AI is impossible with pure computation.
- Proponents of Strong AI argue that if a system behaves indistinguishably from an intelligent being, the distinction is meaningless (functionalism).
This debate touches on the nature of mind, consciousness, and what it truly means to "understand."
Formulate the Water Jug Problem as a state space search problem. Define its states, initial state, goal, operators, and provide a solution path.
Problem Statement: Given a 4-litre jug and a 3-litre jug with no measuring marks, and an unlimited water supply, measure exactly 2 litres of water in the 4-litre jug.
State Space Representation:
- State: An ordered pair where = litres in the 4-litre jug () and = litres in the 3-litre jug ().
- Initial State: — both jugs empty.
- Goal State: — the 4-litre jug contains exactly 2 litres.
Operators (Production Rules):
- Fill the 4-litre jug:
- Fill the 3-litre jug:
- Empty the 4-litre jug:
- Empty the 3-litre jug:
- Pour from 3-litre into 4-litre until full or empty.
- Pour from 4-litre into 3-litre until full or empty.
One Solution Path:
| Step | Action | State |
|---|---|---|
| Start | — | (0, 0) |
| 1 | Fill 3-litre jug | (0, 3) |
| 2 | Pour 3→4 | (3, 0) |
| 3 | Fill 3-litre jug | (3, 3) |
| 4 | Pour 3→4 (fills to 4) | (4, 2) |
| 5 | Empty 4-litre jug | (0, 2) |
| 6 | Pour 3→4 | (2, 0) |
Goal reached: — the 4-litre jug contains exactly 2 litres.
Explain the four approaches to defining AI (Thinking Humanly, Acting Humanly, Thinking Rationally, Acting Rationally).
Russell and Norvig describe four approaches to defining AI, organized along two dimensions: human-centered vs. rational, and thought processes vs. behavior.
1. Thinking Humanly (Cognitive Modeling Approach):
- Focuses on making machines that think like humans.
- Requires understanding the actual workings of the human mind through introspection, psychological experiments, and neuroscience.
- Related field: Cognitive Science.
2. Acting Humanly (The Turing Test Approach):
- Focuses on making machines that behave like humans.
- A machine passes if it can convince a human it is human (the Turing Test).
- Requires NLP, knowledge representation, reasoning, and learning.
3. Thinking Rationally (Laws of Thought Approach):
- Focuses on correct reasoning using logic.
- Based on the tradition of logic and formal rules (syllogisms).
- Challenge: representing informal knowledge in logic and dealing with uncertainty.
4. Acting Rationally (The Rational Agent Approach):
- Focuses on building agents that act to achieve the best expected outcome.
- A rational agent perceives its environment and acts to maximize its goals.
- This is the most widely accepted modern approach because rationality is well-defined and general.
Summary Grid:
| Human-based | Rationality-based | |
|---|---|---|
| Thought | Thinking Humanly | Thinking Rationally |
| Behavior | Acting Humanly | Acting Rationally |
What is a State Space? Explain the difference between representing a problem's solution as a path versus a state, with examples.
State Space: A state space is the set of all possible states that can be reached from the initial state by applying valid operators/actions. It represents every configuration the problem can be in, typically visualized as a graph or tree where nodes are states and edges are actions.
Mathematically, a state space is often defined by the tuple:
Solution as a Path vs. Solution as a State:
Some problems require the sequence of steps (the path) to reach the goal, while others only require the final configuration (the goal state itself).
1. Solution as a Path:
- The answer is the sequence of actions/moves taken from the initial state to the goal.
- The journey matters, not just the destination.
- Examples:
- Water Jug Problem: We need the sequence of pour/fill operations.
- Route Finding: We need the actual sequence of roads to travel.
- 8-Puzzle: We need the sequence of tile moves.
2. Solution as a State:
- The answer is the goal state itself; the path taken is irrelevant.
- Only the final configuration matters.
- Examples:
- N-Queens Problem: We only need the final valid arrangement of queens.
- Natural Language Understanding: We need the correct interpretation, not how we arrived at it.
- Cryptarithmetic: We need the final digit assignment.
Significance: Identifying which type a problem requires helps determine whether the search algorithm needs to track and return the path or just the goal state.
Describe the different types of AI based on functionality (Reactive Machines, Limited Memory, Theory of Mind, Self-Aware).
AI can be classified into four types based on functionality, representing increasing levels of sophistication:
1. Reactive Machines:
- The most basic type of AI.
- No memory and cannot use past experiences to inform current decisions.
- Responds to specific inputs with fixed outputs.
- Example: IBM's Deep Blue chess computer, which evaluates the current board without learning from past games.
2. Limited Memory:
- Can use past data and recent experiences for a short period to make decisions.
- Most current AI applications fall into this category.
- Examples: Self-driving cars (observe speed and position of other vehicles), chatbots, recommendation systems.
3. Theory of Mind:
- An advanced, still-developing type of AI.
- Would understand human emotions, beliefs, intentions, and thoughts, and interact socially.
- Would recognize that other entities have their own minds and motives.
- Status: Under research; not fully realized.
4. Self-Aware AI:
- The most advanced and hypothetical type.
- Would possess consciousness, self-awareness, and sentience—an understanding of its own internal states.
- Status: Purely theoretical; does not exist.
Summary:
| Type | Memory | Status |
|---|---|---|
| Reactive | None | Exists |
| Limited Memory | Short-term | Exists (most AI today) |
| Theory of Mind | Social understanding | Research stage |
| Self-Aware | Consciousness | Hypothetical |
Define Intelligence and Artificial Intelligence (AI). How does AI attempt to replicate natural intelligence?
Intelligence is the ability of an entity to acquire knowledge, reason, learn from experience, adapt to new situations, understand abstract concepts, and apply knowledge to manipulate one's environment.
Artificial Intelligence (AI) is a branch of computer science concerned with building machines and software capable of performing tasks that normally require human intelligence, such as reasoning, learning, perception, problem-solving, and language understanding.
How AI replicates natural intelligence:
- Learning: Machine learning algorithms learn patterns from data, mimicking human learning from experience.
- Reasoning: Logic-based systems and inference engines simulate deductive and inductive reasoning.
- Perception: Computer vision and speech recognition emulate human senses.
- Problem Solving: Search and optimization algorithms mimic goal-directed human thinking.
- Language: Natural Language Processing (NLP) replicates human communication abilities.
AI systems aim to achieve rational behavior—acting to maximize the expected outcome given available knowledge—rather than perfectly imitating human thought.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill. The rest comes out of a student's own pocket: the domain, the storage, and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason. to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it. What it pays for →