You are on page 1of 6

Year-2022, Core-13(AI)

1.5 marks

1. Write down the structure of AI?


Understanding the structure of an AI agent. At its core, an AI agent is made up of four components: the
environment, sensors, actuators, and the decision-making mechanism.
2. What is ra onal agent?
ra onal agent is a computer program that uses logical reasoning and the ability to make decisions to
determine its following ac on. An excellent example of a ra onal agent is a chess player. A chess player can
analyze the board and determine which moves will result in the most advantageous outcome for itself
3. What is control strategies?
Control Strategy is a technique or strategy, tells us about which rule has to be applied next while searching
for the solu on of a problem within problem space. A good control strategy is always required to decide
which rule need to be applied during the process of searching for a solu on to a problem.
4. Use of BFS?
The breadth-first search or BFS algorithm is used to search a tree or graph data structure for a node that
meets a set of criteria. Graph traversal. Network rou ng. Pa ern matching uses BFS.
5. What is Heuris cs Search?
Heuris c search is class of method which is used in order to search a solu on space for an op mal solu on
for a problem. The heuris c here uses some method to search the solu on space while assessing where in
the space the solu on is most likely to be and focusing the search on that area.
6. Use of first order predicate logic?
Applica ons in Knowledge Representa on: AI applica ons rely on first-order logic to represent en es and
their proper es, capture rela onships, and encode domain knowledge in a structured and interpretable
form.
7. what is unifica on?
Unifica on is the process of finding a common solu on for expressions with variables, making them
equivalent. It plays a crucial role in AI, including logic programming, natural language processing, and
symbolic reasoning. In logic, unifica on is used for theorem proving, resolu on, and knowledge
representa on.
8. what is default reasoning in ai?
Default reasoning is a form of nonmonotonic reasoning where plausible conclusions are inferred based on
general rules which may have excep ons (defaults).
9. What is Parsing in the context of NLP?
Parsing is the process of examining the gramma cal structure and rela onships inside a given sentence or
text in natural language processing (NLP). It involves analyzing the text to determine the roles of specific
words, such as nouns, verbs, and adjec ves, as well as their interrela onships.
10. What is Constraint Sa sfac on?
A Constraint Sa sfac on Problem in ar ficial intelligence involves a set of variables, each of which has a
domain of possible values, and a set of constraints that define the allowable combina ons of values for the
variables. The goal is to find a value for each variable such that all the constraints are sa sfied.

YEAR-2022, 2Marks
1. What is NLP?
Natural language processing (NLP) is a branch of ar ficial intelligence (AI) that enables computers to
comprehend, generate, and manipulate human language. Natural language processing has the ability to
interrogate the data with natural language text or voice
2. Write down the Inconsistencies in truth management System?
A truth maintenance system manages uncertain and inconsistent informa on by tracking beliefs and
assump ons used to derive conclusions, to maintain a consistent and coherent view of the world.
3. What is conceptual graphs in AI?
A conceptual graph (CG) is a graph representa on for logic based on the seman c networks of ar ficial
intelligence and the existen al graphs of Charles Sanders Peirce. Several versions of CGs have been
designed and implemented over the past thirty years.
4. What is seman c nets?
In ar ficial intelligence, a seman c network is a knowledge representa on technique for organizing and
storing knowledge. Seman c networks are a type of graphical model that shows the rela onships between
concepts, ideas, and objects in a way that is easy for humans to understand.
5. Define knowledge representa on?
Knowledge representa on equips AI agents with the capabili es to solve the most complex tasks based
on what they have learned from the knowledge given to them. The knowledge given to them could be
human experiences, problem-solu ons, if-then rules, response to specific scenarios, etc.
6. What is problem solving Technique?
In computer science, problem-solving refers to ar ficial intelligence techniques, including various
techniques such as forming efficient algorithms, heuris cs, and performing root cause analysis to find
desirable solu ons.
7. What is Hill Climbing?
Hill climbing is basically a search technique or informed search technique having different weights based
on real numbers assigned to different nodes, branches, and goals in a path.
8. What id Best First Search?
Best first search (BFS) is a search algorithm that func ons at a par cular rule and uses a priority queue
and heuris c search. It is ideal for computers to evaluate the appropriate and shortest path through a
maze of possibili es. Suppose you get stuck in a big maze and do not know how and where to exit quickly.
9. What is Turing test?
In 1950, Alan Turing introduced a test to check whether a machine can think like a human or not, this test
is known as the Turing Test. In this test, Turing proposed that the computer can be said to be an intelligent
if it can mimic human response under specific condi ons.
10. What is AI?
Ar ficial intelligence is the science of making machines that can think like humans. It can do things that
are considered "smart." AI technology can process large amounts of data in ways, unlike humans. The goal
for AI is to be able to do things such as recognize pa erns, make decisions, and judge like humans.

YEAR-2022,7 Marks
1. What is AI agent? Explain different agents in AI.

In artificial intelligence, an agent is a computer program or system that is designed to perceive its
environment, make decisions and take actions to achieve a specific goal or set of goals. The agent
operates autonomously, meaning it is not directly controlled by a human operator.

Agents can be classified into different types based on their characteristics, such as whether they
are reactive or proactive, whether they have a fixed or dynamic environment, and whether they are
single or multi-agent systems.

 Reactive agents are those that respond to immediate stimuli from their environment and take
actions based on those stimuli. Proactive agents, on the other hand, take initiative and plan ahead
to achieve their goals. The environment in which an agent operates can also be fixed or dynamic.
Fixed environments have a static set of rules that do not change, while dynamic environments are
constantly changing and require agents to adapt to new situations.

 Mul -agent systems involve mul ple agents working together to achieve a common goal. These agents
may have to coordinate their ac ons and communicate with each other to achieve their objectives.
Agents are used in a variety of applications, including robotics, gaming, and intelligent systems.
They can be implemented using different programming languages and techniques, including
machine learning and natural language processing.

Artificial intelligence is defined as the study of rational agents. A rational agent could be
anything that makes decisions, such as a person, firm, machine, or software. It carries out an
action with the best outcome after considering past and current percepts(agent’s perceptual
inputs at a given instance). An AI system is composed of an agent and its environment. The
agents act in their environment. The environment may contain other agents.
 An agent is anything that can be viewed as: Perceiving its environment through sensors and
 Acting upon that environment through actuators
 Every agent can perceive its own actions (but not always the effects).

2. What is AI? Write down its Various application.


Ar ficial intelligence is the simula on of human intelligence processes by machines, especially computer
systems. Specific applica ons of AI include expert systems, natural language processing, speech
recogni on and machine vision.
Applica ons:
Ar ficial Intelligence can be very useful to solve complex universe problems. AI technology can be helpful
for understanding the universe such as how it works, origin, etc
In the last, five to ten years, AI becoming more advantageous for the healthcare industry and going to have
a significant impact on this industry.
AI can be used for gaming purpose. The AI machines can play strategic games like chess, where the
machine needs to think of a large number of possible places.
AI and finance industries are the best matches for each other. The finance industry is implemen ng
automa on, chatbot, adap ve intelligence, algorithm trading, and machine learning into financial
processes.
The security of data is crucial for every company and cyber-a acks are growing very rapidly in the digital
world. AI can be used to make your data more safe and secure.
Social Media sites such as Facebook, Twi er, and Snapchat contain billions of user profiles, which need to
be stored and managed in a very efficient way. AI can organize and manage massive amounts of data.
AI is becoming highly demanding for travel industries. AI is capable of doing various travel related works
such as from making travel arrangement to sugges ng the hotels, flights, and best routes to the customers.
Ar ficial Intelligence has a remarkable role in Robo cs. Usually, general robots are programmed such that
they can perform some repe ve task, but with the help of AI, we can create intelligent robots which can
perform tasks with their own experiences without pre-programmed.
AI can automate grading so that the tutor can have more me to teach. AI chatbot can communicate with
students as a teaching assistant.
3. What is alpha, beta pruning? Explain with example.

Alpha-beta pruning is a modified version of the minimax algorithm. It is an optimization technique


for the minimax algorithm.

As we have seen in the minimax search algorithm that the number of game states it has to examine
are exponential in depth of the tree. Since we cannot eliminate the exponent, but we can cut it to
half. Hence there is a technique by which without checking each node of the game tree we can
compute the correct minimax decision, and this technique is called pruning. This involves two
threshold parameter Alpha and beta for future expansion, so it is called alpha-beta pruning. It is
also called as Alpha-Beta Algorithm.

Alpha-beta pruning can be applied at any depth of a tree, and sometimes it not only prune the tree
leaves but also entire sub-tree.

The two-parameter can be defined as:

a. Alpha: The best (highest-value) choice we have found so far at any point along the path of
Maximizer. The initial value of alpha is -∞.
b. Beta: The best (lowest-value) choice we have found so far at any point along the path of
Minimizer. The initial value of beta is +∞.

The Alpha-beta pruning to a standard minimax algorithm returns the same move as the standard
algorithm does, but it removes all the nodes which are not really affecting the final decision but
making algorithm slow. Hence by pruning these nodes, it makes the algorithm fast.

The main condition for alpha beta pruning is α>=β

KEY POINTS ABOUT ALPHA BETA PRUNING


 The Max player will only update the value of alpha.
 The Min player will only update the value of beta.
 While backtracking the tree, the node values will be passed to upper nodes instead of
values of alpha and beta.
 We will only pass the alpha, beta values to the child nodes.

4. describe briefly about resolution principal

The resolution principle, due to Robinson (1965), is a method of theorem proving that proceeds by
constructing refutation proofs, i.e., proofs by contradiction. This method has been exploited in many
automatic theorem provers. The resolution principle applies to first-order logic formulas in Skolemized
form. These formulas are basically sets of clauses each of which is a disjunction of literals. Unification
is a key technique in proofs by resolution.

If two or more positive literals (or two or more negative literals) in clause are unifiable and is their
most general unifier, then is called a factor of . For example, is
factored to . In such a factorization, duplicates are removed.

Let and be two clauses with no variables in common, let contain a positive literal , contain
a negative literal , and let be the most general unifier of and . Then

is called a binary resolvent of and . For example, if and


, then is their binary resolvent.
A resolvent of two clauses and is one of the four following binary resolvents.

1. A binary resolvent of and .

5. 2. A binary resolvent of and a factor of .

3. A binary resolvent of a factor of and .

4. A binary resolvent of a factor of and a factor of .

Generation of a resolvent from two clauses, called resolution, is the sole rule of inference of the
resolution principle. The resolution principle is complete, so a set (conjunction) of clauses is
unsatisfiable iff the empty clause can be derived from it by resolution.

Proof of the completeness of the resolution principle is based on Herbrand's theorem. Since
unsatisfiability is dual to validity, the resolution principle is exercised on theorem negations.

Multiple strategies have been developed to make the resolution principle more efficient. These
strategies help select clause pairs for application of the resolution rule. For instance, linear resolution is
the following deduction strategy. Let be the initial set of clauses. If , a linear deduction of
from with top clause is a deduction in which each is a resolvent of and ( ),
and each is either in or a resolvent (with ).

Linear resolution is complete, so if is a clause in an unsatisfiable set of clauses and is


satisfiable, then the empty clause can be obtained by linear resolution with as the top clause.
If the additional restriction that be in imposed, then this restricted strategy is incomplete.
However, it is complete for sets of Horn clauses containing exactly one goal, and the goal is
selected as the top clause. All other clauses in such sets are definite Horn clauses. Implementations
of programming language Prolog conduct search within the framework of this strategy.

6. Write Bayesian probabilistic inference? Explain its rule and importance,

Bayesian inference is a way of making statistical inferences in which the statistician assigns
subjective probabilities to the distributions that could generate the data. These subjective
probabilities form the so-called prior distribution.

After the data is observed, Bayes' rule is used to update the prior, that is, to revise the probabilities
assigned to the possible data generating distributions. These revised probabilities form the so-called
posterior distribution.

Remember the main elements of a statistical inference problem:

1. we observe some data (a sample), that we collect in a vector ;


2. we regard as the realization of a random vector ;
3. we do not know the probability distribution of (i.e., the distribution that generated our
sample);
4. we define a statistical model, that is, a set of probability distributions that could have
generated the data;
5. optionally, we parametrize the model, that is, we put the elements of in correspondence
with a set of real vectors called parameters;
6. we use the sample and the statistical model to make a statement (an inference) about the
unknown data generating distribution (or about the parameter that corresponds to it).

In Bayesian inference, we assign a subjective distribution to the elements of , and then we use
the data to derive a posterior distribution.

In parametric Bayesian inference, the subjective distribution is assigned to the parameters that
are put into correspondence with the elements of The likelihood:The first building block of a
parametric Bayesian model is the likelihood.The prior:The second building block of a Bayesian
model is the prior, The prior is the subjective probability density assigned to the parameter .After
observing the data , we use Bayes' rule to update the prior about the parameter

7. Differentiate between default reasoning and probabilistic Reasoning.

Default reasoning is a form of nonmonotonic reasoning where plausible conclusions


are inferred based on general rules which may have exceptions (defaults)

Probabilistic reasoning and inferencing can be considered as approaches based on the


assumptions that decision variables obey some probability distributions and data
are drawn from certain probability distributions

You might also like