Search Header Logo

Quiz 12 - Totaling and Counting

Authored by Casey Devet

Computers

11th Grade

Used 6+ times

Quiz 12 - Totaling and Counting
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

Which operator is used to increase a variable's value by 1?

++

--

+=

-=

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which operator is used to subtract a given number to a variable's value?

+=

-=

*=

/=

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

When totaling or counting using a loop, the accumulator variable MUST be declared and given an initial value BEFORE the loop.

True

False

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which of the following statements will multiply the value of "num" by 5 and store the result in "num"?

num =* 5;

num * 5;

num * 5 = num;

num *= 5;

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which of the following will decrease the value of "num" by one?

num = -num;

num--;

num-;

num -= num;

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What will this program do?

count the values input by the user

count the even numbers input by the user

total all of the values input by the user

total the even numbers input by the user

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What will this program do?

count the values input by the user

count the even numbers input by the user

total all of the values input by the user

total the even numbers input by the user

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?