Labs
20 labs · 10 pts each · 3+5+2 scoring · Drop 2 lowest
W1 Welcome to Java
01Hello, World
Your first Java program — println, escape sequences, concatenation
02Character Stats
Declaring variables of every type and printing formatted output
03User Input
Scanner methods, mixed input types, and the nextInt/nextLine trap
W2 Expressions & Strings
04Unit Converter
Integer division, modulus, type casting, and formatted output
05Text Analyzer
String methods, content comparison, and boolean classification
06Eligibility Checker
Multi-branch conditionals, range validation, and compound logic
W3 Decisions
07Choose Your Path
Switch statements, ternary expressions, and branching narratives
08Command Parser
Parsing structured text input with switch and String methods
09Dice Roller
Random numbers, static methods, and compound assignment
W4 Loops
10Loop Drills
Three loop types, sentinel input, accumulators, and validation
11Pattern Printer
Nested loops, print vs println, and ASCII art
W5 Methods & Midterm
12Math Utilities
Static methods with parameters, return values, and overloading
13Reward Calculator
Methods calling methods, the call stack, and pass-by-value
W6 Arrays
14Array Statistics
Traversal, sum, max, min, average, and linear search
15Search and Sort
Selection sort, binary search, and parallel array coordination
W7 File I/O
16File Statistics
Reading files, counting patterns, handling exceptions, writing output
17Sentence Similarity
File processing patterns, tokenization, and similarity scoring