From charlesreid1

No edit summary
Line 11: Line 11:
==Section 11.1: Lists==
==Section 11.1: Lists==


===Definitions===
===11.1 Definitions===


Definitions:
Definitions:
Line 19: Line 19:
* Abstract data type
* Abstract data type


===Material===
===11.1 Material===


Collection types:
Collection types:
Line 35: Line 35:
==Section 11.2: Sets==
==Section 11.2: Sets==


===Definitions===
===11.2 Definitions===


Definitions:
Definitions:
* Set
* Set


===Material===
===11.2 Material===


Sets
Sets
Line 51: Line 51:
==Section 11.3: Maps==
==Section 11.3: Maps==


===Definitions===
===11.3 Definitions===


Definitions:
Definitions:
* Maps
* Maps


===Material===
===11.3 Material===


Maps:
Maps:
Line 66: Line 66:
Map case study: wordcount
Map case study: wordcount


=Chapter 11 Summary=
==Chapter 11 Summary==


==Deliverables==
===Deliverables===


Must be able to:
Must be able to:
Line 82: Line 82:
(Which of the following best describes a linked list)
(Which of the following best describes a linked list)


=Chapter 11 Goodies=
==Chapter 11 Code==


==Puzzle 3==
===Lecture Code===


==Profiles==
NEED TO DO ALL OF THIS
 
===Worksheet Code===
 
NEED TO DO ALL OF THIS
 
==Chapter 11 Homework==
 
===HW Questions===
 
(Recommended) Self-check problems:
 
(Required) Exercises:
 
(Required) Projects:
 
===HW Details===
 
Self-check:
 
Exercises:
 
Projects:
 
==Chapter 11 Goodies==
 
===Puzzle 3===
 
===Profiles===


=Flags=
=Flags=


{{CSC143Flag}}
{{CSC143Flag}}

Revision as of 02:14, 14 September 2016

Chapter 11: Java Collections Framework

Sections:

11.1 Lists

11.2 Sets

11.3 Maps

Section 11.1: Lists

11.1 Definitions

Definitions:

  • Collection
  • Linked list
  • Iterator
  • Abstract data type

11.1 Material

Collection types:

  • Lists
  • Sets
  • Maps

Types of lists:

  • LinkedList versus ArrayList
  • List iterators
  • Abstract data types (ADTs)

LinkedList case study: Sieve

Section 11.2: Sets

11.2 Definitions

Definitions:

  • Set

11.2 Material

Sets

  • Mathematical concept, and membership
  • TreeSet vs HashSet
  • Set operators and set operations

Set example: lottery

Section 11.3: Maps

11.3 Definitions

Definitions:

  • Maps

11.3 Material

Maps:

  • Functions, mapping one set onto another, math/logic connection
  • TreeMap vs HashMap
  • Map attributes: keys and values
  • Map operations

Map case study: wordcount

Chapter 11 Summary

Deliverables

Must be able to:

  • Identify major data types (list, map, set)
  • Identify what types of algorithms or applications work best for each data type (problem-solving, conceptual grasp)
  • Know difference between tree/hash/linked/array/etc all implementations
  • Identify correct/incorrect syntax
  • Write pseudocode to deal with iteration and indexing and other
  • Conditional logic + data containers = data analysis

(Which of the following best describes a hash map)

(Which of the following best describes a linked list)

Chapter 11 Code

Lecture Code

NEED TO DO ALL OF THIS

Worksheet Code

NEED TO DO ALL OF THIS

Chapter 11 Homework

HW Questions

(Recommended) Self-check problems:

(Required) Exercises:

(Required) Projects:

HW Details

Self-check:

Exercises:

Projects:

Chapter 11 Goodies

Puzzle 3

Profiles

Flags