adplus-dvertising
frame-decoration

Question

Assume that a variable will need to store only integers in the range of 1 through 20000. The most efficient data type for the variable is _____

a.

character

b.

float

c.

integer

d.

short integer

Answer: (d).short integer

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Assume that a variable will need to store only integers in the range of 1 through 20000. The most efficient data type for the variable is _____

Similar Questions

Discover Related MCQs

Q. Which of the following is true ?

Q. When a break statement is used in a loop, the control skips the rest of the statements in the loop after it and jumps

Q. 3 is a _____ constant

Q. _____ variables remain in memory until the statement block ends

Q. Procedural cohesion is similar to sequential cohesion, except that with procedural cohesion _____

Q. The extraction operator >> is a(n)

Q. Assuming the following three operators appear in an expression (without parentheses), which of the operators will be performed first?

Q. The code that you enter into a C++ program is called _____

Q. Which of the following instructions tells C++ to merge the source code from the iostream.h file into the current file?

Q. The statement double total = 0.0; performs _____

Q. The general principle underlying object-oriented error handling is that a called function should __________

Q. Which is true ?

Q. Software that can be used in applications other than the one for which it was originally written is called

Q. When the compiler cannot differentiate between two overloaded constructors, they are called______

Q. The purpose of a conditional operator is to

Q. Which of the following, if any, are valid names for variables?

Q. Assume you want to compare the character stored in the initial variable to the letter a. Which of the following conditions should you use in the if statement? (Be sure the condition will handle a or A.)

Q. Which of the following C++ expressions is equivalent to the mathematical expression 53 ?

Q. The right shift operator is represented by the symbol

Q. In C++, class definitions are most often