Question: Quick easy computer science questions. Answer all to receive positive rate. 1- 15 1. How many bytes big is a C/C++ programming language int datum
Quick easy computer science questions. Answer all to receive positive rate. 1- 15
1. How many bytes big is a C/C++ programming language int datum for modern implementations of C?
A: 1 B: 2 C: 3 D: 4 or more E: none of these
2. When the sizeof(int) = 4, then the sizeof(float) is probably
A: 1 B: 2 C: 3 D: 4 E: 6
3. How many bytes big is a C/C++ programming language char datum that uses the standard ASCII character set to represent character codes?
A: 1 B: 2 C: 3 D: 4 E: 6
4. (Continuing 3) How many bytes big is a Java programming language char datum that uses the Unicode character set to represent character codes?
A: 1 B: 2 C: 3 D: 4 E: 6
5. T or F? The hexadecimal (base 16) representation for 1234510 is 393016 = 0X3930.
6. T or F? The binary (base 2) representation for 67891010 is 0000101010011011111111102.
7. T or F? The octal (base 8) representation for 11101110 is 03306448.
8. T or F? 214748364810 is the largest positive integer that can be represented using 32-bit twos complement representation.
9. (Continuing 8) T or F? 231 - 1= 7FFFFFFF16 is the largest positive integer that can be represented using 32-bit twos complement.
10. T or F? -231 = -214748364810 is the smallest negative integer that can be represented using 32-bit twos complement.
11. (Continuing 10) T or F? 8FFFFFFF16 is the smallest negative integer that can be represented 32-bit twos complement.
12. What is the largest negative integer that can be represented using 16-bit twos complement representation? Hint The largest negative 16-bit twos complement integer is -1.
A: 00000000000000002 B: 00000000000000012 C: 10000000000000002
D: 11111111111111112 E: none of these
13. (Continuing 12) What is the smallest positive integer that can be represented using 16-bit twos complement representation? Hint The smallest positive 16-bit twos complement integer is +1.
A: 00000000000000002 B: 00000000000000012 C: 10000000000000002
D: 11111111111111112 E: none of these
14. What is the largest positive integer that can be represented using 16-bit twos complement representation? Hint The largest positive 16-bit twos complement integer is 215-1.
A: 00000000000000002 B: 00000000000000012 C: 10000000000000002
D: 11111111111111112 E: none of these
15. (Continuing 14) What is the smallest negative integer that can be presented using 16-bit twos complement representation? Hint The smallest negative 16-bit twos complement integer is -215.
A: 00000000000000002 B: 00000000000000012 C: 10000000000000002
D: 11111111111111112 E: none of these
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
