Arithmetic Operators and Decisions

Arithmetic Operators and Decisions

11th Grade

10 Qs

quiz-placeholder

Similar activities

STARFIELD MID-TERM 2

STARFIELD MID-TERM 2

9th - 12th Grade

15 Qs

11° Evaluación bimestral de informática

11° Evaluación bimestral de informática

11th Grade

15 Qs

Quiz 9 (15.09.2021)

Quiz 9 (15.09.2021)

1st - 12th Grade

10 Qs

Technology Week HTG Quiz - Monday

Technology Week HTG Quiz - Monday

7th - 12th Grade

10 Qs

Windows 10 Basics

Windows 10 Basics

9th - 12th Grade

10 Qs

Cascading Style Sheets

Cascading Style Sheets

8th - 12th Grade

11 Qs

Начала программирования на языке Паскаль

Начала программирования на языке Паскаль

8th - 11th Grade

15 Qs

Arithmetic Operators and Decisions

Arithmetic Operators and Decisions

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Aileen Enriquez

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?