CS 5354/CS 4365 Intelligent Computing
Fall 2019, Final Exam

Name: ____________________________

General comments:

Good luck!

1. Let us consider the following expert rules:

Describe step-by-step -- like we did in class -- how you would translate these rules into a formula for the corresponding predicate R(r, g) meaning that if the students has GPA r, then it is reasonable to expect a grade g.

Let us now assume that the student's GPA is 3.0, for which:

Let us assume that we use max(a + b − 1, 0) as an "and"-operation and min(a + b, 1) as an "or"-operation. What is the degree to which it is reasonable to expect that this student will get a grade of 90 if:
2. Use linear interpolation to come up with a fuzzy version of implication. For Boolean variables, the implication is im(a, b) = 0 if a = 1 and b = 0, else im(a, b) = 1.
3. Why cannot we have only 1- or 2-layer neural networks? Why we use L-NL-L networks and not NL-L-NL ones? Explain why 3-layer neural networks are universal approximators.
4. Use Lagrange multiplier method to solve the following constraint optimization problem: find a point on a circle x12 + x22 = 4 which is the furthest away from the point (3, 4). Use the Lagrange multiplier method to explain the gradient descent method -- the main method used for training neural networks.
5. Explain why deep neural networks are more efficient than traditional ones. Explain, in detail, why for deep neural networks, the activation function should be piece-wise linear. Explain why we cannot have c− = c+.
6. What practical problem is solved by the Deutsch-Josza algorithm? Explain, step-by-step, what this algorithm will do when the tested function is f(x) = not x.
7. Explain, step-by-step, how RSA algorithm will encode the message m = 6. Assume that the two prime numbers are p = 5 and q = 7, and that the public number e which has no common divisors with (p − 1)(q − 1) = 24 is e = 5. Find the secret code d and use it to decode the message.
8. Explain, step-by-step, how quantum cryptography works.