NEW
Font size
WorksheetsJava Introduction
Total questions: 25
Worksheet time: 13mins
What is the old name for Java Programming?
Java 2
Java
Oak
C++
Java is closely related to _________ programming language
C
Cobol
C++
Pascal
What is the file extension for Java Source Code?
.java
.class
.exe
.obj
What is the file extension for Java Executable Code?
.java
.class
.exe
.obj
Java is case sensitive?
True
False
public static void main (String [] args) is a:
Program Container
Main Method
Statement Block
Sentence
All statements must end with:
full stop (.)
comma (,)
semi colon (;)
exclamation mark (1)
For paragraph comment, you should use:
/
//
/*......*/
*/....*/
He is the developer of Java Programming Language
Dennis Ritchie
James Gosling
Bjarne Stroustrup
Ken Thompson
which of the following is NOT a function of Integrated Development Environment?
debug
compile
edit program
create a flowchart
It is a type of java program that can be embedded in a web.
general purpose application
standalone applications
applet
webpage
which of the following is a data type that can store number with decimal point?
int
byte
short
double
which of the following data types that has only two possible option
byte
boolean
character
integer
Tools that provide support for software development process including editors and debuggers are called
integrated development environments
bytecode converters
virtual machine converters
memory verifier
Pick the correct syntax.
if(x == 5) {}
if(x = 5) {}
if x == 5 {}
if x = 5 {}
How many times will this loop run?
int x = 4;
while(x < 4) {
x = x + 1;
}
0
3
4
5
Which of the following will result in a double
1.0 + 3
3 / 5
(int)3.0
5 * 200
When was Java released?
1975
1985
1991
1995
