#124 Unit 2 Lesson 6 Variables

#124 Unit 2 Lesson 6 Variables

11th Grade

10 Qs

quiz-placeholder

Similar activities

QUIZ #1 JAVASCRIPT

QUIZ #1 JAVASCRIPT

11th Grade

16 Qs

[Java] Review of User Input & Basic Arithmetic Operators

[Java] Review of User Input & Basic Arithmetic Operators

9th - 12th Grade

11 Qs

CWA Java

CWA Java

10th - 12th Grade

13 Qs

Algorithms & Pseudocode

Algorithms & Pseudocode

8th - 12th Grade

10 Qs

String Manipulation

String Manipulation

9th - 11th Grade

13 Qs

CodeHS Unit 2

CodeHS Unit 2

11th - 12th Grade

13 Qs

Java Script Quiz

Java Script Quiz

9th - 12th Grade

15 Qs

Java

Java

11th - 12th Grade

9 Qs

#124 Unit 2 Lesson 6 Variables

#124 Unit 2 Lesson 6 Variables

Assessment

Interactive Video

Computers

11th Grade

Easy

Created by

Myra Deister

Used 3+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in programming?

A software development methodology

A type of computer hardware

A container for storing a value

A set of instructions for the computer to follow

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the two types of variables in Java?

Static and Dynamic

Primitive and Reference

Public and Private

Integer and String

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which color sticky note represents integers in the analogy?

Green

Blue

Yellow

Red

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a reference variable contain?

A direct value

A list of commands

An address pointing to a location in memory

A numerical code

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the three decisions to make when creating a variable?

Size, Type, Name

Name, Type, Value

Access, Type, Name

Type, Value, Location

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of variable is used to store decimal numbers in Java?

string

boolean

double

int

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you declare a variable in Java?

datatype = name;

create datatype name;

name datatype;

datatype name;

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?