Search Header Logo

Quiz 5

Authored by Diya Diya

others

Quiz 5
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

OPEN ENDED QUESTION

30 sec • Ungraded

Name

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

30 sec • Ungraded

E mail

Evaluate responses using AI:

OFF

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. An IF-ELSE statement is also called ___.

A) Branching statement
B) Control statement
C) Block statements
D) All

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. An IF or ELSE IF statement accepts ___ as input before branching.

A) boolean
B) int
C) float
D) char

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. An IF statement in Java is also a ___ statement.

A) boolean
B) conditional
C) iterative
D) optional

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4) Java style IF-ELSE statements are similar to ___.

A) C style
B) C++ Style
C) Both C and C++ style
D) None

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. The condition of an IF statement evaluates to boolean only if the expression contains?

A) logical operators
B) relational operators
C) boolean operands
D) All

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?