
java conditionals, loops, and methods
Authored by Sarbagya Malla
Computers
10th Grade
Used 30+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
28 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Symbols used to connect two or more statements; &&, ||
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
for(int i = 3; i < 20; i +=4)
System.out.print(i + " ");
3 7 11 15 19 23
19
3 7 11 15 19
7 11 15 19
23
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the underlined symbol in the pictured code called?
Variable
Math Method
Index
Arithmetic Operator
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
How many stars are printed?
7
3
4
5
Infinite Loop
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This is an example of a non-return method.
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In this scenario it is raining. Is the conditional true or false and what will we do in this scenario.
true, we will stay indoors
true, we will go outside
false, we will stay indoors
false, we will go outside
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code print?
5 6 7 8 9
4 5 6 7 8 9 10 11 12
3 5 7 9 11
3 4 5 6 7 8 9 10 11 12
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
23 questions
Cyber Security Study Guide
Quiz
•
10th Grade
26 questions
Entrepreneurship
Quiz
•
4th Grade - Professio...
24 questions
Exploring the System Unit
Quiz
•
10th Grade
25 questions
QUIS DASAR PROGRAM KEAHLIAN
Quiz
•
10th Grade
23 questions
F1 practice test
Quiz
•
9th - 12th Grade
25 questions
SIMULASI DIGITAL
Quiz
•
10th Grade
25 questions
App Inventor
Quiz
•
10th Grade
25 questions
Computer/ Financial Literacy Rev
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade