Second Prelim Flashcards
What is the role of CSS in ensuring that a site is displayed correctly on each device?
Media queries would be used to consider the size of the viewport
Separate rules are implemented depending on the detected device screen width
What is an array of records?
-
What is meant by open source?
Shared with all users
Source code is open
Open source is a model of software development based on peer collaboration and open access to code
Parameter passing by reference
Change made to parameter are retained when the subprogram finishes
Parameter is passed in and out of the subprogram
Parameter passing by value
Parameter is copied when passed
Updates discarded when program terminates
Items other than data that are held by a register
Memory Address
Instruction
Function
Subprogram which returns a single value
Parameters passed not usually returned
Function name used just like a variable
HTML and CSS purposes in separating formatting from structure of a document
HTML provides structure of the document/content
CSS rules provide formatting information for tags/styles in document structure
How usability testing is carried out?
Users given devices with new interfaces and directly observed as they use these
Asked to perform tasks using the devices which relate to realistic situations
Complete questionnaires before and after as feedback
Phishing description
User receives email from supposedly trusted source
Requests sensitive information
Email spoofing
Advantage of open source over proprietary other than licensing cost
Updates by community
Testing/Identification of security flaws
Ability to build own versions of applications
Advantages of using a 1-D array to store a list of values
Saves time
Makes code efficient
One line required to implement parameter passing
Individual elements referenced by indexing
How does halting a programs execution using a breakpoint help with finding errors within a program?
Values of variables inspected to determine issues
Ability to step into/over code to assess effect
Program flow/logic inspected
Defining records
RECORD TYPE name
Data Type: Record Name
Data Type: Other record name etc
END record
Declaring records
ARRAY[Amount to be stored] of Name