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
14 questions
Sejm i Senat RP

Quiz
•
7th - 8th Grade
15 questions
Python 7-класс 3-чейрек

Quiz
•
7th Grade
10 questions
Lesson 12 - Transfer statements

Quiz
•
5th - 8th Grade
14 questions
RIDDLES-2

Quiz
•
KG - 12th Grade
15 questions
Year 7 Music Revision

Quiz
•
7th - 12th Grade
12 questions
C++ (основные понятия)

Quiz
•
1st - 12th Grade
15 questions
Koncovky podstatných jmen

Quiz
•
2nd - 7th Grade
15 questions
ASK F2 ULANGKAJI AKHIR TAHUN

Quiz
•
2nd - 12th 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