last minute Flashcards
What is a number base?
The amount of symbols, notations it used to represent value
How many digits are in it’s number system
What is a character set?
A group of characters that a computer recognises from their binary representation
What is data compression?
The method is reducing file size , while trying to make the compressed file s true to the original as possible.
What are some uses of data compression?
0️⃣smaller files take up less storage on a device
0️⃣streaming and downloading files from the internet is quicker as they take up less bandwidth
0️⃣allows web pages to load more quickly into web browsers
0️⃣Emails have restrictions on size, but with compression you can send attachments
What is Lossy compression?
Permanently removing data from the file , to limit the number of bits the file needs , therefore reducing space.
✅less bandwidth
✅reduce a lot of file size
❌cannot be used on text or software files
❌cannot regain original file , but the worse quality is normally unnoticeable
MP3 , AAC ,JPEG
What is lossless compression
Data is removed temporarily, so reduction in quality. then restores to it’s original state ✅can be Used for software and text files ❌only slight reduction in file size FLAC, TIFF, PNG
Huffman
Lossless data compression
- Make a frequency tally for the amount of times a letter was used
- Order it from lowest to highest
- put the two lowest together and addd the Total, keep on branching off until all the values are done.
- Zeros on the left hand side
- On the chart add the new binary values
Run Length Encoding
Another form of lossless compression
1. Count the number of times the same data is repeated and store this instead
2. Store the information as data pairs
(Number of pixels, colour)
Times number by 8 and colour by colour depth and add it all together
3. Compare this to the previous by timing width and height of pixels by colour depth.
What is the function of system software?
system software manages the computer system resources and acts as a platform to run application software
What is the function of the operating system?
A collection of programs that manage and control the computer. Connects the hardware with the software
Embedded system
Dedicated systems within a larger system
Only have ROM,
Cheaper
Less power required- batteries
Pros and cons of high and low level languages
*low language is efficient use of hardware available
Compiler pros and cons
✅programs run quickly , as have already been translated
✅only needed once to create an executable file , which is then portable
❌source code must be re-compiled every time the programmer changes the
program
❌code must be completely error free to compile
Interpreter pros and cons
✅once an error is found , the program is stopped, debugging is easier
✅✅
❌no executable file is made , so an interpreter is needed each time the program want to be run
❌program run more slowly , as code is being translated ❌
Low Level languages pros and cons
LL ✅= more control over program , program can be made with less memory use (more efficient)
Greater control over CPU, program may bee needed to run quicker
Maintain old code / hardware
❌=
Harder to read and learn ,
Only works for one type of machine and architecture
what are some advantages of embedded systems ?
✅Use ROM instead of RAM for main memory , which is cheaper
✅more reliable, require less maintamce and lasts longer
Why might assembler language be used ?
More readable than machine code, Easter to write and edit programs
assembly language has a 1:1 correspondence with machine code
What are advantages and disadvantages of cloud storage?
:)can be accessed from anywhere,
data can be shared ,
cheap,
provides back up/security
:( need Wi-Fi,
data vulnerable to hackers,
Why choose a high level language?
🟡High level have built in subroutines
🟡Provides programming structures such as iteration and selection
🟡Easier to debug
🟡Easier to understand (more easier to read)
What is a computer system?
Two or more computers , that are CONNECTED together that are able to exchange data with each other. Allowing software and hardware to be shared.