
Java ++
Quiz
•
Science
•
7th - 12th Grade
•
Practice Problem
•
Hard
Сергій Денисенко
Used 6+ times
FREE Resource
Enhance your content in a minute
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Який результат роботи цього коду?
public static void main(String[] args) {
String[] array = new String[3];
System.out.println(array[2]);
}
0
null
ArrayIndexOutOfBoundsException
1
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Який результат роботи цього коду?
public static void main(String[] args) {
int a = 5;
System.out.println(a + 2);
}
unhandled exception
5+2
7
52
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Який модифікатор доступу необхідно використовувати, щоб змінну було видно всюди?
private
protected
default (package visible)
public
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Який результат роботи цього коду?
public static void main(String[] args) {
int a = 5;
System.out.println(a + "2");
}
7
52
unhandled exception
5+2
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Який результат роботи цього коду?
public static void main(String[] args) {
String test = "Hello";
String test2 = "Hello";
System.out.println(test==test2);
}
null
Hello
true
false
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Який модифікатор доступу необхідно використовувати, щоб змінну було видно лише в поточному класі?
protected
default (package visible)
private
public
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Даний наступний код:
public static void main(String[] args) {
int z = 15;
// додати код
{
System.out.println(z);
z--;
} }
Необхідно вивести на консоль усі числа від 0 до 15. Виберіть правильний варіант рішення.
while ((z >= 0) == (z <= 15))
while ((z >= 0) || (z <= 15))
while ((z >= 0) != (z <= 15))
while ((z >= 0) && (z <= 15))
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
16 questions
DATA SCIENCE Assessment (April)
Quiz
•
8th - 12th Grade
20 questions
6th Grade School-Wide Assessment Q1#2
Quiz
•
6th Grade - University
20 questions
Midterm Review Questions v2
Quiz
•
9th - 12th Grade
20 questions
1st Monthly Challenge - Physics (17th July 2021, Saturday)
Quiz
•
7th - 9th Grade
20 questions
Forces and Motion Review
Quiz
•
8th Grade
20 questions
CELL PYQs
Quiz
•
11th - 12th Grade
17 questions
Pitch and Frequency Practice Questions
Quiz
•
8th Grade - University
18 questions
Біо 9Q Еволюція органічного світу
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Science
20 questions
Convection, Conduction, and Radiation
Quiz
•
6th - 8th Grade
10 questions
Exploring the Energy Cycle: Photosynthesis and Cellular Respiration
Interactive video
•
6th - 10th Grade
23 questions
Newton's 3 Laws of Motion
Quiz
•
8th Grade
22 questions
Rock Transformations Amplify Final Test
Quiz
•
6th - 8th Grade
20 questions
Human Body Systems Review
Quiz
•
7th Grade
37 questions
8.10B Weather Patterns
Quiz
•
8th Grade
15 questions
Domain 3 – Classification: 15-Question Assessment
Quiz
•
9th Grade
10 questions
Exploring Plate Tectonics and Their Boundaries
Interactive video
•
6th - 10th Grade
