Professional Documents
Culture Documents
Ai Viva
Ai Viva
Module 1
1) WHAT IS AI?
Ans: AI is the study of how to make machines do things which at the moment
humans do better.
It is a way of making a computer, a computer-controlled robot, or a software think
intelligently, in the similar manner the intelligent humans think.
Thinking Humanly: activities that we associate with human thinking, activities such
as decision-making, problem solving, learning
Cognitive modelling approach: it determines how the humans think
Acting Rationally: to take actions that maximize the chances of achieving its goals
or objectives.
Goal directed thinking, behaviours,adapting to environment
The rational agent approach: means acting so as to achieve one's goals, given one's beliefs.
Based on Functionalities:
● Reactive Machines :-focuses on perceiving the real-world directly and reacting to it.
Eg alpha Go
● Limited Memory :-those that can retain memory for a short span of time. limited
memory machines can learn from previous experiences to make decisions. Eg Self
driving cars
● Theory of Mind Machines :-that machines would have the capability to understand
and remember emotions and adjust behavior based on thos emotions just as humans
can do in social interactions. aimed at figuring out someone else’s intentions or goals.
● Self Aware Machines: only aware of emotions and mental states of others, but also
their own.
7) Applications of AI
Ans: AI applications span diverse sectors, including healthcare (diagnosis and
treatment optimization), finance (fraud detection and algorithmic trading),
transportation (autonomous vehicles and route planning), customer service (chatbots
and virtual assistants), and entertainment (recommendation systems and gaming).
8) Current trends in ai
Ans : DL, Ml IoT
2) Typical structure of IA
Ans: Two main things : Architecture: machinery that the agent execute on. It is a
device with sensors and actuators, for example, a robotic car, a camera, a PC.
Agent program: is an implementation of an agent.
Agent function: is a map from the percept sequence to an action
sensors (to perceive the environment), actuators (to perform actions), a knowledge
base (to store information), a decision-making mechanism (to choose actions), and a
learning component (to adapt and improve over time)
3) Rules of IA:
Ans: 1. Must have the ability to perceive the environment
2. Observation must be used to make decisions
3. Decisions should result in action
4. Actions must be rational
4) : Explain how problems are solved through searching in the context of Intelligent
Agents
. Ans: Problem-solving agents employ search algorithms to explore a space of
possible actions and their consequences in order to find solutions that achieve their
goals. These algorithms systematically traverse the problem space, considering
different sequences of actions until a satisfactory solution is found.
6) PEAS
Ans: Performance measure: This refers to how the success of the agent is measured.
In other words, what criteria are used to evaluate the performance of the agent?
Environment: External setting in which agents operates
Actuators: mechanisms through which the agent can affect its environment. They
enable the agent to take actions based on its decisions or reasoning.
Sensors; mechanisms through which the agent perceives or gathers information about
its environment. They provide the agent with the data it needs to make decisions or
take actions.
7) Types of Environments
Ans: Fully observable vs Partially Observable: the agent (the AI or player) has
access to all the information it needs to make decisions because it can see everything
in the environment. Whereas in partial it doesnt have access because some parts of
the environment are hidden or change over time.
In fully no need to keep track of history eg It's like playing a game of chess where
you can see all the pieces on the board and their positions.
Partial : imagine playing a card game where you can only see your own cards, but
not your opponent's cards.
● Discrete vs Continuous:
Discrete: possible states of env is countable and separate, like individual pieces.
Eg Each block is a separate piece that you can stack, arrange, or separate from others.
Continuous : everything is in sequence one after the another .
Eg Imagine turning on a faucet in your kitchen or bathroom. The water flows out
smoothly in a continuous stream.
The flow of water is not broken into separate drops but instead forms a continuous
stream that you can adjust from a slow trickle to a fast flow.
● Deterministic vs Stochastic:
Deterministic : agent's current state and selected action can completely determine the
next state of the environment.
Eg Imagine setting an alarm clock to wake you up in the morning. When the set time
arrives, the alarm rings predictably, waking you up at the intended time.
In this scenario, the outcome (the alarm ringing) is entirely determined by your action
(setting the alarm) and the current state (the time on the clock).
Stochastic :outcome of an action may not be entirely predictable.
Eg Weather forecast
8) Types of Agents:
Ans: Simple Reflex Agents (react to current perceptions), Model-Based Reflex
Agents (maintain an internal state based on past perceptions), Goal-Based Agents
(pursue specific objectives), Utility-Based Agents (maximize a utility function), and
Learning Agents (improve performance through learning from experience).
Eg of simple reflex agents: Room Cleaner agent, it works only if there is dirt in
the room. Fully observable
Eg of model based agents: The robot needs to navigate through the building
efficiently while avoiding obstacles such as walls and furniture. partially observable
Eg of Goal based agents: Imagine a personal assistant chatbot designed to help users
manage their tasks and appointments. This chatbot's goal is to assist users in
organizing their schedules effectively. It can schedule appointments, set reminders,
and provide information about upcoming events.
Eg of Utility-based agents: robot vacuum cleaner decides what to do based on what
will make it happiest, considering factors like cleanliness, avoiding obstacles, and
conserving energy.
Eg of Learning agents : the virtual character is a learning agent. It learns from its
interactions with the maze, gradually improving its ability to find the cheese based on
past experiences.
9) Can you provide examples of problems that can be solved using search
algorithms?
Ans : Examples of problems that can be solved through search include the Eight
Puzzle (rearranging tiles to form a specified configuration), the Tower of Hanoi
(moving disks between pegs), and the Shortest Path problem (finding the most
efficient route between two points in a network)
M3 Problem Solving
2) Uninformed Vs Informed
Refer pic in mobile