1. What happens here?
public class Main
{
public static void main(String[] args) {
System.out.println("Hello World");
}
}
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
10 questions
Logic Building in Java Part 1
Quiz
•
6th - 9th Grade
12 questions
AppsLab_Q3
Quiz
•
1st Grade - Professio...
11 questions
Python strings
Quiz
•
8th - 9th Grade
13 questions
C# - Unity Quiz
Quiz
•
6th - 9th Grade
12 questions
C++
Quiz
•
7th Grade
16 questions
Variables
Quiz
•
7th - 10th Grade
10 questions
C Language Basic Quiz
Quiz
•
7th Grade - Professio...
10 questions
Introduction To Java: Hello World
Quiz
•
7th - 12th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
20 questions
Final Exam Vocabulary
Quiz
•
6th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
11 questions
Decimal/fraction conversions quick check
Quiz
•
5th - 7th Grade
10 questions
Identifying equations
Quiz
•
KG - University
44 questions
El fin del año- 7th
Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary
Quiz
•
8th Grade
49 questions
How Well Do You Know Your 6th Grade Teachers?
Quiz
•
6th Grade