Chapter 1. What is Java ?
Q 1. What is the latest version of Java ?
A. 7
B. 6
C. 9
D. 8
Answer : D
Q 2. Identify the incorrect statement.
A. Java is programming language.
B. Java is a platform.
C. Java is dynamically typed.
D. Java is statically typed.
Answer : C
Q 3. JDK stands for ______
A. Java Development Kit
B. Java Developer Kit
C. Java Database Kit
D. Java Data Kit
Answer : A
Q 4. JRE stands for _______
A. Java Runtime Execution
B. Java Runtime Engine
C. Java Reusable Execution
D. Java Reusable Engine
Answer : B
Q 5. Java is a ______
A. Platform
B. Language
C. Operating System
D. Both A and B
Answer : D
Q 6. ‘Tiger’ was the code name for which version of Java ?
A. 5
B. 6
C. 7
D. 8
Answer : A
Q 7. _______ Language is not supported by Java platform.
A. Groovy
B. Java
C. C++
D. Scala
Answer : C
Q 8. _______ Language is supported by Java platform.
A. Delphi
B. Kotlin
C. Swift
D. VB. Net
Answer : B
Q 9. _______ is used for development of Web based applications.
A. Java card
B. Java Standard Edition
C. Java Micro Edition
D. Java Enterprise Edition
Answer : D
Q 10. JVM stands for _______
A. Java Vacuum Machine
B. Java Void Machine
C. Java Virtual Machine
D. Java Virtual Model
Answer : C
Q 11. Which of the following language(s) is/are not supported by Java platform?
A. C#
B. Jython
C. Kotlin
D. Java
Answer : A
Q 12. _______ is used for development of set top box and printer applications.
A. Java Micro Edition
B. Java Enterprise Edition
C. Java Standard Edition
D. Java Card
Answer : A
Q 13. ________ language is supported by Java platform.
A. R
B. Jruby
C. C
D. JScala
Answer : B
Q 14. Identify the correct statement.
A. Bytecode is processor independent.
B. Bytecode is processor dependent.
C. Bytecode is OS independent.
D. Both A and C
Answer : D
Q 15. _______ language is supported by Java platform.
A. Scala
B. C++
C. Objective C
D. Javascript
Answer : A
Q 16. ______ is used for development of desktop applications.
A. Java Micro Edition
B. Java Enterprise Edition
C. Java Standard Edition
D. Java Card
Answer : C
Q 17. Java is a _______ paradigm programming language.
A. Single
B. Object
C. Multi
D. Functional
Answer : C
Q 18. Java has been influenced by ______
A. VB. Net
B. Objective C
C. C++
D. R
Answer : C
Q 19. _______ Language is supported by Java platform.
A. D
B. Cobol
C. Pascal
D. Groovy
Answer : D
Q 20. Java language supports ………… typing.
A. Dynamic
B. Static
C. Hybrid
D. Meta
Answer : B
Q 21. Java is owned by …………
A. Microsoft
B. Google
C. Oracle
D. Infosys
Answer : C
Q 22. …………Is used for smart card applications.
A. Java Micro Edition
B. Java Enterprise Edition
C. Java Standard Edition
D. Java Card
Answer : A
Q 23. ……………. Language is supported by Java platform.
A. JPerl
B. JPHP
C. Jython
D. MongoDB
Answer : C
Q 24. ………… Language is influenced by Java.
A. Swift
B. Hack
C. Clojure
D. Make
Answer : C
Q 25. Identify the correct statement.
A. Java supports object oriented programming.
B. Java supports concurrent programming
C. Java supports reflection.
D. All of these
Answer : D
Q 26. ………….Is the minimum environment required for running a Java program.
A. JDK
B. JEE
C. JRE
D. JSE
Answer : C
Q 27. What are components of JDK ?
A. Compiler
B. Interpreter
C. Libraries
D. All the above
Answer : D
Q 28. Java has been influenced by ……….
A. Javascript
B. Jscript
C. C#
D. Hadoop
Answer : C
Q 29. ……….. Language has been influenced by Java.
A. Python
B. C++
C. Ada
D. D
Answer : A
Q 30. ………… Is the minimum environment required for development of Java
A. JDK
B. JRE
C. Java Kick
D. Java Development
Answer : A
Q 31. What are the components of JRE ?
A. Interpreter
B. Libraries (API)
C. Tools
D. All the above
Answer : D
Q 32. On Windows OS in which directory is 32 bit JDK 1.8 is installed by default?
A. C:\Windows\Java.
B C:\Program Files (x86)\Java\Jdk1.8.xxx.
C C:\Program Files\Java\Jdk1.8.xxx.
D C:\Windows\System32.
Answer : B
Q 33. Which of the following is not an IDE?
A. Eclipse
B. Netneans
C. JDeveloper
D. Notepad ++
Answer : D
Q 34. Java was invented by ……..
A. Larry Wall
B. James Gosling
C. Anders Hejlsberg
D. Nandan Nilkeni
Answer : B
Q 35: Java is a ………… Language.
A. Functional
B. Object Oriented
C. Markup
D. Structured
Answer : B
Q 36: ………….. Is used for development of distributed applications.
A. Java Standard Edition
B. Java Micro Edition
C. Java Enterprise Edition
D. Java Card
Answer : C
Q 37: When was version 1.0 of Java released?
A. 1995
B. 1994
C. 1996
D. 1993
Answer : C
Q 38: Which of the following is not a code editor?
A. Notepad ++
B. jEdit
C. Notepad
D. Netneans
Answer : D
Q 39: On Windows OS in which directory is 64 bit JDK1.8 is installed by default?
A. C:\Windows.
B. C:\Program Files (x86)\Java\Jdk1.8.xxx.
C. C:\Windows\System64.
D. C:\Program Files\Java\Jdk1.8.xxx.
Answer : D
Q 40: What was the codename for Java 1.0?
A. Oak
B. Merlin
C. Mustang
D. Delta
Answer : A