General Information
The exam will have 2 parts. The written portion is closed books, notes, and computer. There is also a coding development portion (similar to Quiz 4 and Quiz 5). You submit the code you write to the submit server and can use example code and slides to help you develop the code
General Information about the Written Portion
- Written Portion will be 170 Pts
- Date: Thurs., Dec 12, 2024
- Time: 4:00 - 6:00PM (Written Exam)
- Duration: 120 minutes
- Location: IRB 0318
- 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 for Written Portion
- 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 for the Written Portion
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(both simple and nested loops), continue and break
- Conditionals(simple if, if/else if, switch, and nested if)
- 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, setAttribute, getAttribute method. Also, know the value property and the innerHTML property.
- Recursion
- Networking fundamentals, Web fundamentals,
IP Address, Web Server, DNS, URLs
- 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.
How To Study For The Written Portion
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 on the exam. Here is the final exam I gave in Fall 2019: Exam2019.zip. Here is the final exam I gave in Fall 2022: Exam2022.zip
Code Development Portion
- Code Development Portion will be 30 Pts
- Date: Mon. Dec 9 to Fri. Dec 13, 2024
- Due Time: 11:30 PM on 12/13 (you just upload to submit server before 11:30 PM)
- Directions will be posted before class time on Mon Dec. 9th. We will not have class on Monday Dec 9, so you can work on it.
- Ideally, you will finish this soon after posted so you don't have to worry about it when final exam week starts, but you must be done by 11:30PM on 12/13
- You can use the class example and slides to help you develop the code. Please do not work with another student or use online resources to help you generate your code
- Posting any information in Piazza about the exam after taking it
is considered an academic integrity violation.