1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Revise later
SpaceTo flip
If confident
All Flashcards
What are the differences between analog and digital data?
Analog: Continuous, smooth changes | Digital: Discrete, finite values.
What are the differences between ASCII and Unicode?
ASCII: Limited character set, 7 bits | Unicode: Larger character set, variable bits.
Compare decimal and binary number systems.
Decimal (Base-10): Uses 0-9 | Binary (Base-2): Uses 0 and 1.
Compare binary and hexadecimal number systems.
Binary (Base-2): Uses 0 and 1, longer representation | Hexadecimal (Base-16): Uses 0-9 and A-F, shorter representation.
What are the differences between overflow and rounding errors?
Overflow: Exceeding maximum storage capacity | Rounding: Approximation due to limited precision.
Compare the number of values representable by 4 bits and 8 bits.
4 bits: 2^4 = 16 values | 8 bits: 2^8 = 256 values
Compare abstraction in everyday life and in computing.
Everyday: Using appliances without knowing internal workings | Computing: Using variables without knowing binary representation.
Compare the use of binary vs hexadecimal for representing memory addresses.
Binary: Directly represents bits, verbose | Hexadecimal: Compact representation of binary, easier to read.
Compare the storage requirements of ASCII and Unicode for English text.
ASCII: 1 byte per character | Unicode: Typically 1-4 bytes per character, often 2 for English.
Compare the representation of numbers in low-level and high-level languages.
Low-level: Fixed number of bytes, prone to overflow | High-level: Dynamic, handles overflow automatically (usually).
What is the decimal equivalent of binary '1101'?
13
What is the binary equivalent of decimal '10'?
1010
What is the hexadecimal equivalent of decimal '15'?
F
What is the hexadecimal equivalent of decimal '255'?
FF
What is the decimal equivalent of hexadecimal 'A'?
10
What is the decimal equivalent of hexadecimal '10'?
16
If an 8-bit system stores the number 255 and you add 1, what happens?
Overflow error (wraps around to 0 or a negative number depending on the system).
What is the result of 50/3 in a system that only stores two decimal places?
16.66 (rounding error).
Convert the binary number 101101 to decimal.
45
Convert the decimal number 47 to binary.
101111
How is binary used in computer memory?
To store all data and instructions as 0s and 1s.
How is hexadecimal used in color codes?
To represent RGB color values (e.g., #FFFFFF for white).
Give an example of abstraction in a smartphone.
Using apps without knowing how they interact with the operating system.
How is digital data used in music?
To store audio files as a series of discrete samples.
How is abstraction used in web development?
Using HTML and CSS without needing to understand the underlying network protocols.
How are overflow errors relevant in financial calculations?
They can lead to incorrect balances if large sums exceed the storage capacity.
How are rounding errors relevant in scientific simulations?
They can accumulate and affect the accuracy of the results over time.
How is binary used in image representation?
Each pixel's color is represented by a binary code.
How is hexadecimal used in representing memory addresses?
Provides a more human-readable and compact way to represent binary memory locations.
How is digital data used in medical imaging (e.g., X-rays)?
Analog signals are converted to digital data for storage and processing, allowing doctors to view and analyze the images.