Chapter 4 (Pt. 1) Flashcards
What are the fundamental building blocks of all computer systems?
- Binary Represenation
- Boolean Logic
- Gates
- Circuits
How are numeric and textual information represented?
Two types of information representation
- External Represenation
- Internal Represenation
Binary represenation is a base-2 positional numbering system.
How do we convert from binary-to-decimal?
- Whenever there is a 1 in a column, add the positional value of that column to a running sum
- Whenever there is a 0 in a column, add nothing
- The final sum is the decimal value of this binary number.
What are the preset limiations to binary storage?
Maximum number of binary digits that can be used to store integers: 16, 32, or 64 bits.
Define:
Arithmetic Overflow
Operation that produces an unasigned value greater than 65,535; 16 bit system.
What is the alternative name to the base 8 system?
Octal Numbering Sytem
How do you convert from binary to base eight (vice versa)? from base ten to eight (vice versa)?
To covert from binary to base eight: group in threes.
To convert from eight to binary: expand in threes.
From ten to eight: use binary as the intermediate.
What is the alternative name for base sixteen?
Hexadecimal Numbering System
How do you convert from binary to base sixteen (vice versa)? from ten to base sixteen (vice verse?
To convert from binary to base sixteen: group in fours.
To convert from base sixteen to binary: expand in fours.
To convert from base ten to sixteen use binary as an intermediate.
How are fractional numbers represented in binary?
Can be represented in binary by using signed integer techniques; assigned a specific bit(s) as indicators for decimal or cutoff.
Normalize the number
- First significant digit is immediately to the right of the binary point
How is scientific notation represented in binary?
- ±M x B±E
- M is the mantissa, B is the exponent base (usually 2), and E is the exponent
How is textual information encoded in binary?
Code mapping
- Assigning each printable letter or symbol in our alphabet a unique number
ASCII
- International standard for representing textual information in the majority of computers
- Uses 8 bits to represent each character.
Describe encoding systems.
- Encoding systems are used to assign a number for each letter or character
- There are many possible encoding systems, with each one using its own assignment
What are certain pitfalls of different enconding systems?
- Any given computer needs to support different encodings
- When data is passed between different encodings or platforms, the data runs th risk of corruption.
Define:
Unicode
- An international encoding standard for use with different languages and scripts.
- Each letter, digit, or symbol is assigned a unique numeric value that applies across different platforms, program and languages.