Week 5:
Unit II: Programming—Telling the Computer Exactly What To Do
Overview
This week we begin Unit II: Programming. We start by studying algorithms and their five essential properties, and we compare algorithms and programs. Then we use JavaScript to explore basic programming concepts that are common to all programming languages.
Objectives
The objectives for this week are:
- List the five essential properties of an algorithm
- Explain the differences between an algorithm and a program
- Use the Alphabetize CDs algorithm to illustrate algorithmic thinking
- Follow the flow of the instruction execution
- Describe the difference between name, value, and variable
- List three basic data types and the rules for specifying them in a program
- Explain the way in which the assignment statement changes a variable's value
- Write expressions using arithmetic, relational, and logical operators
- Write conditional and compound statements
Lectures
Mon 10/20: Programming Basics and Algorithms [slides] [pdf] [handouts]
Wed 10/22: JavaScript Programming [slides] [pdf] [handouts]
Fri 10/24: Functions[slides] [pdf] [handouts]
- Temp converter
- Memory Bank
Readings
Mon 10/20: Fluency, Ch 10
Wed 10/22: Fluency, Ch 18
Fri 10/23: Fluency, Ch 20
Labs
Mon,Tue: HTML Project 1B
[Instructions]
Wed,Thu: Lab 5
Code Punk Tutorial
[Instructions]
[WebQ]
Assignments
Assigned:
Project 2A assigned
[Instructions] [WebQ]
Assignments Due:
Project 1B, before 10pm on Tues. 10/21
Lab 5 WebQ, before 10pm on Fri. 10/24
<< Previous Week Next Week >>
Home
Overview
Vision
Grading
Communications
Instructor
Calendar
Weekly Schedules
Readings
Homework and Labs
Projects
Resources
Computing
eReserves
Syllabus
Last updated: Sunday, 26-Oct-2008 18:27:51 PDT
© 2008 Information School of the University of Washington
All rights reserved