Copyright

Java: Assignment Operators

Instructions:

Choose an answer and hit 'next'. You will receive your score and answers at the end.

question 1 of 3

Examine the following code. What is the value of j after it completes?

Create Your Account To Take This Quiz

As a member, you'll also get unlimited access to over 79,000 lessons in math, English, science, history, and more. Plus, get practice tests, quizzes, and personalized coaching to help you succeed.

Try it risk-free
Try it risk-free for 30 days. Cancel anytime
Already registered? Log in here for access

1. The following code will _____ the variable i by 1.

2. Examine the following code. What will the value of l be?

Create your account to access this entire worksheet
A Premium account gives you access to all lesson, practice exams, quizzes & worksheets
Access to all video lessons
Quizzes, practice exams & worksheets
Certificate of Completion
Access to instructors
Create an account to get started Create Account

About This Quiz & Worksheet

You can gauge your knowledge of Java and its assignment operators by using the quiz and worksheet. Different variables and codes are on the quiz.

Quiz & Worksheet Goals

You can test your knowledge of:

  • An operator that will return the remainder of a mathematical operation
  • The value of j after a given code completes
  • How a given code with affect a variable
  • Finding the value of y after a given code completes

Skills Practiced

  • Reading comprehension - ensure that you draw the most important information from the lesson on assignment operators in Java
  • Information recall - access the knowledge you have gained about different codes
  • Interpreting information - verify that you can analyze a given code and understand what will happen to different variables when it completes

Additional Learning

Complete the lesson named Java: Assignment Operators to learn more. Other topics you can look at include:

  • What assignment operators are used for
  • Examples of an assignment operator
  • Working with different codes
Support