Who are believed to be the first people to include the concept of "zero" in their numbering system.
- The Hindu
- The Romans
- The Maya
- The Babylonians
If it takes N digits to represent the integer value V in a positional number system using base B, which of the following relations will be true?
- V = B^N
- (B^N < V) AND (V <= B^(N+1))
- (B^(N-1) <= V) AND (V < B^N)
- V^N = B
What is the representation for the decimal value 1407 in base 7?
- 21
- 4050
- 201
- 5050
What is the defining relationship for the concept of a negative number?
- A positive number with a minus sign in front.
- A number and its negative will sum to zero.
- A number and its negative have the same absolute value.
- The negative of a number is less than zero with the same absolute value as the number itself.
What is the generic name used for the notation we generally refer to as a "decimal point"?
- Decimal point.
- Unary point.
- Binary point.
- Radix point.
Which of the following is true about a fixed-point representation?
- The weighting of the digit to the left of the radix point is always the same - usually one.
- There are a fixed number of digits to the right of the radiz point.
- The decimal point always appears to the far right of the number.
- There is always exactly one non-zero digit to the left of the decimal point.
In the base-5 number 323.041, what is the weighting of the digit '4'?
- 1/20
- 0.04
- 5e-1
- 5e-3
What is the mantissa of the number 5.34e4?
- 4
- 534
- 5.34
- 5340
What is required for a (nonzero) number to be in a normalized exponential format?
- The exponent is the smallest possible value it can be.
- The mantissa is an integer.
- The mantissa has exactly one non-zero digit to the left of the radix point.
- The exponent is the largest possible value it can be.
What is the traditional way of indicating the base in which a number is represented?
- Placing the number base as a subscript to the left of the number.
- Placing the number base as a subscript to the right of the number.
- Placing the number base as a superscript to the left of the number.
- Placing the number base as a superscript to the right of the number.
What are the two common text-based ways of indicating that a number is written in base-16?
- Prefixing the number with "0x" or placing an "H" as a suffix.
- Suffixing the number with "x" or placing an "H" as a prefix.
- Placing "/16" after the number or placing "(16x)" before the number.
- Placing "base-16" to the left of the number or, alternately, to the right of the number.
What is the haxadecimal digit used to represent the decimal value 13?
- A
- B
- C
- D
Repeated division by the number base is primarily useful for what purpose?
- Converting a number from base-10 to another base.
- Converting a number from another base to base-10.
- Converting a number between two non-decimal number bases.
- Determining how many decimal digits a number has.
Repeated multiplication by the number base is primarily useful for what purpose?
- Converting a number from base-10 to another base.
- Converting a number from another base to base-10.
- Converting a number between two non-decimal number bases.
- Determining how many decimal digits a number has.
What is the word "bit" short for?
- binary information token
- binary digit
- bit o' data
- baud identification tree
How many bits are in a "nibble"?
- 1
- 4
- 8
- 16
How many bits are in a "byte"?
- 6
- 7
- 8
- Varies depending on the processor.
What is a "word"?
- Two bytes.
- Four nibbles.
- Sixteen bits.
- Varies from processor to processor.
What is a "dword"?
- Four bytes.
- Eight nibbles.
- Thirty-two bits.
- Varies from processor to processor.
Why are octal and hexadecimal so prevalent in computer science?
- Because binary bit strings can be converted to and from octal and hexadecimal very quickly.
- Because the first programmers set the standard and we are stuck with it.
- Because arithmetic is easier in either of these two bases than it is in decimal.
- Because learning hexadecimal serves as a "right of passage" for would be programmers.
What is the most likely reason that a "nibble" is the size that it is?
- Because that is exactly half a byte.
- Because the first processor has a data bus that was this size.
- Because anything larger would require the use of a number base that is too difficult for humans to work with.
- Because that is the smallest number of bits that can be used to represent all of the decimal digits.
Which of the following are not common pairs of names used for the two states that a single bit can represent?
- Zero and One
- True and False
- Up and Down
- High and Low
Which of the following is not one of the common ways of representing a negative integer?
- Two's complement
- One's complement.
- Signed binary.
- Offset binary.
What property does two's compliment exploit?
- The inverting all of the bits in a value produces a one's compliment value.
- That subtraction is equivalent to adding the negative of a number.
- That addition and subtraction use the same hardware in a computer.
- The fact that, in a fixed-width binary value consisting of N bits, that 2eN is indistinguishable from zero.
What is meant by the "static range" of a numbering system?
- The ratio of the largest value that can be represented to the smallest.
- The most positive value that be represented minus the most negative value.
- The ratio of a number and the smallest change that can be represented in that number.
- The largest value that can be represented minus the smallest.
What is meant by the "dynamic range" of a numbering system?
- The ratio of the largest value that can be represented to the smallest.
- The most positive value that be represented minus the most negative value.
- The ratio of a number and the smallest change that can be represented in that number.
- The largest value that can be represented minus the smallest.
In the IEEE format, what is the interpretation of the left-most bit?
- The leading bit of the mantissa.
- The sign bit for the mantissa.
- The leading bit of the exponent.
- The sign bit for the exponent.
In the IEEE floating point standard, how is the exponent represented?
- As a two's complement value.
- As a signed binary value.
- As an offset binary value.
- As an absolute value.
In the IEEE floating point standard, how is the mantissa represented?
- As a two's complement value.
- As a signed binary value.
- As an offset binary value.
- As an absolute value.
What is the order of the information, left to right, in an IEEEstandard floating point representation.
- mantissa, exponent
- exponent, sign, mantissa magnitude
- sign, mantissa magnitude, exponent
- sign, exponent, mantissa magnitude
How is zero represented in a IEE standard floating point representation?
- As a pattern of all zeroes.
- Zero cannot be exactly represented because of the implied leading one in the mantissa.
- As a pattern with a one as the second bit from the left.
- As a pattern of all zeroes except for a leading one.
Why does an exponent consisting of all zeroes and an exponent consisting of all zeroes except for a trailing one represent the same exponent value?
- To increase the static range of the representation.
- So that zero may be exactly represented.
- To avoid a gap as the representation moves from a normalized to a non-normalized interpretation.
- It doesn't.
Given a bit pattern representing a floating point value in the standard IEEE format, how can the negative of that value be represented?
- By taking the two's complement of the mantissa.
- By inverting the sign bit and all bits of the mantissa.
- By treating the entire pattern as though it were an integer and taking the two's complement of it.
- By inverting the sign bit.
How is the end of a string of characters indicated in many programming languages, including C?
- By interpreting the first byte in the string as an integer that indicates how many characters are in the string.
- By following the string with an additional byte that is set to all zeroes - the NUL character.
- By passing the length of the string as a separate argument to any function needing that information.
- By repeating the last character in the string eight times.
Given a four byte integer at address 0x3CF0 that uses the Little Endian convention, at what address is the most significant byte stored?
- 0x3CF0
- 0x3CF3
- 0x3CF4
- 0x3CED