Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth
The Function of Operating Systems (3.1)
Features of an Operating System (3.1.1)
An operating system provides o o o o o o Management of hardware resources An interface between the user and the machine An interface between applications software and the machine Security for the data on the system Utility software to allow maintenance to be done Error handling
Interrupt Handling (3.1.2)
A new process is added to the queue with a certain priority o If the priority is higher than the current process, the interrupt will be serviced immediately All data concerning the current process is placed upon a stack
Highest priority interrupt is serviced first to avoid data loss/hardware damage The previous process may resume when all higher priority processes have finished (fetch data from the stack)
Process E Process A Process B Process C Process D
(empty) (empty) Stack
Page 1
Process A
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth
Scheduling, Job Queues & Priorities (3.1.3)
Many operating systems need to run many processes at the same time A multi-tasking operating system holds many jobs in its memory o The OS must switch between different jobs in a particular order The switching between jobs is defined by a set of rules/algorithms (known as scheduling)
Sorting rules/algorithms include o Round Robin (RR): each job in the READY queue is allocated an equal time slice, allowing all jobs to gain processor time. If a job completes during its time slice, it will leave the system First Come First Served (FCFS): the first job runs until completion, then allowing the next job to run until completion... and so on. If a long job gets onto the processor, it will not leave until completed Shortest Job First (SJF): the OS places each job depending on the time expected to complete into the READY queue Shortest Remaining Time (SRT): sorts the jobs in the READY queue into shortest time remaining to complete. Long/large jobs may never run as they never get to the top of the queue Multi-level Feedback Queue (MFQ): uses many levels of priority. The job with the highest priority is allowed to run once, before being sent back to the READY queue with a new priority If the new priority is still the highest, it will run again If the new priority is lower than another job, that job will run When a job has the lowest priority, Round Robin is applied
Page 2
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth Scheduling must o o o Maximise the use of the whole computer Allow fair running for each job/user Provide a reasonable response time to jobs/users (both active and batch jobs/users) Prevent the system failing if it is becoming overloaded Be consistent by providing similar response times for similar tasks
o o
A scheduler decides when a job may enter and must leave the processor o A pre-emptive scheme allows the Low Level Scheduler to remove a job from the running state so another job may be serviced A non-pre-emptive scheme will allow a job to continue running until it no longer needs the processor Useful in a small system where there are few jobs Not useful where there are many jobs, as there is a danger of a job monopolising the processor waiting on an input/output
High Level Scheduler (HLS): Places a job into the READY queue, whilst ensuring the system is not overloaded Medium Level Scheduler (MLS): Swaps jobs from the IAS onto the backing store and visa versa (see paging) Low Level Scheduler (LLS): Places and removes jobs in/from the running state. It places the job back in the READY queue in the correct position
A pre-emptive system
Page 3
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth Input/Output bound jobs are jobs that use a peripheral a lot, e.g o o Waiting for a user input Output to a printer
Processor bound jobs are jobs that use the processor a lot, e.g o o Manipulating large images Calculating huge numbers
A = I/O Bound job B = CPU bound job
Memory Management (3.1.4)
Requirements of memory management are o o o o o o Allocate memory to multiple jobs to allow for multi-tasking Allow jobs larger than the total size of memory to run Relocate un-essential pages when needed Protect jobs from each other Protect the operating system Allow memory to be shared by swapping pages
One way of holding jobs and data in main memory, is to split them into equal sized wordspaces called pages o o o o Splitting a (large) program into pages Only part of program needs to be in memory Some of program can stay on disk (virtual memory) Allows program to run when there is insufficient memory
Page 4
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth o o o Splitting memory into pages Both need indexing using a table Sections of program need not be all together
This system is subject to disk threshing, which will slow the entire system down and possibly cause failure or data loss o o o o Occurs when moving pages between memory & disk Disk is relatively slow High rate of disk access More time spent transferring pages than on processing
Direct/Absolute Addressing: a command is sent with the real address (e.g. ADD 10 means Add the data in address location 10) o The amount of memory that can be addressed is limited If using a 16-bit machine and the op-code ADD was 01101, this would leave 2048 address that could be addressed
To execute the same operation on a number of addresses, we would have to write the same instruction many times
Indirect Addressing: a command is sent with an indirect address (e.g. ADD 10 means the address 10 contains the address of the data to be used) o This allows all 16/32/64 bits to be used to address data (access more data)
Indexed Addressing: if we wanted to add together 100 items in an array, we would need 100 instructions (ADD 10, ADD 11, ADD12ADD100. o Indexed addressing includes a special register called the index register (IR) which is initially set to 0 When the first value is taken from 10, the IR becomes 0+10 For every other item, the IR is simply incremented This allows only one instruction to be executed with information it should be done 100 times
o o o
Page 5
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth Relative Addressing: when a program is compiled, it is not always clear where the program and data will be stored in memory, so the instruction ADD 10 is useless as the data may not be in address 10 o o Instead, the start address of a programs block (or page) is recorded in a table Now ADD 10 means ADD (location: [START ADDRESS]+10) Every address is relative to the start address
Immediate Addressing: The real value is in the command to be executed (e.g. ADD 10 means add the value 10)
Spooling (3.1.5)
When a job needs to output to a slow peripheral, a spool will be used to make efficient use of the resources o The CPU outputs to the spool queue the address of the data needing to be output Allowing the CPU to service other jobs, whilst the output is dealt with
The spool queue normally uses First in First out ordering, however jobs can be added with different priorities When a peripheral is ready for the next job in the spool queue, it will read the address, fetch the data and begin to output Spooling allows many jobs/users to use a single output peripheral in turn
(Remember: a spool is different from a buffer, because a buffer allows only one job/user to access it at a time, and it requires the CPU to keep filling it up)
0x07
0x06
0x05
0x04
0x03
0x02
0x01
Output Peripheral
Page 6
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth
Modern PC Operating System (3.1.6)
There are two main types of operating system used today o o Command-based (like MSDOS) Graphical-User-Interface (like Windows)
The OS provides the user and programs with facilities to handle inputs and outputs, copy and move files, handle memory allocation and any other basic task Steps needed to boot a PC o Power-On-Self-Test (POST) routine is executed o Found in ROM Clears all registries and CPU of any left-over data Loads the first value of the boot program into the program counter
Boot program executes Stored in ROM Simplified version of the BIOS (Basic I/O System) Checks the POST routine and Boot program
The CPU now sends signals to hardware to check it is functioning properly System checks: Busses, System clock, RAM, Disk drive and Keyboard
The boot program now checks drive A (often a CD/Floppy Drive) for an OS. If there is no disk, it will check drive C (often a Hard Drive) Once found, the operating systems files are loaded
Page 7
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth The File allocation table (FAT) is a computer file system architecture that o o o o o o o o Maps the location of files on the backing store (sectors grouped in clusters) Provides addresses/pointers to start of files Has a linked list Holds files names Identifies free space Stores access rights is updated by the OS (file saving/deletion) Stored in IAS reduce disk access and to increase the time taken to find a file
The operating system manages the FAT table o o o o o o o Allocation of space on disk Deleting files Copying files Moving files Control file access rights Map logical file addresses to physical addresses on disk Creating shortcuts
Page 8
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth
The Function and Purpose of Translators (3.2)
Types of Translators & their Purposes (3.2.1)
A translator converts o o Human readable commands (high level language) into Machine readable commands (binary/object code)
Low level languages (close to the language used by the computer) o Represent binary with mnemonics, such as o o ADD = 001 (a command) NUM1 = 00101 (an address)
The use of mnemonics in place of binary is called Assembly Language An Assembler translates the mnemonics (using a table) to produce machine code
High level languages (close to the language used by a human) o Because they are close the human language and far from machine code, a more complex translator is needed A Complier takes a high level language (source code) and translates it into a machine code (object code) equivalent A disadvantage of using a compiler is that it if very memory hungry o o o Source code needs to be in IAS Compiler needs to be in IAS Resultant object code is in IAS (to be copied to backing store)
Another disadvantage is that it is hard to pin-point an error in the source code A Interpreter reads the source code line by line, translating it and then executing Errors are easy to pin-point Less demanding on the system resources
Page 9
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth
Lexical & Syntax Analysis, Code Generation & Optimisation (3.2.2)
Lexical analysis o o Each statement will contain a keyword telling the compiler what to do The compiler has a table of accepted keywords and will look up the statements keywords to ensure they exists o o o If the keyword does not exist, an error will be produced
All keywords are replaced by a set of binary numbers called tokens It removes any white space and comments inserted by the programmer It will spot all names (variables/constants) it does not recognise and create a lookup table called a symbol table The symbol table contains the name, data type, memory location and any restrictions for the variable/constant
Syntax analysis o This parse checks the tokens generated by the lexical analyser to see if it is grammatically correct This is done by using Backus-Naur Form rules (see 3.7.2) If a token breaks a grammatical rule, it can output an error for that line of code
o o
Code generation o The compiler now takes the valid strings of tokens and changes them into lowlevel/intermediate code This process is One-to-Many as there are many low-level instructions needed to represent a single instruction in high-level Resulting in a larger resultant file than the original high-level file
Code optimisation o Simply removes the unnecessary code such as (A := A +0) to result in more efficient (faster) code
Page 10
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth
Library Routines (3.2.3)
Are pre-written, pre-compiled and pre-tested routines that recur in many larger programs o This saves time for development and compilation
The routines are loaded into memory when a utility program called a loader needs them and they are linked to the relevant places in the existing code by a utility routine called a linker
IAS
Loader
HDD
Linker
Page 11
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth
Computer Architectures (3.3)
Von Neumann Architecture (3.3.1)
Uses a single processor Following a linear sequence (fetch-decode-execute) Uses special registers to control this sequence Instructions and data stored in the same place
Registers & Fetch-execute Cycle (3.3.2)
The special registers that carry out the fetch-decode-execute are
Address Bus
Data Bus
PC > MAR > IAS > MDR > CIR > Accumulator
The control unit fetches instructions from memory, decodes and synchronises all operations The ALU is where data is processed both arithmetically and logically o o Arithmetical processing involves mathematical operations (add, sub) Logical processing involves logical operations (AND, OR, XOR)
Page 12
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth Fetching o The PC holds the address of the next instruction to be executed As instructions are held sequentially in memory, this can often just be incremented after each cycle (this is not the case when a JUMP instruction is executed)
o o
When the instruction is needed, the content of the PC is copied to the MAR Causing the MDR to fetch the instruction from the IAS at the address specified by the MAR The content of the MDR is then placed in the CIR, ready to be executed
Decoding o The instruction is now split into two parts o o o The operation code The address of the data to be used Op code 0101 ADD Address 100110101001 #9A9
The address is then placed in the MAR Causing the MDR to fetch the data The operation is now decoded by referring to a table This table defines the binary for all operational codes (RISC & CISC) Refined Instruction Set Computer (RISC): is not able to recognise a lot of mnemonics, but greatly decreases process time as it is not spending as much time looking up a table o Some instructions will require a combination of simpler instructions to run
Complex Instruction Set Computer (CISC): can recognise any mnemonic which can make processing faster if there are a great range of different mnemonics being used
Page 13
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth Executing o Now the decoded instruction and the data in the MDR are sent to the necessary locations If the instruction is to store the data, then the data (in the MDR) is placed back into the IAS at the location stored in the MAR If the instruction is a JUMP, the address in the MAR is used to change the PC If the instruction is arithmetical/logical, the data is sent to the ALU to be processed The result being stored in the Accumulator
Other Architectures (3.3.3)
Co-Processors (sometimes called floating point units) o Floating point binary representation requires a long string of bits A maths co-processor is a device which has a number of registers that are long enough to handle the length of a floating point binary number in one go, making processing faster
Allow more complex calculations/processing to be given to a dedicated coprocessor which only processes these similar calculations Such as a GPU (graphical processing unit) Advantage of allowing the CPU to complete other instructions
Page 14
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth Parallel Processors o Different parts of a program can be executed at the same time (providing the program has been designed to have different parts executed at the same time) Advantages o Greatly increases the speed programs can execute Decreases time taken for complex mathematical processing Speeds up the processing of data from many inputs
Disadvantages A more complex program must be developed, compared to the traditional sequential program, to allow execution of different parts at the same time
CPU A
CPU B
CPU C
IAS
Page 15
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth Array Processors o Has many ALUs (arithmetic logic unit) and one processor Useful for manipulating 1 dimensional arrays with the same calculation, where the same calculation can be applied to every element in the array in one cycle
Pipelining o Uses the standard fetch-decode-execute cycle o An instruction can be in any one of these 3 stages
Pipelining allows the system resources to be used more effectively by making sure there is an instruction at each stage of the cycle:
If a JUMP instruction appears, the pipe is broken and a new instruction must be added
Page 16
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth
Data Representation (3.4)
Floating Point Binary (3.4.1)
Uses a mantissa and exponent to represent a fractional number in binary o o Mantissa is the numerical value Exponent is the multiplier constant
Uses normal binary numbering with additional fractional numbers (4, 2, 1, 0.5, 0.25, 0.125) The greater the size of the mantissa, the larger the number you can represent The greater the size of the exponent, the greater degree of accuracy you can achieve
Denary: Binary:
2.25 4 0 2 1 1 0 0.5 0.25 0.125 0.625 0 1 0 0
Mantissa 01001
Exponent 010
Normalisation (3.4.2)
A number must be normalised before it can be stored as a floating point binary number o This means there should be only one leading 0 on the mantissa (unless its a negative number, where it leads with 1 followed by a 0) The exponent is found by moving the decimal place to normalise the mantissa
Page 17
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth
Data Structures and Data Manipulation (3.5)
Implementation of Data Structures (3.5.1)
Static data structures o o Do not change size during execution (e.g. an array) Advantages: o Compiler can allocate memory during compilation Easy to program Easy to check of overflow Allows random access (indexing)
Disadvantages: The programmer must estimate the amount of memory needed to store the structure It can waste a lot of memory
Dynamic data structures o o May change during execution (e.g. a linked list) Advantages: o Only uses the memory needed at any time Makes efficient use of memory
Disadvantages: Difficult to program Can be slow to implement searches Only allows serial access
Page 18
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth A stack is a (LIFO) data structure o To push (add) data, the stack must first be checked it is not full o Next, the pointer (points to the highest data item) is incremented The data item can now be pushed onto the stack
To pop (delete) data, the pointer is decremented. This allows new data to overwrite the current data
A Queue is a (FIFO) data structure o To insert data into a queue, it must first be checked it is not full If it is not full, the head pointer in incremented and data inserted at this location If it is full, the data may not be inserted
Before deleting, the queue must first be checked it is not empty If it is empty, the head pointer = the tail pointer If it is not empty, the data at the tail pointer is copied and the tail pointer is incremented
A Tree is a structure where each data item points to two other items depending on a rule
David
Barbra
Ed
Page 19
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth
Searching, Merging & Sorting (3.5.2)
Binary searching o While list is not empty do Find mid-point cell in current list If the value in this cell is the required value, return cell position If the value found is less than the mid-point then Change the search list into the first half of the current list o o Else change the search list into the second half of the current list
Report Error (Item not in list) Using this method on a large list, greatly increases search time However, the time taken to search a small list is increased compared to a serial search
Serial searching o o Simply compares each item in the array/file with a known value This is useful in a small file/array
File merging is very simple o Consider the two lists: o 12 54 24 34 and 24 10 56 32
To merge, we compare each item. The item with the least value is inserted to the new list first: 12 24 10 54 24 56 32 34
Page 20
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth Insertion sort (shuttle sort): sorts a file depending upon a set of rules o Compare the first and second number of the list. If the second number is less than the first, swap the items Now compare the first, second and third items. If the third item is less than both the first and second, move the third value to the first position
Quick sort also sorts files, but if very efficient at sorting large files o o 2 pointers are used: a left pointer and a right pointer The left and right item values are compared, if the right item is less than the left, they swap o Move the left pointer +1 and repeat first step
If the left item value is less than the right item value, the right pointer moves -1 and repeats step 1
Page 21
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth
High-level Language Programming Paradigms (3.6)
Declarative Programing (3.6.1)
Declarative languages are an alternative paradigm (method of programming) to sequential languages 4th generation language (closer to human language and built with data in mind) Given a set of facts (e.g. DOG(Max), DOG(Baz) & CAT(Bennett)) Uses rules to define the relationship between facts An objective/goal is given (such as: DOG(x)) o Searches first instance o If it fails, backtrack to the start and search the next instance If it succeeds, return value (e.g. Max)
The computer now backtracks to find any other instances returning any other true instances (e.g. Baz) Once all instances of DOG(x) have been found (true and false) the goal has been satisfied
Useful in knowledge based systems (e.g. medical diagnosis)
Object-orientated Programming (3.6.2)
Object oriented languages have classes and derived classes o A class contains data about similar entities and methods used to manipulate this data A derived class contains data about similar entities derived from the super classs entities. It too contains methods used to manipulate this data An object is an instance of a class and is an actual real-world entity
Data Encapsulation is the concept that data/variables can only be accessed via the methods provided Inheritance is another concept that allows the re-use of variables and methods of a super class of which a new class is derived
Page 22
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth
Super Class
Class name Data
Methods
Derived Classes
To plan and explain OOP structures, a method called Unified Modelling Language is used o o Use case diagrams show how users are related by a process State diagrams show how an object may behave through the various processes of a system (cross between a DFD and a flow diagram) Sequence diagrams show how the objects in the classes interact with one another Activity diagrams are like flow charts, but with the difference of showing the steps needed to get the object into a particular state
o o
Page 23
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth o Communication diagrams are used to show how different object combine to pursue a common purpose
Programming Techniques (3.7)
Standard Programming Techniques (3.7.1)
Jackson Structured Diagrams (Top-down & Step-wise refinement) A parameter is a variable/value passed to a sub-routine (function) Local variables only exist inside a single sub-routine Global variables are accessible throughout the entire system Every time a function is called, the return address must be stored in a stack to be able to resume the main program
Methods of Defining Syntax (3.7.2)
Almost everything used in a computer language needs to be defined using some fixed definites that are not subject to rules (called terminal symbols things like the letter A) o Backus-Naur Form (BNF): Uses angle brackets to define meta variables o <LETTER>::=A | B | C | D <WORD>::=<LETTER> | <LETTER><WORD>
Syntax Diagrams: Uses terminal symbols in the form of a diagram
Page 24
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth Reverse Polish Notation provides unambiguous expressions, which do not need brackets and can be solved using stacks o An infix notation has an operator between the two operands (A + B) The problem with infix notation is when an expression such as A + B * C is used, we need to have brackets in order to decide which operation to do first The order as to which order to operate is ambiguous
Polish notation (Prefix) puts the operand at the start of an expression (e.g. + A B) This is unambiguous as there is no longer a need for brackets
Reverse Polish notation (Postfix) puts the operand at the end of the expression This too is unambiguous, but also allows the result to be worked out using techniques with stacks 2 * (A + B) in reverse polish is A B + 2 *
Page 25
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth
Databases (3.8)
Design and Normalisation (3.8.1)
A database is a series of related tables o When files are part of a database they are called tracks
A table is a collection of sets of similar data called records o o An Attribute is a column containing a single item concerning multiple entities A Tuple is a row containing multiple items concerning a single entity Attribute A Tuple 1 Tuple 2 Tuple 3 Item 1A Item 2A Item 3A Attribute B Item 1B Item 2B Item 3B Attribute C Item 1C Item 2C Item 3C Attribute D Item 1D Item 2D Item 3D
An Attribute that holds an item that is unique from every other entity is called a primary key A table can be linked together to relate the data o A foreign key maintains the relationship between two tables
If all the data is held in one large table with data redundancy, then it is in UnNormalised Form (UNF) Data in the database can be arranged in 3 different ways o o o First Normal Form (1NF): all repeated data items are removed (data redundancy) Second Normal Form (2NF): ensures all data items are dependent on a primary key Third Normal Form (3NF): removes part key dependencies (an attribute that takes a certain value because of another attributes value)
Data Redundancy is the repeating the same data item for multiple tuples Data Integrity is the likeliness of a data item being correct (more likely if there is no data redundancy)
Page 26
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth Data Consistency is about how reliable the data is (consistently correct or wrong)
Methods & Tools for Analysing & Implementing Databases (3.8.2)
An example database bellow shows a Many to Many relationship
User
Film
The following shows the database in 3NF with a new link table (Ticket) o A link table normally consists of the key attributes of the tables on both sides User Ticket Film
Database Management System (DBMS) (3.8.3)
DBMSs controls the database and access to the data, it must control o o o The amendment of data The addition of data The deletion of data
to ensure the rules of the database are not broken A DBMS includes software called Data Description Language (DLL) which defines o o o o Tables in the database Data types in the table Constrains on the data The structure within the database
The data dictionary is a file of descriptions, structure and storage of the data A database design is called a Schema o Each user is given a subschema which defines the rules about how they may access the data
Page 27
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth The DBMS also provides a Data Manipulation Language (DLL) (see 3.9.4)
Use of Structured Query Language (SQL) (3.8.4)
SQL is a 4th generation language that allows a user to query a database o 4th generation languages are created with the data in mind
To delete a row in SQL... o DELETE FROM Users WHERE Formname = 7CG
Operation
Table name
Column name
Value name
To insert a row in SQL o INSERT INTO Users VALUES (7BC, Mr Campbell, 21)
Operation
Table name
Values
To select a row in SQL o SELECT * FROM Users WHERE Age = 21
Value name
Operation
All columns
Table name
Column name
Page 28
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth
Index
The Function of Operating Systems (3.1) ............................................................................................... 1 Features of an Operating System (3.1.1) ............................................................................................ 1 Interrupt Handling (3.1.2) ................................................................................................................... 1 Scheduling, Job Queues & Priorities (3.1.3) ........................................................................................ 1 Memory Management (3.1.4)............................................................................................................. 4 Spooling (3.1.5) ................................................................................................................................... 6 Modern PC Operating System (3.1.6) ................................................................................................. 6 The Function and Purpose of Translators (3.2)....................................................................................... 9 Types of Translators & their Purposes (3.2.1) .................................................................................... 9 Lexical & Syntax Analysis, Code Generation & Optimisation (3.2.2) ................................................ 10 Library Routines (3.2.3) ..................................................................................................................... 11 Computer Architectures (3.3) ............................................................................................................... 12 Von Neumann Architecture (3.3.1)................................................................................................... 12 Registers & Fetch-execute Cycle (3.3.2) ........................................................................................... 12 Other Architectures (3.3.3) ............................................................................................................... 14 Data Representation (3.4)..................................................................................................................... 17 Floating Point Binary (3.4.1) ............................................................................................................. 17 Normalisation (3.4.2) ........................................................................................................................ 17 Data Structures and Data Manipulation (3.5) ....................................................................................... 18 Implementation of Data Structures (3.5.1)....................................................................................... 18 Searching, Merging & Sorting (3.5.2) ................................................................................................ 19 High-level Language Programming Paradigms (3.6) ............................................................................. 22 Declarative Programing (3.6.1) ......................................................................................................... 22 Object-orientated Programming (3.6.2) ........................................................................................... 22 Programming Techniques (3.7) ............................................................................................................. 24 Page 29
Advanced Computing Theory
OCR F453 Written Exam (January 2011) :: Jonathan Ashworth Standard Programming Techniques (3.7.1) ...................................................................................... 24 Methods of Defining Syntax (3.7.2) .................................................................................................. 24 Databases (3.8) ..................................................................................................................................... 25 Design and Normalisation (3.8.1) ..................................................................................................... 26 Methods & Tools for Analysing & Implementing Databases (3.8.2)................................................. 27 Database Management System (DBMS) (3.8.3) ............................................................................... 27 Use of Structured Query Language (SQL) (3.8.4) .............................................................................. 28
Page 30