Week 7-13 Flashcards

(22 cards)

1
Q

Types of Relationships

A

Generalisation:
- Denotes inheritance (“a-kind-of”)
Aggregation:
- Denotes logical a-part-of relationship
Association:
- Any other relationship

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

SQL Create Table Syntax

A

CREATE TABLE Project (
ProjectCode Char(10) NOT NULL,
ProjectTitle Char(10),
ProjectManager Char(20),
ProjectBudget INT,
PRIMARY KEY (ProjectCode) );

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

SQL Insert Data Syntax

A

INSERT INTO Project (ProjectCode, ProjectTitle, ProjectManager, ProjectBudget) VALUES (‘PC010’, ‘Pension System’, ‘M Phylips’, 24500)

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

SQL Selecting Data Syntax

A

SELECT ProjectTitle, ProjectManager, ProjectBudget
FROM Project
WHERE ProjectBudget < 20000
ORDER BY ProjectBudget;

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

SQL Updating Data Syntax

A

UPDATE Project
SET ProjectTitle = ‘Payroll System’
WHERE ProjectCode = ‘PC010’;

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

SQL Deleting Data Syntax

A

DELETE FROM Employee
WHERE employeeNo = ‘10001’;

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

Principles of UI Design

A
  • Layout
  • Content Awareness
  • Aesthetics
  • Consistency
  • Minimal user effort
  • Usability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is overloading?

A

Methods within a class that have the same name but different signatures.

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

What is overriding?

A

Allows a subclass to provide its own implementation of a method that is already defined in the superclass.

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

What is coupling?

A

When changes in one part of the program requires changes in another part

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

What is cohesion?

A

A method should be implemented into a single function

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

What is high fan-in?

A

High fan-in refers to the number of methods in a class that calls a particular method

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

Types of Architecture Patterns:

A
  • Monolith
  • N-Tier
  • Serverless
  • Microservices
  • Peer-to-peer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the type of tests?

A
  • Unit tests, Single part of the program
  • Integration tests, Assess if classes work together without error
  • System tests, Ensures all classes work without error
  • Acceptance tests, Performed by users to confirm user and business needs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the difference between black box and white box tests?

A

Black box tests are external test while white box tests are internally based on method specification

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

What is information hiding used for?

A

Information hiding is used to prevent access to particular attributes

17
Q

What is polyporphism?

A

Polymorphism is the ability of an object to take on many forms (implemented in multiple ways in different classes/objects)

18
Q

Why do we used architecture patterns?

A

We used architecture patterns to make code recognisable to other developers.

19
Q

What do deployment diagrams show?

A

Deployment Diagrams shows hardware/software components (locations and how they are networked)

20
Q

What is cloud computing?

A

Cloud computing uses external data centers or servers to handle tasks and provide services instead of local servers or computers.

21
Q

What is Green IT?

A

Green IT is anything that reduces the environmental impact of IT

(Such as reducing E-Waste, going paperless, or reducing energy consumption of data centres and desktops)

22
Q

UI Evaluation Techniques

A
  • Heuristic
  • Walkthrough Evaluation
  • Iterative
  • Formal Usability Testing