0% found this document useful (0 votes)
167 views2 pages

AI Question Bank Overview

The document is a comprehensive question bank covering various aspects of Artificial Intelligence, including definitions, applications, and problem-solving techniques. It includes questions on different types of agents, search algorithms, learning methods, and practical implementations in Python. The questions are designed to test knowledge and understanding of AI concepts and their real-world applications.

Uploaded by

renukambaratakke
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
167 views2 pages

AI Question Bank Overview

The document is a comprehensive question bank covering various aspects of Artificial Intelligence, including definitions, applications, and problem-solving techniques. It includes questions on different types of agents, search algorithms, learning methods, and practical implementations in Python. The questions are designed to test knowledge and understanding of AI concepts and their real-world applications.

Uploaded by

renukambaratakke
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Question Bank – Introduction to Artificial Intelligence

1. What is Artificial Intelligence? Give practical examples from real life.

2. How do model-based and goal-based agents differ? Illustrate with examples.

3. Mention major applications of AI across different domains.

4. Explain the components of a problem: initial state, goal state, and operators.

5. How does a reflex agent operate? Give an example.

6. What are the types of environments where intelligent agents function?

7. Describe the concept of a state-space model used in problem-solving.

8. What are some key developments in the evolution of AI?

9. Compare model-based agents and utility-based agents.

10. Identify key characteristics of an intelligent system.

11. Name some real-world fields where AI is applied and provide relevant examples.

12. What is state-space representation? How is it used in AI?

13. List and describe the main components of an intelligent agent.

14. How do the initial state, goal state, and operators apply in a Tic-Tac-Toe game?

15. Perform Breadth-First Search on a graph to find a path from node A to G.

16. Compare syntax and semantics in First-Order Predicate Logic with examples.

17. Demonstrate Uniform Cost Search on a graph with edge costs.

18. How does Prolog perform unification? Show with predicates.

19. Use the A* algorithm to find an optimal path on a weighted graph with heuristics.

20. Compare forward chaining and backward chaining with examples.

21. Show how Greedy Best-First Search and A* Search differ using an example.

22. In Wumpus World, how does a knowledge-based agent function?

23. Apply Depth-First Search to a graph to find a path from node A to G.

24. Explain forward chaining using a step-by-step example.

25. What are the differences between Uniform Cost Search and Depth-First Search?
26. How does variable binding and substitution work in Prolog unification?

27. Apply the A* search algorithm and list steps during traversal.

28. How does Prolog differ from procedural programming in problem-solving?

29. How does Greedy Best-First Search work? Where are heuristics used?

30. How do logical rules assist an agent in the Wumpus World environment?

31. Why is supervised learning used in spam detection?

32. Create a decision tree model to classify email as spam or not.

33. Why is supervised learning suitable for medical applications?

34. Visualize a scatter plot in Python using Matplotlib for two variables.

35. When is supervised learning preferred over unsupervised or reinforcement learning?

36. Implement an SVM-based text classification model in Python using NLP.

37. How does the choice of training data affect model performance?

38. Use OpenCV in Python to detect and follow colored objects using a camera.

39. Why is supervised learning effective in handwriting recognition?

40. Create a neural network architecture to recognize handwritten digits.

41. What arguments go against replacing traditional programming entirely with machine learning?

42. Suggest a basic chatbot framework using NLP to answer student questions.

43. How can machine learning improve healthcare decision-making? Give an example.

44. Design a basic speech recognition system for home automation.

45. Write a Python script using Pandas to filter data, calculate a mean, and save the output.

46. Design a Python program using Matplotlib to draw and customize a scatter plot.

47. Build an SVM model in Python for text classification using real-world data.

48. Implement a Python OpenCV program to track colored objects live using a camera.

49. Create a neural network program in Python to classify handwritten digits.

50. Write a chatbot in Python using NLP to reply to queries using pre-defined patterns.

51. Design a speech-to-text recognition tool using Python libraries for controlling devices.

Common questions

Powered by AI

The A* search algorithm optimizes pathfinding by combining the strengths of uniform cost search and greedy best-first search. It uses a heuristic function to estimate the cost to reach the goal from each node, effectively reducing the number of explored paths. This balances exploration and exploitation, allowing A* to find shorter paths more efficiently than other algorithms. The use of a priority queue ensures that the algorithm prioritizes the most promising nodes based on the combined cost and heuristic value, leading to optimal pathfinding in complex and variable environments .

Key developments in AI have significantly impacted modern technologies. Early advancements in symbolic AI and expert systems laid the groundwork for rule-based logic applications. The advent of machine learning, particularly the development of neural networks, revolutionized pattern recognition capabilities, enabling technologies such as image and speech recognition. The rise of deep learning and reinforcement learning methodologies further expanded AI's applications to complex problems like autonomous driving and personalized recommendations. These developments have transformed industries by enabling automation, improving decision-making through high-level analytics, and fostering smarter user interaction technologies, thus driving innovation across sectors .

Supervised learning is effective for spam detection because it uses labeled data to train models that can differentiate between spam and non-spam emails accurately. By providing examples of both categories during training, the algorithm can learn the key features and patterns typical of spam emails, such as specific keywords, sender addresses, or unusual patterns of text. This method allows the model to generalize and correctly classify unseen emails in real-time, making it an essential tool for email filtering systems .

Arguments against replacing traditional programming with machine learning center around control and interpretability. Traditional programming offers deterministic control over logic and outcomes, which is critical in applications requiring high reliability and transparency. Machine learning models can be complex black boxes, making it challenging to understand and predict their behavior. This lack of interpretability can lead to difficulties in debugging and ensuring compliance with regulations that mandate clear documentation of decision-making processes. Furthermore, machine learning requires large data sets for training and may not be suitable for niche applications where such data does not exist. Traditional programming remains preferable for tasks where the logic is well-defined and does not change dynamically .

AI enhances diagnostics and treatment in the medical field by providing more precise and personalized healthcare solutions. Traditional methods relied heavily on human expertise and experience, which limited the scalability and consistency of diagnosis. AI systems can analyze large datasets quickly, recognizing patterns that may not be apparent to human clinicians, leading to more accurate diagnostics. In treatment, AI can optimize treatment plans by predicting patient responses to various interventions, offering tailored care based on genetic and clinical data. This integration leads to an improvement in treatment outcomes, reducing costs, and enabling earlier intervention, all while maintaining high accuracy and reliability compared to traditional approaches .

AI applications can be categorized based on their primary functions such as automation, prediction, optimization, and interaction. In automation, AI systems like robotic process automation (RPA) improve efficiency by handling routine tasks. Predictive applications, such as those in finance or weather forecasting, utilize AI for analyzing data trends to forecast future events. Optimization AI applications, prevalent in supply chain management, aim to enhance operational processes by finding optimal solutions. Interaction-based AI, like chatbots or virtual assistants, focuses on natural language processing to provide more human-like interactions. Each category faces unique challenges: data privacy for predictive AI, ethical concerns for automation, computational efficiency for optimization, and natural language understanding for interaction .

Logic-based agents operate based on formal logic, using a set of pre-defined logical rules to infer new information or actions. This approach is useful when environments are predictable and can be fully captured with logical rules. However, knowledge-based agents extend logic-based agents by utilizing a knowledge base that can be updated when new information is encountered. In complex environments like the Wumpus World, where agents must deduce and update knowledge from incomplete information, knowledge-based agents excel as they can use both predefined logical rules and empirical data to make decisions and learn from their environment dynamically. While logic-based agents might struggle with unpredictability, knowledge-based agents can adjust more flexibly within such environments .

Uniform Cost Search (UCS) is an uninformed search algorithm that expands the least costly node first, ensuring the optimal path is found when costs are involved. It is suitable for scenarios where path costs vary, such as pathfinding in transportation networks. However, it can be slow because it explores nodes based on cost rather than depth, leading to extensive searches. Depth-First Search (DFS), on the other hand, delves deep into a path, backtracking upon reaching a dead end. It is more memory-efficient than UCS when the path does not require optimality regarding cost but can fail to find the shortest path or even terminate in infinite loops if care is not taken. Because of this, DFS is more suited for simpler problems where exploration depth is more critical than cost optimization, like puzzle-solving .

In the state-space model for solving Tic-Tac-Toe, the initial state represents the starting condition of the empty board. The goal state is a configuration of the board where one player has aligned their symbols in a row, column, or diagonal. Operators are the possible moves a player can make, i.e., placing a symbol in an empty cell. The state-space is explored by applying operators to transition from the initial state toward the goal state, with the search for the optimal strategy involving evaluating potential states and choosing moves that maximize a player’s chances to win while blocking the opponent's path to a goal state .

Model-based agents use an internal model to keep track of the state's changes and to decide the next action accordingly. They maintain an understanding of the external world and use this to predict the effects of their actions, making them suitable for environments where states are not easily observable. For example, a robot vacuum that cleans while avoiding obstacles by predicting their positions. In contrast, goal-based agents focus on reaching a predefined goal, evaluating different states and actions to find the best path to the goal. They consider future states and select actions that bring them closer to the goal without maintaining an extensive model of the environment. For instance, a chess-playing AI evaluating moves based on potential outcomes .

You might also like