Search Header Logo

CSA 1.1.2 Variables & Data Types

Authored by Robin Robertson

Computers

11th - 12th Grade

Used 5+ times

CSA 1.1.2 Variables & Data Types
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What three things must be defined to create and store a value?

The type of the variable

The identifier or name of the variable

The print line for the variable

The value of the variable

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

????? age = 16;

What is the data type of the variable age?

int

double

float

String

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

?????? tax = .07

What is the data type of the variable tax?

int

double

boolean

String

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

???? isOpen = true;

What is the data type of the variable isOpen?

double

String

boolean

int

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

????? class = "CSA";

What is the data type of the variable class?

String

int

double

char

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

String class = "CSA";

len = class.length();

What is the data type of the variable len?

double

String

int

boolean

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The most basic data types available within the Java language

String

double

primitives

main method

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?