1 midterm review. 2 midterm exam 30% of your grade for the course october14 at the regular class...

9
1 Midterm Review

Upload: colleen-rose

Post on 31-Dec-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 Midterm Review. 2 Midterm Exam  30% of your grade for the course  October14 at the regular class time  No makeup exam or alternate times  Closed

1

Midterm Review

Page 2: 1 Midterm Review. 2 Midterm Exam  30% of your grade for the course  October14 at the regular class time  No makeup exam or alternate times  Closed

2

Midterm Exam

30% of your grade for the course

October14 at the regular class time

No makeup exam or alternate times

Closed book

Closed notes

No computers

Midterm Review

Page 3: 1 Midterm Review. 2 Midterm Exam  30% of your grade for the course  October14 at the regular class time  No makeup exam or alternate times  Closed

3

Material Covered

The Internet, the World Wide Web, Web 2.0, and related basic topics such as accessibility – from the material covered in class

Web application development technologies• HTML and XHTML• CSS• XML• HTML Forms• JavaScript• HTTP

All material covered in our classroom lectures, the bonus labs, the handouts, and our homework

Midterm Review

Page 4: 1 Midterm Review. 2 Midterm Exam  30% of your grade for the course  October14 at the regular class time  No makeup exam or alternate times  Closed

4

Test Format

Approximately 33 questions

• Multiple choice – approximately 23 questions, about 46 points

• Short answers (not code) – approximately 4 questions, about 5 points

• Short code (1 line) – approximately 2 questions, about 15 points

• Longer code – approximately 4 questions, and about 34 points

• Plus an extra credit question that will require substantially longer code

Midterm Review

Page 5: 1 Midterm Review. 2 Midterm Exam  30% of your grade for the course  October14 at the regular class time  No makeup exam or alternate times  Closed

5

Question Topics

• Basic topics – about 10 points

• HTML and XHTML – about 23 points

• CSS – about 22 points

• HTML Forms – about 16 points

• XML – about 17 points

• JavaScript – about 12 points

• Plus an extra credit question that will require knowledge of XHTML, CSS, Forms, and JavaScript

Midterm Review

Page 6: 1 Midterm Review. 2 Midterm Exam  30% of your grade for the course  October14 at the regular class time  No makeup exam or alternate times  Closed

6

Examples

Short code (1 line)• Given a diagram showing the location of the files and directories in your

Web site, write the code for inserting an image, using a relative path

• Given the HTML code for a simple form, write the URL and query string that is submitted

Longer code (approximately 5–12 lines of code)• Given a screen shot of an HTML table, write the XHTML code for it

• Given a screen shot of a simple HTML page, write the CSS for it

• Given a DTD and some data, write an XML file that represents the data

• Given a requirements description and a screen shot of a simple HTML page, write a JavaScript function that gets input from a text field, performs a calculation on it, and puts the result into the value of a text field on the page

Midterm Review

Page 7: 1 Midterm Review. 2 Midterm Exam  30% of your grade for the course  October14 at the regular class time  No makeup exam or alternate times  Closed

7

Suggestions for Studying

Look at the Learning Objectives on the course syllabus

Study the review document, “StudyGuide1.docx”

Concentrate your study time on the major topics that we have covered in class

Make sure that you know the syntax for the most common types of code that we studied

• Are you familiar with elements such as <ol>, <ul>, <img>, <style>, <link>, etc.

• Can you write the XHTML for a table?• Can you write a simple CSS rule?• Can you write a simple JavaScript function?• Do you know how to use document.getElementById()?

Review the handouts distributed in class• Make sure that you can do the problems

Midterm Review

Page 8: 1 Midterm Review. 2 Midterm Exam  30% of your grade for the course  October14 at the regular class time  No makeup exam or alternate times  Closed

8

Sample JavaScript Question

Write a JavaScript function that gets a number that a user typed into a text field on a form, then multiply it by 10 and put the result into the value of a text field on the page.

The HTML has the following fields:

Midterm Review

<input type="text" name="number" id="numberid"/>

For input:

<input type="text" name="result" id="resultid"/>

For result:

Page 9: 1 Midterm Review. 2 Midterm Exam  30% of your grade for the course  October14 at the regular class time  No makeup exam or alternate times  Closed

9

References

Schultz, David and Craig Cook, Beginning HTML with CSS and XHTML: Modern Guide and Reference. Apress, 2007.