EoY CS Yr 7 Flashcards
(23 cards)
What is an algorithm?
A sequence of instructions or a set of ules that are followed to complete a task or solve a problem
What is the difference between telling a person vs computer what to do?
Computers need exact instructions and cannot judge for themselves . They also need to be given instructions by code.
What is programming/coding?
It is making a list of instructions for a computer
Sequence defintion
A series of instructions executed one after another in order
Iterations/Loops
Repeating a block of code multiple times until a condition is met
Selection/if-else statements
Making decisions in code by executing different blocks based in conditions
Variables
Named containers that store data (liek numbers, text, etc.) which can change during program execution
Why do modern computers all use binary?
It’s the simplest and most reliable way to represent data electronically:
- In computers ther are 2 stable states so can easily be ON (1) or OFF (0)
- noise resistance; it’s harder for elctrical signals to get confused between 2 clear states vs. Multiple levels
- simpler logic; binary works perfectly with Boolean algebra, making computations efficient
What does it mean to digitise information?
Converting real-world data (like text, sounds, or images) into binary numbers (0 + 1) so computers can store, process and transmit it
Converting units of storage:
Bits to nibbles
Bits to bytes
Bytes to kilobytes
Kilobytes to megabytes
Megabytes to gigabytes
Gigabytes to terabytes
4 bits to 1 byte
8 bits to 1 byte
All else are 1000 to 1
Storage capacity of:
Ipad
Iphone
64 GB
128 GB
Size:
Word doc, pic, mp3 song, DVD film, Blu-ray film
50-350KB, 10MB, 3-6MB, 5GB, 15-30GB
What is the cloud?
A network of servers that you access through the internet
Main function of motherboard
central hub that connects and allows communication between all critical components of a computer, making them work together
Main function of CPU (Central Processing Unit)
brain of the computer, executing instructions and performing calculations that make all software and hardware work. works a lot with RAM
Main function of Heat Sink
help keep the processor (CPU) cool otherwise it may burn
Main function of RAM (Random Access Memory)
main memory of computer. is volatile as if computer is switched off, all memory is erased, as it needs power to work. works a lot with CPU
Main function of hard disk drive
used to save bits permanently for Second Memory/Storage
Main function of CD/DVD/Blu-ray Drive
These are called Optical discs. we do not use these as much these days as we have more efficient and portable devices that have the same function
Main function of USB connector
Connect input or output devices to the computer
Diff. between input and output devices
input- receives information from the physical world (e.g. sound button, apple pencil, touch id, controller)
output- gives out information (e.g. playing music, screens)
Amount of bits in a nibble
4
Secondary storage
Data is stored here here permanently, even when the computer is off