Professional Documents
Culture Documents
Sample Final Ai
Sample Final Ai
Sample Final Ai
FACULTY OF COMPUTING
[4 x 10.0 = 40 points]
1
[3 point]
5. In a TicTacToe game, there are multiple ways of designing winning strategies. Show
at least 3 of them using TicTacToe tables.
[2 points]
6. In a Minimax Game, the Min plays ((5, 7, 12, 8), (5, 7, 12, 8), (5, 7, 12, 8)). Show who
wins using by:-
[1 point]
a. Tabulation b. Minmax function utility
[4 points]
2
a. Prove P(W) = 1 e. P(Triangle) = ?
b. P(Black) = ? f. P(Circle | Star Black) = ?
c. P(Circle | White) = ? g. P(White) = ?
𝑃(𝑌|𝑋 ) 𝑥 𝑃(𝑋)
d. P(Black | Star) = ? h. Prove 𝑃(𝑋|𝑌) =
𝑃(𝑌)
2. Using Joint probability of the below tabulation. Attempt the followings.
[3 points]
3
d. What is P(Admitted=true | Gender=Female, Dept=CS IT)?
e. What is P(Admitted=true | Gender=Male, Dept=CS)?
3. True / False: An event that cannot occur has zero probability or necessarily
it is certain not to occur [___]
[1 point]
4
Cold} and another Variable Condition {Foggy, Snowy, Cloudy,
Amazing}as given by the following two-dimensional table. Compute:-
5
2. Calculate the output ℎ1(3) of the given NN based on the following values:
w11(1) = w12(1) = w13(1) = 0.3, w21(1) = w22(1) = w23(1) = 0.2,
w31(1) = w32(1) = w33(1) = 0.5, w11(2) = w12(2) = w13(2) = 0.2,
b1(1) = b2(1) = b3(1) = 0.5, b1(2) = 0.2, x1 = 1, x2 = 2, x3 = 3
[2 points]
False / True : The perceptron is the simplest form of neural net with one
neuron with adjustable weights[___]
[1 point]
[1 point]
6
4. Using Summation Factoring concept of f8 with three variables namely X,
Y, Z with values ={0.03, 0.07, 0.54, 036, 0.6, 0.14, 0.48. 0.32}
a. Calculate ∑𝑌 𝐹8 b. Calculate ∑𝑋 𝐹8
[1 points]
[2 points]
Constraint Satisfaction problem is defined as set of variables X1, X2, ... XN
where by each variable Xi has a non-empty Domain Di of possible values and
a set of constraints C1, C2,… CM . Solve:- SEND + MORE = MONEY
[2 points]