
Control Statements - Java
Authored by Stewart Kirubakaran
Computers
University
Used 97+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
In Given syntax, condition refers to ________ expression
int
char
boolean
None
2.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
What is the output of the following program?
blank screen
Statement outside if block
The number is negative
Error
3.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
What will be the output of the following program?
Age is greater than 18
age=20
age=18
Error
4.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
The given syntax represents what type of selection control statement?
If-then
If-else
If-else Ladder
None
5.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
Write the type of Selective control statement for the given image?
If-else
if-then
Ladder if-else
None
6.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
What is the output for the given program?
20 is greater than 18
Error
Blank Screen
None
7.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
Fill the gaps in the code given
if & ==
if & >
if & >=
None
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
10 questions
Server Administration- Quiz 1
Quiz
•
12th Grade - University
11 questions
Computer Science (1-9) - Identifying & Preventing Threats
Quiz
•
University
18 questions
Quiz on Misinformation and Bias
Quiz
•
10th Grade - University
20 questions
DI (EM24) - Diseño de Contenidos (T8)
Quiz
•
University - Professi...
20 questions
IT 101 - Quiz 3
Quiz
•
University
20 questions
COA_QUIZ_UNIT I
Quiz
•
University
12 questions
ASAS SAINS KOMPUTER : TINGKATAN 3
Quiz
•
4th Grade - University
16 questions
Algo Quiz
Quiz
•
University
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