CompSci AS P1 memo
CompSci AS P1 memo
PUBLISHED
• Parity
• Checksum
A B C Working space Q
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1
NOT
NAND
OR
XOR
Output
Instruction
Address Memory Address
IX ACC
0 41 71 40 70 43 69
75 2
76 71
77
78
79 G
80 1
81
76 41
77
78
79 )
80 0
81
76 0
77
78
82
• Direct
• Indirect
• Relative
3(c)(ii) EA 1
3(c)(iii) –39 1
MAR ← [PC]
PC ← [PC] + 1
MDR ← [[MAR]]
CIR ← [MDR]
NOT
• Peripheral/hardware/device management
• Error detection and recovery management
Language translator
Backup
Integrated Development
Environment (IDE)
Graphics
Defragmenter
Spreadsheet
e.g.
• Virus checker // anti-malware
• Disk formatter
• Disk contents analysis/disk repair
• System clean-up
• File compression
• Firewall
• Encryption
• $first_name
• $last_name
• $result
06
07
13
• C in correct position
• B and D in correct positions
• A in correct position
Open Source
• The (source) code is distributed with the software
• users can modify the software
• The software is (usually) free of cost
• Users must redistribute the modified software under the same terms
Commercial
• The software is (usually) purchased for a cost
• A licence defines how it can be used
• The source code is not distributed // users cannot change the software
e.g.
• To identify what employees can do
• To identify what employees cannot do
• To identify the repercussions of employees performing activities they
should not
• To identify the company's/employee's responsibilities
• To identify the company's values/missions
• To identify what behaviour/events/activities can be measured against
• To identify how they will comply with legislation
Example:
ALTER TABLE EMPLOYEE
ADD Gender CHAR(1);
Example:
SELECT FirstName, LastName, Salary
FROM EMPLOYEE
WHERE Salary > 17 500;
Spatial Redundancy
• Intra-frame // Redundancy within a frame
• Pixels in a single video frame have the same value
• A description of an appropriate compression method e.g. RLE
Temporal Redundancy
• Inter-frame // Redundancy between frames
• Pixels in a sequence of consecutive video frames have the same
value in the same location
• …records only the differences between the frames