COAP:COAP-2100/week7: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
mNo edit summary
Line 38: Line 38:
* Document formats
* Document formats


==== Homework 6 ====
==== Homework 7 ====


; Task
; Task
Create a JavaScript program that can process a quiz made with simple radio buttons. Code above can serve as basis. However, you should change the two questions and add at least a third one. In other words:
Create a PHP program that can process a quiz made with simple radio buttons. In addition it should include 1-2 text input fields that ask for a name
* You must change something in the HTML forms code. Make sure that each group of radio buttons has a different name. E.g. when you add a question, use ''name="question3"''
* You must change something in the JavaScript Provide feedback section. I.e. change the score values and the feedback messages.


Note: CS students familiar with HTML forms and JavaScript can use other HTML forms.
* You can reuse elements from the JavaScript (hw 6) exercise. You also could relate its topic to the term project.
* You may use questionnaire items from other sources, but do '''not plagiarize'''. If you reuse assets from another source, cite the source. Plagiarism is simply not accepted and will be sanctioned.
 
Note: CS students familiar with HTML forms and PHP can use other HTML forms.


; Tips
; Tips
* Validate your HTML code
* Validate your HTML code
* Make sure to open the error console (in Firefox: Tools-> error console) !!
* Use the server log files for finding PHP errors


; Evaluation criteria
; Evaluation criteria
* Ergonomics (does the quiz "make sense")
* Ergonomics and content (does the quiz "make sense" and is it interesting)
* HTML and CSS code (is it valid)
* HTML and CSS code (is it valid)
* Style and presentation
* Style and presentation
* JavaScript (is your code running, does it compute ok)
* PHP (is your code running, does it compute ok)


; Due
; Due
Line 62: Line 63:
; Submission
; Submission
* Submit the file to the world classroom
* Submit the file to the world classroom
Category: COAP 2100

Revision as of 19:14, 20 February 2011

Week 7 COAP 2100

Topics Covered

  • Web server architectures
  • Running a webserver on your own PC
  • HTML5 for information ...
  • HTML forms tutorial (continued)
  • The concept of server-side scripting and web applications

Teaching materials

Classroom activities

Monday
What do we mean by the Internet (part II - web application architectures)
Using a web server
Processing forms with PHP (a taster)
Wednesday

Information on:

  • XML
  • SVG
  • Document formats

Homework 7

Task

Create a PHP program that can process a quiz made with simple radio buttons. In addition it should include 1-2 text input fields that ask for a name

  • You can reuse elements from the JavaScript (hw 6) exercise. You also could relate its topic to the term project.
  • You may use questionnaire items from other sources, but do not plagiarize. If you reuse assets from another source, cite the source. Plagiarism is simply not accepted and will be sanctioned.

Note: CS students familiar with HTML forms and PHP can use other HTML forms.

Tips
  • Validate your HTML code
  • Use the server log files for finding PHP errors
Evaluation criteria
  • Ergonomics and content (does the quiz "make sense" and is it interesting)
  • HTML and CSS code (is it valid)
  • Style and presentation
  • PHP (is your code running, does it compute ok)
Due
  • Before Wednesday week 8 class
Submission
  • Submit the file to the world classroom

Category: COAP 2100