Search Header Logo

if statements and while loops

Authored by Victoria Fabrizio

Computers

9th - 12th Grade

Used 11+ times

if statements and while loops
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Select all the ways you can combine conditional statements

and

or

!=

==

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following symbols means "is equal?"?

!=

<=

=

==

3.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Choose all the logical (relational)operators

<=

=

!=

>

==

4.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Choose all the operators

+

=

-

//

!=

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do you know code is in an if or while statement?

tabbing

if it is below

parentheses

6.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Which are the boolean values in Python?

True

true

False

false

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which function turns a string into an integer

str()

float()

int()

input()

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?