
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
Maths Revision Quiz (1) - Grade 3
Quiz
•
3rd Grade - University
10 questions
Exponentials
Quiz
•
7th - 8th Grade
10 questions
Google Apps
Quiz
•
4th - 12th Grade
10 questions
Black Hole - Lớp 6 - Tuần 1
Quiz
•
6th Grade
10 questions
CIRCLE 10
Quiz
•
10th Grade
10 questions
Toán lớp 3_3a1.tuần 25
Quiz
•
3rd Grade - University
11 questions
TROUBLESHOOTING QUIZ 9I
Quiz
•
9th Grade
11 questions
Geometry Unit 3 Review
Quiz
•
9th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
14 questions
[AP CSP] JavaScript Programming Quiz
Quiz
•
9th - 12th Grade
10 questions
Understanding Computers and Computer Engineering
Interactive video
•
7th - 12th Grade
37 questions
Python - Tuples, Lists, and List Methods
Quiz
•
9th - 12th Grade
60 questions
MOS Word Home, Insert, Reference Ribbon Basics
Quiz
•
9th Grade