source http sochi2014 com moodle yorku ca cse 1020 medal
play

source: http://www.sochi2014.com moodle.yorku.ca CSE 1020 Medal - PowerPoint PPT Presentation

source: http://www.sochi2014.com moodle.yorku.ca CSE 1020 Medal standing Problem Print the HTML of the web page of the Sochi Olympics containing the medal standings. moodle.yorku.ca CSE 1020 HTML HTML is short for HyperText Markup


  1. source: http://www.sochi2014.com moodle.yorku.ca CSE 1020

  2. Medal standing Problem Print the HTML of the web page of the Sochi Olympics containing the medal standings. moodle.yorku.ca CSE 1020

  3. HTML HTML is short for HyperText Markup Language. It classifies the information of a web page. A web browser uses HTML, together with some other data such as Cascading Style Sheets (CSS), to present the information. <html> <head> <title>My page</title> </head> <body> <p>Welcome to my page.</p> </body> </html> HTML5 (in combination with CSS3) is Turing complete. HTML was proposed by Tim Berners-Lee in 1990. moodle.yorku.ca CSE 1020

  4. Tim Berners-Lee Sir Timothy Berners-Lee (born 8 June 1955), is a British computer scientist. He is best known as the inventor of the World Wide Web. He is a profes- sor at MIT. source: Knight Foundation moodle.yorku.ca CSE 1020

  5. Medal standing Problem Print those lines of the HTML of the web page of the Sochi Olympics that represent the medal table. moodle.yorku.ca CSE 1020

  6. Medal standing Problem Prompt the user ”Enter the name of a country: ” and print ”has won g gold, s silver and b bronze medals.” moodle.yorku.ca CSE 1020

  7. Medal standing Problem Prompt the user ”Enter the name of a country: ” and print ”has won g gold, s silver and b bronze medals.” Reprompt the user if the country cannot be found in the medal table. moodle.yorku.ca CSE 1020

  8. Medal standing Problem Make the app more robust by allowing the user to use lower- and uppercase when entering the country’s name. For example, Canada, canada, CaNaDa, etc should all be acceptable. moodle.yorku.ca CSE 1020

  9. Medal standing Exercise Make the app more robust by trying to correct typos. In particular, try to correct the situation where the user did not type one of the characters. For example, Canaa, Canad, etc should all be acceptable. moodle.yorku.ca CSE 1020

  10. Screen Scraping Reading the HTML from a URL and extracting information from it is an example of screen scraping. A robust alternative to screen scraping is web services. Building E-Commerce Systems (CSE4413) moodle.yorku.ca CSE 1020

  11. Test 4 When: Friday February 14, during the lab (14:30–16:00) Where: Lassonde building, labs 1006, 1004, 1002 Material: Chapter 1–5 of the textbook, with a focus on Chapter 5 What: Two programming questions Note: For each question, you get 1 mark (out of 5) for the fact that your code compiles Note: Your code is not only marked for correctness (3 marks out of 5 for each question) but also style (1 mark out of 5 for each question) moodle.yorku.ca CSE 1020

  12. Academic honesty “If you put your name on something, then it is your work, unless you explicitly say that it is not.” Do not look at your neighbour’s screens. www.cse.yorku.ca/admin/coscOnAcadHonesty.html contains more details. moodle.yorku.ca CSE 1020

  13. Reading week Next week is reading week. There will be no lectures and no lab. There will be no office hours. There will be one or more review lectures given by a teaching assistant (details will be posted on Moodle). moodle.yorku.ca CSE 1020

  14. To do Study the remainder of Chapter 6. moodle.yorku.ca CSE 1020

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend