Variables

Variables

Assessment

Flashcard

Computers

9th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

5 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What would be the best variable name and data type to store a student's name in a program? Options: Number, String, Boolean, List

Back

String

2.

FLASHCARD QUESTION

Front

What would be the best variable name and data type to store a product's price in a program? Options: Number, String, Boolean, List

Back

Number

3.

FLASHCARD QUESTION

Front

What would be the best variable name and data type to store a customer's email address in a program? Options: Number, String, Boolean, List

Back

String

4.

FLASHCARD QUESTION

Front

What would be the best variable name and data type to store a flag indicating whether a user is logged in or not? Options: Number, String, Boolean, List

Back

Boolean

5.

FLASHCARD QUESTION

Front

What would be the best variable name and data type to store a list of items in a shopping cart? Options: Number, String, Boolean, List

Back

List

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?