Questions on Character Representation

  1. How many bits are used for an ASCII character representation?
  2. What are both the binary and hexadecimal representations for the characters:
    A. R
    B. :
    C. 8
    D. the NULL character used in C
  3. What ASCII character is represented by
    A. 0x44
    B. 0x7b
    C. 0x26
  4. A computer is executing a C program that does
    
        char X;
        X = '(' + '1';
        printf("%c", X);
    
    
    What character is printed out?
Copyright © Karen Miller, 2007