Week 6:
Overview
This week we continue to study basic programming concepts as they are applied in JavaScript.
Objectives
The objectives for this week are:
- Trace the execution of a given for loop
- Write a World-Famous Iteration for loop
- Discuss the structure of nested loops
- Explain the use of indexes
- List the rules for arrays; describe the syntax of an array reference
- Explain the main programming tasks for online animations
- Use the Bean Counter application as a model to:
+ Write input elements
+ Create a button table
+ Write an event handler in JavaScript
+ Produce a GUI similar to that of the Bean Counter
+ Trace the execution of the Bean Counter, saying what output is produced by a given input
+ Explain event-based programming in JavaScript and the use of event handlers
Lectures
Mon 10/27: Iteration [slides] [pdf] [handouts]
In-class examples:
- For loop countup
- For loop countdown
- While countdown
- While countdown
- ha ha ha!
- Coin toss
- Coin toss trials
Demo Videos
Free Software Downloads
- Web Developer toolbar
- Editors (choose one)
- SFTP Programs
Wed 10/29: Indexing and Arrays [video][slides] [pdf] [handouts]
Examples:
Fri 10/31: Forms and Events: Inputs and Outputs[slides] [pdf] [handouts]Readings
Mon 10/27: Fluency, Ch 21
Wed 10/29: Fluency, Ch 21 continued
Fri 10/31: Fluency, Ch 19
Labs
Mon, Tues, Wed, Thurs: Labs 6/7
Printing Tickets with JavaScript
[Instructions] [WebQ]
Assignments
Project 2A assigned
[Instructions] [WebQ]
Assignments Due:
Labs 6/7, before 10pm on Fri 10/31
<< Previous Week Next Week >>
Home
Overview
Vision
Grading
Communications
Instructor
Calendar
Weekly Schedules
Readings
Homework and Labs
Projects
Resources
Computing
eReserves
Syllabus
Last updated: Saturday, 25-Oct-2008 09:52:52 PDT
© 2008 Information School of the University of Washington
All rights reserved