<< Chapter < Page | Chapter >> Page > |
Revised: Sun Mar 27 23:06:45 CDT 2016
This page is included in the following Books:
This module contains review questions and answers keyed to the module titled Jb0150: Java OOP: A Gentle Introduction to Java Data Types .
The questions and the answers are connected by hyperlinks to make it easy for you to navigate from the question to the answer and back again.
True or false? Java is a type-sensitive language.
True or false? Data type double involves whole numbers only (no fractional parts are allowed) .
True or false? Type double involves numbers with fractional parts.
True or false? All Java data types conceptually have something to do with numeric values.
True or false? The Java char type deals conceptually with the letters of the alphabet, the numeric characters, and the punctuation characters.
True or false? For every different type of data used with a particular programming language, there is a specification somewhere that defines two important characteristics of the type:
True or false? If you have an instance of the byte type, the set of all possible values that you can store in that instance is the set ofall the whole numbers ranging from -256 to +255.
Name or describe four of the operations that you can perform with data of type short .
True or false? Java data types can be subdivided into two major categories:
True or false? The primitive types are not part of the core language.
True or false? For purposes of discussion, primitive types can be subdivided into four categories:
True or false? In Java, there are three different whole-number types:
True or false? The whole-number types differ in terms of the range of values that they can accommodate and the amount of computer memory required to storeinstances of the types.
True or false? Java provides an unsigned version of all of the primitive whole-number types.
True or false? Floating point types represent values as a mantissa containing a decimal point along with an exponent value that tells how many places toshift the decimal point to the left or to the right in order to determine the true value.
Notification Switch
Would you like to follow the 'Object-oriented programming (oop) with java' conversation and receive update notifications?