Exam3 Review CSE111 B.Ramamurthy 5/28/2016

advertisement
Exam3 Review
CSE111
B.Ramamurthy
5/28/2016
B.Ramamurthy
1
Exam Date
May 4, 2016, during lecture time 12-12.50
Please bring
 Pencils, pens and erasers.
This is a closed book exam.
No make up exam will be given.
We are going to assign your seat for the
exam. In other words, you have to sit at the
location we indicate. These seats are almost
the same as in exam 1.
5/28/2016
B.Ramamurthy
2
Topics
 HTML components: document, form, table, button, textbox, div,
radio button: Look survey (quiz) example and the grade
example (with div)
Function onlclick, onchange.
Javascript:
 linking the script file
 Simple functions
 Variables
 If else statement
 For statement
 Arrays
Javascript
 Functions
 parameters
 Return value
 Computations
Document.getElementByID and return values to HTML
5/28/2016
B.Ramamurthy
3
Chapter 9: Forms
Pages 147 – 162
Also see Lab 4 and Lab 5
Study the grade calculation example
Study the survey example
Forms, controls, text boxes, buttons
5/28/2016
B.Ramamurthy
4
Chapter 19: Javascript
The entire chapter
5/28/2016
B.Ramamurthy
5
Chapter 20: Up to p.488
Document Object Model (DOM)
5/28/2016
B.Ramamurthy
6
Possible questions
Write a HTML page with div
Text box and button
Write a function with parameters
Write a function with for loop
Write a javascript that uses an array in
a function
document.getEelementById
document.forms[0].
5/28/2016
B.Ramamurthy
7
Format
5 questions 20(+/-5) points each;
Each question may have many
subsections.
The exam is for 100 points.
5/28/2016
B.Ramamurthy
8
How to study?
Review class notes
Powerpoint notes posted on ublearns
Javascript functions from chapter 19,
some of chapter 20
HTML as in chapter 9: buttons, text,
radio, div, colors etc.
Exercises at the end of the chapter
5/28/2016
B.Ramamurthy
9
Sample questions
Design html page
Design Javascript function: using random number generation
Step through javascript function
HTML form components: button and textbox and other
components
B.Ramamurthy
10
Download