Caution! You are looking at an out-of-date version of this website from Spring 2017.
To access the current version, click here.

Precepts

The worksheets and code on this page will largely be covered in precept. The recommended exercises and websheets are here for you to practice your skills at home. Websheets are online programming exercises you can write and submit in your browser which give you instant feedback and have reference solutions if you get stuck.

# DATE TOPICS & WORKSHEETS CODE WEBSHEETS
0 2/7,
2/8
HelloWorld &
Command-Line Arguments
Ice Breaker
HelloWorld
NameAge (Solution)
NextYear (Solution)
HelloWorld
NameAge
NextYear
SquareOf
SquareSwap
1 2/9,
2/10
Data Types Data Types Jigsaw
Eggsactly
PercentScore
Distance
ThreeSort
Eggsactly
PercentScore
PizzaCalculator
AboveAverage
Distance
ThreeSort
2 2/14,
2/15
Conditionals & Loops
Debugging Tips
RollDie, RollLoadedDie
PowersOfTwo, FiniteSum
FivePerLine
BuggyFivePerLine1
BuggyFivePerLine2
BuggyFivePerLine3
BuggyFivePerLine4
Flag
PowersOfTwo
FiniteSum
AgeChecker
SquareCensus
Quadratic
ModularSqrt
3 2/16,
2/17
Arrays HowMany
Distinct
MysteryArray
Birthday SecretMessage
Distinct
Reverse
NOrdered
NSwap
Commonest
4 2/21,
2/22
StdIn & StdOut MaxMin
Students
students.txt
MaxMin
Students
Powers
Squish
Means
5 2/23,
2/24
StdDraw Checkerboard
BouncingBallDeluxe
TennisBall.png
pipebang.wav
6 2/28,
3/1
Functions Perimeter
(Copy into Java Visualizer)
Maxi
Reverse
DiamondTile
Positive
Find
Boxed
Summer
Yarra
7 3/2,
3/3
Recursion &
Recursive Graphics
Factorial
NestedCircles
Htree
Kettles
Factorial
TextFractal
BinarySum
Evaluate
ZeroSum
8 3/7,
3/8
Written Exam Review Mini Practice Exam
(Solutions)
9 3/9,
3/10
Number Systems Number Systems Worksheet
(Solutions)
10 3/14,
3/15
TOY Programming TOY Reference Card
TOY Programming Worksheet
TOY Programming Solutions
11 3/16,
3/17
NO PRECEPT
MANDATORY CLASS MEETING ON THURSDAY 3/16
spring break
12 3/28, 3/29 Using Data Types Stopwatch, PlayTime
Charge, FourChargeClient
ColorSeparation, peppers.jpg

Provided as reference:
Picture API, Color API
FourChargeClient
IsPalindrome
ComplementaryDNA
CircularShift
GeneFind
13 3/30, 3/31 Creating Data Types: Object-orienting a bouncing ball, Ball client Ball, BouncingBalls

Provided as reference:
BouncingBall
Recorder
Clicker
CountingSort
CombinationLock
Monomial
14 4/4,
4/5
Performance Repeat
15 4/6, 4/7 Sorting, More Objects Vector Name
Interval
Vector
Lambert
16 4/11,
4/12
Stacks & Queues,
Generics & Wrapper Classes
S&Qs Worksheet

LineEdit, Stack, Queue
LineEdit
QMerge
17 4/13,
4/14
Symbol Tables &
Binary Search Trees (BSTs)
STs Worksheet

FrequencyTable,ST, mobydick.txt

BSTs Worksheet (Solution)
FrequencyTable
ReverseLookup
18 4/18,
4/19
Linked Lists CircularQuote CircularQuote
MonkeyTraverse
MonkeyAddStart
MonkeyAddEnd
19 4/20,
4/21
Regular Expressions (REs) &
Deterministic Finite Automata (DFAs)
REs & DFAs Worksheet (Solution) RegularExercise
20 4/25,
4/26
P = NP? Theory Jigsaw
21 4/27,
4/28
Boolean Algebra & Circuits Boolean Alg. Worksheet
Boolean Alg. Solution
Circuits Match-up Worksheet
Circuits Match-up Checker
22 5/2,
5/3
Exam Review COS 126 Jeopardy!
23 5/4,
5/5
No precept.
24 Go to any one of the following:
Fri. May 5th, 1:30-2:50pm with Donna Gabai in Friend 006
Mon. May 8th, 1:30-2:50pm with Ibrahim Albluwi in Friend 004 (Slides)
Wed. May 10th, 1:30-2:50pm with Dan Leyzberg in Friend 004
Final Project "Tips & Tricks"
Slides