
Java 1

Quiz
•
Computers
•
6th - 8th Grade
•
Medium
TAYLOR WAYNE HALLMAN
Used 2+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
1. What happens here?
public class Main
{
public static void main(String[] args) {
System.out.println("Hello World");
}
}
Prints out the number 1
Error
Prints out hello world
Prints out Hello World
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Which Data type stores a decimal?
Integer
String
double
char
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Which Data type stores a Word?
Integer
String
double
char
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Which Data type stores a whole number?
Integer
String
double
char
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Which Data type stores a single 'letter'?
Integer
String
double
char
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What happens in this code ?
public class Main
{
public static void main(String[] args) {
int x = 20;
int y = 18;
if (x > y) {
System.out.println("x is greater than y");
}
else
System.out.println("y is greater than x");
}
}
Error
Prints out
x is greater than y
Prints out
y is greater than x
nothing at all
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What does this code do??
public class Main
{
public void Gas(){
System.out.println("Coach Hallman");
}
public void Car(){
}
public static void main(String[] args) {
Main x = new Main();
x.Car();
}
}
error
nothing at all
Prints out
Coach Hallman
Prints out
Fast cars
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Variables

Quiz
•
7th - 10th Grade
10 questions
C Language Basic Quiz

Quiz
•
7th Grade - Professio...
13 questions
Dojo - Type Inference

Quiz
•
1st - 12th Grade
15 questions
JAVA: Level-1

Quiz
•
5th - 12th Grade
6 questions
Sains Komputer Tingkatan 4 - 1.3.5 Penggunaan Penyataan

Quiz
•
7th - 12th Grade
12 questions
AppsLab_Q3

Quiz
•
1st Grade - Professio...
11 questions
JAVA QUIZ

Quiz
•
1st - 12th Grade
13 questions
C# - Unity Quiz

Quiz
•
6th - 9th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
13 questions
Primary and Secondary Sources

Quiz
•
6th Grade
15 questions
Decimal Operations

Quiz
•
6th Grade
10 questions
Plotting Points on the Coordinate Plane

Quiz
•
7th - 8th Grade