Page 70 - Cs_withBlue_J_C11_Flipbook
P. 70

7.  Express  -29.5 in mantissa exponent notation.
                    Ans.  Binary value 29.5 is 11101.1
                         In normalised binary notation 1.11011 × 2 4
                         Expressing exponent 4 in binary, we get 1.11011 × 2 100
                         MSB sign bit for negative number = 1
                             Exponent in 8-bit notation = 00000100
                             Mantissa of 23 bits after excluding 1 to the left of the radix point
                             11011000000000000000000
                      8.  Compare ASCII and Unicode.
                    Ans.                             Unicode                                 ASCII

                         Range        Unicode supports all characters of all recognised  ASCII supports English letters, digits and symbols.
                                      languages world wide.
                         Use          Unicode is the super set and is backward  ASCII is the sub set of Unicode.
                                      compatible with ASCII.

                      9.  Write the ASCII equivalent of ASCII.
                    Ans.  A=65  S=83  C=67  I=73
                           Representing in binary 1000001 1010011 1000011 1001001 1001001
                     10.  What is UTF-8?
                    Ans.  It is  a  multi-byte,  variable-width encoding  scheme and  is  the most popular  Unicode  encoding  scheme. It is  backward
                        compatible with ASCII. It uses 1 byte for standard English letters, 2 bytes for additional Latin and middle Eastern characters,
                        3 bytes for Asian characters and 4 bytes for additional characters. This encoding scheme is compatible with HTML, XML,
                        JSON and e-mail.


                       Unsolved Questions



                  A.  Tick ( ) the correct option:
                      1.  4 bits make a  ………………… .
                        a.  kilobyte                                    b.  megabyte
                        c.  byte                                        d.  nibble
                      2.  The signed magnitude representation of 8-bit reserves ………………… bits for magnitude.
                        a.  8                                           b.  7
                        c.  1                                           d.  6
                      3.  Which of the following is the signed magnitude representation of +7 in 8-bit notation?
                        a.  00000111                                    b.  11111000
                        c.  00001111                                    d.  11110000
                      4.  Which of the following is the one’s complement representation of +10 in 4-bit notation?
                        a.  1000                                        b.  1010
                        c.   0101                                       d.  0111
                      5.  Which of the following is the two’s complement representation of -10 in 4-bit notation?
                        a.  0110                                        b.  0101
                        c.  0010                                        d.  1010
                      6.  8 & 14 will result in ………………… .
                        a.  14                                          b.  8
                        c.  6                                           d.  22
                      7.  Which of the following is a 4-bit encoding scheme?
                        a.  ASCII                                       b.  ISCII
                        c.  BCD                                         d.  Unicode




                6868  Touchpad Computer Science-XI
   65   66   67   68   69   70   71   72   73   74   75