Computer Science 215 Quiz 1 Name ______________________ 1. The number of binary digits that comprise a single byte of computer memory is: a. 1 b. 2 c. 8 d. 255 2. The number of distinct values that a single byte of computer memory may take on is: a. 2 b. 8 c. 255 d. 256 3. In the C language a variable of type "char" a. is used to hold character, b. holds 8 bit integers but not numeric data c. holds 32 bit integers 4. On 32 bit architectures such as the Intel and Sparc a C variable of type "short" is typically a. 8 bits b. 16 bits d. 32 bits d. 64 bits 5. The C expression 'A' + 0x0a + 2 a. is illegal because of the b. has the decimal value 65 mixed modes in which the constants appear c. has the decimal value 75 d. has the decimal value 77 ----- PLEASE ALSO WRITE YOUR NAME OF THE BACK OF THE PAPER ------ ----- PLEASE DO NOT FOLD THE PAPER ------ ----- You may leave when you finish ------