If Statements

If Statements

9th - 12th Grade

8 Qs

quiz-placeholder

Similar activities

Advanced Java Study Guide

Advanced Java Study Guide

11th - 12th Grade

10 Qs

Web Design

Web Design

9th Grade

12 Qs

Yr 8 IF starter

Yr 8 IF starter

7th Grade - University

11 Qs

P5: Variables, Motion, Ifs

P5: Variables, Motion, Ifs

6th - 9th Grade

10 Qs

Inserting Tables

Inserting Tables

9th Grade

10 Qs

MS EXCEL էլեկտրոնային աղյուսակներ

MS EXCEL էլեկտրոնային աղյուսակներ

9th Grade

12 Qs

Вспоминаем условный оператор

Вспоминаем условный оператор

8th - 10th Grade

10 Qs

9th grade mathematics

9th grade mathematics

9th Grade

11 Qs

If Statements

If Statements

Assessment

Quiz

Computers, Education

9th - 12th Grade

Easy

Created by

Carlos Boyano

Used 2+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output?

True

False

condition1

condition2

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Given the nested if-else below, what will be the value x when the code is executed successfully.

0

4

2

3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This operator checks to see if one value is the same as the other value

==

!=

>

<

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would be outputted here?

Bigger than 2!

Number is 5

Bigger than 2!

Number is 5

Nothing

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would be outputted here?

it divides by 7!

it divides by 3!

It divides by 7.

It divides by 3.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be outputted?

number is bigger than 10

nothing

an error

NUMBER IS BIGGER THAN 10

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output?

3

3

7

3

5

7

7

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which condition is a logic error (will not run properly)?

x>=1 AND x<=100

1<=x<=100

1>x>100

x<1 OR x>100