Search Header Logo

If Statements and Loops Vocabulary and Check for Understandi

Authored by LaDonna Welch

Computers

9th - 12th Grade

Used 41+ times

If Statements and Loops Vocabulary and Check for Understandi
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Loops in programming start counting from ?

0

1

Any number

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which of these is a loop?

if(x<10)

while(x<10)

var x=10;

text(x,10;10)

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

The conditional statement, in Javascript, begins with the word _______.

Then
Else
If
OK

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

What will happen if an infinite while loop is ran?

the program will crash
the computer will crash
the loop will just keep running
an error message will be displayed

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

A variable that can only have two values, True or False.

Boolean
If
elif
else

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

What is an If Statement?

An expression that evaluates if a variable is true or false

A statement that tests if two values are equal

A type of conditional that lets you complete a task if the condition is "true"

A statement that tests if two values are unequal

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Why might one most likely use a Boolean expression?

To loop a set amount of code

To activate a response with either true or false

To locate a bug in the code

To make a sprite appear

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?