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
Is "X" printed?
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 Wayground
10 questions
Program C

Quiz
•
7th Grade
15 questions
The Baroque period

Quiz
•
4th - 7th Grade
13 questions
python для новичков

Quiz
•
4th - 11th Grade
10 questions
Level 6 - Review 2

Quiz
•
3rd - 10th Grade
14 questions
Instruments 3! (F only)

Quiz
•
5th - 7th Grade
16 questions
Emotions

Quiz
•
6th - 8th Grade
15 questions
Dziady część II - test

Quiz
•
6th - 7th Grade
15 questions
Yapay zeka dersi konu tekrarı

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Education
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Multiplying and Dividing Integers

Quiz
•
7th Grade
30 questions
Math Fluency: Multiply and Divide

Quiz
•
7th Grade
20 questions
Perfect Squares and Square Roots

Quiz
•
7th Grade
13 questions
Parts of Speech

Quiz
•
7th Grade