You are on page 1of 3

Name: Uditi Bisaria

Roll Num: A004


Subject: Artificial Intelligence
Assignment: 1
Course: MBA.Tech Third Year Sem 6

Questions from Resolution:

Ques 1: Consider the following axioms:

1. Every investor bought [something that is] stocks or bonds.2.


2. If the Dow-Jones Average crashes, then all stocks that are not gold stocks fall.3.
3. If the T-Bill interest rate rises, then all bonds fall.4.
4. Every investor who bought something that falls is not happy.
5. (Conclusion) If the Dow-Jones Average crashes and the T-Bill interest rate rises, then any
investor who is happy bought some gold stock.

Ans:

1. Every investor bought [something that is] stocks or bonds.


∀ x (INVESTOR(x) → ∃ y ((STOCK(y) ∨ BOND(y)) ∧ BUY (x, y)))
2. If the Dow-Jones Average crashes, then all stocks that are not gold stocks fall.
DJCRASH → ∀ x ((STOCK(x) ∧ ¬ GOLD(x)) → FALL(x))
3. If the T-Bill interest rate rises, then all bonds fall.
TBRISE → ∀ x (BOND(x) → FALL(x))
4. Every investor who bought something that falls is not happy.
∀ x ∀ y (INVESTOR(x) ∧ BUY (x, y) ∧ FALL(y) → ¬ HAPPY(x))
5. (Conclusion) If the Dow-Jones Average crashes and the T-Bill interest rate rises, then any
investor who is happy bought some gold stock.
(DJCRASH ∧ TBRISE) → ∀ x (INVESTOR(x) ∧ HAPPY(x) → ∃ y (GOLD(y) ∧ BUY (x, y))

Ques 2: Consider the following axioms:

1. Every child loves every candy.


2. Anyone who loves some candy is not a nutrition fanatic.
3. Anyone who eats any pumpkin is a nutrition fanatic.
4. Anyone who buys any pumpkin either carves it or eats it.
5. John buys a pumpkin.
6. Lifesavers is a candy.
7. (Conclusion) If John is a child, then John carves some pumpkin
Ans:

1. Every child loves every candy.


∀ x ∀ y (CHILD(x) ∧ CANDY(y) → LOVES (x, y))
2. Anyone who loves some candy is not a nutrition fanatic.
∀ x ( (∃ y (CANDY(y) ∧ LOVES (x, y))) → ¬ FANATIC(x))
3. Anyone who eats any pumpkin is a nutrition fanatic.
∀ x ((∃ y (PUMPKIN(y) ∧ EAT (x, y))) → FANATIC(x))
4. Anyone who buys any pumpkin either carves it or eats it.
∀ x ∀ y (PUMPKIN(y) ∧ BUY (x, y) → CARVE (x, y) ∨ EAT (x, y))
5. John buys a pumpkin.
∃ x (PUMPKIN(x) ∧ BUY (John, x))
6. Lifesavers is a candy.
CANDY(Lifesavers)
7. (Conclusion) If John is a child, then John carves some pumpkin.
CHILD(John) → ∃ x (PUMPKIN(x) ∧ CARVE (John, x))

Questions from Crypt Arithmetic:

Ques 1: AS+ A = MOM

Ans:

A S

MO M

A S

1 A

MO M

 S+A=1
 M=1
 A+1=O
 A=9
 O=0
 S=2

Ques 2: SO + SO = TOO

Ans:

S O

S O

T O O

S O

1 S O

T O O

 2S = 10
 S=5
 T=1
 O=0

You might also like