3 Units QB Ai
3 Units QB Ai
10. What are the capabilities computers needs to pass total Turing test?
Computer vision - to perceive objects.
Robotics - to manipulate objects and move about.
14. What are the factors that a rational agent should depend on at any given time?
1. The performance measure that defines degree of success.
2. Ever thing that the agent has perceived so far. We will call this
complete perceptual history the percept sequence.
3. When the agent knows about the environment.
4. The action that the agent can perform.
Many advanced prompting techniques have been designed to improve performance on complex
tasks
• Few-shot prompts
• Chain-of-thought (CoT) prompting
• Self-Consistency
• Knowledge Generation Prompting
• ReAct
PART B
1. How did you describe PEAS description for at least four agent types? ii) How did you
describe PEAS?
2. Describe in detail about i) Simple reflex agent. ii) Model based agent. iii) Utility based
agent. iv) Goal based agent
3.Compare and contrast human intelligence to artificial intelligence with numerous
examples and applications.
4. Explain the role of Artificial intelligence in the future.
5. Discuss about agents and Environments.
6. Analyze the Characteristic of intelligent Agents.
7. Compose and explain in detail about intelligent agents.
8. Examine the PEAS specification of the task environment of an agent.
9. Explain the structure of agents.
10. Discuss about the multi – agent systems with the help of an illustration.
11. Describe the role of communication for intelligent agents.
12. Show how problem solving agents solving contingency problems different from
the one solving exploratory problems
13. Discuss on different types of Agent Program (or) Explain the types of agent with neat diagram.
14.For each of the following agents, develop a PEAS description of the task environment:
a. Robot soccer player;
b.Internet book-shopping agent;
c.Autonomous Mars rover;
d. Mathematician’s theorem-proving assistant
15. Explain in detail about prompt engineering techniques.
16. Illustrate in detail about the elements of prompt engineering.
MODULE -II
PART A
1. Define Problem Formulation.
Problem Formulation is the process of deciding what actions and states to consider,
given a goal. Eg. Assume that the agent consider actions at the level of driving from one
major town to another. Each state therefore corresponds to being a particular town.
11. What is the difference between uninformed and informed search strategies?
UNINFORMED SEARCH(BLIND INFORMED SEARCH(HEURISTIC
SEARCH) SEARCH)
No information about the number of steps The path cost from the current state to
(or) path cost from the current state to goal goal state is calculated, to select the
state minimum path cost as the next state
Less effective in search method More effective
Problem to be solved with the given Additional information can be added as
information assumption to solve the problem
E.g. a)Breadth first search
b)Uniform cost search
c) Depth first search E.g.
d)Depth limited search a) Best first search
e)Interactive deepening search b) Greedy search
f)Bi-directional search c) A* search
12. State the significance of using heuristic functions?
• The path cost from the current state to goal state is calculated, to select the minimum
path cost as the next state.
• Find the shortest solution using heuristic function that never over estimates the number
of steps to the goal.
21. What’s the difference between a world state, a state description, and a
search node? Why is this distinction useful?
A world state is what the world looks like, while a state description tells us about the
state in every detail, and a search node is a data representation of the search. So the world
state is the state itself, the state description is information on it, and the search node is the
search data.
25. What is the difference between Simple Hill Generate and Test algorithm Climbing
The key difference between Simple Hill Climbing and Generate and Test algorithm is the
use of an evaluation function as a way to inject task-specific knowledge into the control
process.
26. What is A* search?
A * search is the most widely-known form of best-first search. It evaluates the nodes by
combining g(n),the cost to reach the node, and h(n),the cost to get from the node to the
goal:
f (n) = g(n) + h(n)
Where f (n) = estimated cost of the cheapest solution through n. g (n) is the path cost from
the start node to node n.
h (n) = heuristic function
A * search is both complete and optimal.
29. How much knowledge would be required by a perfect program for the problem of
playing chess? Assume that unlimited computing power is available.
The rules for determining legal moves and some simple control mechanism that
implements an appropriate search procedure. Additional knowledge about such things as
good strategy and tactics could of course help considerably to constrain the search and
speed up the execution of the program.
30. What is alpha-beta pruning?
Alpha - Beta Pruning is a search algorithm that seeks to decrease the number of nodes
that are evaluated by the minmax algorithm in its search tree. When applied to a standard
minmax tree, it returns the same move as minmax would, but the final decision.t prunes
away branches that cannot possibly influence.
31. What do you mean by local maxima with respect to search technique?
Local maxima are a peak that is higher than each of its neighboring states, but lower than the
global maximum. Eg: Hill climbing algorithms that reach the vicinity of a local maximum will be
drawn towards the peak, but will then be stuck with nowhere else to go.
37. List out the types of assignment in CSP problem and explain each.
• Consistent or legal assignment an assignment that does not violate any constraints
• Complete assignment is one in which every variable is assigned and a solution
to a CSP is consistent.
• Partial assignment assigns values to only some of the variables.
38. Define node consistency, arc consistency and path consistency.
Node consistency means that each individual variable by itself is consistent;
Path consistency means a pair of adjacent variables can always be extended to a third
neighbouring variable. Arc consistency refers to a directed arc in the constraint graph, the arc
is consistent, if for every value of ‘x’ there is some value ‘y’ that is consistent with ‘x’.
39. What are the various heuristics used for variable ordering and value ordering in
CSP?
The heuristics available for variable ordering are
a. Minimum remaining values (MRV) heuristic
b. Degree heuristic
The heuristics available for value ordering are Least-constraining value heuristic
PART B
1. Define FOL.
FOL is a first order logic. It is a representational language of knowledge which is powerful than
propositional logic (i.e.) Boolean Logic. It is an expressive, declarative, compositional language.
4. Define a Sentence?
Each individual representation of facts is called a sentence. The sentences are expressed in a language called
as knowledge representation language.
8. Define Syntax.
Syntax is the arrangement of words. Syntax of a knowledge describes the possible configurations
that can constitute sentences. Syntax of the language describes how to make sentences.
9. Define Semantics.
The semantics of the language defines the truth of each sentence with respect to each possible
world. With this semantics, when a particular configuration exists with in an agent, the agent
believes the corresponding sentence.
15. What are the two we use to query and answer in knowledge base?
ASK and TELL.
PART-B
1. Explain the inference process in first order logic, using suitable example Prolog Programming
2. Explain in detail about wumpus world problem in fol.
3. What are the steps to convert first order logic sentence to Normal form? Explain each step.
4. Explain the unification algorithm used for reasoning under predicate logic with an example
5. Explain the forward chaining process and efficient forward chaining in detail with example. What is the
need of incremental forward chaining?
6. Consider the following facts
Team India
Team Australia
Final match between India and Australia
India scored 350 runs, Australia scored 350 runs, India lost 5 wickets, Australia lost 7 wickets. The
team which scored the maximum runs wins.
If the scores are same the team which lost minimum wickets wins the match.
Represent the facts in predicate, convert to clause form and prove by resolution “India wins the match”.
7. Describe the steps involved in the knowledge engineering process with example. Give the five logical
connectives used to construct complex sentences and give the formal grammar of propositional logic.
8. Consider the following facts and represent them in predicate form:
F1. There are 500 employees in ABC company.
F2. Employees earning more than Rs. 5000 pay tax.
F3. John is a manager in ABC company.
F4. Manager earns Rs. 10,000.
Convert the facts in predicate form to clauses and then prove by resolution: “John pays tax”.
9. Explain Ontological Engineering Categories and Objects – Events - Mental Events and Mental
Objects
10. Write a short note on Reasoning Systems for Categories.
11. Explain briefly Reasoning with Default Information
12. Explain with an example the use of unification algorithm to prove the concept of resolution.
13. (i). Discuss backward chaining algorithm. (ii).Explain the algorithm for computing more general
unifiers.
14. How did you describe Resolution ? How would you identify an example for resolution?
15. Consider the following sentences:
John like all kinds of food
Apples are food
Chicken is food
Anything anyone eats and isn’t killed is food Bill
eats peanuts and still alive
Sue eats everything Bill eats
Translate these sentences into formulae in predicate logic. (ii)Convert the above FOL into clause form