General Information
- Date: Wednesday, Sep 25, 2024
- Time/Location: Your exam will take place in lecture. IRB 0318(our normal MWF classroom)
- Duration: 50 minutes
- Closed-book, Closed-notebooks, No Computers/Calculators.
- Use a pencil/mechanical pencil (no pen) to answer the exam.
- Posting any information in Piazza about the exam after taking it
is considered an academic integrity violation.
- Do not separate the pages of the exam (e.g., remove the staple).
Exam Structure
- Short answer questions: This includes for example, multiple
choice, true/false, and fill-in-the-blank type questions.
- Code analysis questions: We will give a short segment of code and
you may be asked to identify syntax and logical errors, generate code
output, etc.
- Code Writing: Write HTML, CSS, and/or JS code to solve a given
problem. You should be prepared to develop a complete webpage (small enough to be an exam problem), but we may also
ask you to provide just the code for a sub-part of a whole webpage.
Topics
The exam will include all the material covered in
lecture, quizzes, exercises, and project #1 including the following topics:
- Networking fundamentals
- Web Fundamentals
- IP Addresses
- Web Server
- DNS
- URLs
- Only the following HTML
- How to define tables and use the border attribute.
- How to define ordered, unordered lists, and definition lists, and use the type attribute
- Other tags you should be familiar with:
- <html></html>
- <head></head>
- <body></body>
- <br >
- <strong></strong>
- <em></em>
- <super></super>
- <sub></sub>
- <b></b>
- <i></i>
- <h1></h1> and the other 5 heading level tags
- <div></div>
- <span></span>
- <p></p>
- <pre></pre>
- <img> and src and alt attributes
- <a></a>and href attribute
- know universal attributes: id, class, and style
- Block level vs. Inline elements and examples of each
- Box Model
- Basics of CSS cascading rules, specificity, and inheritance
- Only the following CSS properties
- font-family
- background
- color
- font-size using px, em, and rem
- text-align
- margin
- padding
- border
- font-style
- font-weight
- Pseudo-classes
- a:link
- a:visited
- a:hover
- a:active
- Selectors
- Universal selector
- id selectors
- class selectors
- type selectors
- descendant selectors
- DOM and DOM Trees (be able to draw one)
- Intro to JavaScript
- Variables
- Input(prompt)and output(document.writeln)
- Expressions and operators
- Conditionals (if/else)
- Look over the examples/slides on JavaScript from Week 3 and Week4
- How to comment in all 3 languages
Practice Material
Old exams can be found at PreviousExam.zip. Take these as a practice exams, but please study items that did not show up on these exams. For sure the Fall 2024 exam will have questions on it not found on the old exams.