Java Basics History MCQ Questions and Answers 1

Study and learn Java MCQ questions and answers on Basics and Invention history. Attend job interviews easily with these MCQs.

Go through Java Basic Theory Notes before studying these questions.



1) Java is a Successor to which programming language?
A) B
B) C
C) C++
D) D
Answer [=]
Answer[=]
2) Who invented Java language?
A) Dennis Ritchie
B) James Gosling
C) Larry Page
D) Serge Page
Answer [=]
Answer[=]
3) What is the original name of Java Programming language?
A) J++
B) C++
C) OAK
D) TEAK
Answer [=]
Answer[=]
4) Which laboratory was Java invented or developed in?
A) Bell Laboratory
B) Sun Microsystems
C) Dennis Ritchie Office
D) Johnson and Johnson
Answer [=]
Answer[=]
5) The name "JAVA" is known to the world as?
A) A Tea Brand in India
B) A Coffee Brand in Africa
C) An Island in Indonesia
D) Ragi Malt Juice
Answer [=]
Answer[=]
6) Java language was originally developed for operating?
A) TV
B) TV Set-top box
C) Embedded System equipment
D) All the above
Answer [=]
Answer[=]
7) What type of Java Programs can be run inside a Java supported Web Browser?
A) Stand alone
B) Struts
C) Applets
D) AWT
Answer [=]
Answer[=]


 

8) Whic company owns Java at present?
A) IBM
B) Microsoft
C) Sun Microsystems
D) Oracle
Answer [=]
Answer[=]
9) What was the reason for huge initial success of Java?
A) WWW (World Wide Web)
B) Smart TV Evolution
C) Smart Home Automation
D) None of the above
Answer [=]
Answer[=]
10) What is the advantage of EXE files?
A) Run Faster
B) Efficient
C) No separate program required to run
D) All the above
Answer [=]
Answer[=]
11) Computer Viruses and Trojans are often transmitted along with which files?
A) JPG files
B) TXT files
C) EXE files
D) .ICO files
Answer [=]
Answer[=]
12) What is the problem with generation Executable Software (EXE files)?
A) Run only on Windows machines.
B) Linux and Unix expect a different executable format than .EXE
C) Compiler for each machine type like Linux, Unix, Windows and Processor Type needs to be built for generating output files that can run.
D) All the above.
Answer [=]
Answer[=]
13) What is an Interpreter?
A) An interpreter converts instructions line by line
B) An Interpreter converts source code to low-level code
C) Interpreters are slow to execute
D) All the above
Answer [=]
Answer[=]
14) What is a Compiler?
A) A Compiler converts all instructions in one go.
B) A compiler converts source code to low-level code
C) Compilers work fast
D) All the above
Answer [=]
Answer[=]


 

15) What is the file name extension of a Java source program?
A) .j
B) .ja
C) .java
D) .jax
Answer [=]
Answer[=]
16) Choose a correct statement about Java source files.
A) Java files are human readable
B) Java files contain Classes with Methods and Variables
C) Import statements import library Classes into our class
D) All the above
Answer [=]
Answer[=]
17) What is the output of Compilation of Java Program?
A) .class file
B) .cla file
C) .jc file
D) .javax file
Answer [=]
Answer[=]
18) Byte code is the result of?
A) Compiling a Java file
B) Compiling a Class file
C) Interpreting a Java File
D) Interpreting a Class file
Answer [=]
Answer[=]
19) What software compiles a Java Program?
A) JRE (Java Runtime Environment)
B) JDK (Java Developer Kit)
C) JVM (Java Virtual Machine)
D) Command Prompt
Answer [=]
Answer[=]
20) What software runs a Java program on a computer?
A) JRE (Java Runtime Environment)
B) JDK (Java Developer Kit)
C) Command Prompt
D) None of the above
Answer [=]
Answer[=]


Like or Share

Show some care. Like or Subscribe. [FB]...[Youtube]

C MCQ App by ExamTray 

Android APP

Java MCQ App by ExamTray 

Android APP
ALL MCQ App by ExamTray Android APP

Ad

 

Try Some Java Books

Book Price
1. Java - The Complete Reference  Check Price
2. Core Java: An Integrated Approach, Black Book Check Price
3. Java All-in-One for Dummies Check Price
4. OCP Java SE 8: Programmer II Check Price
5. Programming with Java Check Price
6. Head First Java Check Price

We may get some affiliate commission for the above purchases.