
ICTPRG302 Week 1Variables and Data Types
Authored by David Hunt
Mathematics
Professional Development

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable?
A container that stores values that can change during program execution
A fixed value that cannot be changed
A data type used to represent text data
A logical data type with only two possible values
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of variables?
To store and manipulate data values in a program
To represent text data in programming
To perform logical operations
To declare the intended data type for a variable
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a string data type used for?
Representing text data in programming
Storing whole numbers
Storing decimal numbers
Performing logical operations
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are integers?
Whole numbers that can be positive, negative or zero
Decimal numbers with floating point
Double precision floating point numbers
Logical data type with only two possible values
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are floats?
Decimal numbers with floating point
Whole numbers that can be positive, negative or zero
Double precision floating point numbers
Logical data type with only two possible values
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are doubles?
Double precision floating point numbers allowing more digits
Decimal numbers with floating point
Whole numbers that can be positive, negative or zero
Logical data type with only two possible values
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a boolean data type used for?
Representing binary logic and conditions in code
Storing text data
Storing whole numbers
Performing logical operations
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?