Session 9 has these questions
What is the size in bytes for an short data type
What is the size in bytes for an 'short' data type.
Choose data type for information in range 100 to 500
If the range of the values for a certain information is 100 to 500, which integer data type should we use.
A.
|
byte
|
B.
|
short
|
C.
|
int
|
D.
|
long
|
Choose appropriate data type for number of cards
Choose appropriate data type for storing the number of cards in deck of playing cards.
A.
|
byte
|
B.
|
short
|
C.
|
int
|
D.
|
long
|
What is the size in bits for an int variable
What is the size in bits for an 'int' variable.
Choose data type for information in range 91345 to 121887
If the range of the values for a certain information is 91345 to 121887, which integer data type should we use.
A.
|
byte
|
B.
|
short
|
C.
|
int
|
D.
|
long
|