1/44
Looks like no tags are added yet.
ALU
Performs arithmetic and logical operations
Registers
Located in the CPU to provide very fast access to temporarily stored data
CU
The control unit controls and coordinates CPU activities and decodes instructions and sends control signals
Fetch
CPU retrieves instructions from RAM and transfers it
Decode
Control unit decodes instructions and determines what operations should be performed
Benefits of sub programs
Allows groups to work on it
Allows reusability
Makes debugging easier
Makes larger problems smaller
Syntax error
Code that breaks grammatical rules of programming languages
Conditional test possibilities
True or False
Execute
Instruction is carries out (ALU performs calculation or logical operations maybe). Data can be moved or stored
Binary Search
Split list and eliminate half
Linear Search
Checks one by one
Bubble sort
Compares and sorts neighbouring numbers
Merge sort
Divides the list into multiple subsets until each number is a subset of its own
Sample interval
The time between taking samples
Sampling rate
Measurement of sound wave at a particular moment
Logical shift
When shifts it replaces the empty space with a 0
Arithmetic shift
When shifts right, fills to copy leftmost digit
When shifts lef, fills empty space with a 0 (can cause overflow)
Penetration testing
Authorised access to a system to identify its vulnerabilities
Compiler
Translates source code to machine code
Compiler characteristics
Translates the whole program at once
Errors are reported at the end of translation
Interpreter
Translates high-level language programs during execution
Interpreter characteristics
Slower execution
One instruction at a time
Operating system
Manages hardware and software
OS tasks
File management, User management, Peripheral management, Process management
File management
OS records the file in a node and organises it. When opened by the user it accesses the node and retrieves it/
Process management
Switches processor time between processes
Peripheral Management
Processes input to the appropriate software then the data to the required output. Communicates with the external device
User management
Authentication and access. Checks whether users can access certain files or not.
Audit Trail
Chronological record of system activities and events
Code review
Inspection of source code for defects or vulnerabilities
Robust Software
A software that operates reliably when unexpected inputs are entered
Robot
Programmed machine that carries out tasks automatically
Utility software
System software that carries out maintenance, optimisation or protection
File repair utility
Scans files, checks for error or faults, attempts to repair, reports status of success
Backup Utility
Identifies data to be backed up, creates copies, stores it separately
Data-compression utility
Selects files, creates a reduced representation, stores the compressed version, decompresses when needed.
Anti-malware utility
Detects malware, blocks it from entering the system, quarantines it, deletes from the system.
Utility software tasks
File repair, disk-defragmentation, backup, anti-malware, compression
low-level code
Commands are closely related to cpu functions
Difficult for humans to understand
Machine dependent
High-level languages
Allows to focus on algorithm
Portable
Easier for humans
Translator required
Compiler
Translates whole high-level program into machine code. Produces a machine code that can be run
Malware
Malicious software to damage disrupt or gain unauthorised access
Virus
Malware that attaches itself to another file/program and replicates when the user runs that file/program
Worm
Malware that replicates and spreads across networks and files