Summer exam Devices Flashcards
(165 cards)
What is the key difference between analogue and digital values?
Analogue values vary continuously, while digital values vary discretely.
Why are digital systems more resistant to noise?
Because they operate using discrete values (e.g., binary 0 and 1), making them less sensitive to minor variations.
How is the base of a number typically denoted in this module?
By using a subscript after the number, e.g., 1100₂.
What is the decimal value of the binary number 1100?
12
List three common alternative number bases used in computing besides decimal.
Binary (base 2), Octal (base 8), Hexadecimal (base 16).
How many unique values can be represented with a nibble?
16 values (4 bits).
How many unique values can be represented with a Byte?
256 values (8 bits).
What is the general formula for the range of values for an n-bit binary number?
0 to (2ⁿ – 1).
How many values can a 3-bit word represent?
8 values.
Why are hexadecimal values convenient for representing binary data?
Each hex digit corresponds exactly to 4 binary bits, making conversion easier.
What is Horner’s method used for in binary conversions?
To efficiently convert binary numbers to decimal.
What is ASCII?
A 7-bit character encoding system representing 128 characters, later extended to 256.
What are some limitations of ASCII?
It does not support non-Latin alphabets like Greek, Cyrillic, or Chinese.
What encoding system succeeded ASCII to support more characters?
Unicode.
What are common Unicode encoding formats?
UTF-8, UTF-16, and UTF-32.
What is binary addition similar to?
Decimal addition, but with only two digits (0 and 1).
How do you compute X - Y using binary arithmetic?
By negating Y (using 2’s complement) and adding it to X: X + (-Y).
What is fixed-width arithmetic in digital systems?
Arithmetic where all numbers are represented using exactly m bits.
What is the problem with fixed-width arithmetic?
Overflow can occur if the result exceeds the m-bit range.
How is the sign represented in sign-and-magnitude format?
Using the first bit: 0 for positive and 1 for negative.
What is the main issue with sign-and-magnitude representation?
It results in two representations for zero and requires case-specific addition logic.
What real-world analogy is used to explain modulo arithmetic?
A 16-hour clock where subtracting 2 hours is like adding 14 (i.e., 16 - 2).
How is a negative number represented in 2’s complement?
As 2ⁿ - X, where X is the number to be negated.
What is the 2’s complement of 42 in 8-bit binary?
11010110, which is 256 - 42 = 214.