Variables, Constants, and Data Types

Quiz
•
Computers
•
10th Grade
•
Hard
Rolly Reyes
Used 60+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following statements about variable is not true?
A variable is a location in the memory of a computer.
A variable must have a specific and unique name.
Each variable has its own data type.
A variable is always initialized as soon as it is declared.
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The value of a constant remain fixed in the program code but can be altered when the program is running.
True
False
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is not an integral numeric data type?
Integer
Long
Short
Decimal
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
If a variable can contain a fraction, which of the following data types can you use?
Single
Long
Short
Byte
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What numeric data type ranges from -2,147,483,648 through 2,147,483,647?
Integer
Long
Double
Decimal
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which numeric data type ranges from -32,768 through 32,767?
Short
Single
Byte
Long
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
A Byte is a small integer data type that ranges from __________.
0 to 255
0 to 32,767
-256 to 255
-255 to 256
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Data Representation Review

Quiz
•
9th - 11th Grade
16 questions
11 J277 1.2 Units of data

Quiz
•
10th Grade
10 questions
Data Representation - Unit Definitions

Quiz
•
2nd - 12th Grade
10 questions
Intro to Binary - Concepts

Quiz
•
6th Grade - University
20 questions
AP CSP - Unit 2 Review

Quiz
•
9th - 12th Grade
15 questions
Data Representation

Quiz
•
9th - 11th Grade
13 questions
Year 10 Data Transmission

Quiz
•
9th - 12th Grade
10 questions
Information Coding Scheme

Quiz
•
1st Grade - University
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
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
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
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th 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