Which one of the following is NOT a correct arithmetic expression?

B4 - Expressions and Arithmetic Operators

Quiz
•
Other
•
University
•
Hard

Ahmetcan türk
Used 6+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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.
Create a free account and access millions of resources
Similar Resources on Quizizz
14 questions
IGCSE Accounting Quiz

Quiz
•
10th Grade - University
14 questions
Comparison Shopping Quiz

Quiz
•
7th Grade - University
10 questions
Quiz on Radioactivity

Quiz
•
University
11 questions
Cinematica del punto

Quiz
•
University
13 questions
Tut 2 - Menu

Quiz
•
University - Professi...
10 questions
PAS 16 20 23

Quiz
•
University
12 questions
Real or Fake Cake

Quiz
•
KG - Professional Dev...
10 questions
Akuntansi Sektor Publik

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade