Week 7-13 Flashcards
(22 cards)
Types of Relationships
Generalisation:
- Denotes inheritance (“a-kind-of”)
Aggregation:
- Denotes logical a-part-of relationship
Association:
- Any other relationship
SQL Create Table Syntax
CREATE TABLE Project (
ProjectCode Char(10) NOT NULL,
ProjectTitle Char(10),
ProjectManager Char(20),
ProjectBudget INT,
PRIMARY KEY (ProjectCode) );
SQL Insert Data Syntax
INSERT INTO Project (ProjectCode, ProjectTitle, ProjectManager, ProjectBudget) VALUES (‘PC010’, ‘Pension System’, ‘M Phylips’, 24500)
SQL Selecting Data Syntax
SELECT ProjectTitle, ProjectManager, ProjectBudget
FROM Project
WHERE ProjectBudget < 20000
ORDER BY ProjectBudget;
SQL Updating Data Syntax
UPDATE Project
SET ProjectTitle = ‘Payroll System’
WHERE ProjectCode = ‘PC010’;
SQL Deleting Data Syntax
DELETE FROM Employee
WHERE employeeNo = ‘10001’;
Principles of UI Design
- Layout
- Content Awareness
- Aesthetics
- Consistency
- Minimal user effort
- Usability
What is overloading?
Methods within a class that have the same name but different signatures.
What is overriding?
Allows a subclass to provide its own implementation of a method that is already defined in the superclass.
What is coupling?
When changes in one part of the program requires changes in another part
What is cohesion?
A method should be implemented into a single function
What is high fan-in?
High fan-in refers to the number of methods in a class that calls a particular method
Types of Architecture Patterns:
- Monolith
- N-Tier
- Serverless
- Microservices
- Peer-to-peer
What are the type of tests?
- 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
What is the difference between black box and white box tests?
Black box tests are external test while white box tests are internally based on method specification
What is information hiding used for?
Information hiding is used to prevent access to particular attributes
What is polyporphism?
Polymorphism is the ability of an object to take on many forms (implemented in multiple ways in different classes/objects)
Why do we used architecture patterns?
We used architecture patterns to make code recognisable to other developers.
What do deployment diagrams show?
Deployment Diagrams shows hardware/software components (locations and how they are networked)
What is cloud computing?
Cloud computing uses external data centers or servers to handle tasks and provide services instead of local servers or computers.
What is Green IT?
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)
UI Evaluation Techniques
- Heuristic
- Walkthrough Evaluation
- Iterative
- Formal Usability Testing