General Information
- Date: Wed, Dec 11, 2019
- Time: 4 pm - 6 pm
- Duration: 120 minutes
- Location: CSI 1115
- You need to present your student id card to take the exam.
- Make sure you print your official name and ID on the exam
- 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.
Exam Structure
- Short answer questions: This includes for example, short answers, 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 a program/code snippets to solve a given
problem. You should be prepared to write a complete script, but we may also
ask you to provide just a single function or a code fragment.
Topics
The exam will include all the material covered in
lecture, quizzes, exercises, and projects including the following topics:
- HTML
- How to define tables.
- How to define forms using text fields and buttons. Know the basics about the other control tags like radio buttons, check boxes, etc. and the onclick event
- How to define ordered, unordered, and definition lists. Also nested lists
- Other tags you should be familiar with:
- <br />
- <strong></strong>
- <em></em>
- <h1></h1> and the other 5 heading tags
- <div></div>
- <span></span>
- <p></p>
- <pre></pre>
- <img>
- <a></a>
- Comments (not just in HTML, but also CSS, and JS)
- CSS
- Three ways to add CSS
- Box model
- Properties
- color
- font-size
- font-style
- Pseudo-classes
- a:link
- a:visited
- a:hover
- a:active
- Selectors
- Universal
- Type
- Id
- Class
- Descendant
- JavaScript
- Variables (local and global variables)
- Expressions
- Loops
- Conditionals
- Random values
- Pseudocode
- Defining your own functions
- Functions to convert between types (Number)
- Arrays (One Dimensional)
- You need to know how to use the following functions: prompt,
document.writeln, window.open, alert, document.getElementById
- Recursion
- Be ready to answer questions based on your projects. For example, how to convert the number 50 to base 2
- The topics above are just the main topics you should focus on. Remember, if we covered it in class, you need to know it.
The exam will NOT cover the following topics:
- Komodo Edit, Networking fundamentals, Web fundamentals,
IP Address, Web Server, DNS, URLs
How to study
The best way to prepare is to practice problems (e.g., previous exams), problems
discussed / suggested in lecture, to study the projects you implemented and problems you can
come up with as you study. The more you practice, the better you will do in the exam.