Control Statements - Java

Quiz
•
Computers
•
University
•
Medium
Stewart Kirubakaran
Used 95+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Java Quiz 2 based on loop and if else

Quiz
•
University
20 questions
Geeks for Geeks PCCOER Info Session CP Quiz

Quiz
•
University
20 questions
Python Programming Functions Q3

Quiz
•
University
15 questions
Round 4 - Harvest

Quiz
•
University
10 questions
Python Quiz

Quiz
•
University
10 questions
Functions in Python

Quiz
•
University
10 questions
Python - Functions

Quiz
•
University
11 questions
Java Programming

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University