wpe41.gif (23084 bytes)CIS3355: Business Data Structures
Fall, 2008
 

Basic Data Types Quiz 1

Complete the form below ONLY if your Pseudonym begins with the Alphabetic Characters "D" through "M" (uppercase or lower Case)

If you choose this Quiz and you do not meet the criteria above, you will receive a zero (0)

Enter Your PSEUDONYM:           

Question 1:    The number 73 requires ___ bits in binary:

                          
 6
                          7
                          8
                          9
                          10

Question 2:    The number 101110 (binary) in decimal would be:

                          
 42
                          43
                          44
                          45
                          46

Question 3:    Adding the binary digits 10011 and 11001 together yields the binary number:

                          
 111010
                          110011
                          101100
                          110101
                          101110

Question 4:    The Character 'M' is really:

                          
 The number 79 (base 10)
                          The number 1,000 (base 10)
                          The number 115 (base 8)
                          The number 79 (base 16)
                          The number 1001111 (base 2)

Question 5:    The number 53 (Octal) in Decimal would be::

                          
 35
                          43
                          45
                          53
                          55

Question 6:    The number 3B (Hex) in Binary would be:

                          
 001111
                          010111
                          110011
                          110111
                          111011

Question 7:    The Easiest way to convert between Octal and Hex is:

                          
 Convert to binary and then to Hex
                          Convert to decimal and then to Hex
                          Convert directly to Hex by multiplying by 2 (since 8 * 2 is 16)
                          Convert directly to Hex by adding 8 (since 8 + 8 is 16)
                          None of the above

Question 8:    If I make the C/C++ declaration: char a; I am:

                          
 defining a as a character
                          asking for 8-bits of storage at location a in RAM
                          initializing a with the numeric value 97
                          A and C
                          B and C

Question 9:    If I make the C/C++ declaration: char a = 109; I am:

                          
 defining a as a character variable and initializing it with the numeric value 109
                          asking for 8-bits of storage at location a in RAM and initializing it
                          storing the character m at location a in RAM
                          A and B
                          All of the above

Question 10:  If I make the C/C++ declaration: char a = '3'; Location a will contain the bit sequence:

                          
 00000011
                          00110011
                          00111011
                          00111011
                          00111011


This page was last updated on 02/20/06.