Java Programming Tutorial & Training  /  Business Courses

Test Prep Plan - Take a practice test

Take this practice test to check your existing knowledge of the course material. We'll review your answers and create a Test Prep Plan for you based on your results.
How Test Prep Plans work
1
Answer 50 questions
Test your existing knowledge.
2
View your test results
Based on your results, we'll create a customized Test Prep Plan just for you!
3
Study smarter
Study more effectively: skip concepts you already know and focus on what you still need to learn.

Data Types in Java Chapter Exam

Exam Instructions:

Choose your answers to the questions and click 'Next' to see the next set of questions. You can skip questions if you would like and come back to them later with the yellow "Go To First Skipped Question" button. When you have completed the practice exam, a green submit button will appear. Click it to see your results. Good luck!

Page 1

Question 1 1. A byte can hold values from _____ to _____

Question 2 2. What data type would be best suited for the value 500?

Question 3 3. _____ is a type of encoding that maps a number to a letter.

Question 4 4. _____ takes up 2 bytes.

Question 5 5. The primitive data type _____ would be most appropriate for reflecting characters in Unicode.

Page 2

Question 6 6. A _____ is 4 bits.

Question 7 7. Which of the following lists correctly identifies the two major categories of primitive data?

Question 8 8. When looking at the integer group in the order of byte, short, integer, and long types, how is the relationship of each type's integer value defined?

Question 9 9. Floats and doubles are considered _____ numbers.

Question 10 10. A double can hold _____ bytes of data.

Page 3

Question 11 11. Which number best represents the value of a float data type?

Question 12 12. The most frequently used type of Java primitive data is _____ while the least commonly used type is _____.

Question 13 13. A float is _____ bytes in size.

Question 14 14. A byte is _____ bit(s)

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

Data Types in Java Chapter Exam Instructions

Choose your answers to the questions and click 'Next' to see the next set of questions. You can skip questions if you would like and come back to them later with the yellow "Go To First Skipped Question" button. When you have completed the practice exam, a green submit button will appear. Click it to see your results. Good luck!

Support