MIDTERMF08

# MIDTERMF08 - McGILL UNIVERSITY Department of Electrical and...

This preview shows pages 1–4. Sign up to view the full content.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
COURSE: ECSE – 323 MIDTERM EXAM FALL 2008 2 YOUR NAME: ___________ ANSWER KEY ____________ ________________________________________________________________________ Question 1: Booelan Logic Theory (10 points) You are presented with a set of requirements under which an insurance policy will be issued. The applicant must be: 1. A married female 25 years old or over, or 2. A female under 25, or 3. A married male under 25 who has not been involved in a car accident, or 4. A married male who has been involved in a car accident, or 5. A married male 25 years old or over who has not been involved in a car accident. The variables w, x, y and z assume the truth value 1 in the following cases: w = 1 if applicant has been involved in a car accident x = 1 if applicant is married y = 1 if applicant is male z = 1 if applicant is under 25. (4 points) a) You are asked to find an algebraic expression which assumes the value 1 whenever the policy should be issued. (3 points) b) Simplify algebraically the above expression, and (3 points) c) Suggest a simpler set of requirements. ________________________________________________________________________ ANSWER Expression: x y z + y z + w x y z + w x y + w x y z Simplified expression: x + y z Simpler set of requirements: MARRIED OR A FEMALE UNDER 25.
COURSE: ECSE – 323 MIDTERM EXAM FALL 2008 3 YOUR NAME: ___________ ANSWER KEY ____________ ________________________________________________________________________ Question 2:

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 11/22/2010 for the course ECSE ecse 323 taught by Professor Redacka during the Winter '07 term at McGill.

### Page1 / 9

MIDTERMF08 - McGILL UNIVERSITY Department of Electrical and...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online