CS 175 - Intro to Computer Science I
CS 501a - Computer Programming Essentials
Semester: Fall 2014
Information / Announcements
Notes
Introduction to Computing and Programming
Beginning Programming with Robocode
Using Objects
Robocode lab - CornerBot1
Using Objects lab - TryRandom1
(The
java.util.Random
class)
TryRandom2 - Math.random() method alternative
Implementing Classes
Robocode lab - CircleBot1, ZigBot1, RandomTurnBot1
Robocode lab - MethodBot1
Implementing Classes lab - Counter
Robocode lab - CornerBot2, using modulus (%) operator
Data Types
Scanner Input lab - BMI
Implementing Classes and Input lab - BankAccount
Decisions
Decisions lab - LargestOfFive
Robocode lab - AdjustFireBot1
Robocode lab - NearestWallBot1
Decisions lab - ChessSquares
Decisions lab - Counter class redux
More on Methods
Methods lab - TryRandom3, using randbetween method
Robocode lab - gotoCenter, gotoCoords methods
Robocode lab - distanceTo(x,y) method
Loops
Loops lab - OddEven
Loops lab - Inches-to-centimeters, pounds-to-kg conversion tables
Loops lab - Temperature conversion tables
Loops lab - Ulam sequence
Loops lab - Sum of odd integers
Loops lab - Number guessing game
Loops lab - Sum of dice
Arrays
Arrays lab - Sum of dice
Arrays lab - Magic 8-Ball
Tasks
List of Assignments
(Next deadline: Tues, 12/9, noon)
Lab Test 1 - robocode tournament 1
(10/23)
Resources and Links
Piazza home for CS-175/501a-50, Fall 2014
Piazza home for 501a-51, Fall 2014
Generic Java program template for CS 175
Robocode class methods reference
http://greenteapress.com/thinkapjava/
(Think Java, online textbook)
http://math.hws.edu/javanotes/
(Introduction to Programming using Java)
http://java.sun.com/docs/books/tutorial/
(Sun Java Tutorials)
http://www.leepoint.net/notes-java/index.html
(Fred Swartz Java notes)
The drjava IDE