Computer Science GCSE

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

1/181

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

182 Terms

1
New cards

Why do computers use binary?

Transistors store data using on and off, this can be represented in binary using 1s and 0s.

2
New cards

A bit is

binary digit

3
New cards

A nibble is

4 bits

4
New cards

A byte is

8 bits

5
New cards

A kilobyte is

1000 bytes

6
New cards

A megabyte is

1,000,000 bytes

7
New cards

A gigabyte is

1,000,000,000 bytes

8
New cards

A terabyte is

1,000,000,000,000 bytes

9
New cards

A petabyte is

1,000,000,000,000,000 bytes

10
New cards

Denary means

decimal number

11
New cards

100 to binary

01100100

12
New cards

Binary number 01101000 to denary

104

13
New cards

A character set is

A list of all possible characters a computer can store and an equivalent binary number

14
New cards

ASCII is

A character set that stores characters using 8 bits per character

15
New cards

Unicode is

A character set that stores characters using 16 or 32 bits per character

16
New cards

How are images stored in binary?

-All colours in an image are assigned a unique binary number

-An image is made up of lots of pixels

-Each pixel is assigned a binary number based on its colours

17
New cards

An image has the resolution of 500 x 500 and contains 15 colours. Work out how many bits would be required to store this image. Your answer should be given in megabytes.

500 x 500 = 250,000

2^4 = 16 (colours)

250,000 x 4 = 1,000,000

1,000,000 / 8,000,000 = 0.125mb

18
New cards

A different image takes 500kb to store. A camera has 20MB of storage, how many images can it store?

20 x 1,000,000 = 20,000,000

500kb x 1000 = 500,000

20,000,000 / 500,000 = 40

40 images can be stored

19
New cards

Meta data is

extra information stored about a file e.g. the time last edited

20
New cards

Colour depth is

the number of bits required to store a single colour

21
New cards

Colour depth 1,2,3,4

2,4,8,16

2 to the power of colour depth

<p>2,4,8,16</p><p>2 to the power of colour depth</p>
22
New cards

How would a word be converted into binary?

By each letter individually converted using a character set

23
New cards

3 colours =

Colour depth of 2 x. amount of pixels

24
New cards

Binary addition rules

knowt flashcard image
25
New cards

binary addition e.g.

knowt flashcard image
26
New cards

Binary shift

-The numerical value of a binary number is doubled when a binary number is left shifted one place

-The numerical value of a binary number is halved when a binary number is right shifted one place

27
New cards

overflow error

When the result of a binary addition has more bits than expected and the most significant bit is ignored

<p>When the result of a binary addition has more bits than expected and the most significant bit is ignored</p>
28
New cards

hexadecimal

The hexadecimal number system is base 16, using only digits 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A(10), B(11), C(12), D(13), E(14), and F(15).

<p>The hexadecimal number system is base 16, using only digits 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A(10), B(11), C(12), D(13), E(14), and F(15).</p>
29
New cards

100 to hexadecimal

6,4

30
New cards

7E to denary

-7 x 16

-E = 14

-112+14=126

-126=01111110

31
New cards

Convert the hexadecimal number to E5 to binary

E = 14

14 x 16 = 224

224 + 5 = 229

229 = 11100101

32
New cards

Truth table

knowt flashcard image
33
New cards

Logic gates

knowt flashcard image
34
New cards

And gate symbol

^

35
New cards

Or gate symbol

V

36
New cards

not gate symbol

¬

37
New cards

Compression

modifying/restructuring a file to reduce its size

38
New cards

lossy compression

-Lossy compression is when data is lost in order to reduce the size on secondary storage

-Lossy compression is irreversible

-Lossy can greatly reduce the size of a file but at the expense of losing quality

-Lossy is only suitable for data where reducing quality is acceptable, for example images, video and sound

39
New cards

Losseless compression

-Lossless compression is when data is decreasing file size in order to reduce the size on secondary storage

-Lossless compression is reversible, the file can be returned to its original state

-Lossless can reduce the size of a file but not as dramatically as lossy

-Lossless can be used on all data but is more suitable for data where a loss in quality is unacceptable, for example documents

40
New cards

The effect of colour depth and resolution on the size and quality of an image file.

-As the resolution and/or colour depth increases, the bigger the size of the file becomes on secondary storage

-The higher the resolution, the more pixels are in the image, the more bits are stored

-The higher the colour depth, the more bits per pixel are stored

- The better resolution and colour depth the better the image quality

41
New cards

How audio is converted to binary

The sound is sampled at regular intervals. The amplitude of the wave is converted to binary

42
New cards

Sample rate is

Number of samples taken each second when recording sound.

43
New cards

sample interval is

The time gap between measurements of the sound wave being taken.

44
New cards

bit depth is

he number of bits used to represent each sound sample

45
New cards

The effect of sample rate on playback quality and file size

Playback quality= higher sample rate means more detail, better sound quality

File size = higher sample rate means more data, larger file size

46
New cards

The effect of sample interval on playback quality and file size

Playback quality= lower sample intervals means more detail, better sound quality

File size = lower sample intervals means more data, larger file size

47
New cards

The effect of bit depth on playback quality and file size

Playback quality= higher bit depth means bigger range, better sound quality

File size= higher bit depth means more data per sample, larger file size

48
New cards

bits required to store an image if there are 16 pixels and 4 colours

16 pixels x 2 colour depth = 32

49
New cards

5mb file - how many can be stored in a 1gb hard drive?

5mb/1000 = 0.005gb , 1/0.005 = 200 files

50
New cards

Computer

A computer is an electronic device that : takes input; processes data; and delivers output

51
New cards

Von Neumann Architecture consists of

A Control Unit, and Arithmetic Logic Unit, Main Memory ( RAM) and inputs and outputs

52
New cards

ALU ( arithmetic logic unit)

Performs arithmetic calculations and makes logical decisions

53
New cards

CU( Control unit)

Send signals to control how data moves around the CPU

54
New cards

Cache

Provides fast access to frequently used instructions and data

55
New cards

the use of cache memory and the role it plays in improving processing speeds

- stores the most frequently used instructions

- faster than accessing RAM

56
New cards

The purpose of the CPU

To process data and instructions, and to fetch and execute instructions

57
New cards

Fetch-decode-execute cycle

1. The PC is copied to the MAR

2. The instruction in the address that the MAR is pointing to is copied into the MDR

3. The PC is incremented by 1

4. The CU decodes the instruction in the MDR

5. The CU executes the decoded instructions

6.The cycle repeats

58
New cards

Registers

PC, MAR, MDR, ACC

59
New cards

Program Counter (PC)

holds the address of the next instruction to be executed

60
New cards

Memory Address Register (MAR)

hold the address of the current instructions being executed

61
New cards

Memory Data Register (MDR)

hold the actual data and or instructions that is being stored in RAM

62
New cards

Accumulator(ACC)

where arithmetic and logic results are temporarily stored

63
New cards

Factors affecting CPU performance

-Clock speed = cycles per second measured in hertz

-Cache size = Superfast working memory

- Number of cores- The number of duplicate processors linked together on a single chip

64
New cards

embedded systems

a computer system with a dedicated function within a larger mechanical or electrical system

65
New cards

typical properties of embedded systems

- low power consumption

- small size

- rugged operating ranges

- low cost per unit

66
New cards

RAM

Random Access Memory = You can read and write, volatile - currently stored instructions e.g. word , powerpoint

67
New cards

ROM

Read Only Memory = You can only read, non-volatile, operating system stored - partially , BIOS- inputs and outputs

68
New cards

3 main types of primary memory

ROM, RAM , cache

69
New cards

why do we need secondary storage?

-as a non volatile memory which is needed in order to keep files and data when the computer has no power

70
New cards

Magnetic storage HDD

Read/write magnetically (gets damaged easily - moving parts)

71
New cards

Solid-state storage (SSD) e.g. usb stick

Data is recorded onto solid memory chip without any moving parts(electronically)(does not get damaged easily)

72
New cards

Optical Storage CD/DVD

lasers read and write data using light (if scratched might lost data)

73
New cards

Disadvantages and advantages of different secondary storage

HDD is expensive and durable for longer amounts of time data can be stored but can get damaged when dropped

SSD is expensive per GB is durable

Optical is less expensive but can get damaged if scratched

<p>HDD is expensive and durable for longer amounts of time data can be stored but can get damaged when dropped</p><p>SSD is expensive per GB is durable</p><p>Optical is less expensive but can get damaged if scratched</p>
74
New cards

What is a network?

More than one computer system connected together.

75
New cards

Advantages of a network

-Transfer files quickly and easily

-Share peripherals and internet connections

-Access files from any computer on a network

-Control security, software updates and backups via a server

-Communicate with each other via email and social media

76
New cards

Disadvantages of a network

-Increased security risk to data

-Malware and viruses can spread easily between computers

-If a server fails, the computer connected to it may not work

-Computers may run slower if there is a lot of data travelling on the network

77
New cards

WAN

Wide Area Network - The internet

78
New cards

LAN

Local Area Network e.g. school network

79
New cards

internet

network of an interconnected networks

80
New cards

LAN info

-e.g. school network

-computers are connected at one geographical area

-Connected by wireless, ethernet cables, fibreoptic

-Less expensive than WAN

-Privately owned

-More secure - anti viruses, firewalls, account management

-Speed- faster speed of up to 1000mbps

81
New cards

WAN info

-e.g. the internet

-Computers/devices are connected over a large geographical area

-Connected by phone lines, internet connection, satelite, fibre optic, public network systems

-More expensive - as you use a dedicated line

-Publicly owned

-Less secure

WAN is a collection of LAN whereas a LAN is a collection of devices

82
New cards

Factors affecting the network

-Bandwidth = higher - more data can be transferred at once

-Number of users = more users , slower network

-Transmission media = copper/fibre optics - speed higher, ethernet

83
New cards

Bandwidth

-The amount of data that can be sent and recieved successfully

in a specific period of time

-Not a measure of how fast data travels but how much data can be sent via transmission media

-Measurement: bits per second - bit rate

84
New cards

Number of users

Too many users or devices on same network can cause to slow down if there is insufficient bandwidth available

85
New cards

transmission media

-Wired connections offer higher bandwidth than wireless connections

-Fibre optic cables offer higher bandwidth than copper cables

86
New cards

error rate

Less reliable connections increase the number of errors that occur when data is transferred, resulting in data having to be resent. The signal quality of wireless is dependent on the range of the device and other environmental factors. Quality of signal provided by copper cables is determined by grade of material used- higher quality cable, higher better signal. Length of cable is a factor

87
New cards

latency

Caused by battlenecks in network infastructure e.g. not using switches appropriately segment network traffic. Various pieces of hardware like switches and cables may not operate at same speed.

88
New cards

IP Address (Internet Protocol Address)

logical address of your device

89
New cards

IPv4

32 bits from 0 to 255 e.g.:

15.1.200.105

Binary-8bits,8bits,8bits,8bits

90
New cards

IPv6

128 bits e.g.:

16 bits, 16 bits, 16 bits, 16 bits, 16 bits , 16 bits , 16 bits

A105:BBC:6BA:7CE:...:...:....:

Hexa + denary numbers

91
New cards

A router

has a unique WAN - facing ip address and a LAN - facing ip address - this enables a LAN device to have the same IP address as another device on a separate LAN

92
New cards

MAC address

Media access control - physical address of your device

48 bits long

8bits,8bits,8bits,8bits,8bits,8bits

CB:AB:6D:CF:C8:AA

Hexadecimal & denary

93
New cards

Wireless access points

allows wireless - enable devices to connect to a network without cables

94
New cards

router

to connect your N/W to the outer N/W WAN/ Internet

95
New cards

Switch

sends data between computers on a LAN. Allows the LAN to connect to a WAN

96
New cards

Network Interface Card (NIC)

it allows a device to connect to either a wired or wireless network (faster)

97
New cards

hardware required to connect a standalone computer to a LAN

-A network interface controller connects a device to wired or wireless network. An NIC uses a protocol to ensure successful communication

-Wireless access points allow wireless-enabled devices to access a network.Wired connections are popular because they avoid the need to install cables

-A router sends data between networks and is required to connect a local area network to a wide area network. Routers uses device's IP address to route traffic to other routers

98
New cards

DNS (Domain Name System) how it works

1. You open your web browser and type in a URL(e.g. "Google.com")

2. Your browser sends a request to a DNS server to find the IP address for "google.com"

3. The DNS looks it up and returns the IP address (e.g., "142.250.190.78")

4. Your browser then connects to the web server at the IP address

5. The web server sends the website's content back to your browser

6. Your browser displays the website for you to use

99
New cards

Web server common functions

-hosting websites

-dealing with client requests

<p>-hosting websites</p><p>-dealing with client requests</p>
100
New cards

Web page

stored as text (HTML,CSS,JavaScript) - sent to a browser which uses various rules to render it correctly