HOME | Scripts | Schedule | ETUDES | COIN 70a | Class List | Sandi's Blog | CTIS | Foothill College

COIN 70a - Winter 2009
SCHEDULE

Class Date Lecture Practice Assignment Due Done
Week 1 Welcome and Intro/Orientation
Writing Scripts
Functions
a - write() in head
b- - prompt() in head, welcome
c - 2 prompts; 2 welcomes
d - prompt, alert; prompt, alert
e - function greeting()
a - Think Like a Computer
b - Browser info
1/12/09 1/11/09
Week 2 Using Variables and Data Types
Expressions and Statements
More on Functions
a - Data conversion: lunch
b - Strings: all caps; # in string
c - Math.ceil; eval (lunch+tip)
d - Comparison operators
e - Functions: +, -, *
Part I - Home Page
II-a - Prompts: name, sex, age; Conditional operators
II-b - Number prompts: +, -, *
Quiz 1
1/19/09 1/18/09
Week 3 Pseudocode and Problem Solving
Debugging
Global Variables and Function Libraries
Quiz 2 Part A - Pseudocode: Price+tax
Part B - Functions, Parameters: writeInfo(), getInfo()
Part C - Calculate allowance
1/26/09 1/25/09
Week 4 Date and Math Methods
Some Event Handlers
A - Events: chage bgColor;
B - Random Numbers;
C - NYClock - date & time
Tutorial - anti-spam email (spam.js)
Case 1 - SkyWeb (datetime.js)
Case 2 - random ads (random.js)
Case 3 - month/day arrays (functions.js)
Case 4 - famous birthdays (functions.js)
Library - random images for Human Input Validation 2/02/09 2/02/09
Week 5 Comparison/Conditional Operators
Some More Event Handlers
setTimeout and setInterval
A & B - Timed Commands
C - setTimeout()
D - onLoad Event
E - Arrays
Voluntary - Clock
Home Center - random tips
MidWest University - date & time
2/16/09 2/15/09
Week 6 Arrays
Control Structures: For Loop
Practice - Arrays and FOR loops;
Tutorial - calendar in table (calendar.js);
Colors - array.sort() ;
Days - Parallel Arrays
Images - via an Array using FOR loop
Lighthouse - Arrays and FOR loops; Revised 2/23/09 2/21/09
Week 7 Midterm Examination Name - variables, prompt(); concatenation; document.write(); .length; alert()
Animals - prompt(); arrays; sort()
Widget - getInfo(); eval(); calculate tax; finalPrice(); Math.floor(); writeInfo()
2/21/09 2/21/09
Week 8 Working with Conditional Statements
Other Array Options
A - IF control structure - cookbook quiz;
B - IF/ELSE control: cookbook question;
C - IF/ELSE IF/ELSE: quiz 2
Monthly Calendar
Code: calendar.js
3/02/09 3/04/09
Week 9 More Control Structures:
While loops and Switch
Strings
A - WHILE + odd #s & favorite TV
B - DO WHILE + rate teacher
C - SWITCH + radio buttons (food quiz)
D - String Manipulations (toUpperCase; toLowerCase; substring; indexOf)
SkyWeb - a Lunar Calendar
lunarcal.js and moonfunc.js
Date methods; Arrays
3/09/09 3/06/09
Week 9 Extra Credit madlib.js MadLib! - Fun with Elsie!! 3/16/09 3/16/09
Week 10 More Event Handlers
Rollovers
Image objects and preloading
A - LOAD and UnLOAD
B - Image Rollovers with MOUSEOVER and MOUSEOUT
C - Link with CONFIRM & JavaScript VOID
D - Form using SUBMIT and RESET
Yearly Calendar - Tutorial 3 Review
Slideshow - preloaded images and slideshow
Carey - Tutorial 5:
MouseOver, MouseOut
Shakespeare - rollovers
REVISED - preload Images
Johnny Depp Fan Club - Forms and EVENTS
3/16/09 3/16/09
Week 11 Forms Validation using JS
Intro to Regular Expressions
# Week 11 # Lab 11    
Week 12 Final Exam - STUDY! # Week 12 # Lab 12 3/24/09