Java: Float vs. Double

Instructions:

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

question 1 of 3

Floats and doubles are considered _____ numbers.

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. Which number best represents the value of a float data type?

2. Float and double are stored as _____ in the computer's memory.

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

Understanding what float and double data types are, is important to Java programming because they are core to the Java programming language. This assessment will provide you with a way to test your understanding of what float and double are, their size, and examples of them.

Quiz & Worksheet Goals

Use this assessment to test your understanding of:

  • What float and double are
  • Representations of float data types
  • How float and double data is stored
  • How many bytes of data a double can hold
  • The size of a float

Skills Practiced

As you complete this assessment you will test the following skills:

  • Interpreting information - verify that you can read information regarding what float and double are in Java and interpret it correctly
  • Defining key concepts - ensure that you can accurately define main phrases, such as the size of float and double data types
  • Knowledge application - use your knowledge to answer questions about how float and double data are stored

Additional Learning

For a quick review of what float and double data is in Java, complete the lesson Java: Float vs. Double. This assessment will help you study:

  • The concept of a primitive data type
  • Usefulness of float and double data types
  • How the use of float differs from the use of double
Support