Chapter 1 (Basic Concepts) – Assessment
Question 1
True-False
Please indicate whether each statement is True (T) or False (F).
1.1 A program that combines object files into an executable program is called a linker.
1.2 In any numbering system, the radix specifies the range of alphanumeric digits that can
be assigned to a single digit position.
1.3 The binary representation of decimal 42 is 00101010.
1.4 The hexadecimal representation of decimal 35 is 33h
1.5 The sum of the binary integers 01101101 and 00111011 is 10101001.
1.6 The 8-bit two's complement of binary 00000010 is 11111110.
1.7 The binary representation of decimal -42 is 11010111.
1.8 Suppose there is a virtual machine containing levels V1 and V2, where V2 is above
V1 in the machine hierarchy. The programs written in language V2 can be executed
by a program running at level V1.
1.9 The sum of all powers of 2 from 20 to 28 is 511.
1.10 A dynamic link library (DLL) is never written in the Java programming
language.
1.11 A compiler decodes and executes one program statement at a time.
1.12 A virtual machine may be constructed from software.
1.13 The sum of 3AB4h and 0429h is 3EDDh.
1.14 To translate an unsigned decimal integer into binary, repeatedly divide the
integer by 2, saving each remainder as a binary digit.
1.15 The expression X Y is false when X is false and Y is true.
________________________________________________________________________
Question 2
2.1 How do assemblers and linkers work together?
Question 1
True-False
Please indicate whether each statement is True (T) or False (F).
1.1 A program that combines object files into an executable program is called a linker.
1.2 In any numbering system, the radix specifies the range of alphanumeric digits that can
be assigned to a single digit position.
1.3 The binary representation of decimal 42 is 00101010.
1.4 The hexadecimal representation of decimal 35 is 33h
1.5 The sum of the binary integers 01101101 and 00111011 is 10101001.
1.6 The 8-bit two's complement of binary 00000010 is 11111110.
1.7 The binary representation of decimal -42 is 11010111.
1.8 Suppose there is a virtual machine containing levels V1 and V2, where V2 is above
V1 in the machine hierarchy. The programs written in language V2 can be executed
by a program running at level V1.
1.9 The sum of all powers of 2 from 20 to 28 is 511.
1.10 A dynamic link library (DLL) is never written in the Java programming
language.
1.11 A compiler decodes and executes one program statement at a time.
1.12 A virtual machine may be constructed from software.
1.13 The sum of 3AB4h and 0429h is 3EDDh.
1.14 To translate an unsigned decimal integer into binary, repeatedly divide the
integer by 2, saving each remainder as a binary digit.
1.15 The expression X Y is false when X is false and Y is true.
________________________________________________________________________
Question 2
2.1 How do assemblers and linkers work together?