
Variables and Expressions
Authored by Shruti Garg
Computers, Mathematics, Instructional Technology
6th - 10th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Revision 2
Quiz
•
7th Grade
10 questions
Layers Palette
Quiz
•
7th Grade
10 questions
Informatica Exercise
Quiz
•
7th Grade
10 questions
REFUERZO EVALUACIÓN 3 ALGEBRA
Quiz
•
9th Grade
10 questions
Latihan soal KSN matematika SD
Quiz
•
5th - 12th Grade
10 questions
Mental math Competition - Math Week (5-6)
Quiz
•
5th - 6th Grade
10 questions
Animation 1
Quiz
•
6th Grade
8 questions
Identify Loci!
Quiz
•
10th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Computers
18 questions
[AP CSP] JavaScript Programming Lesson 2025-2026
Lesson
•
9th - 12th Grade
57 questions
[AP CSP] Unit 5 Review: Internet & Cybersecurity
Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
15 questions
Google Sheets
Quiz
•
7th - 8th Grade
10 questions
Introduction to Coding
Interactive video
•
3rd - 6th Grade