
Arithmetic Operators and Decisions

Quiz
•
Computers
•
11th Grade
•
Medium
Aileen Enriquez
Used 8+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following expression in Java:
java
int result = 5 + 3 * 2;
16
11
13
18
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Java operator is used for division?
/
*
%
-
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the value of x after the following code is executed:
int x = 10;
x += 5;
15
10
5
20
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the % operator do in Java?
Addition
Subtraction
Multiplication
Remainder
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Java, which operator is used for equality checking?
=
==
===
!=
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following code:
int a = 8;
int b = 3;
int result = a % b;
2
1
0
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the != operator mean in Java?
Equal to
Not equal to
Greater than or equal to
Less than or equal to
Create a free account and access millions of resources
Similar Resources on Wayground
6 questions
Understanding Python Operators

Quiz
•
11th Grade
13 questions
Delphi Term 2 Revision

Quiz
•
9th - 11th Grade
15 questions
Latihan Soal

Quiz
•
11th Grade
15 questions
AP Computer Science A Review 1

Quiz
•
10th - 12th Grade
10 questions
C#

Quiz
•
11th Grade
15 questions
If-Statement and Relational Operators Quiz

Quiz
•
6th Grade - University
12 questions
Java Strings

Quiz
•
9th - 12th Grade
10 questions
PreTest Larik/ Array

Quiz
•
11th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade