Variables, Constants, and Data Types
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Hard
Rolly Reyes
Used 64+ times
FREE Resource
Enhance your content in a minute
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
QBASIC Programming
Quiz
•
5th - 10th Grade
20 questions
Latihan Jaringan Dasar PSAS
Quiz
•
10th Grade
15 questions
Quis Grade 5
Quiz
•
9th - 12th Grade
10 questions
DBMS- CLASS8 CBSE
Quiz
•
7th - 10th Grade
13 questions
Direcciones IP v4
Quiz
•
10th - 12th Grade
15 questions
KD 3.1_Aplikasi Pengolah Angka / Spreadsheet
Quiz
•
10th Grade
14 questions
Input, output and storage de
Quiz
•
8th Grade - Professio...
10 questions
1.3 The Internet
Quiz
•
10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
