topic 3 Flashcards

1
Q

what is bubble sorting

A

it repeatedly steps through a list of data. switches them across if they are in wrong order. simple

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

how many passes does a bubble sort do

A

it does one for every time it swaps a number then one at the end to check if its in the right order

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is insertion sort

A

it compares a number with the number before in the array. if its greater stays. if lower compare with each number before that. smart

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is merge sort

A

splits the array in 2, puts them into pairs and compares them. sort looks at 2 pairs, first item in both pairs compared. then first item compared again then orders them. highly efficient

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is linear search

A

searching through a set of data, one after another until you find what you need.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what is binary search

A

only works if the data is in order

start search at middle and works out if its lower or higher. then halves that middle and does that same

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what is malware

A

it is any software that can harm a computer or user

viruses, spyware, adware, pharming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what are viruses (malware) (standard, worm, trojan)

A

they are small programs to cause physical damage to a computer system.
standard virus - hide in files, replicate themselves to spread
worms virus - dont damage data they replicate themselves so pc slows down and stops
trojan virus - disguised as helpful programs but in background cause harm.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what are spyware (malware)

A

it spys on users and sends data back to hacker

key logger - records every key you hit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

what are adware (malware)

A

doesn’t delete data but gives you ads and collects data about your online habits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

what are pharming (malware)

A

every time you try and go to a site it redirects your IP from the DNS to another site

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

what is phishing

A

fake emails and shit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

what is a brute force attack

A

a way to get a password by trial and error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

what is a DOS

A

stop websites by using up lots of resources and stopping the website. done by using many computers to access the site

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

what is penetration testing

A

mimic these attacks to see if their security is safe

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

what is the operating system

A

without it no programs will run because operating system is responsible for controlling/communicating with computer hardware

17
Q

where does the operating system sit

A

it sits between the application and the hardware

18
Q

what is the kernal

A

it is the heart of the operating system and responsible for the low-level hardware operations

19
Q

what are the five major roles for the operating system

A
memory management
peripheral management 
multi-tasking
security
user interface