Chapter 0 modules¶
- 0.1. Data Structures and Algorithms
- 0.2. Spotlight: Carl Friedrich Gauss
- 0.3. Spotlight: Francis Bacon
- 0.4. Command Line Basics
- 0.5. Parsing Command Line Parameters In Your Program
- 0.6. Using Command Line Parameters in Eclipse
- 0.7. Installing the Web-CAT Submission Plug-in for Eclipse
- 0.8. Common Debugging Methods
- 0.9. Debugging In Eclipse
- 0.10. Using the Java Scanner Class
- 0.11. Random Access Files In Java
- 0.12. JUnit Testing And You
- 0.13. Writing JUnit Tests
- 0.14. Code Coverage In JUnit
- 0.15. Using Mutation Coverage In Eclipse
- 0.16. Mutation Testing Basics
- 0.16.1. Types of Mutants
- 0.16.1.1. Arithmetic Operation Mutant
- 0.16.1.2. Example Code 1: Arithmetic Operation Mutant
- 0.16.1.3. Logical Expression Mutant (Remove Conditionals)
- 0.16.1.4. Example Code 2: Logical Expression Mutant (Remove Conditionals)
- 0.16.1.5. Example Code 3: Multiple Mutants in One (EvenOddCheck)
- 0.16.1.6. Example Code 4: Loop Conditions (optional)
- 0.16.1. Types of Mutants
- 0.17. Mutation Coverage Advanced Examples
- 0.18. Abstract Data Types
- 0.19. Introduction to Object-Oriented Programming
- 0.20. The Unified Modeling Language
- 0.21. Software Development Processes
- 0.22. Pointers Chapter Introduction
- 0.23. Basic References Part 1
- 0.24. Basic References Part 2
- 0.25. Pointers Syntax
- 0.26. Local Memory
- 0.27. Heap Memory
- 0.28. Link Nodes
- 0.29. Link Nodes Practice Exercises
- 0.30. Additional Practice Exercises
- 0.31. Chapter Introduction
- 0.32. Sets and Relations
- 0.33. Miscellaneous Math Notation
- 0.34. Logarithms
- 0.35. Summations Introduction
- 0.36. An Introduction to Recurrence Relations
- 0.37. Mathematical Proof Techniques
- 0.38. Introduction to Estimation
- 0.39. Chapter Summary Questions
- 0.40. Searching in an Array
- 0.41. Chapter Introduction
- 0.42. Problems, Algorithms, and Programs
- 0.43. Comparing Algorithms
- 0.44. Best, Worst, and Average Cases
- 0.45. Faster Computer, or Faster Algorithm?
- 0.46. Asymptotic Analysis and Upper Bounds
- 0.47. Lower Bounds and \(\Theta\) Notation
- 0.48. Calculating Program Running Time
- 0.49. Analyzing Problems
- 0.50. Common Misunderstandings
- 0.51. Multiple Parameters
- 0.52. Space Bounds
- 0.53. Code Tuning and Empirical Analysis
- 0.54. Algorithm Analysis Summary Exercises
- 0.55. Algorithm Analysis Summary Exercises
- 0.56. Chapter Introduction: Lists
- 0.57. A List ADT
- 0.58. Array-Based List Implementation
- 0.59. Linked Lists
- 0.60. Comparison of List Implementations
- 0.61. Doubly Linked Lists
- 0.62. List Element Implementations
- 0.63. Stacks
- 0.64. Linked Stacks
- 0.65. Freelists
- 0.66. Implementing Recursion
- 0.67. Queues
- 0.68. Linked Queues
- 0.69. Linear Structure Summary Exercises
- 0.70. Introduction to Recursion
- 0.71. Writing a recursive function
- 0.72. Code Completion Practice Exercises
- 0.72.1. Introduction
- 0.72.2. Recursion Programming Exercise: Largest
- 0.72.3. Recursion Programming Exercise: Multiply
- 0.72.4. Recursion Programming Exercise: GCD
- 0.72.5. Recursion Programming Exercise: log
- 0.72.6. Recursion Programming Exercise: Cummulative Sum
- 0.72.7. Recursion Programming Exercise: Add odd values
- 0.72.8. Recursion Programming Exercise: Sum Of the Digits
- 0.72.9. Recursion Programming Exercise: Count Characters
- 0.73. Writing More Sophisticated Recursive Functions
- 0.74. Intermediate Recursion Code Completion Exercises
- 0.75. Writing Practice Exercises
- 0.76. Tracing Recursive Code
- 0.77. Recursion Code Tracing Practice Exercises
- 0.78. Recursion Summary Questions
- 0.79. Design Patterns
- 0.80. Alternative List ADT Designs
- 0.81. Comparing Records
- 0.82. The Dictionary ADT
- 0.83. Binary Trees Chapter Introduction
- 0.84. Binary Trees
- 0.85. Binary Tree as a Recursive Data Structure
- 0.86. The Full Binary Tree Theorem
- 0.87. Binary Tree Traversals
- 0.88. Implementing Tree Traversals
- 0.89. Information Flow in Recursive Functions
- 0.89.1. Information Flow in Recursive Functions
- 0.89.2. Binary Tree Set Depth Exercise
- 0.89.3. Collect-and-return
- 0.89.4. Binary Tree Check Sum Exercise
- 0.89.5. Binary Tree Leaf Nodes Count Exercise
- 0.89.6. Binary Tree Sum Nodes Exercise
- 0.89.7. Combining Information Flows
- 0.89.8. Binary Tree Check Value Exercise
- 0.89.9. Combination Problems
- 0.89.10. Binary Tree Height Exercise
- 0.89.11. Binary Tree Get Difference Exercise
- 0.89.12. Binary Tree Has Path Sum Exercise
- 0.90. Binary Tree Node Implementations
- 0.91. Composite-based Expression Tree
- 0.92. Binary Tree Space Requirements
- 0.93. Binary Search Trees
- 0.94. Dictionary Implementation Using a BST
- 0.95. Binary Tree Guided Information Flow
- 0.96. Multiple Binary Trees
- 0.97. A Hard Information Flow Problem
- 0.98. Array Implementation for Complete Binary Trees
- 0.99. Heaps and Priority Queues
- 0.100. Huffman Coding Trees
- 0.101. Trees versus Tries
- 0.102. Proof of Optimality for Huffman Coding
- 0.103. Binary Tree Chapter Summary
- 0.104. Chapter Introduction: Sorting
- 0.105. Sorting Terminology and Notation
- 0.106. Insertion Sort
- 0.107. Bubble Sort
- 0.108. Selection Sort
- 0.109. The Cost of Exchange Sorting
- 0.110. Optimizing Sort Algorithms with Code Tuning
- 0.111. Shellsort
- 0.112. Mergesort Concepts
- 0.113. Implementing Mergesort
- 0.114. Quicksort
- 0.115. Heapsort
- 0.116. Binsort
- 0.117. Radix Sort
- 0.118. An Empirical Comparison of Sorting Algorithms
- 0.119. Lower Bounds for Sorting
- 0.120. Sorting Summary Exercises
- 0.121. Chapter Introduction: File Processing
- 0.122. Primary versus Secondary Storage
- 0.123. Disk Drives
- 0.124. Buffer Pools
- 0.125. The Programmer’s View of Files
- 0.126. External Sorting
- 0.127. Introduction to Hashing
- 0.128. Hash Function Principles
- 0.129. Sample Hash Functions
- 0.130. Open Hashing
- 0.131. Bucket Hashing
- 0.132. Collision Resolution
- 0.133. Improved Collision Resolution
- 0.134. Analysis of Closed Hashing
- 0.135. Hahing Deletion
- 0.136. Hashing Chapter Summary Exercises
- 0.137. Chapter Introduction: Memory Management
- 0.138. Dynamic Storage Allocation
- 0.139. Sequential-Fit Methods
- 0.140. First Fit Memory Allocation
- 0.141. Circular First Fit
- 0.142. Best Fit Memory Manager
- 0.143. Worst Fit Memory Manager
- 0.144. Sequential Fit Peformance
- 0.145. Buddy Method and Other Memory Allocation Methods
- 0.146. Failure Policies and Garbage Collection
- 0.147. Indexing Chapter Introduction
- 0.148. Linear Indexing
- 0.149. ISAM
- 0.150. Tree-based Indexing
- 0.151. 2-3 Trees
- 0.152. B-Trees
- 0.153. Indexing Summary Exercises
- 0.154. General Trees
- 0.155. Union/Find and the Parent Pointer Implementation
- 0.156. Sequential Tree Representations
- 0.157. Graphs Chapter Introduction
- 0.158. Graph Implementations
- 0.159. Graph Traversals
- 0.160. Topological Sort
- 0.161. Shortest-Paths Problems
- 0.162. Minimal Cost Spanning Trees
- 0.163. Kruskal’s Algorithm
- 0.164. All-Pairs Shortest Paths
- 0.165. Spatial Data Structures
- 0.166. The PR Quadtree
- 0.167. KD Trees
- 0.168. The Bintree
- 0.169. Other Spatial Data Structures
- 0.170. Data and Algorithm Analysis
- 0.171. An Introduction to Problem Solving
- 0.172. Semester Overview
- 0.173. Introduction to Analyzing a Problem
- 0.174. Bounds Review
- 0.175. Growth Rates Review
- 0.176. Summation Techniques
- 0.177. Solving Recurrence Relations
- 0.178. Chapter Introduction: Search
- 0.179. Analyzing Search in Unsorted Lists
- 0.180. Search in Sorted Arrays
- 0.181. Self-Organizing Lists
- 0.182. Bit Vectors for Representing Sets
- 0.183. Perfect Hashing
- 0.184. Finding the Maximum Value
- 0.185. Adversarial Lower Bounds Proofs
- 0.186. State Space Lower Bounds Proofs
- 0.187. Finding the \(i\) th Best Element
- 0.188. Optimal Sorting
- 0.189. Number Problems
- 0.190. The Transformation Concept
- 0.191. The Fast Fourier Transform
- 0.192. Introduction to Probabilistic Algorithms
- 0.193. Finding Prime Numbers
- 0.194. Random Numbers
- 0.195. Skip Lists
- 0.196. Balanced Trees
- 0.197. The AVL Tree
- 0.198. The Splay Tree
- 0.199. The Red-Black Tree
- 0.200. The Sparse Matrix
- 0.201. Dynamic Programming
- 0.202. Amortized Analysis
- 0.203. 0/1 Knapsack Problem
- 0.204. Edit Distance
- 0.205. KMP String Search Algorithm
- 0.206. Boyer-Moore String Search Algorithm
- 0.207. Rabin-Karp String Search Algorithm [Draft]
- 0.208. General Tree Implementations
- 0.209. K-ary Tree Implementations
- 0.210. Limits to Computing
- 0.211. Reductions
- 0.212. NP-Completeness
- 0.213. Circuit Satisfiability
- 0.214. Formula Satisfiability
- 0.215. 3-CNF Satisfiability
- 0.216. The Clique Problem
- 0.217. The Independent Set Problem
- 0.218. The Vertex Cover Problem
- 0.219. The Hamiltonian Cycle Problem
- 0.220. The Traveling Salesman Problem
- 0.221. NP-Completeness Proofs
- 0.222. Reduction of Circuit SAT to SAT
- 0.223. Reduction of SAT to 3-SAT
- 0.224. Reduction of 3-SAT to Clique
- 0.225. Reduction of Clique to Independent Set
- 0.226. Reduction of Independent Set to Vertex Cover
- 0.227. Reduction of 3-SAT to Hamiltonian Cycle
- 0.228. Reduction of Hamiltonian Cycle to Traveling Salesman
- 0.229. Coping with NP-Complete Problems
- 0.230. Unsolvable Problems
- 0.231. Turing Machines
- 0.232. Derivations and Parse Trees
- 0.233. Ambiguous Grammars
- 0.234. Enforcing Order of Operations
- 0.235. Parser Generators
- 0.236. Using Parser Generators to Interpret a Language
- 0.237. List Construction and Deconstruction
- 0.238. Developing Basic, Recursive List-processing Functions
- 0.239. Recurring On Lists That Aren’t Flat
- 0.240. Using Helper Functions with Accumulators
- 0.241. Scope, Closures, Higher-order Functions, Static vs. Dynamic Binding
- 0.242. Procedural Abstraction: Map, Curry, and Compose
- 0.243. Procedural Abstraction: The Filtering and Folding (or Reduce) Patterns
- 0.244. Combining Map and Reduce
- 0.245. Continuations and Continuation Passing
- 0.246. Syntax of the Lambda Calculus
- 0.247. Semantics of the Lambda Calculus
- 0.248. Free and Bound Variables
- 0.249. Alpha-Conversion
- 0.250. The Substitution-Based Model of Evaluation
- 0.251. Beta-Reduction
- 0.252. Reduction Strategies
- 0.253. Church Numerals and Booleans
- 0.254. Recursive Functions
- 0.255. Defining SLang 1
- 0.256. Environment-based Model of Evaluation
- 0.257. Let Expressions
- 0.258. Defining SLang 2
- 0.259. Tying The Knot
- 0.260. Parameter-Passing Mechanisms
- 0.261. Lazy Lists
- 0.262. Types in Programming Languages
- 0.262.1. Motivating Examples
- 0.262.2. Type System: Definition
- 0.262.3. Type System: Static Versus Dynamic
- 0.262.4. Type System: Safe Versus Unsafe
- 0.262.5. Type System: Strong Versus Weak
- 0.262.6. Type System: Typed Variables or Values
- 0.262.7. Type System: Explicit Versus Implicit typing
- 0.262.8. The Many Uses of Type Systems
- 0.263. Type Inference
- 0.263.1. Type Environments
- 0.263.2. Typing Rules Expressed as Post Systems
- 0.263.3. Typing in a Scaled-down ML
- 0.263.4. Using Post System Rules to Describe Type Inferencing in ML
- 0.263.5. Parametric Polymorphism in ML
- 0.263.6. Type inferencing in ML
- 0.263.7. Type Inferencing Problem 1
- 0.263.8. Type Inferencing Problem 2
- 0.263.9. Type Inferencing Problem 3
- 0.263.10. Type Inferencing Problem 4
- 0.263.11. Type Inferencing Problem 5
- 0.263.12. Type Inferencing Problem 6
- 0.264. Properties
- 0.265. Importing and Using Downloaded Examples in Eclipse
- 0.266. Writing JUnit Tests with student.TestCase
- 0.266.1. Use JUnit
- 0.266.2. Run a JUnit Test
- 0.266.3. Naming Conventions
- 0.266.4. Instance Variables
- 0.266.5. setUp Method
- 0.266.6. tearDown Method (Optional)
- 0.266.7. Code coverage
- 0.266.8. Testing Exceptions
- 0.266.9. General Unit Testing Tips
- 0.266.10. Testing methods by passing null params
- 0.266.11. I/O Testing Tips
- 0.267. Java I/O tutorial
- 0.267.1. Files and Stream-based Input and Output
- 0.267.2. Basic Input and Output Concepts
- 0.267.3. Opening a Stream for Output
- 0.267.4. Writing to an Output Stream
- 0.267.5. Closing a Stream
- 0.267.6. A Complete Output Example
- 0.267.7. Output with System.out
- 0.267.8. Opening a Stream for Input
- 0.267.9. Reading from an Input Stream
- 0.267.10. A Complete Input Example
- 0.267.11. A Complete Input/Output Example
- 0.267.12. Testing I/O-based Operations
- 0.267.13. Dealing with Exceptions
- 0.268. Commenting guidelines
- 0.269. Tips on Random Numbers
- 0.270. Understanding this Course
- 0.270.1. Read the Course Syllabus
- 0.270.2. Who Is This Class For?
- 0.270.3. Students of Many Experience Levels
- 0.270.4. Weekly Schedule
- 0.270.5. Reading Activities
- 0.270.6. Labs
- 0.270.7. Programming Assignments
- 0.270.8. Programming Language and Environment
- 0.270.9. Free Passes Instead of Traditional Late Policy
- 0.270.10. Cheating and The Honor Code
- 0.270.11. Using Generative AI Tools
- 0.270.12. Self-Check: Confirm Your Understanding
- 0.271. Getting Started
- 0.271.1. Installing BlueJ
- 0.271.2. Introducing LightBot
- 0.271.3. From LightBot to Micro Worlds
- 0.271.4. Self Check: Micro-Worlds
- 0.271.5. A Bit More LightBot
- 0.271.6. Textually Representing Programs
- 0.271.7. Self-Check: Turning Micro-Worlds into Code
- 0.271.8. What Does LightBot Say About Programming?
- 0.271.9. A Programmable LightBot in Java
- 0.271.10. Syntax Practice 1a
- 0.271.11. Creating New Objects
- 0.271.12. Calling Methods on an Object
- 0.271.13. Putting it All Together
- 0.271.14. We All Make Mistakes: Errors Happen
- 0.271.15. A Word on Making Code Easy to Read
- 0.271.16. Comparing Visual and Textual Programming
- 0.271.17. Syntax Practice 1b
- 0.271.18. Programming Practice 1
- 0.271.19. Check Your Understanding
- 0.272. Inheritance and Polymorphism: Subclasses and Methods
- 0.272.1. The Jeroos of Santong Island
- 0.272.2. Your Opinions on Course Grading Policies
- 0.272.3. Class Hierarchy and Inheritance
- 0.272.4. Summarizing: What is Inheritance?
- 0.272.5. Syntax Practice 2a: Jeroo Methods
- 0.272.6. Problem Solving and Algorithms
- 0.272.7. Creating and Using Jeroo Methods
- 0.272.8. What is Polymorphism?
- 0.272.9. Syntax Practice 2b: Subclass Constructors
- 0.272.10. Syntax Practice 2c: More Subclass Constructors
- 0.272.11. Programming Practice 2
- 0.272.12. Check Your Understanding
- 0.273. Conditional and Repeating Actions
- 0.273.1. Selection
- 0.273.2. Conditions Using Sensor Methods
- 0.273.3. An Overview of Conditional Statements
- 0.273.4. Java’s Syntax for the If-Then-Else Structure
- 0.273.5. Syntax Practice 3a: If-Then-Else
- 0.273.6. Creating Optional Statements With If-then
- 0.273.7. Java’s Syntax for the If-then Structure
- 0.273.8. Syntax Practice 3b: If-Then
- 0.273.9. Java’s Syntax for the Multi-way Selection Structure (a cascaded if)
- 0.273.10. Syntax Practice 3c: Multi-way If
- 0.273.11. Compound Conditions
- 0.273.12. Syntax Practice 3d: Compound Conditions
- 0.273.13. Your Opinions on Learning and Engagement
- 0.273.14. Repeating Actions
- 0.273.15. Generic Repetition Structures
- 0.273.16. Java’s Syntax for the While Loop
- 0.273.17. Syntax Practice 3e: While Loops
- 0.273.18. Programming Practice 3
- 0.273.19. Check Your Understanding
- 0.274. Software Testing
- 0.274.1. What Is Software Testing?
- 0.274.2. Writing Your First Software Test
- 0.274.3. Check Your Understanding: Software Testing Concepts
- 0.274.4. More About Methods
- 0.274.5. Check Your Understanding: Method Signatures
- 0.274.6. Check Your Understanding: Methods with Parameters
- 0.274.7. Good Habits for Conditionals
- 0.274.8. A Different Type of Complex If-Statement
- 0.274.9. Short Circuit Evaluation
- 0.274.10. Check Your Understanding: Logical Equivalence
- 0.274.11. Syntax Practice 4a: Compound Conditionals
- 0.274.12. Syntax Practice 4b: Conditionals and Relational Operators
- 0.274.13. Programming Practice 4
- 0.274.14. Module Review
- 0.275. Variables, Fields, and Parameters
- 0.275.1. Variables
- 0.275.2. Check Your Understanding: Variables
- 0.275.3. Fields Versus Local Variables
- 0.275.4. Changing Private Variables: Mutator Methods
- 0.275.5. Check your Understanding: Scope
- 0.275.6. Accessor Methods
- 0.275.7. Check Your Understanding: Fields, Getters and Setters
- 0.275.8. Syntax Practice 5a: Fields and Accessors
- 0.275.9. The Return Keyword
- 0.275.10. Check your Understanding: Typed Methods and Return Statements
- 0.275.11. Syntax Practice 5b: Mutators and Return Statements
- 0.275.12. Using Fields in Testing
- 0.275.13. Programming Practice 5a
- 0.275.14. Programming Practice 5b
- 0.276. Pictures and For-each Loops
- 0.277. Aggregation, Strings and More Loops
- 0.277.1. Object-Oriented Design: Aggregation, Composition, and Delegation
- 0.277.2. Strings and Characters
- 0.277.3. Check Your Understanding: Strings
- 0.277.4. Counter-controlled Loops
- 0.277.5. Check Your Understanding: Counter Controlled Loops
- 0.277.6. Tips on Random Numbers
- 0.277.7. Check Your Understanding: Random Numbers
- 0.277.8. Method Overriding
- 0.277.9. Check Your Understanding: Method Overriding
- 0.277.10. Syntax Practice 7a: For Loops and OO Design
- 0.277.11. Syntax Practice 7b: toString and Returning Values
- 0.277.12. Programming Practice 7a
- 0.277.13. Programming Practice 7b
- 0.278. Grouping Objects Using Lists and Nested For Loops
- 0.278.1. Collections of Objects
- 0.278.2. Interfaces
- 0.278.3. Check Your Understanding: Interfaces
- 0.278.4. Syntax Practice 8a: Strings
- 0.278.5. The List Interface
- 0.278.6. Generics
- 0.278.7. ArrayList
- 0.278.8. Check Your Understanding: ArrayLists
- 0.278.9. Syntax Practice 8b: Lists
- 0.278.10. Nested For Loops
- 0.278.11. Check Your Understanding: Nested For Loops
- 0.278.12. Syntax Practice 8c: Nested Loops
- 0.278.13. Check Your Understanding
- 0.278.14. Programming Practice 8a
- 0.278.15. Programming Practice 8b
- 0.279. Lists, Loop Idioms, Generics, and the Null Keyword
- 0.279.1. Modelling the Contents of a Library
- 0.279.2. Looping Idioms
- 0.279.3. Check Your Understanding: Loop Idioms
- 0.279.4. Syntax Practice 9a: Loop Idioms
- 0.279.5. Generics Revisited
- 0.279.6. Check Your Understanding: Generics
- 0.279.7. Syntax Practice 9b: Generics
- 0.279.8. The Null Keyword
- 0.279.9. Diagnosing a Null Pointer Exception
- 0.279.10. Check Your Understanding: Null
- 0.279.11. Using BlueJ’s Debugger
- 0.279.12. Using BlueJ’s Code Pad
- 0.279.13. Programming Practice 9a: Loop Idioms
- 0.279.14. Programming Practice 9b: Loops and Generics
- 0.280. Arrays
- 0.280.1. Creating An Array
- 0.280.2. Accessing Items in Arrays
- 0.280.3. Setting Items in an Array
- 0.280.4. Arrays Compared to Lists (or ArrayList)
- 0.280.5. Putting It All Together
- 0.280.6. Check Your Understanding: Arrays
- 0.280.7. Syntax Practice 10a
- 0.280.8. Iterating Over Arrays
- 0.280.9. Check Your Understanding: Iterating with Arrays
- 0.280.10. Syntax Practice 10b
- 0.280.11. Initializing Array Contents
- 0.280.12. Printing Arrays
- 0.280.13. Copying Array Variables
- 0.280.14. Naming Array Variables
- 0.280.15. Writing Test Assertions Involving Arrays
- 0.280.16. Applying Arrays in a Problem
- 0.280.17. Syntax Practice 10c
- 0.280.18. Check Your Understanding
- 0.280.19. Programming Practice 10a
- 0.280.20. Programming Practice 10b
- 0.281. Multi-dimensional Arrays
- 0.281.1. Dimensions in an Array
- 0.281.2. Check Your Understanding: 2D Arrays
- 0.281.3. Syntax Practice: 2D Array Basics
- 0.281.4. Iterating through a 2D Array
- 0.281.5. Check Your Understanding: Iterating with 2D Arrays
- 0.281.6. Syntax Practice: Looping Over 2D Arrays
- 0.281.7. Multi-Dimensional Arrays
- 0.281.8. Syntax Practice: 3D Arrays
- 0.281.9. But Can You Have Multi-dimensional Lists?
- 0.281.10. Integer Division and Modulus
- 0.281.11. Check Your Understanding: Modulus
- 0.281.12. Syntax Practice: Modulus
- 0.281.13. Programming Practice: Multi-dimensional Arrays
- 0.281.14. Programming Practice: Mod
- 0.282. Variable Scoping, Input, and Output
- 0.282.1. Variable Scoping
- 0.282.2. Summarizing Scope Concepts
- 0.282.3. Check Your Understanding: Scope
- 0.282.4. Syntax Practice: Scoping
- 0.282.5. Java Input and Output
- 0.282.6. Output Using PrintWriters
- 0.282.7. Check Your Understanding: Output
- 0.282.8. Input Using Scanners
- 0.282.9. A Complete Input Example
- 0.282.10. Check Your Understanding: Input
- 0.282.11. A Complete Input/Output Example
- 0.282.12. Testing I/O-based Operations
- 0.282.13. Check Your Understanding: Testing
- 0.283. Maps and Sets
- 0.283.1. The Map and Set Interfaces
- 0.283.2. The Map Interface
- 0.283.3. Syntax Practice: Making Maps
- 0.283.4. Adding and Accessing Pairs in a Map
- 0.283.5. Syntax Practice: Adding to Maps
- 0.283.6. Checking for and Removing Pairs in a Map
- 0.283.7. A Visual Summary of Using Map and HashMap
- 0.283.8. Syntax Practice: Map Contains and Remove
- 0.283.9. Looping Over Map Contents
- 0.283.10. Check Your Understanding: Maps
- 0.283.11. Your Opinions on Course Grading Policies
- 0.283.12. The Set Interface
- 0.283.13. Syntax Practice: Making A Set
- 0.283.14. Adding Values to a Set
- 0.283.15. Syntax Practice: Adding to a Set
- 0.283.16. Checking Values in a Set
- 0.283.17. Syntax Practice: Set Contains
- 0.283.18. Removing Values from a Set
- 0.283.19. Syntax Practice: Set Remove
- 0.283.20. Looping Over Sets
- 0.283.21. Check Your Understanding: Sets
- 0.283.22. Programming Practice: Maps
- 0.284. Static, Main, and Exceptions
- 0.284.1. The Main Method
- 0.284.2. Check Your Understanding: Main Methods
- 0.284.3. The Static Keyword
- 0.284.4. Check Your Understanding: The Static Keyword
- 0.284.5. Your Opinions on Learning and Engagement
- 0.284.6. Errors
- 0.284.7. Throwing Exceptions
- 0.284.8. Check Your Understanding: Throwing Exceptions
- 0.284.9. Syntax Practice: Throwing Exceptions
- 0.284.10. Try/Catch Blocks
- 0.284.11. Check Your Understanding: Try/Catch Blocks
- 0.284.12. Syntax Practice: Try-Catch Blocks
