## CS 1401, Quiz 8, TR
version

**Date:** Tuesday, October 22, 2013

**Name** (please type
legibly, ideally in block letters):
______________________________________________________________________
1. Mark what is covered (Y) and what is not covered (N) in the part
of Chapter 6 that you were supposed to read for this week:

- arrays
- while loops
- methods
- testing

2. Use a general algorithm that we learned in class to convert 22
into the binary code; show step-by-step how you performed this conversion.
Show step-by-step how you convert the resulting binary number back into
decimal (this is useful to doublecheck that conversion to binary was
correct).

3. Write down a method *and* that inputs three boolean values
a, b, and c as parameters and returns the truth value of the
expression "a and b and c''.