Y10 Computer Science End of Year

0.0(0)
studied byStudied by 4 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/164

flashcard set

Earn XP

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

165 Terms

1
New cards

hardware definition

machines, wiring, and physical components of a computer

e.g. mouse, keyboard, circuit board, wiring

2
New cards

software defintion

the programs and other operating information of a computer

e.g. notepad, chrome, files

3
New cards

RAM

Random Access Memory, also known as main memory

volatile storage - retains no data when power is turned off

holds data/instructions that’s currently in use. works with the CPU so that instructions can be stored & processed

can be read, written to and deleted, and is very fast since it holds no permanent data

4
New cards

CPU definition

central processing unit, where all instructions are processed in a computer

a circuit containing lots of transistors which store program instruction which allow the processor to execute instructions

5
New cards

computer system definition

a system that accepts an input, processes it, and turns it into an output. storage is needed to hold the input and output

hardware and software allow this to happen alongside other computer components

6
New cards

computer architecture definition

the design of a computer system and the different components in it

7
New cards

von neumann architecture

architecture used by modern computers

designed by john von neumann

common instructions are stored in memory alongside data, making computers more versatile. this is known as the stored program concept

8
New cards

control unit (CU)

understands instructions and tells the other components what each instruction needs from them. coordinates all parts and makes sure they’re all working together

9
New cards

ALU

arithmetic logic unit

calculator of the cpu - handles mathematical and logical operations that are required in an instruction

10
New cards

cache

very fast memory in the CPU. stores frequently used instructions, reducing the need to access from RAM

11
New cards

registers

very small, very fast memory locations inside the CPU

MAR, MDR, CIR, PC, ACC

12
New cards

Registers: MAR

Memory Address Register

stores memory addresses used when searching for data in RAM

13
New cards

Registers: MDR

Memory Data Register

stores data when fetched from the MAR

14
New cards

Registers: CIR

Current Instruction Registers

stores data that’s currently being worked on

15
New cards

Registers: PC

Program Counter

points to the next instruction to be fetched and increments each time this happens, keeping track of how many instructions there are in a program

16
New cards

Registers: ACC

Accumulator

stores the result of a calculation - the warehouse of the CPU

17
New cards

Fetch-execute cycle

  1. Fetch: instructions loaded into main memory & each is fetched in order and put into appropriate registers

  2. Decode: binary representation of the instruction is decoded by the control unit

  3. Execute: control unit tells the other components what they need to do for the instruction to happen

18
New cards

three factors affecting cpu performance

  1. clock speed

  2. number of cores

  3. cache size

19
New cards

clock speed (in a CPU)

the clock is the basic unit of time in a CPU - generates regular electronic pulses that synchronise the stages of the cycle

each instruction takes one tick of the clock to complete, so the higher the clock speed the faster the CPU can process instructions

20
New cards

cores (of a CPU)

having multiple cores means that different instructions can be processed simultaneously

dual core processor = 2 processors linked together

quad core processor = 4 processors linked together

21
New cards

cache size (of a cpu)

the larger the cache size, the more frequently used instructions/data can be stored, so the CPU doesn’t have to complete as many fetch-execute cycles from RAM, speeding up performance

22
New cards

embedded systems

a specialised computer system that completes a specific task.

it has all the elements of a typical system (input, processor, output) but no operating system because it’s only dedicated to a few tasks

it’s held in ROM (permanent memory)

it’s typically built into the object/device/appliance that it controls - like a mini computer system inside it

23
New cards

examples of embedded systems

washing machine - you choose the wash time, temp, type of wash (input) and the system takes that and runs the machine accordingly. when it’s done it makes a noise/shows a display (output)

other examples - microwave, satnav, home security system

24
New cards

What are the 4 types of primary memory

RAM, ROM, cache, registers

25
New cards

what does ram stand for

random access memory

26
New cards

what does ram do

holds instructions/data that’s currently in use

works with cpu so that instructions can be stored & processed

data can be read, written to, and deleted

very fast to read & write

27
New cards

is ram volatile or non volatile?

volatile: data is not retained when power is off

28
New cards

what does rom stand for

read only memory

29
New cards

is rom volatile or non volitile

non volatile: data is retained when computer is turned off

30
New cards

what does rom do

it’s a type of main memory directly accessible by the CPU

holds the first instructions the computer needs to start up (bios & bootstrap)

faster than secondary storage but slower than ram

smaller capacity than ram

31
New cards

BIOS

Basic Input Output System

used when computer starts up to check if hardware is working

32
New cards

virtual memory

used if a program needs more memory than is available

space is reserved in secondary storage to act as an extension of main memory

temporarily stores data that isn’t currently being used, freeing up space in ram

33
New cards

3 potential problems with virtual memory

disk thrashing: lots of pages being swapped in & out of virtual memory = high rate of hard disk access

memory capacity reached: too much use of memory

computer lag: computer runs slower because processor has a wait time to be swapped between rem & hard disk

34
New cards

cache

very small very fast memory, stores frequently used instructions and data to make the computer run smoother

prevents the cpu from having to repeatedly fetch instructions from ram

35
New cards

why do we need secondary storage

ram is volatile (data erased when computer turned off) so we need a place to store data permanently

36
New cards

what is the main form of secondary storage on a computer

the hard drive

37
New cards

why do we need primary storage

access times are faster = fetch-execute cycle times are reduced

holds data & instructions needed by cpu

used as short term working memory for hardware directly connected to the cpu (e.g. ram) and components in cpu (e.g. cache & registers)

38
New cards

is secondary storage volatile or non-volatile

non-volatile: data is kept when computer is turned off

39
New cards

what is the main purpose of secondary storage

permanent data store for programs & files

can be built in or external

40
New cards

three different types of secondary storage

magnetic, optical, solid state

41
New cards

magnetic storage (secondary)

uses platters (discs) covered in special material to store data

sections of the material can be magnetised / demagnetised to represent the 2 binary states

a read/write head attached to an arm applied a magnetic field to specific sections to read (measuring whether sections are magnetised or not) and write (magnetising/demagnetising sections of the platter)

42
New cards

advantages of magnetic storage

  • affordable for large capacities

  • infinitely rewritable

  • reliable for long periods of time

  • faster read speeds than optical

43
New cards

disadvantages of magnetic storage

  • slower than solid state

  • requires lots of power

  • not durable because of moving parts

  • not portable

  • can be noisy

44
New cards

optical storage (secondary)

small & affordable

uses reflective discs & light

laser burns marks into reflective surface of discs called pits, and they reflect light representing binary value 1. the spaces in between the pits are lands, which don’t reflect light & represent binary 0

examples include CDs, DVDs & Blu-Ray

45
New cards

how optical storage is read/written

read: laser is set to lower power & shone on disk, light sensor reads whether light is reflected or not

write: disks spin & laser burns pits into reflective surface

46
New cards

three formats of optical storage

read only (ROM)

write once (W)

rewritable (R)

47
New cards

advantages of optical storage

  • affordable

  • small & portable

  • lasts a long time (if stored right)

48
New cards

disadvantages of optical storage

  • expensive for larger capacity

  • easily scratched

  • slow read speeds

  • limited reusability

49
New cards

solid state storage (secondary)

record data using transistors that retain their state even with no power

if a transistor contains elections it equals 0 and if it doesn’t it represents 1

to write, an electrical charge is used to create a binary string which causes the electrons to move between the two states

there are no moving parts, only electronic ones

50
New cards

advantages of solid state storage

  • durable (no moving parts)

  • fast read/write speeds

  • no noise

  • portable

  • high capacity (but not highest)

51
New cards

disadvantages of solid state storage

  • expensive

  • less storage capacity than magnetic

52
New cards

factors to consider when choosing a storage device

  • capacity

  • speed

  • cost

  • portability

  • durability

  • reliability

53
New cards

bit

  • smallest unit

  • symbol b

  • either a 1 or 0

54
New cards

nibble

4 bits

55
New cards

byte

8 bits

symbol B

a single character (a, 2, g)

56
New cards

kilobyte

  • a thousand bytes

  • symbol KB

  • e.g. a small text file

57
New cards

megabyte

  • MB

  • a million bytes

  • e.g. a music file

58
New cards

gigabyte

  • GB

  • a billion bytes

  • e.g. a HD movie

59
New cards

terabyte

  • TB

  • a trillion bytes

  • e.g. a large hard drive

60
New cards

petabyte

  • PB

  • a quadrillion bytes

  • a large data centre

61
New cards

why does everything need to be converted to binary for a computer

computers operate in binary systems - something is either on or off - so information needs to be in binary for the computer to understand it

62
New cards

data capacity

the max amount of information that a storage device can hold

63
New cards

formula for file size of text file

bytes per character x number of characters

64
New cards

formula for size of image files

resolution x colour depth

(resolution = width x height)

65
New cards

formula for size of sound files

sample rate x duration in seconds x bit depth

66
New cards

denary

our number system - 10 digits

it’s a base 10 number system, as each digit has a weight factor of 10 raised to a power

67
New cards

binary

a number system made up of 2 digits: 0 and 1

a base 2 number system: each digit has a weight of 2 raised to a power (starting with 20, 21, 22 etc)

to represent bigger numbers we add more binary digits (bits)

computers use binary to represent dara with transistors which can be only either on or off

<p>a number system made up of 2 digits: 0 and 1</p><p>a base 2 number system: each digit has a weight of 2 raised to a power (starting with 2<sup>0</sup>, 2<sup>1</sup>, 2<sup>2 </sup>etc)</p><p>to represent bigger numbers we add more binary digits (bits)</p><p>computers use binary to represent dara with transistors which can be only either on or off</p>
68
New cards

how to convert denary → binary

  1. write out binary headings 1, 2, 4, 8 etc (more if you need, double each time) up to 128

  2. start with 128 and see if your number goes into each heading or not, write a 0 or 1

  3. move along the rows to the right, subtracting the column heading from the denary value until you have a number under each heading

<ol><li><p>write out binary headings 1, 2, 4, 8 etc (more if you need, double each time) up to 128</p></li><li><p>start with 128 and see if your number goes into each heading or not, write a 0 or 1</p></li><li><p>move along the rows to the right, subtracting the column heading from the denary value until you have a number under each heading</p></li></ol><p></p>
69
New cards

binary → denary conversion

  1. write out headings 1, 2, 4, 8 etc (more if you need, double each time)

  2. write the binary number with one digit under each heading

  3. add together any value with 1 under it

70
New cards

binary golden rules table

knowt flashcard image
71
New cards

what is overflow error with binary addition

when the result of a binary addition exceeds the available bits, and would need another bit to represent it

72
New cards

hexadecimal

number system made up of 16 digits: 10 numbers (0-9) and 6 letters (A-F) representing numbers 0-15

base 16 number system: each digit has weight of 16 raised to a power

one hex digit can represent four bits of binary data (a nibble)

<p>number system made up of 16 digits: 10 numbers (0-9) and 6 letters (A-F) representing numbers 0-15</p><p>base 16 number system: each digit has weight of 16 raised to a power</p><p>one hex digit can represent four bits of binary data (a nibble)</p>
73
New cards

why is hexadecimal used

used when working with large values as it takes fewer digits to represent values

binary is harder to read because there are more bits

binary can also be prone to errors when being copied

74
New cards

converting denary → hex

  1. convert it to binary

  2. split binary number in half (into 2 nibbles)

  3. figure out what each nibble is in hex and put them together to make the hex number

75
New cards

how to convert hex → denary

  1. convert each of the 2 hex digits into binary nibbles

  2. put them together into one long binary number

  3. change the headings into the normal binary ones and convert the binary number to denary

76
New cards

binary shifts

how computers perform basic multiplication & division

binary digits are moved left or right a set number of times

a left shift multiplies a binary number by 2

a right shift divides a binary number by 2

a shift of 2 places would multiply/divide by 4, and so on

any empty columns are filled with a 0

77
New cards

problem with binary shifts

can cause a loss of precision by discarding bits, leading to changes in the numerical value

sometimes overflow & underflow errors can occur too

78
New cards

most significant bit

the bit in a binary number that has the highest value (the leftmost digit)

79
New cards

least significant bit

the bit in a binary number that has the lowest value (rightmost digit)

80
New cards

character set

a list of characters recognised by the computer, with each character being represented by a single number. logically ordered

81
New cards

ASCII

standard code used worldwide for characters

7 bit binary codes

includes punctuation

8th bit added later on for other characters e.g. emojis, symbols, different languages - this is called extended ASCII

logically ordered

normal ASCII only represents basic characters in english - limited use

82
New cards

Unicode

character set used for other alphabets for different languages - solution for ASCII

16 bits

has every character in every major language plus other characters e.g. emojis

but uses more storage space than ASCII

83
New cards

bitmap images

images made out of pixels

each pixel is a single colour, given a binary value to represent it

84
New cards

pixel definition

the smallest identifiable area of an image (picture element)

85
New cards

image resolution

the concentration of pixels within a specific area, defined by the image width & height in pixels

86
New cards

metadata (for image)

metadata is data about data

for images this is the width, height, and bits per pixel

87
New cards

bits per pixel

the number of digits in each of the values assigned to each pixel in a image

the more bits per pixel, the more colour combinations available

88
New cards

colour codes

all colour is made of different values or red, green, and blue

each has a 24-bit colour depth

expressed using HEX values

89
New cards

effect of colour depth & resolution on file size

higher colour depth / resolution = larger file size

90
New cards

sound definition

a pressure wave that causes the air to vibrate. our eardrums then vibrate, allowing the brain to interpret this as sound

91
New cards

analogue sound signals

continuous sound signals, natural sound, computers can’t interpret them

<p>continuous sound signals, natural sound, computers can’t interpret them</p>
92
New cards

digital sound signals

discrete sound signals, so can be converted into numbers that represent aptitude. can be interpreted by a computer as it can be digitalised (turned into binary digits)

<p>discrete sound signals, so can be converted into numbers that represent aptitude. can be interpreted by a computer as it can be digitalised (turned into binary digits)</p>
93
New cards

how speakers work

speakers allow devices to generate sound from binary numbers / digital signals

a vibrating cone in the speaker causes pressure waves in the air, which we hear as sound

94
New cards

amplitude of a wave & what it shows

the height of the wave, representing the volume

the higher it is, the higher the volume of the sound

<p>the height of the wave, representing the volume</p><p>the higher it is, the higher the volume of the sound</p>
95
New cards

frequency of a wave & what it shows

how close together the waves are, shows the pitch

the closer together the waves, the higher the pitch (note)

<p>how close together the waves are, shows the pitch</p><p>the closer together the waves, the higher the pitch (note)</p>
96
New cards

how sound is stored

sound recorded using a device e.g. a microphone that can turn sound waves into an electrical signal

measurements of the level of signal (samples) are taken at regular intervals. they are then converted into binary

97
New cards

sample resolution / bit depth of sound

the number of bits per sample

by increasing sample resolution, you can sample even more of the original analogue wave, increasing quality of the representation

98
New cards

two ways to increase the quality of sound

  1. increase sample rate

  2. increase sample resolution

but both of these will make the file size larger

99
New cards

what is sample rate measured in

hertz Hz

100
New cards

bit depth of a sound file

number of bits available to store each sample, the more there are the better quality the sound is