Monday, October 18, 2010

Thursday, October 14, 2010

Flowcharts...

DESCRIBING THE FLOWCHARTS:
It is talking about temperature.
        1. Start
        2. Read Temperature
        3. If it is less than 32 than print 'below freezing'
        4. If it is more than 32 than print 'above freezing'.
        5. After all that end.


It is talking about One Second Response to a Switch.
  1. Start
  2. Then check if the switch is on.
  3. If it is not on go back to start.
  4. If it is on then turn the LED on.
  5. Then start timer.
  6. Check if 1 second is expired.
  7. If it hasnt then go back to start timer.
  8. If it has then turn the LED off.
  9. After that reset the timer.
  10. After that is done end.




Tuesday, October 12, 2010

Computer Algorithms

Definitions:
1. Algorithms:
A step by step problem solving procedure, also an established recursive computiational procedure for solving a problem in a finite number of steps.
2. Pseudocode:
The steps we would take to solve a problem.
3. Machine Language:
It is a system of instructions and data effected directly by a computer's central processing unit.
4. High Level Computer Language:
A programming language with strong abstraction from the details of the computer. It can be read by multiple computers and operating systems.
5. Flowchart:
It is a type of diagram that represents an algorithm or process, showing the steps as boces of various kinds and their order is connected by using arrows. It is helpful to solve programming problems if it is put in a flowchart.
All of these relate to the control structure of a program.
6. Sequence:
Where you do the items in the sequence listed.
7. Selection:
A control function that allows us to have multiple options.
8. Repetition:
That allows some lines of code to be executed many times.
Opening a door and entering a room:
  1. Turn the door knob and walk in.
  2. If door knob doesnt open easily try to push or pull harder maybe the door is jammed.
  3. If it still doesnt open check if the door is locked.
  4. Look for a key to open the door.
  5. After turning the key if the door still doesnt open maybe the door knob is broken then call locksmith for help.
Negotiating traffic lights as you drive down a street:
  1. If the light is green just drive pass it.
  2. If it just turned amber, drive pass it.
  3. If it has been amber for a long time slow down or stop because it may turn red.
  4. If the light is red then stop and wait for it to turn green.

Thursday, September 16, 2010

Tuesday, September 14, 2010

ASSIGNMENT 2

I started my assignment last week but forgot to post information here. I am using http://www.wix.com/, it is a really good website it has everything animations, backgrounds, cool titles, different styles of presenting your information etc. It is way better than http://www.scrapblog.com/. So I am doing Digital Televison, Social Networking, Wireless Internet and Ports.

Monday, September 6, 2010

ASSIGNMENT!!

I will be working alone on this task, the topics I will be doing are Digital Televisions, Social Networking, DVD and CD and the last one Wireless Broadband. I have started on Digital Televisions and nearly finished it....I am not yet sure about what website I will be using but it will most probably be scrapblog, because I found it easier to work with it.