sample exam questions

sample exam questions - 1 Write some XHTML code that...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
1. Write some XHTML code that implements 3 checkboxes and 1 text field, followed by a submit button. (10 marks). 2. What are the main differences between HTML and XHTML? (5 marks) 3. What is SGML? (5 marks) 4. Write the CSS code that gives the standard HTML <H1> element the following attributes: “Times New Roman” font family, 24pt font size, and bold font-weight. (7 marks) 5. What is the difference between CSS and XSLT? (5 marks) 6. What is the difference between JavaScript and Java? (5 marks) 7. Write a JavaScript function that calculates the median of the values stored in an array of integers named “val_array” and returns this calculated value. (10 marks) 8. CGI and PHP and used to handle HTML form data and to generate HTML pages in fundamentally different ways. What are the main differences of the two? Describe any major advantages and disadvantages for each. (10 marks) 9. What are regular expressions? How are they used? (5 marks) 10. What is the purpose of an event handler in JavaScript or C#? (5 marks)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 2

sample exam questions - 1 Write some XHTML code that...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online