Variables and Data Types

Variables and Data Types

10th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Tipe Data Informatika

Tipe Data Informatika

10th Grade

10 Qs

Программирование C#

Программирование C#

1st - 10th Grade

10 Qs

LATIHAN 4

LATIHAN 4

10th Grade

10 Qs

Python Quiz

Python Quiz

12th Grade

11 Qs

Java Variables, Input and Output

Java Variables, Input and Output

10th - 12th Grade

15 Qs

Programming basics

Programming basics

10th - 11th Grade

11 Qs

Y7 - CY2 - Knowledge Test

Y7 - CY2 - Knowledge Test

9th - 12th Grade

10 Qs

Java 1

Java 1

11th Grade

13 Qs

Variables and Data Types

Variables and Data Types

Assessment

Quiz

Computers

10th - 12th Grade

Medium

Created by

Jennifer Hoagland

Used 212+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a primitive data type?

int

double

boolean

String

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type should we use to hold a student's average in a class?

int

double

boolean

String

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type should we use to hold how many student's are in a class?

int

double

boolean

String

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type should we use to hold the name of your favorite color?

int

double

boolean

String

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type should we use to hold if you have a pet?

int

double

boolean

String

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or false:

This is a correct initialization of a variable.


int numBooks = 6;

true

false

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or false:

This is a correct initialization of a variable.


int myTemperature = 98.2;

true

false

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?