Page 69 - Computer Science V2.0 Class 11
P. 69

9.  Consider the following statements:
                      Statement 1: ASCII is a 7-bit code.
                      Statement 2: We can have 128 unique codes in the ASCII system.
                      a.  Both Statements 1 and 2 are correct
                      b.  Both Statements 1 and 2 are incorrect
                      c.  Statement 1 is correct, but statement 2 is incorrect
                      d.  Statement 1 is incorrect, but statement 2 is correct
                   10.  Which of the following is a fixed length encoding scheme?
                      a.  UTF-8                 b. UTF-16             c. UTF-32              d. None of these

                 B.  State whether the following statements are True or False:
                    1.  The binary equivalent of decimal number 7 is 111.                                      __________
                    2.  The number 23 denotes the same value in the hexadecimal and decimal numbers.           __________
                    3.  ISCII is an 8-bit code.                                                                __________
                    4.  UTF-8 is a fixed-length encoding scheme.                                               __________
                    5.  Unicode covers all the characters for all the writing systems of the world.            __________
                    6.  UTF-8 uses minimum of eight bytes to encode characters.                                __________
                 C.  Fill in the blanks.
                    1.  A __________ system provides a system for expressing the numbers.
                    2.  One octal digit can be used to represent __________ binary digits.
                    3.  ASCII is a __________ bit code.
                    4.  Value of a symbol in decimal number lies between __________ and __________.
                    5.  In the number 208, the most significant digit is __________.
                 D.  Answer the following questions:
                    1.  Name any two number systems that you know.
                  Ans.  Decimal, Binary, Octal, Hexadecimal

                    2.  Why is the decimal Number system known as the base-10 system?
                  Ans.  It uses ten symbols/ digits to represent data.
                    3.  Name any two types of UNICODE encoding schemes.
                  Ans.  UTF-8, UTF-16,UTF-32
                    4.  Give any one point of difference between UTF-8 and UTF-16.
                  Ans.  UTF-8
                        UTF-8 is an 8-bit encoding scheme.
                        It is a variable length encoding scheme.
                        Compatible with ASCII
                        Widely used for web development
                      UTF-16
                        It is a variable length encoding scheme that either uses 2 bytes or 4 bytes to represent the characters.
                        Not compatible with ASCII
                    5.  Do the following conversions:
                      a.  (456)  = (   ?    ) 8
                             10
                      b.  (1101010)  = (  ?  ) 16
                                  2
                      c.  (71.50)  = (   ?  ) 10
                               8
                      d.  (A3.B) = (  ?   ) 10
                              16
                      e.  (71.8) =(   ?  )
                              10     16
                      f.  (AF)  = (   ?  )
                            16      2
                                                                                 Number Systems and Encoding Schemes  55
   64   65   66   67   68   69   70   71   72   73   74