CS 201 Lecture and Lab Schedule - Spring 2012

Last modified 2/4/2012

Week

Date

Topics

Reading

Assignments

Lab

1

1/9

Class overview;

What is design?

Agent Intro;

Agent architecture;

Interaction Diagram;

Multi-Threading;

Class readings from: CSCI201Curriculum.htm

AgentRoadmap.htm

 

Prior To Class:

 Curriculum: Sec. 1 and 2

 Roadmap: Sec. 1 and 2

In Class:
TBD

lab1guide.pdf

 

gettingStarted.html

UnixAndEmacsBasics.html


V3WithAnimationC++.zip

V3AgentsWithFSM.zip

v3InteractionDiagram.htm

 

Explore old v1.0 (Optional)
agentsV1.zip;

 

Agent Design;

v3.0 requirements

Prior To Class:

  Roadmap: Sec. 3, 4.1, 4.2

In Class:
Do v3.0 Interaction Diagram;

Design cook

2

1/16

MLK Holiday

[No Class]

Explore the restaurant agents

lab2guide.pdf

lab2guideAnswers.pdf

 

Base Class Agent review;

Anonymous Inner Class;

Agent control: fsm or more complex;

Prior To Class:

  Roadmap: Sec. 5, 4.3

  Read about semaphores, acquire() and release()

    in Semaphore API

In Class: Review Waiter

3

1/23

Scheduler Semantics

v4.1 requirements

Prior To Class:

  SchedulerSemantics.pdf

  v4.1 requirements

In Class:
4.1 issues;

Scheduler semantics.

 

Design v4:

lab3guide.pdf

 

Agent Design Issues;

Agent Messaging

Roadmap: Sec. 6;

Roadmap: Sec. 2.1

v4.1 Design Document Due Sun. 1/29

4

1/30

v4.1 Design Questions

 

Concurrency and v4.1 coding:

lab4guide.pdf

 

Threading Example (Bank)

 

 

Concurrency;

Address Spaces; Threading; Data Sharing:

Semaphores, Monitors;

Agent Synchronizing; Sophisticated semaphore usage;

Curriculum: Sec. 4 ProducerConsumer Monitor, ProducerConsumer Application, Another App. With Multiple Producers and Consumers

 ReaderWriter.pdf

5

2/6

Unit Testing & Junit;

Unit Testing Agents; Mock Agents; Refactoring: Typing;

Read this paper first:

Junit Introduction

Then: Roadmap: Sec. 8

 

 v4.1 coding

 

 

 

Unit Testing Example;

v4.2 details:

  Multi-Step Actions;

  Sharing data;

Read Sean Turner's code:

   One Customer Test

   Two customers tests

 v4.2 requirements

Roadmap: Sec. 9.1

v4.1 Due Sunday 2/12

6

2/13

Midterm Preparation

 

Unit Testing:

lab5guide.pdf

LabforSettingupUnitTesting.pdf

V4.2 coding;

lab6guide.pdf

 

Midterm

7

2/20

President's Day

 

V4.2 coding;

 

Midterm Postmortem

v4.2 due Mon 2/26.

8

2/27

Factory Kickoff;

Discussion of Factory; Subversion, tools

Intro-to-version-control SubversionGuidelines.htm
SubversionPresentation

 The Factory Project

 

GlassLineLab.pdf

 

Group Ethics

Prior To Class:

  Curriculum: Sec. 3.3

9

3/5

Discussion of v0

 

 

Factory lab

 

Data Modeling;

Mediator Pattern

 Curriculum: Sec. 9

v0 design due Sun. 3/18

 3/12 through 3/16  Spring Break

10

3/19

Review of v0 including
unit testing v0

 

Factory lab on unit testing v0

 

 

 

More on Data Modeling for data bases;
More on Patterns;

v.0 due

Sun 3/25

11

3/26

Review of v1

 

Factory lab

 

 

Midterm

 

12

4/2

Midterm postmortem

 

 

Factory lab

 

Unit testing semaphores

 

 v.1 due

Sun. 4/8

13

4/9

Non-normative cases;

Making a presentation;

 

 

 Factory lab

 

 

 

 

14

4/16

 Project Status

 

 

 Factory lab

 

 

 v.2 due.

Sun. 4/22

15

4/23

 Presentations

 

 

 NO LAB

 

 Presentations

 

 

  Final Exam:  None

 

The University of Southern California does not screen or control the content on this website and thus does not guarantee the accuracy, integrity, or quality of such content. All content on this website is provided by and is the sole responsibility of the person from which such content originated, and such content does not necessarily reflect the opinions of the University administration or the Board of Trustees