Information Representation in Computing Practice Quiz (8 questions)

All questions and answers

1. A technician converts the binary integer 101101121011011_2 to decimal by multiplying each bit by its corresponding power of 2 and adding. What value should the technician obtain?

109
91
59
6

91

Explanation

Weighting the bits from right to left gives 1×26+0×25+1×24+1×23+0×22+1×21+1×20=911\times2^6+0\times2^5+1\times2^4+1\times2^3+0\times2^2+1\times2^1+1\times2^0=91. The value 59 reflects a shifted place value, 6 ignores positional weights, and 109 results from reversing the bit positions.

2. Which property characterizes the positional representation of an integer in base bb?

It is a unique sum of digits multiplied by powers of b−1b-1, with digits from 0 to bb
It is a sum of digits multiplied by the same value, with digits from 0 to b−1b-1
It is a sum of digits multiplied by powers of bb, with several valid forms for an integer
It is a unique sum of digits multiplied by powers of bb, with digits from 0 to b−1b-1

It is a unique sum of digits multiplied by powers of $$b$$, with digits from 0 to $$b-1$$

Explanation

A base-bb representation is the unique sum N=∑xnbnN=\sum x_n b^n, where every digit is between 0 and b−1b-1. Using powers of b−1b-1 confuses the base with the largest digit, multiple forms deny uniqueness, and a constant multiplier ignores place value.

3. A hexadecimal digit represents decimal 14. Which symbol should be used for that digit?

14
D
F
E

E

Explanation

Hexadecimal is base 16 and assigns E to the value 14. D represents 13, F represents 15, and 14 is not one of the hexadecimal digit symbols.

4. Why is binary used frequently in computing?

Boolean algebra underlies digital electronics
Hexadecimal notation underlies digital electronics
Decimal arithmetic underlies digital electronics
Eight-bit character coding underlies digital electronics

Boolean algebra underlies digital electronics

Explanation

Binary is frequently used because Boolean algebra underlies digital electronics. Decimal arithmetic and hexadecimal notation are not the stated foundation, while eight-bit character coding is an encoding fact rather than the reason binary is widely used.

5. In a fixed-point representation, what determines the place value of each digit to the right of the separator?

Equal weights independent of position
Negative powers of the base
Positive powers of the base
Powers of the number’s integer part

Negative powers of the base

Explanation

Each fractional digit is weighted by a negative power of the base, such as the first fractional place having weight b−1b^{-1}. Positive powers apply to integer places, while equal weights and powers of the integer part do not describe positional fractional notation.

6. How are the 32 bits of an IEEE 754 single-precision value divided among its fields?

1 sign bit, 8 exponent bits, and 23 mantissa bits
1 sign bit, 9 exponent bits, and 22 mantissa bits
8 sign bits, 1 exponent bit, and 23 mantissa bits
1 sign bit, 11 exponent bits, and 20 mantissa bits

1 sign bit, 8 exponent bits, and 23 mantissa bits

Explanation

Single precision allocates 1 bit to the sign, 8 to the exponent, and 23 to the mantissa, using base 2. The 11-bit exponent layout is associated with double precision; the other choices misallocate the exponent or sign fields.

7. A 32-bit single-precision word has a negative sign, exponent field 130, and mantissa fraction 0.1875. Using the bias 127, what value does it represent?

−1.1875
−152
−4.75
−9.5

−9.5

Explanation

Subtract the bias to obtain the exponent 130−127=3130-127=3, then evaluate −(1+0.1875)×23=−9.5-(1+0.1875)\times2^3=-9.5. Omitting the implicit leading 1 gives −1.5, while using the biased exponent directly or applying an incorrect scale produces a different value.

8. What is the width of the IEEE 754 double-precision floating-point format?

64 bytes
32 bits
64 bits
128 bits

64 bits

Explanation

IEEE 754 double precision is a 64-bit floating-point format. The 32-bit choice confuses it with single precision, 128 bits suggests an extended format, and 64 bytes confuses bits with bytes.

Study with flashcards

Lock in the answers with 43 flashcards on Information Representation in Computing.

What is the positional representation of integer NN in base bb?

N=∑n=0+∞xnbnN=\sum_{n=0}^{+\infty}x_n b^n, where each digit xnx_n is between 00 and b−1b-1.

What is unique about an integer’s positional representation in base bb?

It is unique.

How do you convert a binary integer to decimal?

Multiply each bit by its corresponding power of 2 and add the products.

See the flashcards →

Read the study guide

Go over the full study guide for Information Representation in Computing.

Read the study guide →

Related classes

Make your own practice quizzes

Upload your class notes and Revizly writes a practice quiz with explained answers in about a minute.

Quiz maker