Page 38 - CA_Blue( J )_Class9
P. 38

2.  Java is a/an ………………… programming language.
                         a.  Procedure-Oriented                         b.  Object-Oriented
                         c.  Both a and b                               d.  Task-Oriented
                      3.  Which of the following is called java compiler?
                         a.  javab                                      b.  javaz
                         c.  javac                                      d.  None of these
                      4.  Which type of code executed within a web browser only?
                         a.  Standalone                                 b.  Object
                         c.  Mobile Application                         d.  Applet

                      5.  Which of the following converts the Java byte code into the machine code?
                         a.  JVM                                        b.  JMV
                         c.  MVJ                                        d.  VJM
                      6.  Which of the following software displays the errors for the whole program together?
                         a.  JVM                                        b.  javac
                         c.  Both a and b                               d.  None of these
                      7.  Which of the following can run independently on a computer without any external help?
                         a.  Java Applet                                b.  Java Application
                         c.  Both a and b                               d.  None of these
                      8.  JDK stands for ………………….
                         a.  Java Development Kit                       b.  Java Deployment Kit
                         c.  Java Developer Kit                         d.  Java Design Kit
                      9.  Which of the following is not a feature of Java?
                         a.  Platform independent                       b.  Robust
                         c.  Secure                                     d.  Procedure-oriented
                      10.  Java follows the principle of ………………….
                         a.  “Write once, run once”                     b.  “Write once, run anywhere”
                         c.  “Write many times, run anywhere”           d.  “Write twice, run anywhere”
                   Answers
                   1. a       2. b     3. c     4. d     5. a.     6. b     7. b     8. a     9. d     10. b


                  B.  Fill in the blanks.
                      1.  Java programming language is ………………… as it can be used to develop programs of various kinds.
                      2.  The Java Programs written by programmers are called ………………….
                      3.  A standalone application requires no ………………… help to be functional.
                      4.  Bytecode is used by ………………….
                      5.  Extension of Java source code is ………………….
                      6.  First version of Java was ………………… developed in the year ………………….
                      7.  Java is a ………………… language.
                      8.  ………………… is an Integrated Development Environment designed for beginners.
                      9.  The extension of Java source code is ………………… and the converted bytecode has the extension ………………….
                   Answers
                         ………………… reads the input source program and then translate to machine code instruction by instruction.
                      10.
                   1. versatile           2. Java Source Code         3. external     4. JVM            5. .java
                   6. Java 1.0,1996        7. case-sensitive           8. BlueJ

                  C.  Answer the following questions.
                     1.  Name the two types of Java Programs.
                    Ans.  The two types of java programs are Stand-alone Applications and Internet Applets.



                    36    Touchpad Computer Applications-IX
   33   34   35   36   37   38   39   40   41   42   43