
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
QBASIC Programming
Quiz
•
5th - 10th Grade
10 questions
hardware and software(g3)
Quiz
•
2nd - 10th Grade
10 questions
tin 8 bài 4
Quiz
•
6th - 9th Grade
10 questions
L1 - Elements of a Computer
Quiz
•
6th Grade
10 questions
Diplo Variables
Quiz
•
1st - 10th Grade
15 questions
Microbit (python)
Quiz
•
8th - 10th Grade
10 questions
Электронно-цифровая подпись -1 (11 класс)
Quiz
•
1st - 10th Grade
12 questions
Python
Quiz
•
7th - 9th 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
