Prelim Flashcards
Scope and Constraints
Scope - What is to included
Constraints - The limitations
Examples of Intellectual Property rights
Protects visual website design
Copyright - Creator has right to all artwork used
Trademarks - Use of trademarks is a breech of IPR
How usability testing can be used to evaluate a sites accessibility
Test group given a test case and asked to carry out task
Test group required to use alternatives
Developers can make notes on difficulties
This would give them feedback regarding the accessibility of that page
SQL statement to display certain data
SELECT attribute
FROM Entity
WHERE entity.foreignkey = entity.foreignkey
AND Attribute = ‘value’ ;
Suitability of design with smartphone/tablet devices
Accuracy - Text Input gives flexibility but the chance of misspelling
Selection of data is fiddly but more accurate
Less Strain on resources - Users complete tasks quicker and free up servers etc quicker
The difference between an object and a class
Class is a template which defines methods and attributes
Object is an instance of a class
Encapsulation
Access to attributes, operations and class can be limited Eg attributes only being available to a certain class Out with this class must be accessed via use of that classes methods
Instance variable
Data values which every instance of the class will have
Class variable
Available to all instances and defined inside the class definition
The difference between an object and a class
Class is a template which defines methods and attributes
Object is an instance of a class
Encapsulation
Access to attributes, operations and class can be limited Eg attributes only being available to a certain class Out with this class must be accessed via use of that classes methods
Inheritance
When a new subclass inherits all of the methods and attributes from the parent class It can have methods/attributes of its own
Instance variable
Data values which every instance of the class will have
Class variable
Available to all instances and defined inside the class definition
SQL statement to create a table
CREATE TABLE table name ( Field name datatype NOT NULL PRIMARY KEY (field1, field2) FOREIGN KEY (Fieldname) REFERENCES originaltable(samefieldname) );
Inheritance
When a new subclass inherits all of the methods and attributes from the parent class It can have methods/attributes of its own
HTML to generate forms
Button element for creating buttons
Sign Up
Description of insertion sort
Field and field compared, swap/no swap
Algorithm to remove data from the top of a queue
IF front=back THEN
ELSE
SET front to front-1
END IF
Code to instantiate a class object
DECLARE identifier (team1) INITIALLY Team ("Value", "Value", "Value")
Code to create an array of objects
DECLARE arrayname as ARRAY OF objectname * dimension required eg 32
Describing a procedure call using OO terminology
Since subclass name inherits methods and properties from parentclassname The method name method in the subclassname class overrides the method name method in the parentclassname
Sequence of stack operations required to produce a new table
Pop data to be moved
Push data to be added, push data just moved