
Java-Control Statements Part 1
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
vijayshree sundar
Used 30+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Boolean values are:
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Java supports six relational operators that are used to make comparisons: =, <, >, <=, >=, =!
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Is this code segment is correct?
if(quizScore == 10)
System.out.println("Perfect score");
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A structure consisting of a sequence of statements enclosed in braces, functioning as if it were a single statement.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A ternary operator that has the syntax expression1 ? expression2 : expression3, which is equivalent to an if�else statement where expression1 is the condition and if true expression2 is executed, otherwise expression3 is executed.
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
WHICH TYPE OF DECISION STRUCTURE IS THIS?
if (x==10)
{
if (y==20)
{
System.out.println("Coordinates: 10, 20");
}
}
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
WHAT DECISION STRUCTURE WORKS BEST IF YOU HAVE MORE THAN TWO POSSIBLE ANSWERS (MULTIPLE CHOICE) TO A QUESTION, AND THOSE ANSWERS CAN BE INTEGER OR CHARACTER BASED?
Access all questions and much more by creating a free account
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
20 questions
Bài 11. Tệp và quản lý tệp
Quiz
•
10th Grade
20 questions
Ôn tập học kỳ I
Quiz
•
9th - 12th Grade
15 questions
Asesmen Sumatif
Quiz
•
12th Grade
20 questions
Informatika
Quiz
•
10th Grade
20 questions
Python Recap
Quiz
•
7th Grade - University
20 questions
CPA Revision MCQ1
Quiz
•
8th - 9th Grade
15 questions
Lua Review Corona SDK with Notepad++
Quiz
•
10th - 12th Grade
15 questions
Arduino
Quiz
•
7th - 9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
