General Information
- Date: Wednesday, Nov 10, 2021
- Time/Location: Your exam will take place in lecture.
- 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 a program/code snippets to solve a given
problem. You should be prepared to give a complete program, 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 ordered and unordered lists.
- Other tags you should be familiar with:
- <br />
- <strong></strong>
- <em></em>
- <h1></h1>
- <div></div>
- <span></span>
- <p></p>
- <pre></pre>
- <img>
- <a></a>
- JavaScript
- Variables
- Expressions
- Loops
- Conditionals
- Random values
- Pseudocode
- Defining your own functions
- Functions to convert between types (Number)
- You need to know how to use the following functions: prompt,
document.writeln, window.open and alert functions
- Arrays
The exam will NOT cover the following topics:
Practice Material
An old exam 2 can be found at PreviousExams.zip.
Please DO NOT ASSUME your exam will have all similar problems to this old exams. In other words, study everything in the slides and examples, not just the topics covered on this exam.
The best way to prepare is to practice problems
discussed / suggested in lecture, to study the projects you implemented and review the lectures/slides. I would suggest you set aside 50 minutes and take the old exam as if it was a real exam. Next check you answers and try to learn from your mistakes.