Quiz 12 - Totaling and Counting

Quiz 12 - Totaling and Counting

11th Grade

10 Qs

quiz-placeholder

Similar activities

ICS Test #4 review

ICS Test #4 review

9th - 12th Grade

15 Qs

Exit Ticket 1/17

Exit Ticket 1/17

9th - 12th Grade

12 Qs

HTML forms

HTML forms

11th Grade - University

10 Qs

Java Script

Java Script

10th - 12th Grade

10 Qs

Python - тест

Python - тест

1st - 12th Grade

15 Qs

N5 SDD - Python input and output

N5 SDD - Python input and output

7th - 11th Grade

12 Qs

Java Script Quiz

Java Script Quiz

9th - 12th Grade

15 Qs

C++ Unit 1 Review

C++ Unit 1 Review

9th - 12th Grade

15 Qs

Quiz 12 - Totaling and Counting

Quiz 12 - Totaling and Counting

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Casey Devet

Used 6+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?