Search Header Logo

Variables and Loops Review

Authored by Linda Pchelka

Computers

9th - 12th Grade

Used 31+ times

Variables and Loops Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The int data type requires more memory than the double data type.

True
False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An exception is an error that affects program execution.

True
False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Modulus division truncates the decimal portion of the quotient to result in an integer.

True
False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Addition and subtraction have a higher precedence than multiplication and division.

True
False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Casting allows real division to be performed on integers.

True
False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Each execution of a loop is called an iteration.

True
False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A while statement always executes at least once.

True
False

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?