
B4 - Expressions and Arithmetic Operators
Quiz
•
Other
•
University
•
Practice Problem
•
Hard

Ahmetcan türk
Used 6+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of the following is NOT a correct arithmetic expression?
alpha
(alpha / momentum) - 12.4
alpha ( / momentum - 12.4 )
((alpha / momentum) - 12.4)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an operand?
Another name for number.
Another name for integer.
One of the arithmetic symbols like *, +, -, and /.
A value that is acted upon by an operator.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Assume the following declarations:
short a=12 ;
int b=33 ;
float x = 2.3;
double y = 3.14;
Which one of the following expressions will NOT be evaluated using double precision floating point?
a+x
1.5 + 8.6
a+b
x / y
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following program output?
class question4
{
public static void main ( String[] args )
{
int totalCost = 6;
int items = 12;
System.out.println("cost per item: " + totalCost/items );
}
}
cost per item: .5
cost per item: 0
cost per item: 1
cost per item: +6/12
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of evaluating the following expression?
( 1/2 + 3.5) * 2.0
8.0
8
7.0
0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of evaluating the following expression?
-32 / 6
-2
-5
-5.3333
+6
7.
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.
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
15 questions
BOSH Mod. 02 & 03
Quiz
•
University
13 questions
NDS - Civil - Bens
Quiz
•
University
13 questions
Accounting 100
Quiz
•
University
10 questions
Week 1: FOP
Quiz
•
University
10 questions
Protein TU
Quiz
•
University
10 questions
Mobile Computing quiz2
Quiz
•
University
10 questions
งานอาชีพและความสำคัญ
Quiz
•
12th Grade - University
10 questions
Process Costing
Quiz
•
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 Other
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
5 questions
Helping Build the Internet: Valerie Thomas | Great Minds
Interactive video
•
11th Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
19 questions
Review2-TEACHER
Quiz
•
University
15 questions
Pre2_STUDENT
Quiz
•
University
20 questions
Ch. 7 Quadrilateral Quiz Review
Quiz
•
KG - University
