B4 - The Single Branch if Statement

B4 - The Single Branch if Statement

University

10 Qs

quiz-placeholder

Similar activities

ロジックテスト (Đề kiểm tra năng lực IT)

ロジックテスト (Đề kiểm tra năng lực IT)

University

12 Qs

ADB Quiz #1

ADB Quiz #1

University

15 Qs

General Awareness and Fun

General Awareness and Fun

University

13 Qs

Accounting Ch 2 Vocab

Accounting Ch 2 Vocab

9th Grade - University

15 Qs

Assessment & Differentiated Instruction Ch. 4, 5, 6

Assessment & Differentiated Instruction Ch. 4, 5, 6

University

10 Qs

ISTQB quiz#3

ISTQB quiz#3

University

10 Qs

Week 3- Physiology_CVS

Week 3- Physiology_CVS

University

10 Qs

quiz-1 corp gov

quiz-1 corp gov

University

10 Qs

B4 - The Single Branch if Statement

B4 - The Single Branch if Statement

Assessment

Quiz

Other

University

Easy

Created by

Ahmetcan türk

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

valuate the following expression:


1 + 2 == 3

true

false

unpredictable

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Evaluate the following expression:


25 < 5 * 5

true

false

unpredictable

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Evaluate the following expression:


8 + 1 >= 3 * 3

true

false

unpredictable

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following code fragment write to the monitor?

int height = 10;

if ( height <= 12 )

System.out.print("Low bridge: ");

System.out.println("proceed with caution.");

Nothing is written.

Low bridge:

proceed with caution.

Low bridge: proceed with caution.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following code fragment write to the monitor?

int height = 13;

if ( height <= 12 )

System.out.print("Low bridge: ");

System.out.println("proceed with caution.");

Nothing is written.

Low bridge:

proceed with caution.

Low bridge: proceed with caution.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following code fragment write to the monitor?

int depth = 8 ;

if ( depth >= 8 )

{

System.out.print("Danger: ");

System.out.print("deep water. ");

}

System.out.println("No swimming allowed.");

Danger:

Danger: deep water.

Danger: deep water. No swimming allowed.

deep water. No swimming allowed.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Evaluate the following expression:

10.0 + 0.10 < 11.0

true

false

unpredictable

Access all questions and much more by creating a free account

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?