Which operator is used to increase a variable's value by 1?
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
++
--
+=
-=
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 Quizizz
12 questions
Project-Stem Unit 1 python coding

Quiz
•
9th - 12th Grade
14 questions
1.1.5 CSE Iteration and Loops

Quiz
•
9th - 12th Grade
10 questions
Java Script

Quiz
•
10th - 12th Grade
15 questions
Computer Hardware

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

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

Quiz
•
9th - 12th Grade
12 questions
Python list starter

Quiz
•
10th Grade - University
15 questions
JavaScript and Graphics

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Computers
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
14 questions
Attributes of Linear Functions

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
50 questions
Biology Regents Review 2: Ecology

Quiz
•
9th - 12th Grade
20 questions
Investing

Quiz
•
9th - 12th Grade