
Quiz on Variables, Constants & Operators

Quiz
•
Information Technology (IT)
•
12th Grade
•
Hard
Taton David
Used 3+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in programming?
A method for storing data permanently
A symbolic name assigned to a memory location
A fixed value that cannot change
A type of operator used in calculations
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the process of assigning a value to a variable called?
Definition
Assignment
Initialization
Declaration
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of a constant?
ItemPrice = 20
City = 'New York'
age = 15
Count = 0
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What must a variable name not begin with?
A letter
An underscore
A special character
A number
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable name?
1stName
First-Name
FirstName
First Name
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of operator performs decision making?
Mathematical
Logical
Arithmetic
Relational
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'AND' logical operator return?
True if both expressions are True
False if both expressions are False
True if neither expression is True
True if either expression is True
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Kuis Uji Pemahaman Python Variabel, Sintaks Dasar, Type Data

Quiz
•
11th Grade - University
15 questions
Quiz sobre el ornitorrinco y la programación

Quiz
•
8th Grade - University
9 questions
Condition Programming Quiz

Quiz
•
1st Grade - University
15 questions
Python Battle Royale: Who Will Survive in the End?❤️🤔

Quiz
•
9th - 12th Grade
14 questions
Excel Basics Quiz

Quiz
•
10th Grade - University
17 questions
Brainware

Quiz
•
9th Grade - University
15 questions
Introduction to the Drone Industry

Quiz
•
10th Grade - University
10 questions
Scratch Kelas 7

Quiz
•
7th Grade - University
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade