UT Computer Science

CS 312
Introduction to Programming
Spring 2024

Professor Carol Ramsey


Syllabus

Class Textbook: Building Java Programs (5e)

Setting up for CS 312 (Java)

Programming Assignments

Here's the programming assignments that contain the starter code in a zipfile and the instructions. This table will also show the due date for each assignment, and the name of the assignment. You also need the CS 312 Java Class Reference and CS 312 Java Style Guide to earn the full and necessary points for each assignment.

Assignment # Assignment Name Due Date Files
1 Little Old Lady January 31, 2024 A1 Files.zip
Instruction for assignments

PowerPoint Notes

Week # Chapter Files
1 1 Day 1 Course Intro
Day 2 Hello World
Day 3 Procedural Decomposition
Code Samples for Week 1
2 2 Day 4 Basic Data Concepts
Day 6 Variables
Day 7 The For Loop
Day 8 Managing Complexity
Code Samples for Week 2
3 3 Day 8 + Extra: Basic Computing, Java, and Errors
3.1 Parameters
3.2-3.3 Methods with Returns and Objects
Code Samples for Week 3
4 Chapter 3 Graphics Introduction to Graphics
Decomposition with Graphics
3G.1 Code Sample
3G.2 Code Sample
Lecture Review using Java
5 4.1 - 5.2 If-Else Statements
More on If and Boolean Declaritives
While Loops and the Fencepost Problem
Chapter 4 Code Samples
Chapter 5 Code Samples
Notes done by me
6 5.3-6.2 The boolean Type
User Errors, Assertions, and Program Logic
File-Reading Basics and Token-based Processing
7 6.3-7.2 Line-based Processing
Advanced File Processing
Array Basics and Array-Traversal Algorithms
8 7.2-7.5 Array-Traversal Algos and Reference Semantics
Advanced Array Techniques
Multidimensional Arrays
9 7.6-7.7 Arrays of Pixels
Benford's Law
10 8.1-8.2 Object-Oriented Programming (OOP)
Object State and Behavior
Code Sample for 8.2
11
12
13