Page 65 - Computer Science Class 11 Without Functions
P. 65

5.  Which of the following is the correct decimal equivalent of (111) ?
                                                                      2
                  a.  5                    b. 6                   c. 7                  d. 8
               6.  Which of the following is NOT a primary colour?
                  a.  Black                b. Red                 c. Green              d. Blue
               7.  Which of the following is the correct octal equivalent of (240) ?
                                                                   10
                  a.  063                  b. 360                 c. 630                d. 036
               8.  Which of the following is the octal equivalent of (2C) ?
                                                            16
                  a.  302                  b. 54                  c.  44                d. 194
               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






                                                                            Number Systems and Encoding Schemes  63
   60   61   62   63   64   65   66   67   68   69   70