java conditionals, loops, and methods

Quiz
•
Computers
•
10th Grade
•
Medium
Sarbagya Malla
Used 28+ times
FREE Resource
28 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Create a free account and access millions of resources
Similar Resources on Wayground
29 questions
Python Quiz

Quiz
•
10th Grade
30 questions
String

Quiz
•
10th Grade - University
23 questions
Python 2

Quiz
•
9th Grade - University
28 questions
Python по занятиям

Quiz
•
1st - 10th Grade
23 questions
CSAwesome Unit 1 Vocabulary

Quiz
•
10th - 12th Grade
25 questions
python loop 7th

Quiz
•
7th Grade - University
25 questions
Recap B1 (version française)

Quiz
•
3rd Grade - University
30 questions
Python Basics (Easy)

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade