Variables and Data Types

Variables and Data Types

10th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Java Arithmetic Operations

Java Arithmetic Operations

11th Grade

10 Qs

Python Quiz

Python Quiz

12th Grade

11 Qs

Programming Java

Programming Java

9th Grade - University

11 Qs

Search for Content on Methods in Java

Search for Content on Methods in Java

11th - 12th Grade

10 Qs

algoritma

algoritma

12th Grade

11 Qs

Lua Review Corona SDK with Notepad++

Lua Review Corona SDK with Notepad++

10th - 12th Grade

15 Qs

Review for Fall Final

Review for Fall Final

10th - 12th Grade

14 Qs

Intro to Programming: data types, if/else, and loops

Intro to Programming: data types, if/else, and loops

8th - 12th Grade

15 Qs

Variables and Data Types

Variables and Data Types

Assessment

Quiz

Computers

10th - 12th Grade

Medium

Created by

Jennifer Hoagland

Used 208+ 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?