Thursday, October 22, 2009

just incase

Programming Assessment Task Documentation

Introduction
(Replace this with: what is the purpose or problem that the program is trying to solve)

The purpose of my program is rock scissors paper game, the person that is playing my game is playing against the computer. They have to choose scissors paper or rock by clicking on the buttons and the computer also picks one at random and then its determines wheather the person wins loses or draws to replay the game again the person just clicks on another choice.


;;;;

Use of Error Detection
(explain how your program handles incorrect user inputs)
To avoid or handle incorrect user input instead of getting the user to type anything that could be mispelt or anything to would create an error in the coding or program the users that play scissors paper rock click buttons and the buttons ensure that no incorrect user input can be made that will create an error.

Thursday, September 10, 2009



i used visual basic
i got a label and a button i named it click me
then i copyed the code given, changed the text box thing to label
then double click on label and copyed the code onto the label section and then change the code again from textbox to label
i then changed the background from normal to green

happy sad



for the happy and sad thing i used visual basic.
i used 2 buttons and 2 picture boxes
i labeled one of my boxes happy and the other sad
i put a happy and sad face on the pictureboxes.
i then double clicked on the buttons and then types : picturebox 1/2 visible= true/false (depending on happy or sad)i did it to the other button code.
the i clicked on the picturebox and put false on it so the pictures dont show up when you first open it

Tuesday, September 1, 2009

HEADS and TAILS



I used visual basic to create the heads or tails, i changed the back ground to purple, then i got one button it was the check button, this is the code i used:
If TextBox1.Text = "heads" Then Label1.Text = "win"
If TextBox1.Text = "tails" Then Label1.Text = "lose"


then i put a label on it for the win lose thing
then i put the text box to type heads or tails

HIDE AND SEEK



I used visual basic to do this because i had to, i had 2 buttons and they work when you click then, when you click hide the image disappears and when you click seek the image reappears. i used a picture box and imported a local image, which hides and seeks.

This code hides the picture.
PictureBox1.Visible = False

This code makes the image appear
PictureBox1.Visible = True

Thursday, June 11, 2009

IP address

Determine your IP address, e.g. Visit the site below
http://www.ipaddressworld.com/
202.76.178.178

Go to: http://computer.howstuffworks.com/question549.htm

Read about how IP addresses work.
1.What is an octet?
In the an IP address contain four numbers in it which are called octets, because they each have eight positions when viewed in binary form.
2.What class of IP address are we using?
Net and Host.

Tuesday, May 12, 2009

some key terms - the internet and web design

1. Define the term - Protocol
Rules determining the format and transmission data
2. What are the following protocols used for?
TCP/IP - Transmission Control Protocol/Internet Protocol, the suite of communications protocols used to connect hosts on the Internet. TCP/IP uses several protocols, the two main ones being TCP and IP.
HTTP - HyperText Transfer Protocol, the underlying protocol used by the World Wide Web. HTTP defines how messages are formatted and transmitted, and what actions Web servers and browsers should take in response to various commands.
SMTP - Simple Mail Transfer Protocol, a protocol for sending e-mail messages between servers. Most e-mail systems that send mail over the Internet use SMTP to send messages from one server to another; the messages can then be retrieved with an e-mail client using either POP or IMAP.
FTP - File Transfer Protocol, the protocol for exchanging files over the Internet. FTP works in the same way as HTTP for transferring Web pages from a server to a user's browser and SMTP for transferring electronic mail across the Internet in that, like these technologies, FTP uses the Internet's TCP/IP protocols to enable data transfer.
3. What does GUI stand for? graphical user interface. What was used before GUI? The ideas for a GUI computer were thought of long before the technology was even available to build such a machine. One of the first people to express these ideas was Vannevar Bush. In the early 1930s he first wrote of a device he called the "Memex," which he envisioned as looking like a desk with two touch screen graphical displays, a keyboard, and a scanner attached to it. It would allow the user to access all human knowledge using connections very similar to how hyperlinks work. At this point, the digital computer had not been invented, so there was no way for such a device to actually work.
4)What does GUI stand for? Graphical user interface what was used before GUI? Memex
5)There are two methods of data transmission – serial and parallel. Explain the difference between them. Define the term “URL”. Explain the components that make up the url. the diffrence between a serial is that its in a line and a parellel is oppisote to one another. a url means Uniform Resource Locator.
6.In the context of data transmission, what is “error detection”?
error detection refers to a class of techniques for detecting garbled messages, it shows up on the screen to warn people.
7. Name and explain one common method of error detection.
checksum, error-detection scheme in which each transmitted message is accompanied by a numerical value based on the number of set bits in the message.
8.What is HTML and explain why it is important?
Hypertext Mark-up Language, marksup language for web pages.