Representing Real Numbers

November 7, 2011

Real Numbers

Real Numbers are Whole Numbers (1,2,3,4,5), they can also be positive and negative.

Floating Point Representation

Floating Point removes the decimal point

Mantissa & Exponent 

The Mantissa holds the complete number, but without the decimal point.

The Exponent holds the number of places that the point must be moved in the original number to place it at the left hand side.


  1. 100110.11
  2. 10011011 x 2(6)
  3. 10011011 x 2(0110)





October 31, 2011

RIP Steve Jobs

October 9, 2011

  • He was born on the 24th February 1955, San Francisco, California
  • Steve Jobs was the co-founder chairman, and CEO of Apple
  • He helped develop the Macintosh, iPod, iPhone and the iPad
  • He died on the 5th October 2011 due to Pancreatic Cancer at the age of 56

Blog Homework (27/9/11)

September 25, 2011

Difference between High Level Language and Low Level Language?

High Level Language is more easily understood, as it is much more similar to the English language. Words used are; Else, If, Then etc.

Low Level Language is used for the computer itself to understand, as the computer does not understand High Level Language. Low Level Language uses Binary, for example; 10100110.

Macros & Scripting

Macros and Scripts are used to quickly perform commands. The difference between Macros and Scripts is that Macros require the user to record their command which can later be used in future to quickly perform a command. Scripting is basically the same, but the scripts are already set in the program itself, which also prevents errors from occurring. Programs that support Macros or Scripts are:

  • Microsoft Programs such as Word and Excel (Macros)
  • FileMaker Pro (Scripts)
Scripts on Filemaker Pro
Scripts on FileMaker Pro
Procedures, Functions & Parameters
Both Procedures and Functions are series of statements which have been given a name. The difference between them is that:
  • Procedures produce an Effect
  • Functions produce a Value
A procedure is used in the game Pacman. Move_ghost is a procedure used in Pacman, which creates an effect, which then changes the direction of the ghosts.
A function produces a value. So if you were going to calculate an area of a shape on a computer you would need to use a Function to calculate the area of the shape.
A parameter is a value which is past into a subroutine; A set of instructions designed to perform a frequently used operation within a program. 
An example, move_ghost(“Inky”)
This passes the parameter “Inky” and so the variable ghost_name will take on the value “Inky” which well then move the direction of “Inky”.


September 11, 2011

Testing is much more expensive to fix problems at earlier stages of the software development process.

There can be many errors with testing. There is Common Errors and Errors during coding stage.

Common Errors

  • Incomplete Logic
  • Poor error handling
  • Bad time planning
  • Incorrect Interpretation of Specification
Errors during Coding Stage
  • Syntax Errors
  • Errors in Loop Counters
  • Errors in typing Variable Names
  • Confusion of parameters
There are 3 Test Data types. These are;
  • Normal Data
  • Extreme Data
  • Exceptional Data