Quiz #1

(Last Mod: 27 November 2010 21:38:38 )

ECE-1021 Home


Name:                                                             CODE:                 Section:           Date:                  

NO CALCULATORS MAY BY USED ON THIS QUIZ

  1. How many states can a 10-bit value represent?

    1. 10.

    2. 102.

    3. 28.

    4. 210.

     

  2. What is the pure binary representation of 10 ?

    1. 10

    2. 1001

    3. 1010

    4. 1000

     

  3. What is the decimal value of the binary value 101010 ?

    1. 32

    2. 42

    3. 58

    4. 1000

     

  4. What is the category that ASCII codes fall into if they effect the active position of the display device but may not produce any visible effect on the display?

    1. non-printing characters.

    2. control characters.

    3. white space.

    4. escape sequences.

     

  5. What is the value of the following ASCII expression?

    'P' - 'A' + 'a' + 1

    1. 'P'

    2. 'Q'

    3. 'p'

    4. 'q'