Wednesday, July 20, 2011

Algorithm?

What is an Algorithm?

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"?)
The algorithym contains simple easy to understand steps which are straight to the point and they have to be in a sequentiall order.  What makes an algorythm correct is the fact that there are numbers beside the steps which enable the person to know the correct order in which the steps should be taken.




2. Define Algorithms for the following processes.

POSTING A LETTER1. Write or obtain a letter

2. Fold it appropriately

3. Find the correct size envelope

4. Write the address on the cover cover of the envelope

5. Seal the folded letter inside the envelope

6. Travel to the post office

7. Buy the appropriate postage stamp

8. Paste the stamp on the top right corner of the envelope

9. Place the letter in the postbox
MAKING TOAST
1. Place two pieces of toast in the toaster

2. Adjust toaster to the appropriate settings

3. Push the leaver down and submerge the slices

4. Wait for the toast to pop up

5. Put your desired spread on the toast

6. Eat your toast!

CALLING A FRIEND ON THE PHONE
1. Search the phone book

2. Locate the number of the friend

3. Dial the number on the phone

4. Wait till he/she picks up!

5. Press the 'end' button at the end of the conversation




Web Page for Musix Website -Story Board

Tuesday, July 19, 2011

Flow Chart Basic

1. What is a flowchart?
A flow chart is a graphical or symbolic representation of a process which will lead to getting the solution of the problem. Each step in the process is represented by a different symbol and contains a short description of the process step. The flow chart symbols are linked together with arrows showing the process flow direction.



2. Describe the basic flowchart symbols for;


• Start or end of the program :
basically a rounded edged rectangle.


• Computational steps or processing function of a program:
The symbol is basically a normal rectangle



• Input or output operation:
The symbol for this is a parrallelogram




• Decision making and branching:
 The symbol for this is a diamond


• Flow line:
The symbol depending on the direction of flow it is an arrow pointing in that direction


3. With the decision making symbol (diamond) and the process symbol (rectangle), what are the rules for how many lines may enter and leave the symbol.
Only one flow line should come out of the process symbol(rectangle) and only one flow can enter a decision symbol,but two ore three flowlines,one for each possible answer, should leave the decision symbol. 



4. Study the sample flowcharts then create a flowchart for a coin toss where heads means Mary pays for the pizza and Tales means Bill pays.

DONE!!!

I have know finished my website and i am left with the theory work to do(storyboard) and final perfections to implement!
 I just have to put some videos onto the homepage and i am done!

Monday, July 18, 2011

Progress-website

I have know made more pages for my webpage for the artists
Top 3
FEMALE ARTISTS

Nicki Minaj
Beyonce
Alicia Keys
Top 3
MALE ARTISTS
Trey Songz
Chris brown
 Drake


Know i am 3/4 way through these pages.My layout is consitant in each of these pages with videos, biography and career columns. I am know continuing my work on the wesite. I have completed all of the password page and home page for the website,