Page 103 - Modular_V1.1_Flipbook
P. 103

Test Sheet-2


                                                                                    (Based on chapters 6 to 10)


                                                            Section A

                 A.   Tick (3) the correct option.

                      1.  Predefined function are called ……………………. functions.
                          a.  Built-in                                     c.  Both a and b
                          b.  User-defined                                d.  None of these

                      2.  Which of the following statements repeat a task for a fixed number of times?
                          a.  for statement                                c.  while statement
                          b.  continue statement                          d.  break statement

                      3.  Which of the following functions is used to terminate the calling process?
                          a.  exit()                                       c.  abort()
                          b.  abs()                                       d.  div()

                      4.  Which of the following is a principle of OOP language?

                          a.  Data Abstraction                             c.  Procedure
                          b.  Function                                    d.  None of these

                      5.  Which of the following is not a jump statement in C++?
                          a.  goto                                         c.  for

                          b.  continue                                    d.  break
                      6.  ……………………. a function means giving a body of the function.
                          a.  Defining                                     c.  Prototyping
                          b.  Declaring                                   d.  Calling

                      7.  Which of the following is an example of POP language?
                          a.  FORTRAN                                      c.  COBOL

                          b.  ALGOL                                       d.  All of these
                      8.  You can download an app from ............................ on an android device.
                          a.  App Store                                    c.  Microsoft Store

                          b.  Play Store                                  d.  All of these
                      9.  Which of the following is a looping statement in C++?

                          a.  for statement                                c.  while statement
                          b.  do-while                                    d.  All of these
                     10.  ............................ are platform dependent.

                          a.  Native apps                                  c.  Web apps
                          b.  Hybrid apps                                 d.  None of these


                                                                                                   Test Sheet-2  101
   98   99   100   101   102   103   104   105   106   107   108