IMPORTANT Flashcards

1
Q

Identify an attribute in the lizard class?

A

Speed, mass or size (features of the class you are creating so it could be model if it was a car)

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

Lizard is a class, describe what is meant by a class?

A

A class is a template/blueprint that is used to make objects. Classes do this by defining methods and attributes which make up the class.

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

What is meant by inheritence?

A

Where a child class takes methods and attributes from a parent class. All of the child’s class’s and attributes do not have to be from the parent class as they can have their own ones too. They can also change details of the methods and attributes they inherit.

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

Explain one way the game’s developers might use inheritance for Livid Lizards.

A

The lizard class could be used as the base class and different breeds of lizards could be created by inheriting atribues and methods from the lizard class

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

BRP

A

Branches if it is 0 or positive

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

BRZ

A

Branches if it is 0

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

BRA

A

Always branches

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

What is BRA used for?

A

When BRP or BRZ is not met it can branch somewhere else

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

What is a secondary key?

A

They identify rows in a table and thus can be used alternatively as primary keys to locate specific data

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

What are secondary keys used for

A

Retrieval purposes as they can make retrieval quicker and easier

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

How to delete whole rows from sql

A

Do not use a where clause so all values will be deleted

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

How to delete specific rows from sql

A

Use where clause to specify conditions that need to be met

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

Can you delete specific columns from sql

A

No

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

What does ten dat 10 do?

A

Creates a variable/identifier that has a numeric value of 10

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

What is the computer misuse act?

A

legislation that criminalises unauthorised access to computer systems and data, and the damaging or destroying of these

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

4 elements of computer misuse act?

A

Unauthorised access to computer material. …
Unauthorised access to computer materials with intent to commit a further crime. …
Unauthorised modification of data. …
Making, supplying or obtaining anything which can be used in computer misuse offences.

17
Q

Why could computer misuse act criminalise people with no bad intentions

A

People could create software that they do not realise could be used in computer misuse acts if their software is advanced enough

18
Q

How is the misuse act undefective

A

Legislation regarding computer systems and the internet such as the computer misuse act can have laws and elements that may be hard to clarify and understand as it is harder to say what is and is’nt against the law so people with advanced knowledge of computer systems may be incriminated without realising

19
Q

When was the computer misuse act made?

A

1990

20
Q

What is a sub-class?

A

A class that inherits from another class (child class)

21
Q

What is a super class?

A

The class from which the subclass inherits from(parent class)