Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 96 - 2619_PlusGPT V2.1_C-8
P. 96

    Test Sheet  2                                                            (Based on chapters 4 to 7)

                      A. Tick ( ) the correct option.
                         1.  Which of the following conditional statements is used to test multiple conditions?

                            (i)  if                                          (ii)  if…else

                           (iii)  if…elif…else                              (iv)  All of these

                         2.  What is the answer of the expression, 2**2**2?

                            (i)  2                                           (ii)  16
                           (iii)  4                                         (iv)  8

                         3.  Which of the following variable is incorrect?

                            (i)  NaMe                                        (ii)  _name

                           (iii)  @value                                    (iv)  number

                         4.  Which one of the following is not a arithmetic operator used in Python?
                            (i)  Addition                                    (ii)  Multiplication

                           (iii)  Exponentiation                            (iv)  Parentheses

                         5.  Which of these languages can a computer understand?

                            (i)  Assembly language                           (ii)  Machine language

                           (iii)  High-level language 3GL                   (iv)  4GL
                         6.  Which of the following categories does the third generation language belong to?

                            (i)  High-level language                         (ii)  Low-level language

                           (iii)  Both (i) and (ii)                         (iv)  None of these

                         7.  Which of the following is not a correct abbreviation used in assembly language?

                            (i)  A for addition                              (ii)  L for less
                           (iii)  C for compare                             (iv)  M for multiply

                         8.  Which of the following language is not an example of third generation languages?

                            (i)  SQL                                         (ii)  BASIC

                           (iii)  PASCAL                                    (iv)  FORTRAN

                         9.  A flowchart is a graphical representation of a/an ____________.
                            (i)  Program                                     (ii)  Algorithm

                           (iii)  Symbol                                    (iv)  Syntax

                      94    Premium Edition-VIII

| 91 92 93 94 95 96 97 98 99 100 101 |