
Variables and Constants
Authored by Nicholas Anderson
Computers
3rd Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are variables in computer memory?
Named storage locations
Fixed values
Data types
Program configuration settings
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of data can variables hold?
Strings, constants, booleans, or integers
Variables, data types, characters, or integers
Real numbers, program settings, characters, or strings
Integers, real numbers, characters, or booleans
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of declaring a variable in Pascal?
All of the above
To make decisions in the program
To perform calculations
To store data
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are constants in Pascal?
Fixed values that can be changed
Data types that can hold different values
Values that are known beforehand and remain constant
Named storage locations
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When to use constants in Pascal?
To improve code readability and maintainability
For values that won't change
For program configuration settings
All of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax for declaring a variable in Delphi?
variable_name: data_type;
const constant_name = value;
var variable_name = data_type;
var variable_name: data_type;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an example of a constant in Pascal?
PI = 3.14159;
is_running: boolean;
age: integer;
MAX_TRIES = 3;
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
Perangkat Keras Komputer (Hardware)
Quiz
•
1st - 3rd Grade
10 questions
Scratch
Quiz
•
KG - Professional Dev...
10 questions
Introduction to cloud Computing.
Quiz
•
1st - 3rd Grade
11 questions
CĐ 3 - Bài 1 l5
Quiz
•
3rd Grade
14 questions
Sains Komputer Tingkatan 4 - 2.2.3 Menghasilkan gambar rajah
Quiz
•
1st Grade - Professio...
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
10 questions
LET'S LEARN SCRATCH
Quiz
•
3rd Grade
10 questions
Block-based Programming: interface
Quiz
•
3rd 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