Courseiva
Java Basics and SyntaxeasyMultiple ChoiceObjective-mapped

1Z0-811 Java Basics and Syntax Practice Question

What is the result of the expression 10 % 3?

⚠ Common exam trap

Oracle often tests the distinction between the division operator (/) and the modulo operator (%), where candidates mistakenly choose the quotient (3) instead of the remainder (1).

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

1

The modulo operator (%) in Java returns the remainder of the division of the left operand by the right operand. Since 10 divided by 3 equals 3 with a remainder of 1, the expression 10 % 3 evaluates to 1.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • 3.33

    Why it's wrong here

    Integer division truncates.

  • 0

    Why it's wrong here

    Not exact division.

  • 3

    Why it's wrong here

    That's the quotient.

  • 1

    Why this is correct

    Remainder is 1.

About these practice questions

This 1Z0-811 question is part of Courseiva's 481-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 1Z0-811 practice question is part of Courseiva's free Oracle certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 1Z0-811 exam.