Convert the decimal number 12.410 to a binary number, allocating 4 bits for the integer part and 4 bits for the fractional part.
a. 1100.01002 b. 1010.0112
c. 1100.01102 d. None of these are correct
C
You might also like to view...
A class within a package must be declared public if
a. It will be used only by other classes in the same package. b. It will be used by classes that are not in the same package. c. It is in the same directory as the other classes in the package. d. It has a unique name.
In the Replace dialog box, clicking the ____________________ button changes highlighted text.
Fill in the blank(s) with the appropriate word(s).
Write the following do-while statement with a while construct, and maybe some extra code.
``` x = 10; do { cout << x << endl; x = x - 3; } while ( x > 0 ); ```
Left-brained people tend to favor flowcharts as a method of developing algorithms for programs.
Answer the following statement true (T) or false (F)