Control Statements - Java

Control Statements - Java

University

15 Qs

quiz-placeholder

Similar activities

Week 4

Week 4

University

15 Qs

4.6.4 Logic Gates

4.6.4 Logic Gates

10th Grade - Professional Development

15 Qs

QUIS-2 IT AUDIT

QUIS-2 IT AUDIT

University

11 Qs

Firewall and Network Security

Firewall and Network Security

University

15 Qs

Soal SKD

Soal SKD

University - Professional Development

10 Qs

PBO Inheritance Episode 2

PBO Inheritance Episode 2

University

18 Qs

Logika & Pemrograman (ID)

Logika & Pemrograman (ID)

10th Grade - Professional Development

20 Qs

Porcentajes

Porcentajes

University

12 Qs

Control Statements - Java

Control Statements - Java

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Stewart Kirubakaran

Used 96+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

Media Image

In Given syntax, condition refers to ________ expression

int

char

boolean

None

2.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Media Image

Fill the gaps in the code given

if & ==

if & >

if & >=

None

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?