Cat1 Assignment (1) - Merged
Cat1 Assignment (1) - Merged
KONIDALA MANAST
3122So02052
IT- A
0NacumMn cleaner Aqent
Poblem formutation
can b in heY ot tw0 celo cn wwcn each
Slate:The ageut ae 2x2x1:g
dint o not trefore tre
cel Can heie vacum h atete.
nxn
clates T we howne n Clls, the
Titial SHats nitialttote for eroupe;
specfi ed as
Any state can b cells aee dity
Aqent tiH fint ceu and two
Action lOsl
ach acien io anit cost
A0+
TYEARs clasSmAte
OF EXCELENCE
mobem:
() 8 puzzle paobew:
Puoblem towulaton;
:- Astate olercnpien spectfies the locatiens of
ffat
each 4-ile.
DnitialsHate :- Any cenfiguration of ties.
Actiens:- Mone bank spate
oet, Right, Up, Down.
RatHton Mocel
state ond action to a teutng state ; t
Maps a skate,the blank.
apply et to the tart
exauple, we on d s' i u be at nght.
Space uilll be at the (eft
Gol rate - nunbeschoder.
specried slate wtth the
2
3 H
6
AcHion cost;
Actiens ae nit coAt.
)Dnial slate
Mentey't tocaton : (o)o)/ pocitioned at the fl ox lerel)
’ Menteys huignt: 3fett (Haudng htigut).
Crate B ave nitiolly plu ce d at
Gate tocatiens : CYate Aand
(O:0) avd (0,0) tn te ttoon Yopechvel
’ Bauana lo coatten:(x8) ohere xtA aYoudom poiRn
along
Dwtal ate cau be nepsented as(nkey (ocahon ,Nonkey igut,
hateA t Coten, cateBlocaton, bananato cohion
bonana en it /ocahion
’Th wMonkey rucceofully gets the and
iA Some ao the bananis locahon meneey helati & eet
yewihontuncton: -
2) Cunb (rate p
3) Non Catt A
A0+
YEARS
OF EXCELENCE classmate
H) TnittolSlale:
slalt i(0,010) xpBseut iny the aweunt o} wotr in ech jg
(r2 gollon j9, qallonijug)gallnyug)ópechvely
îorget voume: 19elen.
Gtoal 940t;
has a
The coOot tun ction ean be unform, ohere ach acttoneaual ost
uitom cOst ot l: Tin wean all achon ane
shorteot Mouence of achs to meaux
qnd to tud the
exocy gallen
A0+
TYEARS
OF EXCELL ENCE classmate
Dniti als4ate:
-’flavt wtth -the fist ecorduhthe fu:
Gtocl tst:
iWgod tnput vecovd
qoalis to ideutity the V
Succemon Functio:
Read Qud moces the next eord ùthefe.
5Dth cunent cord is vaid, moe orm to the rut ord.
the Cunent cord n uegol , Qutput ileg al put
seUYd nand terminate.
Cost Fncticn
SThe coAt tunttion to noteuvont heN nhce wae minply
Headny ond roceniig tords one by one wntl sthe
ivegal tcovd is taund
● Transform analysis identifies the primary functional components (modules) 1.Scenario-based elements
and the input and output data for these components. ● The first step in The system is described from the user’s point of view using a scenario-based
transform analysis is to divide the DFD into three types of parts: ○ Input approach. For example, basic use cases (Section 5.4) and their corresponding use-
case diagrams (Figure 5.2) evolve into more elaborate template-based use cases.
(afferent branch) ○ Processing (central transform) ○ Output (efferent branch) ●
for eliciting requirements and representing them using use cases. Three levels of
In the next step of transform analysis, the structure chart is derived by drawing elaboration are shown, culminating in a scenario-based representation.
one functional component each for the central transform, the afferent and 2.Class-based elements. Each usage scenario implies a set of objects that are
efferent branches. ● These are drawn below a root module, which would manipulated as an actor interacts with the system. These objects are categorized
invoke these modules. into
classes—a collection of things that have similar attributes andcommonbehaviors.
Transaction analysis is an alternative to transform analysis and is useful while 3.Behavioral elements. The behavior of a computer-based system can have a
designing transaction processing programs. ● A transaction allows the user to profound effect on the design that is chosen and the implementation approach that
perform some specific type of work by using the software. ● For example, isapplied. Therefore, the requirements model must provide modeling elements
‘issue book’, ‘return book’, ‘query book’, etc., are transactions. ● As in that depict behavior.
transform analysis, first all data entering into the DFD need to be identified. ● 4. Flow-oriented elements. Information is transformed as it flows through a
In a transaction-driven system, different data items may pass through different computer-based system. The system accepts input in a variety of forms, applies
functions to transform it, and produces output in a variety of forms
computation paths through the DFD. ● This is in contrast to a transform
centered system where each data item entering the DFD goes through the
same processing steps. ● Each different way in which input data is processed is
a transaction. For each identified transaction, trace the input data to the
output. ● All the traversed bubbles belong to the transaction. ● These bubbles
should be mapped to the same module on the structure chart. ● In the
structure chart, draw a root module and below this module draw each
identified transaction as a module.
V semester
Information Technology
UIT2504 and ARTIFICIAL INTELLIGENCE
Assignment 2
CO1: Understand the basic concepts of intelligent agents
Develop general-purpose problem-solving agents, logical reasoning agents, and agents that
CO2:
reason under uncertainty
CO3: Employ AI techniques to solve some of today’s real-world problems
KL CO
1. Assume the Bayes Net from class is a prefect representation of the world, you K3 CO2
know that you do not have a stomach bug, if you were to vomit, would that
information change the probability that you had a fever?
2. K3 CO2
Identify the causal and diagnostic relationship in the above Bayesian Network
3 Write down the joint probability table for the following Bayesian K3 CO2
network:
4 toothache ~toothache K3 CO2
catch ~catch catch ~catch
cavity 0.108 0.012 0.072 0.008
~cavity 0.016 0.064 0.144 0.576
6 Consider the Bayesian belief Network. The Probability are given as K3 CO2
E M
B
S