Basic Data Types and Variables

Basic Data Types and Variables

Assessment

Flashcard

Computers

9th Grade

Easy

Created by

Andrew Ward

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

15 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What values does a Boolean store?

Back

TRUE or FALSE

2.

FLASHCARD QUESTION

Front

What is a common use for Boolean values?

Back

Often used as flags to indicate the result of a condition.

3.

FLASHCARD QUESTION

Front

What does a String store?

Back

A string of characters, used to store text such as names or telephone numbers.

4.

FLASHCARD QUESTION

Front

What type of values does an Integer store?

Back

Whole number values, positive or negative, used to store data which will never have a decimal value such as quantities.

5.

FLASHCARD QUESTION

Front

What type of values does a Float/Decimal store?

Back

Decimal values, used to store fractional values such as prices.

6.

FLASHCARD QUESTION

Front

What is a variable?

Back

A variable is a named memory address that holds a value, which can change as the program is running.

7.

FLASHCARD QUESTION

Front

What are the rules for naming a variable?

Back

It can contain letters and numbers but must start with a letter. It must not contain special or punctuation characters, an underscore can be used but spaces are not allowed. The name should be meaningful and represent the value it is holding.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?