
2021 Programming Java Finals Review
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Brian Bass
Used 7+ times
FREE Resource
33 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a correct syntax to output "Hello World" in Java?
System.out.println("Hello World");
Console.WriteLine("Hello World");
print ("Hello World");
echo("Hello World");
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Java is short for "JavaScript".
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you insert COMMENTS in Java code?
//This is a comment
/* This is a comment
# This is a comment
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to create a variable that should store text?
Txt
string
myString
String
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a variable with the numeric value 5?
float x = 5;
int x = 5;
num x = 5
x = 5;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a variable with the floating number 2.8?
int x = 2.8f;
float x = 2.8f;
x = 2.8f;
byte x = 2.8f
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method can be used to find the length of a string?
getSize()
len()
getLength()
length()
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
B1. Thông tin và xử lý thông tin
Quiz
•
10th Grade
31 questions
Binary STEP 1 Summative Assessment
Quiz
•
12th Grade
34 questions
Data storage and compression
Quiz
•
9th - 10th Grade
35 questions
Pemrograman Berorientasi Objek
Quiz
•
11th Grade
30 questions
Chapter 1 - Data Representation (IGCSE Computer Science)
Quiz
•
9th - 10th Grade
34 questions
bé sủi của mấy em
Quiz
•
9th - 12th Grade
30 questions
Pemrograman Dasar Kelas X TKJ
Quiz
•
10th Grade
30 questions
Understanding Data Storage and APIs 2
Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Video Games
Quiz
•
6th - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition
Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12
Lesson
•
11th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques
Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro
Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems
Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)
Quiz
•
10th - 12th Grade
