Control Statements - Java

Quiz
•
Computers
•
University
•
Medium
Stewart Kirubakaran
Used 92+ 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
16 questions
Think it through

Quiz
•
University - Professi...
10 questions
C Programming Quiz-5

Quiz
•
University
10 questions
C - Pointers

Quiz
•
University
20 questions
PL SQL

Quiz
•
University - Professi...
10 questions
Basics Of C Programming

Quiz
•
University
20 questions
EST102 : PROGRAMMING IN C TEST 1

Quiz
•
University
14 questions
Java Operators

Quiz
•
University
15 questions
Python End of Topic Quiz

Quiz
•
8th Grade - University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade