Is "X" printed?
java(level2)

Quiz
•
Education
•
7th Grade
•
Hard
Rania Khaled
Used 5+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Is "X" printed?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
F && F =
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times does the loop print a *
10
20
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare a while loop that prints numbers from 1 to 5?
while (i <= 5) { System.out.println(i++); }
while (i < 5) { System.out.println(++i); }
while (i <= 5) { System.out.println(++i); }
while (i < 5) { System.out.println(i++); }
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'continue' statement do in Java?
Exits the loop or switch statement
Skips the current iteration of a loop
Jumps to a specific label in the code
Returns a value from a method
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare an array of strings in Java?
String[] names = new String[5];
String names[] = new String[5];
String[] names = new String[];
String names[] = new String[];
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Bab 3.1.2 ASK T2

Quiz
•
1st - 12th Grade
16 questions
Defining & Non - Defining Relative Clauses

Quiz
•
1st Grade - Professio...
15 questions
Python 7-класс 3-чейрек

Quiz
•
7th Grade
10 questions
Let's go Mozart!

Quiz
•
7th - 8th Grade
12 questions
1-4 урок C++

Quiz
•
1st - 12th Grade
10 questions
Lesson 10 - Decision control statements

Quiz
•
5th - 8th Grade
10 questions
Present and Past Participles

Quiz
•
7th - 9th Grade
10 questions
Lesson 26 – Types of functions

Quiz
•
5th - 8th 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 Education
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
20 questions
Math Review

Quiz
•
7th Grade
14 questions
Subtracting Integers

Lesson
•
6th - 8th Grade
15 questions
Exponent Properties

Quiz
•
7th - 9th Grade