90 likes | 114 Views
Prepare for your CSE111 Exam 3 with this review by B. Ramamurthy. Topics include HTML components, JavaScript functions, looping, and more. Study class notes, PowerPoint presentations, and work on exercises at the end of each chapter.
E N D
Exam3 Review CSE111 B.Ramamurthy B.Ramamurthy
Exam Date • May 6, 2015, 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. B.Ramamurthy
Topics • Ch.19, Ch.20 (ch.17, Ch.18) • 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 • Javascript • Functions • parameters • Return value • Computations • CSS style: for color, width, height; B.Ramamurthy
Chapter 19: Programming Functions • Fig.19.1, 19.2 Covert C2F/F2C • Fig.19.5 Coin flip • Coin flip with for loop (many times) • Know your random number generation • NO memory bank • Stop at page 610 B.Ramamurthy
Chapter 20:Loops • For loop p.629-641 • Count the “heads” and “tails” p.636 • Arrays p.642-644 • Grade example • Image loading B.Ramamurthy
Possible questions • Write a HTML page with div and radio button • Write a function with parameters • Write a function with for loop • Write a javascript that uses an array in a function B.Ramamurthy
Format • 5 questions 20(+/-5) points each; • Each question may have many subsections. • The exam is for 100 points. B.Ramamurthy
How to study? • Review class notes • Powerpoint notes posted on ublearns • Javascript functions from chapter 19, some of chapter 20 • HTML as in chpaters 17-18: buttons, text, radio, div, colors etc. • Exercises at the end of the chapter B.Ramamurthy
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