Thursday, August 26, 2010

Hi Lo Guessing game

I was away yesterday so i have no clue in what to do but when i asked someone for help it just clicked to me.
So here is a screen shot of my project.

Thursday, August 19, 2010

Generating a number generator

So today i am going to owrk on this. It looks hard let us see  how i am going to cope with it.
So i basically opened up a new project in visual basic. i made a form with a button and a text box. I double clicked the button and i pasted this code in:






So here are screen shots of my final prooject:


HOW KOOL!!
  • The function Randomize is  to initialize Visual Basic's random number generator. This is to avoid the same sequence of psuedo-random values.
  • RND is a function of Visual Basic. This is used to return pseudo-random values. The RND is also used to bring back the pseudo- number.
*pseudo= most computers don't generate truly random values. Computers use complex mathematical formulas to generate values which look random by aren't. Formulas are complex, they are still predictable. Random numbers generated by computers can be thought of a very, very long list of values. The computer always return the values in the same order, but it doesn't always start at the same place of the list.

Tuesday, August 17, 2010

Variables

Variables are "containers" for values that can be used by a program. Varibales can contain numbers or text. Variables are given names sot hey can be referred to in the programming code.

 
                                                        Making these were soo fun and interestingg.

Wednesday, August 11, 2010

Programming Terminolgy;

Programming terminology is sooo funn!!


My topic is Samples using selection and repetition. This is what i wrote;

These are some samples of selection and repetition. The selection control allows the statement to be executed if it is true and the other set to be executed if it is false. The repetition control is known as the looping control structure. It repeatedly executes one or more steps of an algorithm or program.

Thursday, August 5, 2010

Heads and Tails

This activity was quite interesting. I had some difficulties but them realised in what i did; I DIDNTREAD THE TASK PROPERLY.
So here arre some screen shots of my finished work.