Quiz 2:SOLUTIONS

    1. 19
    2. 53
    1. 11101
    2. 1010001
    1. 4
    2. 6
    3. 6
    4. 8
    1. 'L'
    2. 'c'
    3. d 67 52
    4. Bb2E
    5. B6232E
  1. 10.625
  2. 100.0011
    1. Wed
    2. Undefined
    3. 1
    4. No
    5. (c)
    1. 23
    2. 120
    3. 2
    4. 1
    5. 8
    6. 11
    1. 18 1000
    2. 514
    3. B[21]
    1. 1
    2. 8 34.5
    3. ghijk
    1. 11
    2. 10
    3. str2="C++ String" str3="String Library"
    1. Output #1 is Jones
    2. Output #2 is 465-29-8153.homexxx
    1. ABCDE <NULL>23
    2. <BEL>ABCD
  3. fstream
    1. Text
    2. Binary
    3. Text
  4. A C++ String
  5. output 1=40
    output 2= TNT
    output 3= 5
    output 4= 0.5
    output 5 = 1
    output 6 = 2
    output 7 = 0.25

  6. c: cplus include

  7. obdhehd
    1. si
    2. None of these
    1. -0.5=bf000000
    2. 3E000000=0.125