CS paper 2

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

1/215

flashcard set

Earn XP

Description and Tags

3.3,3.4

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

216 Terms

1
New cards
algorithm
a sequence of steps that can be followed to complete a task
2
New cards
computer program
an implementation of an algorithm
3
New cards
binary
base 2
4
New cards
denary
base 10
5
New cards
hexadecimal
base 16
6
New cards
why do computers use binary?
easy to represent,
7
New cards
bit
a single binary digit
8
New cards
nibble
4 bits
9
New cards
byte
8 bits
10
New cards
why do we use hexadecimal in computing?
it is easier for humans to read than binary
11
New cards
left binary shift
multiplies a number
12
New cards
right binary shift
divides a number
13
New cards
what do binary shifts do?
multiplies/divides a number by 2
14
New cards
how many bits are used to encode in ASCII?
7 bits
15
New cards
how many bits are used to encode in unicode?
16 bits
16
New cards
advantages of ASCII
takes up less space
17
New cards
advantages of unicode
can encode more characters eg in other languages
18
New cards
how many codes are the same in ASCII and unicode
the first 127
19
New cards
pixel
picture element
20
New cards
bitmap image
made up of pixels
21
New cards
vector graphics
shapes are used to represent an image
22
New cards
colour depth
number of bits used to represent each pixel
23
New cards
image file size calculation in bytes
height x width x colour depth /8
24
New cards
what are vector graphics better for?
artificial images
25
New cards
what are bitmap images better for?
representing more complex images or natural landscapes
26
New cards
amplitude
the maximum displacement of a wave
27
New cards
frequency
the number of cycles per second
28
New cards
sample
measure of amplitude at a given point in time
29
New cards
sample rate
number of samples taken per second
30
New cards
sample resolution
the number of bits used to represent each sample
31
New cards
sound file size calculation in bytes
length x sample rate x sample resolution
32
New cards
how are sound waves converted from analogue to digital sound?
the signal is sampled at regular intervals, the samples are approximated, each integer is encoded as a binary number with a fixed number of bits
33
New cards
huffman coding
a lossless compression method based on how frequently a piece of data occurs
34
New cards
lossless compression
no data is lost and the file can be decompressed with all of tis information intact
35
New cards
data compression
storing a file using less memory
36
New cards
lossy compression
some data is lost when the file is compressed
37
New cards
huffman compressed file size
total bits x frequency of each character x 7 bit ASCII
38
New cards
run length encoding (RLE)
reduces the physical size of repeating strings into two bytes
39
New cards
what are the two bytes in RLE
byte 1 : represent the number of characters in a run byte 2 : the value of the character in the run
40
New cards
advantage of RLE
good when there are long runs of repeating characters
41
New cards
analogue
data which can use any value in a continuous range
42
New cards
software
computer programs that give instructions to the computer to run
43
New cards
application software
a program designed to perform a specific task that the user interacts with directly
44
New cards
system software
controls the computer hardware and manages the application software
45
New cards
network
two or more computers that are connected together
46
New cards
the internet
a global network of interconnected computers, refers to the hardware
47
New cards
world wide web
a service that has web pages and other data
48
New cards
LAN
local area network
49
New cards
WAN
wide area network
50
New cards
PAN
personal area network
51
New cards
advantages of a network
can share resources, allows communication, allows easier network
52
New cards
disadvantages of a network
greater security risk, malware can spread more easily, if there is a problem it can affect the whole network
53
New cards
personal area network
set up around an individual person
54
New cards
example of a PAN
bluetooth
55
New cards
local area network
covers a relatively small geographical area
56
New cards
wide area network
covers a much wider geographical area, made up of many local area networks
57
New cards
WLAN
wireless local area network
58
New cards
wireless access point (WAP)
a switch that allows devices to connect wirelessly
59
New cards
Boolean logic
a data type with two values, true or false
60
New cards
what makes up logic gates
transistors
61
New cards
logic gates
form the basis of decision making in a computer
62
New cards
NOT gate
outputs the opposite of the input
63
New cards
AND gate
only true if both inputs are true
64
New cards
OR gate
true if either of the inputs are true
65
New cards
XOR gate
only true if one of the inputs is true not both
66
New cards
von Neumann architecture
the design of a CPU created by von Neumann in 1945
67
New cards
stored program concept
where program instructions and the data to be processed are stored in the same memory system
68
New cards
Arithmetic logic unit (ALU)
where arithmetic and logic operations take place
69
New cards
Control unit (CU)
controls and monitors data transfer between different input and output hardware and decodes machine code
70
New cards
Clock
keeps the CPU components synchronised
71
New cards
Central Processing unit (CPU)
controls the interpretation and executuon of instructions in a computer
72
New cards
bus
wires through which data is transferred
73
New cards
registers
memory locations in the CPU used to store frequently accessed data and instructions
74
New cards
data bus
carries data between components
75
New cards
address bus
carries the memory address to find the next instruction
76
New cards
control bus
carries instructions from the CPU
77
New cards
instruction set
a set of commands for the CPU that tells it how to perform arithmetic and logic operations, handle data and read/write to memory, and control the flow of code
78
New cards
fetch execute cycle
fetch, decode, execute
79
New cards
RAM
random access memory
80
New cards
is main memory volatile
yes
81
New cards
volatile memory
the content is erased when the computer is turned off
82
New cards
ROM
read only memory
83
New cards
is secondary storage volatile
no
84
New cards
BIOS
basic input output system
85
New cards
what does BIOS do
tells the CPU to perform self checks and set up the computer by testing the memory, checking what hardware is present and coping the operating system into the RAM
86
New cards
main memory
where all data, files and programs are stored while they are being used
87
New cards
which memory type can be read and written to
RAM
88
New cards
secondary storage
used to save files and holds software like the operating system
89
New cards
Magnetic hard disk drive (HDD)
tracks with tiny magnets, the polarity of the magnets determines the binary digit, concentric rings of magnets
90
New cards
advantage of HDD
cheap
91
New cards
disadvantages of HDD
moving parts can break, electromagnetic surge could corrupt data, slow speed of read/write access
92
New cards
optical disk (CD)
track with pits and land, uses a laser to read data
93
New cards
advantage of optical disk
can transfer easily between computers
94
New cards
disadvantages of optical disk
can scratch easily, not much storage, no unlimited writes
95
New cards
solid state drive (SSD)
uses transistors with electrons
96
New cards
advantages of SSD
much faster, reliable when reading, quiet
97
New cards
disadvantages of SSD
more expensive, less reliable when writing
98
New cards
operating system
most important piece of system software
99
New cards
what does the operating system do
manages the processor, memory, input/output devices, applications and security
100
New cards
disk defragmentation
organises files on a disk to be located contiguously