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
J277 Programming - Outputting Data

Quiz
•
9th - 11th Grade
10 questions
Python Mid.

Quiz
•
11th Grade
13 questions
Mobile App Development Unit 1 Quiz

Quiz
•
9th - 12th Grade
10 questions
Operating System Basics

Quiz
•
9th - 12th Grade
12 questions
N5 SDD - Python input and output

Quiz
•
7th - 11th Grade
15 questions
GCSE - 2.3 Producing Robust Programs

Quiz
•
9th - 11th Grade
10 questions
Python: Functions and Parameters

Quiz
•
9th - 12th Grade
15 questions
Python Casting and Input

Quiz
•
8th - 11th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade