Unit 1: Foundations and AI Problem Solving - Subjective Questions
CSE276 — Artificial Intelligence Foundations • Practice Questions with Detailed Answers
20 questions
Define Artificial Intelligence and explain its major objectives, capabilities, and importance in modern computing.
Artificial Intelligence (AI) is the branch of computer science concerned with developing systems that can perform tasks normally requiring human intelligence. These tasks include learning, reasoning, perception, language understanding, problem-solving, and decision-making.
Major objectives of AI:
- To develop systems that can perceive and interpret their environment.
- To enable machines to learn from data and experience.
- To solve complex problems through reasoning and search.
- To understand and generate human language.
- To support or automate decision-making.
- To create autonomous systems that can act with limited human intervention.
Importance of AI:
AI improves efficiency, accuracy, automation, personalization, and decision-making in areas such as healthcare, finance, education, manufacturing, agriculture, and transportation. It is especially useful for processing large volumes of data and identifying patterns that may be difficult for humans to detect manually.
Trace the history and evolution of Artificial Intelligence from its early foundations to present-day systems.
Early foundations:
- The idea of intelligent machines originated in philosophy, mathematics, and logic.
- The development of formal logic, computing theory, and programmable computers provided the technical foundation for AI.
- Alan Turing proposed the question of whether machines could think and introduced the imitation game, now called the Turing Test.
Birth of AI as a field:
- The term Artificial Intelligence was popularized at the Dartmouth conference in 1956.
- Early research focused on symbolic reasoning, theorem proving, game playing, and problem-solving.
Major periods of development:
- During the 1960s and 1970s, researchers developed search algorithms, knowledge representation, and early natural language systems.
- In the 1980s, expert systems became popular because they encoded specialist knowledge using rules.
- AI winters occurred when expectations exceeded available computing power, data, and results.
- In the 1990s and 2000s, statistical machine learning, larger datasets, and improved hardware increased AI performance.
- Since the 2010s, deep learning, graphics processing units, cloud computing, and large-scale datasets have enabled major advances in vision, speech, robotics, and language processing.
Modern AI combines symbolic methods, machine learning, deep learning, optimization, and data-driven approaches.
Explain the characteristics of Artificial Intelligence systems and discuss the different types of AI based on capability and functionality.
Characteristics of AI systems:
- Learning: Improving performance from data or experience.
- Reasoning: Drawing conclusions from facts, rules, or observations.
- Problem-solving: Searching for a sequence of actions that achieves a goal.
- Perception: Interpreting images, speech, sensor readings, and other inputs.
- Natural language processing: Understanding and generating human language.
- Adaptability: Responding to changing environments and new information.
- Autonomy: Performing tasks with limited direct human control.
Types based on capability:
- Narrow AI: Designed for a specific task, such as speech recognition or recommendation systems. Most current AI applications belong to this category.
- General AI: A hypothetical system capable of performing a broad range of intellectual tasks at a human level.
- Superintelligent AI: A theoretical system that would exceed human intelligence in most areas.
Types based on functionality:
- Reactive machines: Respond only to current inputs and do not retain memories.
- Limited-memory systems: Use past data for decision-making, as in many autonomous vehicles.
- Theory-of-mind systems: A proposed category that would understand emotions, beliefs, and intentions.
- Self-aware systems: A hypothetical category involving consciousness and self-understanding.
Distinguish between Artificial Intelligence, Machine Learning, Deep Learning, and Data Science.
Artificial Intelligence:
AI is the broadest field. It aims to build systems that demonstrate intelligent behavior through reasoning, learning, perception, planning, or action.
Machine Learning:
ML is a subfield of AI in which systems learn patterns from data instead of being programmed with every rule explicitly. Examples include classification, regression, and clustering.
Deep Learning:
Deep learning is a specialized part of ML that uses multilayer artificial neural networks. It is particularly effective for images, speech, video, and natural language when large datasets and substantial computing resources are available.
Data Science:
Data science combines statistics, programming, data engineering, visualization, and domain knowledge to extract useful insights from data. It may use ML, but it also includes activities such as data cleaning, exploratory analysis, reporting, and experimentation.
Relationship:
- Data science may use machine learning to analyze data.
- Deep learning is one approach within machine learning.
- Machine learning is one approach within AI.
- AI can also use methods that do not learn from data, such as rule-based reasoning and classical search.
What is an intelligent system? Explain its main components and characteristics.
An intelligent system is a computational system that perceives its environment, processes information, makes decisions, and takes actions to achieve defined objectives.
Main components:
- Sensors or input mechanisms: Collect information from users, databases, cameras, microphones, or physical sensors.
- Knowledge or data store: Contains facts, examples, rules, models, or learned representations.
- Inference and reasoning module: Interprets information and derives conclusions.
- Learning module: Updates the system using data, feedback, or experience.
- Decision-making module: Selects an action or recommendation.
- Actuators or output mechanisms: Produce responses, control devices, or communicate results.
- Feedback mechanism: Measures outcomes and supports future improvement.
Characteristics:
An intelligent system should be able to operate in an environment, respond to changing conditions, achieve goals, handle uncertainty, and make decisions with an appropriate degree of autonomy. Its intelligence is evaluated by the quality, efficiency, reliability, and appropriateness of its behavior.
Describe the Artificial Intelligence lifecycle from problem identification to monitoring and maintenance.
The AI lifecycle is a sequence of activities used to develop, deploy, and improve an AI-based solution.
- Problem definition: Identify the business or societal problem, stakeholders, objectives, constraints, and success criteria.
- Data collection: Gather relevant data from reliable and legally permissible sources.
- Data preparation: Clean, integrate, label, transform, and divide data into training, validation, and testing sets.
- Model or solution design: Select an appropriate AI technique, representation, algorithm, and system architecture.
- Training or construction: Build the knowledge base or train the model using suitable data and parameters.
- Evaluation: Measure performance using suitable metrics and test the system on unseen cases.
- Deployment: Integrate the solution into an application, workflow, device, or production environment.
- Monitoring: Track accuracy, latency, fairness, security, data drift, and system failures.
- Maintenance and improvement: Retrain, update, explain, audit, or replace the system when requirements or data change.
The lifecycle is iterative because evaluation and monitoring often reveal the need to revise the problem definition, data, or model.
Explain the applications, benefits, and limitations of Artificial Intelligence in healthcare.
Applications:
- Medical image analysis for detecting tumors, fractures, and other abnormalities.
- Clinical decision support and risk prediction.
- Personalized treatment recommendations.
- Drug discovery and medical research.
- Virtual assistants and patient-triage systems.
- Remote patient monitoring using wearable sensors.
- Hospital resource and appointment management.
Benefits:
- Earlier detection of disease.
- Faster analysis of medical records and images.
- Improved workflow efficiency.
- Support for doctors in complex decisions.
- Better monitoring of patients outside hospitals.
Limitations and risks:
- Biased or incomplete training data can produce unfair results.
- Incorrect predictions may cause serious harm.
- Patient privacy and data security must be protected.
- Some models are difficult to explain to clinicians and patients.
- AI should support qualified healthcare professionals rather than replace clinical responsibility.
Healthcare AI therefore requires validation, human oversight, transparency, regulatory compliance, and continuous monitoring.
Discuss the applications of Artificial Intelligence in agriculture and explain how AI can improve sustainable farming.
Applications in agriculture:
- Crop and soil monitoring using satellite images, drones, and sensors.
- Detection of plant diseases and pests through computer vision.
- Prediction of yield, weather effects, and irrigation needs.
- Precision irrigation and targeted fertilizer application.
- Automated weed detection and removal.
- Autonomous tractors, harvesters, and agricultural robots.
- Livestock health monitoring and behavior analysis.
- Market and supply-chain forecasting.
Contribution to sustainability:
- Sensors and predictive models can deliver water only where and when it is needed.
- Variable-rate fertilizer application can reduce chemical waste and soil damage.
- Early disease detection can reduce crop loss and excessive pesticide use.
- Yield forecasting can improve resource planning and reduce food wastage.
- Automation can improve productivity and reduce dependence on manual labor.
Successful agricultural AI depends on reliable field data, affordable technology, connectivity, local conditions, and training for farmers.
Explain the uses of Artificial Intelligence in finance and identify the major risks associated with these applications.
Uses of AI in finance:
- Fraud detection through analysis of transaction patterns.
- Credit scoring and loan-risk assessment.
- Algorithmic trading and market analysis.
- Customer-service chatbots and virtual financial assistants.
- Anti-money-laundering monitoring.
- Personalized financial recommendations.
- Insurance pricing and claims processing.
- Forecasting cash flow, demand, and financial risk.
Major risks:
- Historical data may contain discrimination, causing biased lending decisions.
- Automated trading can amplify market volatility.
- Cyberattacks may manipulate models or financial data.
- Complex models may make decisions that are difficult to explain.
- Incorrect predictions can cause financial losses.
- Excessive dependence on automation may reduce human review.
Financial AI should use strong data governance, explainability, audit trails, fairness testing, security controls, and human supervision for high-impact decisions.
Describe the role of Artificial Intelligence in education and manufacturing, giving suitable examples.
AI in education:
- Adaptive learning systems personalize content according to student performance.
- Intelligent tutoring systems provide explanations and practice.
- Automated assessment can evaluate objective responses and some written work.
- Learning analytics can identify students who may need support.
- Chatbots can answer routine administrative questions.
- Speech and translation tools can improve accessibility.
AI in manufacturing:
- Predictive maintenance identifies signs of equipment failure before breakdown.
- Computer vision checks product quality and detects defects.
- Robots perform repetitive, precise, or hazardous tasks.
- Demand forecasting improves production planning and inventory control.
- Process optimization reduces waste, energy use, and production time.
- Digital twins simulate operations and support decision-making.
Both sectors require attention to privacy, accuracy, workforce impact, cybersecurity, and human oversight.
Explain how Artificial Intelligence is used in robotics and smart cities.
AI in robotics:
- Robots use computer vision to recognize objects and environments.
- Planning algorithms determine safe and efficient actions.
- Machine learning supports navigation, grasping, and adaptation.
- Natural language processing enables human-robot interaction.
- Robots can be used in manufacturing, logistics, healthcare, exploration, and domestic services.
AI in smart cities:
- Traffic prediction and intelligent signal control reduce congestion.
- Public transport systems can optimize routes and schedules.
- Smart grids forecast energy demand and balance supply.
- Sensors can support waste collection and water management.
- AI can detect infrastructure damage and improve maintenance planning.
- Emergency systems can analyze data for faster response.
- Environmental monitoring can identify pollution and abnormal conditions.
These applications depend on connected sensors, communication networks, data platforms, and decision systems. Important concerns include surveillance, privacy, cybersecurity, unequal access, and the reliability of automated decisions.
Formulate an AI problem for route finding and explain its state-space representation.
A route-finding problem can be formulated as a search problem in which an agent must travel from a starting location to a destination.
State-space elements:
- Initial state: The location where the agent begins.
- States: All possible locations or configurations that the agent may reach.
- Actions or operators: Legal movements from one location to another.
- Transition model: Describes the state resulting from applying an action.
- Goal test: Checks whether the current location is the destination.
- Path cost: Measures the total cost of a route, such as distance, time, fuel, or tolls.
If locations are represented as nodes and roads as edges, the state space becomes a graph. A solution is a path from the initial node to a goal node. For example, if the goal is to minimize distance, the cost of a path can be represented as:
where is the cost of the th action in the path.
Explain the main components of AI problem formulation and illustrate them with a suitable example.
AI problem formulation converts a real-world task into a formal representation that an AI system can solve.
Main components:
- Initial state: The starting condition of the problem.
- State space: The set of all reachable states.
- Actions: The operations available to the system.
- Transition model: The result of applying an action to a state.
- Goal state or goal test: The condition that defines success.
- Path cost: The cost associated with a sequence of actions.
Example: Eight-puzzle problem:
- The initial state is the starting arrangement of eight numbered tiles and one blank space.
- A state is any valid arrangement of the tiles.
- Actions move the blank space up, down, left, or right when legal.
- The transition model gives the new arrangement after a move.
- The goal test checks whether the tiles match the target arrangement.
- The path cost may be the number of moves.
A precise formulation removes unnecessary details and makes it possible to apply search algorithms systematically.
Define state-space representation and explain how a problem can be represented using states, operators, and goals.
A state-space representation models an AI problem as a collection of possible situations and the actions that transform one situation into another.
- A state describes the relevant condition of the problem at a particular moment.
- The initial state is the starting point.
- An operator or action changes one state into another.
- A successor function lists the states reachable from a given state.
- A goal state satisfies the desired objective.
- A solution path is a sequence of operators that leads from the initial state to a goal state.
The state space can be represented as a graph, where vertices represent states and edges represent operators. It may also be represented as a tree when each generated path is treated as a separate branch.
A good representation includes all information required for decision-making while excluding irrelevant details. The choice of representation affects the size of the search space, the efficiency of search, and the quality of the resulting solution.
Explain the important characteristics of AI problems that influence the choice of a problem-solving method.
The characteristics of a problem determine which representation and search strategy will be effective.
- Decomposability: A problem may be divided into smaller independent or dependent subproblems.
- Nature of the environment: The environment may be observable or partially observable, deterministic or stochastic, static or dynamic, and discrete or continuous.
- Number of states: A small state space may allow exhaustive search, whereas a large space requires heuristics or approximation.
- Presence of uncertainty: Incomplete information or unpredictable actions require probabilistic or robust methods.
- Importance of the path: Some problems care only about reaching a goal, while others require an optimal sequence of actions.
- Solution quality: A problem may require an exact solution, an optimal solution, or any acceptable solution.
- Availability of domain knowledge: Useful heuristics can significantly reduce search effort.
- Cost of actions: Different actions may have different time, distance, resource, or risk costs.
- Dynamic changes: A changing environment may require online planning and repeated replanning.
These characteristics help determine whether to use uninformed search, informed search, constraint methods, optimization, game search, planning, or learning-based approaches.
Differentiate between search space and solution space in Artificial Intelligence problem-solving.
The search space is the complete set of states, nodes, configurations, or candidate paths that can potentially be considered while solving a problem. It includes both useful and useless possibilities.
The solution space is the subset of the search space containing states or paths that satisfy the goal condition. If optimization is required, it may refer to all valid solutions from which the best solution is selected.
Differences:
- Search space represents all possible alternatives; solution space represents successful alternatives.
- Search space may contain invalid, partial, or non-goal states; solution space contains goal-reaching candidates.
- Search algorithms explore the search space to find an element of the solution space.
- The size of the search space affects computational complexity.
- Heuristics help guide exploration toward the solution space.
For example, in route planning, all possible roads and paths form the search space. Routes that actually connect the source and destination form the solution space. If the shortest route is required, the algorithm must compare valid solutions according to their path costs.
Explain the performance measures used to evaluate AI problem-solving systems.
Performance measures are criteria used to judge the effectiveness and practicality of an AI solution.
- Completeness: Whether the method is guaranteed to find a solution when one exists.
- Optimality: Whether the method is guaranteed to find the best solution according to the specified cost.
- Time complexity: The amount of computation or time required to find a solution.
- Space complexity: The amount of memory required during the search.
- Solution quality: How accurate, useful, robust, or close to optimal the result is.
- Accuracy: The proportion of correct predictions or decisions in learning-based systems.
- Precision and recall: Important measures when false positives and false negatives have different consequences.
- Robustness: The ability to perform reliably under noise, unusual inputs, or changing conditions.
- Scalability: The ability to maintain acceptable performance as data or problem size increases.
- Latency and throughput: Important for real-time systems.
- Fairness, explainability, and safety: Essential for high-impact applications.
The appropriate measures depend on the application. For example, a medical diagnosis system may prioritize recall and safety, while a route planner may prioritize time, cost, and optimality.
Compare uninformed search and informed search approaches in Artificial Intelligence.
Uninformed search:
- Uses only the problem definition and does not use additional knowledge about how close a state is to the goal.
- Examples include breadth-first search, depth-first search, uniform-cost search, and depth-limited search.
- It may explore many irrelevant states.
- Its behavior is usually easier to analyze formally.
Informed search:
- Uses a heuristic function to estimate the remaining cost or distance to a goal.
- Examples include greedy best-first search and A* search.
- It can reduce the number of explored states when the heuristic is useful.
- Its quality depends on the accuracy and computational cost of the heuristic.
For A* search, the evaluation function is:
where is the cost from the initial state to node , and is the estimated cost from to a goal. If is admissible, meaning it never overestimates the actual remaining cost, A* can provide an optimal solution under appropriate conditions.
Describe the major Artificial Intelligence-based problem-solving approaches and state when each approach is appropriate.
Major problem-solving approaches:
- State-space search: Represents a problem as states and actions and searches for a goal path. It is suitable for puzzles, route finding, and deterministic planning.
- Heuristic search: Uses domain knowledge to guide exploration. It is useful when exhaustive search is too expensive.
- Constraint satisfaction: Represents variables, domains, and constraints. It is appropriate for scheduling, map coloring, timetabling, and assignment problems.
- Planning: Generates an ordered or partially ordered sequence of actions to achieve goals. It is useful in robotics, logistics, and automated operations.
- Optimization: Searches for the best solution according to an objective function. It is suitable for resource allocation, routing, and engineering design.
- Game playing and adversarial search: Considers competing agents and their possible actions. It is used in board games, negotiation, and competitive decision-making.
- Probabilistic reasoning: Represents uncertainty using probabilities and evidence. It is useful in diagnosis, prediction, and uncertain environments.
- Machine learning: Learns patterns or decision rules from data. It is appropriate when explicit rules are difficult to construct but examples are available.
- Neural and deep learning: Learns complex representations from large datasets. It is widely used for perception, speech, language, and high-dimensional data.
Explain how heuristic functions improve AI problem-solving. Discuss the properties of an effective heuristic.
A heuristic function, written as , estimates the cost of reaching a goal from a current state . It provides problem-specific knowledge that helps a search algorithm decide which state to explore next.
How heuristics improve search:
- They prioritize states that appear closer to a goal.
- They reduce unnecessary exploration.
- They can lower time and memory requirements.
- They make it possible to solve problems whose complete search spaces are too large for exhaustive methods.
Properties of an effective heuristic:
- Admissibility: It never overestimates the actual minimum cost to reach a goal.
- Consistency: For every state and successor, the estimated cost obeys .
- Informativeness: It should closely approximate the real remaining cost.
- Computational efficiency: The cost of calculating the heuristic should be small compared with the search savings.
- Reliability: It should provide useful guidance across different problem instances.
For example, straight-line distance is a useful heuristic for road navigation because it is generally no greater than the actual road distance.
Define Artificial Intelligence and explain its major objectives, capabilities, and importance in modern computing.
Artificial Intelligence (AI) is the branch of computer science concerned with developing systems that can perform tasks normally requiring human intelligence. These tasks include learning, reasoning, perception, language understanding, problem-solving, and decision-making.
Major objectives of AI:
- To develop systems that can perceive and interpret their environment.
- To enable machines to learn from data and experience.
- To solve complex problems through reasoning and search.
- To understand and generate human language.
- To support or automate decision-making.
- To create autonomous systems that can act with limited human intervention.
Importance of AI:
AI improves efficiency, accuracy, automation, personalization, and decision-making in areas such as healthcare, finance, education, manufacturing, agriculture, and transportation. It is especially useful for processing large volumes of data and identifying patterns that may be difficult for humans to detect manually.
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 →