
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
Dasar C++
Quiz
•
KG - 3rd Grade
15 questions
Dzień Bezpiecznego Intenetu klasy 1-3
Quiz
•
3rd Grade
14 questions
GUI
Quiz
•
3rd Grade
15 questions
TIK Paint 3
Quiz
•
KG - 3rd Grade
15 questions
Systems Architecture
Quiz
•
KG - 9th Grade
12 questions
Intro to Scratch 2
Quiz
•
KG - University
10 questions
Reviwing-Week3-T2-G3
Quiz
•
3rd Grade
15 questions
ICT Revision Grade 3
Quiz
•
3rd Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
22 questions
fractions
Quiz
•
3rd Grade
18 questions
Comparing Fractions with same numerator or denominator
Quiz
•
3rd Grade
12 questions
Presidents' Day
Quiz
•
KG - 5th Grade
15 questions
Earthly Ecosystems Unit Review
Quiz
•
3rd Grade
10 questions
Area
Quiz
•
3rd Grade
14 questions
Basic Fractions on a Number Line
Quiz
•
3rd Grade