Monday, July 16, 2012

Basic Flowchart symbols

Start and End of program:








Computational or processing functions of a program:














Input or output or operation:














Decision Making and Branching:














Flow Line:









What is a Flowchart?

A flowchart is a formalized graphic representation of a logic sequence, work or manufacturing process, organization chart, or similar formalized structure.


Example:

Algorithms


An unambiguous set of steps, which when performed correctly by a processor, will result in a process being carried out in a finite time.

For example if you were to explain to someone how to make a cup of coffee you would be defining an algorithm;

1.   boil the water,
2.   place coffee in the cup,
3.   place sugar in the cup,
4.   add the boiling water,
5.   add milk,
6.   stir.

1.           Examine the algorithm above. What two properties of the algorithm enable it to correctly describe the solution to the problem of making a cup of coffee? What is it that makes an algorithm correct?(Hint: what would happen if you swapped step "6" and step "2"?)

An algorithm is correct if a sequence is followed in chronological order. \

Algorithm for posting letter:
1. Write Letter
2. Put letter in envelope
3. Seal envelope
4. Write desired recipient's address at the front of the envelope
5. Go to post box
6. Put Letter in the post box

Algorithm for making toast: 
1. Get bread
2. Put in toaster 
3. Wait 2-3 minutes while it toasts 
4. Take toast out 
5. Put on plate 
6. If desired apply any form spread on bread.


Algorithm for calling a friend on the phone.
1. Get phone.
2. Dial the correct number
3. Press green call button
4. Wait 30sec to 2 min for person to pick up 
5. If person does not pick up repeat steps 1-4 min. 









Tuesday, May 22, 2012

Using Frontpage


1. What two steps are recommended in planning your site?
Sketching out a structure before creating a site in FrontPage can save you lots of work later. And then sketch an example of a layout sketch.
Sketch of Web site structure    Sketch of page layout
A structure                                                               layout sketch 

2. What is a web server?

Monday, May 21, 2012

Protocols

Where They Were Used:

·         TCP/IP:  is used for transmission of data from an application to the network.

·         http:  communication between a web server and a web browser

·         simple mail transfer protocol 
(         (smtp): transmission of e-mails.

·         file transfer protocol 
          (FTP):  used for transmission of files between computers.

·         html: contains all the text to display, and also acts as the "glue" to hold the text and images      together in the right places, and display them in the right style.

·         xml: users to define their own customized markup languages

Wednesday, May 16, 2012

The IP and URL

The IP address and the URL are related as The browser communicated with a name server to translate the server name "www.insertnamehere.com" into an IP Address, which it uses to connect to the server machine. The browser then formed a connection to the server at that IP address on a specfic port.

The URL

Universal Resource Locator. It is broken up into three parts:
  • The protocol ("http")
  • The server name ("www.insertnamehere.com")
  • The file name ("web-server.htm")