Presentation is loading. Please wait.

Presentation is loading. Please wait.

Sir Tim Berners-Lee (1955-) British computer scientist Inventor of the World Wide Web in 1989 (developed the first HTML protocol and sent the first messages.

Similar presentations


Presentation on theme: "Sir Tim Berners-Lee (1955-) British computer scientist Inventor of the World Wide Web in 1989 (developed the first HTML protocol and sent the first messages."— Presentation transcript:

1 Sir Tim Berners-Lee (1955-) British computer scientist Inventor of the World Wide Web in 1989 (developed the first HTML protocol and sent the first messages between a web server and a browser) at CERN, the first web address was http://info.cern.ch/hypertext/WWW/TheProject.html Director of W3C the Web standards organization founded in 1994 which develops interoperable technologies (specifications, guidelines, software, and tools) to lead the Web to its full potential Currently working on the development of a concept of web programming he has called the Semantic Web Quote: The Semantic Web is not a separate Web but an extension of the current one, in which information is given well-defined meaning, better enabling computers and people to work in cooperation. ICAPRG301A Apply introductory programming techniques ICAPRG301A Week 6 Programming

2 ICAPRG301A Apply introductory programming techniques Assignment 3 Magic Number Game Develop a small working version of the Magic Number game. All displays to be in windows, not the console. You may use EasyGUI to create the display or something similar. In the Magic Number game the computer thinks of a number between 1 and 100. The user then guesses a number and the computer responds with the correct response. The computer’s available responses are: The number is higher The number is lower You guessed correctly This continues until the user gets the right answer. The number of guesses is then displayed. Your program must be able to handle the user typing in characters not numbers. How you handle this is up to you but it should not crash your program. Hints: There is a library called random to generate the number. It is pretty easy to use. Google it to see how it works Use Enter boxes and Message boxes from Easy GUI for your displays You should use try except when getting information from the user who might not type in what you expect. Your program should just accept this and move on. A good way to do this would be to create a function called safeEnterBox which will return the correct number in the right range or else a standard response like 0. Try to write this as a well-structured program. You might want to use the endless loop structure with a break if the user guesses the correct number.

3 ICAPRG301A Apply introductory programming techniques Congratulations you are on your way to being a programmer. Things you still need to learn: Common programming solutions, sorting, collections etc Python Data types Tuples, Dictionaries, Sets, Generators, Objects Object Oriented programming, Recursion Learn one language really well (which means understand the libraries in depth), challenge yourself, build your own applications or games, in OO programming learn design patterns to learn the best way to construct an application. Learn a second language, third language etc, which helps you to think about code differently. Languages you should know about (be able to read the code) Web languages (HTML, CSS, Javascript, SQL, PHP), one of major languages (Java, C++ or C), one of new languages( Python, Ruby or Scala), major frameworks (Ruby on Rails, Django, GWT, Spring or Struts, C++ Game Engines [Abyssal, Infinity or Cocos], Android or Iphone etc) I think it's fair to say that personal computers have become the most empowering tool we've ever created. – Bill Gates ICAPRG301A Week 6 Programming


Download ppt "Sir Tim Berners-Lee (1955-) British computer scientist Inventor of the World Wide Web in 1989 (developed the first HTML protocol and sent the first messages."

Similar presentations


Ads by Google