Variables and Expressions

Variables and Expressions

6th - 10th Grade

7 Qs

quiz-placeholder

Similar activities

Algebra Vocabulary

Algebra Vocabulary

6th Grade

10 Qs

Intro to Algebra Vocabulary

Intro to Algebra Vocabulary

6th Grade

12 Qs

Parts of an Equation

Parts of an Equation

7th - 8th Grade

11 Qs

Combine Like Terms Check In

Combine Like Terms Check In

7th Grade

10 Qs

23/24 - WOD Week 31 Quiz

23/24 - WOD Week 31 Quiz

6th Grade

10 Qs

Programming - Variables & Constants

Programming - Variables & Constants

4th - 12th Grade

10 Qs

One-step Equations Vocabulary

One-step Equations Vocabulary

6th Grade

10 Qs

Essential Algebra Vocabulary

Essential Algebra Vocabulary

6th - 9th Grade

11 Qs

Variables and Expressions

Variables and Expressions

Assessment

Quiz

Computers, Mathematics, Instructional Technology

6th - 10th Grade

Hard

Created by

Shruti Garg

Used 4+ times

FREE Resource

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Process of assigning value to a variable before it is being used is called:

Initialization

Operation

Realization

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int k1, k2 = 23 is an example of:

Adding values in a function

Variable declaration

None of them

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a correct variable name?

2bad

Zero

theLastValueButOne

Year2000

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following declarations is NOT correct?

Double duty;

Float loan = 12.3;

Boolean value = 21;

Int start = 45, end = 99;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following shows the syntax of an assignment statement?

VariableName = expression;

Expression = expression;

Expression = VariableName;

datatype = VariableName;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an expression?

The same thing as a statement

An expression is a list of statements that make up a program

An expression is a combination of literals, operators, variables, and parentheses used to calculate a value

An expression is a number expressed in digits.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of the following expression? (2 - 6) / 2 + 9

7

8

9

10