Page 101 - 2617_JSSPS_C-6
P. 101

Tick ( ) the correct statements and cross ( ) the wrong ones.

                        1.  In Java we use ";" as the line terminator.


                        2.  "while" and "for" are Java literals.
                        3.  Unary operators require one operand or value to perform operations.


                        4.  The first step while working in BlueJ is to create a new class.
                        Fill in the blanks with the correct words.



                                           Hints  BlueJ, Comment, Procedural language, Reference


                        1.   A                  is a programming language that uses small functions or procedures to perform
                           operations in a sequential manner.

                        2.  The non-primitive data types are also known as                data types.
                        3.  A                   is a statement in Java program that is not executed by Java Compiler.
                        4.                    is an IDE designed for beginners.

                       Match the following:


                        1.  !                             a.  Assignment operator


                        2.  *=                            b.  Arithmetic operator


                        3.  <=                            c.  Relational operator

                        4.  /                             d.  Logical OR operator



                  Q     Answer the following questions:
                    A
                        1.   What is the difference between procedural and object oriented programming language?






                        2.   Define arithmetic operators.







                        3.   List any four features of Java.












                                                                              Introduction to Programming in Java   99
   96   97   98   99   100   101   102   103   104   105   106