
Java 1
Authored by TAYLOR WAYNE HALLMAN
Computers
6th - 8th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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?
Similar Resources on Wayground
10 questions
python quiz
Quiz
•
6th Grade - Professio...
10 questions
Device and Network Security
Quiz
•
7th Grade
15 questions
Grade 6
Quiz
•
6th Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
9 questions
Data Types - Introduction to Python
Quiz
•
6th - 7th Grade
15 questions
MORE ON CSS3
Quiz
•
7th Grade
10 questions
Computer Software
Quiz
•
8th - 12th Grade
10 questions
Parts of a pc
Quiz
•
7th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
