Computer Systems Flashcards
What do computers use to store data?
Binary
What is the binary value of 123?
01111011
What is the Denary value of 10101001?
169
What is a floating point?
A floating-point number is made of two parts called the Mantissa and Exponent.
How are real numbers stored on a computer?
By the Mantissa and the Exponent.
What is the mantissa?
The Mantissa is the “number” part of the scientific notation.
What is the Exponent?
The Exponent is the “power” of the scientific notation.
What is the name of the method of storing real numbers on a computer?
Floating Point Representation.
What is the name given to the binary code for all characters?
ASCII
What does ASCII stand for?
American Standard Code for Information Interchange
What is the limit of ASCII?
256
What is the name of the total number of pixels in a bit-mapped image?
Resolution
What is the name of the total number of colours used in a a bit-mapped image?
Bit Depth
What is bit depth?
The number of bits used to store each pixel in an image.
Bit-Mapped images are one type of graphic. What is the other type of graphic?
Vector Graphic
How are Vector Graphics stored?
By it’s attributes
What are some examples of attributes of vector graphics?
- Line colour
- Fill colour
- Coordinates
What are the types of vector objects?
- Rectangle
- Line
- Ellipse
- Polygon
What is the definition of fill colour?
Fill Colour is the colour used to fill the inside of a vector graphic.
What is the definition of line colour?
Line Colour is the colour used on the rim of the vector graphic.
Advantages of vector graphics?
- Smaller file size - do not store data about each individual pixel. For a large illustration, such as a poster, a vector graphic would have a significantly smaller file size compared to a bitmap image.
- Scalable - when you resize a vector graphic the mathematical relationships mean that the image does not lose quality. A vector graphic the size of a postage stamp could be resized to be used on a poster and the image would still be clear.
Disadvantages of vector graphics?
Vector graphics are never going to be as lifelike as bitmaps or photos. They will always appear computer generated.
What is a bitmap?
A bitmap is a grid of pixels. Each pixel has a colour associated with it.
Advantages of bitmaps?
They can capture real-life images such as photos.
What is a vector graphic?
In a vector, the image is made up of shapes called objects. Each object has a list of attributes.
What is a pixel
An individual square in a bitmap image.
What does CPU stand for?
Central Processing Unit
What does a CPU do?
- Fetch, decode and execute information from the RAM
- Perform arithmetic calculation
- Perform logical operations
- Control read, write, clock, interrupt and reset lines
What are the three components of a CPU?
- ALU
- Registers
- Control Unit
What does ALU stand for?
Arithmetic Logic Unit
What does an ALU do in the CPU?
- Performs all calculations
- Performs comparisons on numeric values
- Makes decisions based on logic (AND, OR, NOT)
What do the Registers do in the CPU?
- Fast temporary storage locations within the processor
- Stores addresses, data, or instructions being used by the CPU
What does the Control Unit do in the CPU?
- Runs the flow of data around the computer
- Uses a clock to synchronise events
- Has a reset line to reset the contents of the registers
- Has an interrupt line which is used to signal that there is an event needing attention
What does the Clock Speed tell us about the CPU?
The Clock Speed is a measure of how quickly a CPU can handle and complete tasks. It is measured in Hertz (Hz).
What does RAM stand for?
Random Access Memory
What is the RAM?
The RAM is a temporary storage location for data until it is needed by the CPU.
What happens to RAM when a program is closed?
Data held in RAM is deleted.
What are the names of the two buses?
Data Bus and Address Bus
What does the Data Bus do?
- Carries data from memory to be used and stored by the processor
- It is bi-directional because data can travel both ways
What does the Address Bus do?
- Tells memory which memory location is being read from
- Tells memory which memory location is being written to
- Is uni-directional (or one-way) because the address always goes from the processor to the memory
What are the two types of translators?
Interpreters and Compilers
What do Interpreters do?
An interpreter translates source code into machine code one line at a time.
Advantages of Interpreters?
- Errors are notified after each line has been interpreted making debugging easier
- You can run your code without it being finished
Disadvantages of Interpreters?
- Statements in a loop are translated repeatedly
- Code has to be translated each time it is run
What do Compilers do?
A compiler translates the entire source code program to object code in one go.
Advantages of Compilers?
- Code only has to be translated once
- Users don’t need to have the translator program running
Disadvantages of Compilers?
- Users have to re-translate the whole program if they want to make a change
- All errors are reported after the compilation
What are the three main ways to reduce the amount of energy used by our computers?
- Monitor Settings
- Power down settings
- Standby
What are the settings that we can alter via the monitor which allow us to save energy?
- Reduce brightness
- Not using a screensaver
- Using efficiency mode, if it is a feature
- Using energy-efficient monitors
What is Standby mode another name for?
Sleep Mode
What happens when a computer goes into standby mode?
- RAM continues to be powered
- Software in use is temporarily stored until the user resumes work
- Power to other components is significantly reduced
What is the other kind of power saving mode?
Hibernate Mode
What happens when Hibernate Mode is activated?
- Contents of RAM are copied onto the hard disk
- Hard Disk saves a permanent copy
- Almost all components are completely turned off or are on very low power
Why do some people argue that using standby and hibernate modes is better than shutting the computer down?
Because starting up a computer after shutdown causes a surge in power to components.
What is data usually split into before it is sent across a network?
Packets
eg. an image file is not sent as one single file but instead a separate packets which are used to assemble an image file once they are received.
What do firewalls do?
- Ensure that data packets meet specific criteria before entering a network
- Deny unauthorised access
What are firewall rules made from?
- Port Number
- Protocols
- Sender IP address
- Receiver IP address
What is encryption?
Encryption is the method of scrambling data up in order to stop any unauthorised person(s) from reading it.
When using encryption, what is it pivotal to ensure?
Make sure that the sender and receiver of the encrypted data are following the same code or key.