
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
Desarrollo de Aplicaciones Web - Día 3
Quiz
•
10th Grade
10 questions
Topic 13 Probability (13.1 - 13.2)
Quiz
•
8th Grade
10 questions
THE PHOTOSHOP WINDOW
Quiz
•
7th - 8th Grade
10 questions
Simplification d'expressions
Quiz
•
8th Grade
12 questions
prep1-revision
Quiz
•
7th Grade
10 questions
Topic 11 Graphs (11.1 - 11.4)
Quiz
•
8th Grade
12 questions
Wee Word Intro
Quiz
•
7th - 12th Grade
10 questions
Subtraction and Addition of Integers
Quiz
•
6th Grade
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade