Computer Science - J277

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

1/75

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.

76 Terms

1
New cards

Fetch-Decode-Execute

fetch the next instruction, decode the instruction, execute the instruction.

2
New cards

control unit

controls execution
decodes
regulates and controls system clock
sends and recieves contol signals

3
New cards

ALU

logical / arithmetic / shift operations

4
New cards

special purpose registers

special very fast memory locations within the CPU with specific purposes in the process of executing instructions.

5
New cards

MAR

holds address of data to be fetched

6
New cards

MDR

temporarily holds data that is being transferred to or from memory

7
New cards

PC

hold address of next data

8
New cards

ACC

holds results of operations from ALU

9
New cards

factors affecting CPU performance

clock speed
number of cores
cache size

10
New cards

cache memory

type of memory used to temporarily store frequently used data or programs for quick access; similar to RAM but faster.

11
New cards

embedded system

- small computer system with a specific purpose that is built into a larger device

- reliability / minimal resources

12
New cards

virtual memory

space on a hard disk or other storage device that simulates random access memory when it is full

13
New cards

RAM

volatile
stores programs currently being used
memory can be written to or read from

14
New cards

ROM

non-volatile
store BIOS
can only be read from

15
New cards

features for choosing secondary storage

capacity
speed
portability
durability
reliability
cost

16
New cards

magnetic devices

magnetic disks are read and written to with a moving head inside the disk drive
they often contain moving parts and are susceptible to damage
magnetic devices can be either internal or portable

17
New cards

SSD

more reliable
lighter
faster
lower power consumption
thin - no moving parts

18
New cards

optical devices

lasers write data to disc and read data from it

19
New cards

images

(image width x image height x colour depth) / 8

20
New cards

how is an analogue signal converted

- analogue recieved by microphone
- convert to electrical analogue signal
- signal amplitude measured at regular intervals
- values round to a level
- values stored as series of binary value

21
New cards

what is sample rate

The number of audio samples captured every second

22
New cards

what is sample resolution

The number of bits used to store each sample

23
New cards

what is the sample size

The number of seconds over which the sample was taken

24
New cards

calculate sample size

( sample rate x sample resolution x seconds ) / 8

25
New cards

What is an IP address?

a sequence of numbers that uniquely identifies each computer or device connected to the Internet

26
New cards

how is DNS used

- URL sent to DNS where it is translated
- if IP address is found it is transferred back to user
- if IP address not found it is passed to next DNS before returning error message

27
New cards

what does each packet contain

- IP address its going to
- IP address its come from
- sequence number of packet
- number of packets in whole communication
- error checking data

28
New cards

advantages and disadvantages of star topologies

adv :
- if one cable fails rest of devices still work
- consistent performance
disadv :
- costly
- if server fails then whole network fails

29
New cards

What is symmetric encryption?

An encryption method in which the same key is used to encrypt and decrypt a message

30
New cards

what is asymmetric encryption

uses 2 different keys - public + private

31
New cards

what is a wireless access point

This is the point which a wireless enabled device connects to a network

32
New cards

what is a router

A piece of hardware that forwards packets across a WAN

33
New cards

what is a switch

component of LAN that learns MAC of each individual device connected to it
- froward inbound packets to intended recipient

34
New cards

what is a NIC

a communications device that enables a computer or device that does not have built-in networking capability to access a network

35
New cards

describe ethernet

family of protocols which describe how devices should format data ready for transmission.

36
New cards

describe wifi

family of protocols that make wireless networking run smoothly

37
New cards

describe Bluetooth

It has a short range radio frequency and is used for personalised networks

38
New cards

what is meant by hosting

company that stores files for you and make them available for you

39
New cards

What is cloud computing?

where processing and storage are performed elsewhere over a network connection rather than locally

40
New cards

factors affecting network performance

bandwidth -
number of devices connected - as devices increase bandwidth get used up
latency - time delay between first transmission of first byte and when its received
errors in transmission - due to noise or distortion
interference - any electromagnetic field can weaken wifi connection eg. micro waves / phones

41
New cards

protocols - TCP / IP

TCP - defines how packets are broken up and reassembled
IP - identifies location of devices + packets

42
New cards

protocols - HTTP / HTTPS

HTTP - access and receive web pages in form of HTML
HTTPS - encrypts info so it cant be understood if hacked

43
New cards

protocols - FTP

used when transferring computer files between client and server on a network

44
New cards

protocols - POP

receives and holds email until individual picks it up
- sent email is stored locally
- works best with one computer

45
New cards

protocols - IMAP

stores email messages on server
- different devices

46
New cards

protocols - SMTP

send emails between servers
- necessary if two different email service providers

47
New cards

describe layers

- break up the sending of messages into separate components and activities
- easily adapted by new suppliers
- application layer , transport layer, internet layer , link layer

48
New cards

application layer

Encodes the data being sent so that it will be understandable by the recipient.

49
New cards

transport layer

splits data into packets and adds packet information

50
New cards

internet layer

responsible for addressing, routing, and packaging data packets

51
New cards

link layer

attatches MAC address of sender and recipient

52
New cards

how are computers used in the modern world

communication
employment
shopping
manufacturing

53
New cards

Recent developments in software

DeepMind AlphaGo program
- split itself in half and played millions of matches against itself
- learnt from each victory and loss

54
New cards

environmental impact of computers

- carbon footprint
- waste products
- means people drive less

55
New cards

who is a stakeholder / key stakeholder

- anyone affected by the company's actions or policies
- owner of company / community / supplier

56
New cards

data protection act 2018

key principals when holding personal data
- fair / lawful / transparent process
- purpose limitation
- data minimisation
- accuarcy
- data security

57
New cards

computer misuse act 1990

prevent unauthorised access / hacking
- unauthorised access to computer material
- unauthorised modification

58
New cards

copyright design and patents act 1998

protect creators from having their work illegally copied

59
New cards

what is abstraction?

- removing unnecessary details from a problem in order to solve it

60
New cards

what is decomposition?

- breaking down a complex problem into smaller problems and solving each one individually

61
New cards

linear search

start at beginning of unsorted list and stop when number found

62
New cards

binary search

sorted list keeps halving until number is found

63
New cards

bubble sort

compare adjacent element and if in wrong order then swap

64
New cards

insertion sort

one data item placed in correct location at a time

65
New cards

merge sort

continuously divide list in half until each sub-list is one then each sub-list sorted

66
New cards

what is casting

changing one variable type to another

67
New cards

what is concatenation?

the joining of two or more strings

68
New cards

to get length of string

stringname.length

69
New cards

to get a substring

stringname.substring(startingposition, numberofcharacters)

70
New cards

to convert cases

stringname.upper
stringname.lower

71
New cards

procedure vs functions

procedure doesnt return a value however a function does

72
New cards

different types of validation

range / presence / format / length / type

73
New cards

ways to make program understandable

leave white space between codes
add comments
use indentation
use subprograms to make it modular
sensible names for variables

74
New cards

what is a syntax error

grammatical mistake in a program

75
New cards

what data should test tables include

normal - typical data designed for program
boundary - both ends of range and data just outside this
invalid - outside limits of valid data
erroneous - different data type

76
New cards

what is a logic error

when program doesn't run the same way as expected