Quiz 12 - Totaling and Counting

Quiz
•
Computers
•
11th Grade
•
Medium
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
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
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
Similar Resources on Wayground
10 questions
Computer organization

Quiz
•
11th Grade
8 questions
Code.org Unit 3 Review

Quiz
•
9th - 12th Grade
15 questions
Output Devices CS

Quiz
•
9th - 12th Grade
10 questions
CyberSecurity Basics

Quiz
•
6th - 12th Grade
10 questions
CODEHS Looping Unit 5 Review

Quiz
•
9th - 12th Grade
10 questions
Von Neumann Architecture

Quiz
•
8th Grade - University
12 questions
CSP: Code.org - Unit 3 Vocabulary Review

Quiz
•
9th - 12th Grade
15 questions
Grade 12-Python selection&iteration

Quiz
•
11th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade