Set 2 Flashcards
Checked by Matt. Covers content between SA1 and SA2 in the BPCompSci topic list
Describe what an interrupt is and explain the purpose of interrupts.
A signal is sent to the processor (from a hardware device or program)
So that a device or source that needs the immediate attention of the processor can be dealt with.
Describe how the hardware of a computer could be improved so that programs can be executed more quickly.
- Replace the processor with one which has more cores
- Replace the processor with one which has more cache memory
- Increase clock speed of processor
- Use a parallel processor architecture
- Use a processor with a bigger word size
- Use a processor that makes (better) use of pipelining
- Install more RAM // main memory // primary memory
- Use RAM with a faster access time
- Replace the motherboard with one which has buses which run at a faster clock speed
- Replace the motherboard with one which has more lines in data bus
How many bytes are in a kilo/mega/giga byte?
1 thousand/1 million/1 billion or 1000/1,000,000/1,000,000,000
How many bytes are in a kibibtye?
1024 bytes
How many kibibytes are in a mebibyte?
1024 kibibytes
List the prefixes starting kibi…
- kibi
- mebi
- gibi
- tebi
How many bits does ASCII use? How many characters can it represent?
- ASCII uses 7 bits to represent characters (hence max 128 characters)
- However, 8 bits are used to store each character (preceding 0)
- The leading 0 is sometimes used as parity bit instead
How does ASCII work?
- Each of the characters is assigned a numeric character code
- Which is represented and stored in the computer as binary
What is the downside of ASCII?
ASCII is not sufficient to represent all of the languages and scripts used around the world
Why is unicode needed?
- ASCII can’t represent all languages and scripts
- ASCII can’t represent all possible symbols
- The World Wide Web made it important to have a universal international coding system
Which is the most common unicode encoding standard used?
UTF-8
What are the first 128 codes in unicode the same as?
The first 128 codes in ASCII
What is clock speed?
The frequency at which the system clock ticks
What is word length?
Word Length is the number of bits in a word
(A word is the fixed size unit of data. It affects register size, address size and other aspects of the computer)
What is the address bus width?
- The number of bits that can be used to form an address of a memory location
- Or the number of parallel wires allocated to the address bus