Search Header Logo

IF Condition

Authored by Bilal Chowdhury

Computers

9th Grade

Used 4+ times

IF Condition
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

What is the another name of If statement?

control statement

statement

nothing

operator

2.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Condition means :

comparing variable with value

comparing  variable with variable

Both of them

None of them

3.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Which one is true for syntax of condition?

[variable] [conditional operator] [value]

[value] [conditional operator] [variable]

both of them

None of them

4.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Is this correct?

If {age>5} 

System.out.println(“ “);

No

Yes

5.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Is this correct?

If(age>12 || age<18) 

System.out.println(“Teen “);

Yes

No

6.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Media Image

Write the console output?

(use pen and paper)

There were yards!

There were yard

There were yards

7.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Is this correct?

If (salary>5000  &&  salary<10000) 

System.out.println(“ Basic Employee“);

Yes

No

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?