
Java Programming Quiz
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Easy
Sai WEI
Used 2+ times
FREE Resource
Enhance your content in a minute
33 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes the role of the Java compiler?
Executes Java code line by line
Translates Java code into bytecode
Converts bytecode into machine code
Executes machine code directly
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which declaration is invalid in Java?
int x = 5;
double rate = 3.5;
boolean done = "true";
char grade = 'A';
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data type would be best to store a U.S. dollar amount with cents?
int
double
boolean
String
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of: System.out.println(3 + 4 * 2);
14
11
7
10
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is printed? int x = 5; System.out.println("Value: " + x + 3);
Value: 8
Value: 53
Value: 5+3
Value: 5 3
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line updates variable a to be 10 more than its current value?
a =+ 10;
a += 10;
a == a + 10;
a => 10;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Scanner method reads an integer from input?
next()
nextLine()
nextInt()
readInt()
Create a free account and access millions of resources
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
30 questions
Quiz Pemrograman web dan perangkat bergerak - XI
Quiz
•
11th Grade
30 questions
Cryptography & Linux
Quiz
•
9th - 12th Grade
28 questions
CIS IT Fundamentals Chapter 6
Quiz
•
11th - 12th Grade
30 questions
COMPUTER 3
Quiz
•
3rd Grade - University
30 questions
SINAQ (ONLINE)
Quiz
•
11th Grade
28 questions
Vlog SIstem Jaringan
Quiz
•
3rd Grade - University
32 questions
Câu Hỏi Trắc Nghiệm Ôn Tập
Quiz
•
11th Grade - University
30 questions
ข้อสอบปลายภาค รายวิชาวิทยาการคำนวณ
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
