Page 77 - Viva ICSE Computer Studies 8 : E-book
P. 77

B.  State whether the following statements are true or false.

                         1.  Logical operators are used to fi nd whether one or both the conditions
                             are true or false.                                                               _________
                         2.  In Java programming, you use the variable even if it is not declared.            _________

                         3.  Keywords are the words that have already been defi ned by a Java compiler.       _________
                         4.  A comment is ignored by a computer.                                              _________

                         5.  A class is a collection of diff erent objects.                                   _________


                    C.  Choose the correct answer.

                         1.  What does OOP mean?

                             (a) Object-Oriented Programming
                             (b) Object-Origin Programming

                             (c) Object-Oriented Procedure
                             (d)  Object Origin Procedure

                         2.  Class whose properties are inherited is known as ____________ class.

                             (a) parent                                       (b) child
                             (c) father                                       (d) mother

                         3. ____________ keyword does not return any value.

                             (a) Void                                         (b) Main
                             (c) String                                       (d) Int

                         4.  Char is a ____________.

                             (a) data type                                    (b) word
                             (c) bit                                          (d) unit

                         5. ____________ are the values that do not change during the execution of a program.

                             (a) Constants                                    (b) Keywords
                             (c) Instances                                    (d) Characters


                    D.  Name the following.

                         1.  A method that can be accessed by anyone                                 ________________

                         2.  A place where program’s execution begins                                ________________
                         3.  The smallest element of a program that is meaningful to the compiler    ________________

                         4.  A collection of similar objects                                         ________________

                         5.  Java development environment                                            ________________




                                                                                                                    65
   72   73   74   75   76   77   78   79   80   81   82