CSCI202: Computer Programming II

Updated 2013.05.08

Syllabus

Final test is Tuesday, 5/14/2013 from noon until 2:20 in HH138

Day 29. Thursday, 5/09/2013.

·       Practice Test

·       Practice Test Video solutions:

o   Problem 1: http://screencast.com/t/9flT8r1slem

o   Problem 2: http://screencast.com/t/NAh2Ydnld80E

o   Problem 3, part 1: http://screencast.com/t/fCX9e2MrkJz

o   Problem 3, Part 2: http://screencast.com/t/OifVehgd

o   Problem 4, Part 1: http://screencast.com/t/ZUkXyugA4rL8

o   Problem 4, Part 2: http://screencast.com/t/ymisoOFh99o4

 

Earlier classes are below…

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Day 28. Tuesday, 5/07/2013

·       Objects

·       Fractions. Drop in a program.

·       Sprites. Drop in a program.

What else can you do with XNA? Code samples:

·       More classes: Particles.

·       Platformer

·       Blackjack

·       3D Space Wars

Day 27. Thursday, 5/02/2013

·       Interesting tech

·       Discuss, work on Tetris

·       Tetris, more notes

Day 26. Tuesday, 4/30/2013

·       Test #2

·       Tetris part 2 discussion, work time

·       Checking for any key: if (kbd.GetPressedKeys().GetLength(0) > 0)

Tetris, Part 2, Due Thursday, 5/02/2013

·       Tetris!

·       Tetris, part 2. Here are some hints.

Tetris, PART 1. Due Tuesday, 4/30/2013

·       Tetris, part 1

Day 25. Thursday, 4/25/2013

·       Test #2. Know how to use 1D arrays, 2D arrays, input files, structures, strings, procedures, and functions.

·       Practice Test Questions

·       Practice Test Shell Program

·       Practice Test Solution

·       Shell Program

Day 24. Tuesday, 4/23/2013

·       Classes. A Fraction class.

·       Tetris!

·       Tetris. Try it!

·       Tetris web site

Day 23. Thursday, 4/18/2013

·       Classes and objects. Notes.

·       Test #2: Next Thursday, 4/25/13.

Homework due Thursday, 4/18/2013

·       Boggle. You may work with a partner if you wish. Cubes file. Valid words file.

Day 22. Tuesday, 4/16/2013

·       Boggle notes

Day 21. Thursday, 4/11/2013

·       2D arrays, the mouse, files, lists, random numbers, etc.

Day 20. Thursday, 4/04/2013

·       Functions  (these are the notes from Tuesday)

·       Practice

Homework due Thursday 4/04/2013

·       Life. How it should work: Videos. Life data files.

Day 19. Tuesday, 4/02/2013

·       Life program is NOT due until Thursday, April 4.

·       Functions

Day 18. Thursday, 3/28/2013

·       More on nested loops. Notes.

Day 17. Tuesday, 3/26/2013

·       Nested loops. Notes

Homework due 4/02/2013 (handed out 3/26)

·       Life. How it should work: video. Life data files.

Day 16. Thursday, 3/21/2013

·       Minesweeper, part 2

·       The mouse in XNA

Day 15. Tuesday, 3/19/2013

·       Minesweeper, part1

Homework due Tuesday, 3/26/2013 (handed out 3/19)

·       Top 10 Roadkill

·       Review for homework: Program to read from keyboard, strings and string functions, methods, files, sorting.

Day 14. Thursday, 3/07/2013

·       2D arrays

Day 13. Tuesday, 3/05/2013

·       Test 1 is Today.

·       Test

Day 12. Thursday, 2/28/2013

·       Test 1 is Tuesday, March 5.

·       Practice test, runner image, fighter image

·       Practice test solution

·       Things to know for the test

·       Interesting trends in programming languages. More data.

Day 11. Tuesday, 2/26/2013.

·       Sorting: Sorting the Top 10 list

Day 10. Thursday, 2/21/2013.

·       Input boxes, files. Notes

·       Here's a crashing sound (for when your vehicle collides with an obstacle). Feel free to find and use your own, though.

Day 9. Tuesday, 2/19/2013.

·       Scrolling backgrounds. Notes

·       Mountain climber

Program #3. Given Day 9. Due Thu 2/28/2013 at noon.

·       Roadkill. You may work with a partner on this assignment.

·       Working version.

Day 8. Thu 2/14/2013©

·       Debugging 1

·       Debugging

Day 7. Tue 2/12/2013

·       Free looping sound files. They are relatively small and can be used for background sound.

·       Files. Notes

Day 6. Thu 2/07/2013

·       Lists. Notes.

Day 5. Tue 2/05/2013

·       Sprite sheet animation: Notes

·       1D sprite sheets: run, jump, celebrate, die, explode

·       2D sprite sheets: 3 rings, Invaders

·       Program #2 discussion.

Program #2 due Tue 2/19/2013 at noon.

·       Space Invaders. You may work with a partner on this assignment. Hand in a zipped copy of your project in the drop box.

·       Working version

Day 4. Thu 1/31/2013

·       More on methods and parameters.

Day 3. Tue 1/29/2013

·       Code for setting the viewport

·       The return statement

·       Scaling a sprite

Program #1 due Tue 2/05/2013 at noon.

·       Two-player asteroids. You may work with a partner on this assignment. Hand in a zipped copy of your project in the drop box.

Day 2. Thursday, 1/24/2013

·       More on scaling

·       Viewports

·       Procedures and parameters

·       Pong program from last class

Day 1. Tue, 1/22/2013

·       7 rules for beginning programmers

·       Review. Write 2-player Pong in 75 minutes.

Day 7. Tuesday, 2/12/2013

Program #4. Due Day 16

Day 14. Thursday, 3/07/2013

 

Spring Break March 9-17

Day 18. Thursday, 3/28/2013

·       2D Arrays problem, continued.

 

2013: Determine examples (Student first? Then fraction?)

Day 21. Thursday, 4/11/2013

Day 22. Tuesday, 4/16/2013

·       A complete class example: a Fraction class.

Day 23. Tuesday, 4/10/2012

Day 22. Tuesday, 4/17/2012

Day 23. Thursday, 4/19/2012

Program #6, PART 2. Due Day 25.

Day 24. Tuesday, 4/24/2012

Final Test