How many stars are printed?
For Loops (Java)

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Alexandria Robles
Used 626+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7
3
4
5
Infinite Loop
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In total, how many times is the inner loop executed?
5
10
15
50
Infinite Loop
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times does the loop print a *
40
20
24
30
Infinite Loop
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code print?
A rectangle of 8 rows with 5 stars per row
A rectangle of 8 rows with 4 stars per row
A rectangle of 6 rows with 5 stars per row
A rectangle of 6 rows with 4 stars per row
Infinite Looo
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code print?
A rectangle of 9 rows with 5 stars per row
A rectangle of 6 rows with 6 stars per row
A rectangle of 7 rows with 5 stars per row
A rectangle of 7 rows with 6 stars per row
Infinite Loop
6.
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
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times does the following method print a *?
9
6
7
10
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Spreadsheets Quiz 1

Quiz
•
8th - 9th Grade
10 questions
Flowchart Symbols

Quiz
•
10th Grade
15 questions
Spreadsheet

Quiz
•
4th Grade - University
17 questions
Tracing Loops in Java

Quiz
•
12th Grade
15 questions
Chapter : 9 Working with tables

Quiz
•
5th Grade - University
10 questions
Formatting in Excel

Quiz
•
10th Grade
16 questions
Spreadsheet Basics

Quiz
•
8th - 10th Grade
14 questions
Databases

Quiz
•
7th - 10th Grade
Popular Resources on Quizizz
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
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University