1.4.2 / 1.5 Flashcards

(38 cards)

1
Q

What is an array?

A

An ordered, finite set of elements of a single data type

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

How would you implement a 1D array?

A

Array = [1, 2, 3 , 4 , 5, 6]

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

What would be the result of this code:
Array = [1,2,3,4,5,6]
print( Array[2])

A

3

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

How would you implement a 2D array?

A

Array = [[1,2,3,4,5,6],[7,8,9,10,11,12]]

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

What is a record?

A

A row of a file which is made up of fields

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

How would you implement a record for a table : Fighters?

A

FighterDataType= record
Integer ID
String FirstName
String LastName
end record

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

What is a list?

A

Consists of a number of ordered items of any data type and items can occur more than once

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

What is a tuple?

A

An imutable ordered set of values of any data type

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

What is a linked list?

A

A dynamic data structure used to hold an ordered sequence

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

What are the disadvantages of a linked list?

A
  • Nodes aren’t removed, just ignored
  • No direct access to nodes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a graph?

A

A set of vertices/nodes connected by edges/arcs

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

What are the 3 types of graph?

A
  • Weighted
  • Directed
  • Undirected
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a hash table?

A

An array couples with a hash function

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

What is the data protection act?

A

An act which applies to data kept on both computers and in organised filing systems.

Protects personal data

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

What are the 8 laws covered in the data protection act?

A

1 - Data should only be kept for as long as necessary
2 - Data shall be processed fairly
3 - Data shall only be kept for one specified purpose
4 - Data shall be adequate, relevant and nor excessive
5 - Plans should be put in place to protect data
6 - data shall be kept up to date where possible
7 - Data subject has right to request data held about them
8 - Data shall not leave the EU unless the country as sufficient data protection

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

What is the computer misuse act?

A

Prevents malicious use of computers

17
Q

What are the 3 offences of the computer misuse act?

A

1 - Unauthorised access to computer materials
2 - Unauthorised access to computer materials with the intent to commit further crimes
3 - Unauthorised modification of computer materials

18
Q

What is the copyright, designs and patents act?

A

An act which automatically protect any original ideas and peoples property online

19
Q

What is the regulatory and investigatory powers act?

A

Covers investigation. surveillance and interception of communication by public bodies.

Forces internet service providers and mobile phone companies to give up info upon request

20
Q

What is ethics?

A

Our values as a community and how these impact different groups of people in society

21
Q

What are morals?

A

Our personal values and how we choose to behave

22
Q

What are some of the advantages of computers in the workplace?

A
  • Improved efficiency
  • Reduced manufacturing/delivery times
  • Reduced costs
  • Reduced strain on workers
  • New jobs created
23
Q

What are some disadvantages of computers in the workplace?

A
  • Structural unemployment
  • High dependence on them
  • Reduced human touch
24
Q

What are some of the advantages of automated decision making?

A
  • Improved efficiency
  • Can be used for social media feeds
  • Can make decisions quick
25
What are some disadvantages of automated decision making?
- People could be treated unfairly - Creates a 'bubble' and close minded society
26
What is AI?
The ability of a computer to replicate human intelligence, cognitive ability and grasp of abstract concepts
27
What are some advantages of AI?
- Can be used in medical research - Helps solve problems
28
What are expert systems?
Computers replicate the knowledge and experience of an expert in a particular field
29
What are some of the advantages on the environment of computers?
- Smart home systems - Used to find greener methods - Reduce waste
30
What are some disadvantages of computers on the environment?
- Shipped to third world countries with lower environmental standards - contain harmful chemicals - lots of electricity used to power devices
31
What are some advantages of censorship?
- Necessary for national security - Reduces distractions at work
32
What are some disadvantages of censorship?
- Can be used to push political views - Should government have that much control?
33
What are the advantages of using computers to monitor behaviour?
- Reduced crime/ improved security - Can monitor productivity at work
34
What are the disadvantages of monitoring behaviour?
- Reduced freedom/privacy
35
What are the advantages of using computers to analyse data?
- Can reveal insights into behaviour - Can be used to find solutions to problems
36
What are the disadvantages of using computers to analyse personal data?
- Can be used against the subject (EG life insurance) - Can be used to target propoganda/advertising
37
What is big data?
A large collection of data from multiple sources
38
What is data mining?
The analysis of big data to find patterns