
Java Basics
Computers
9th - 12th Grade
Used 391+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which is the correct Java code to display the phrase "Java!"?
System.Out.Print("Java!");
System.Out.print("Java!");
System.out.Print("Java!");
System.out.print("Java!");
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which primitive type is for integers?
boolean
char
double
long
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which primitive type is for floating point decimals?
boolean
char
double
long
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which accepts the smallest range of values?
byte
int
long
short
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which puts the cursor on the next line after printing a String?
next()
nextLine()
print()
println()
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Which is the conventional way to name a class in Java?
test
Test
Both are equally acceptable
Neither are acceptable
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the 4 basic components of a computer system?
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?