CS141: Topics for Week 8: Mar 5/7/8, 2018


Computer Science Headlines: ACM Tech News

Mon: Continue from Last Week

Reading:

Lab and Other Activities

Lecture Discussion Topics:

Concepts and Vocabulary

array (1D, 2D, multi-dimensional)
Declaring an array
Accessing array elements
Initializing an array
Enhanced for-loop
Out of bounds problems
Calculating with arrays:
  ... comparing, summing, min/max, averages, swap elements
  ... sequential search, sorting
Arrays class
Arrays as arguments & parameters
Arrays of objects
Selection sort
Binary search
2D Arrays
  ... declaring
  ... obtaining number of rows/columns
  ... accessing elements
  ... as arguments & parameters
ArrayList class
  ... Creating and declaring an ArrayList
  ... Diamond syntax <>
  ... Auto-boxing/wrapping