CSE 274
CSE 148 CSE 151 CSE 153 CSE 163 CSE 174 CSE 201 CSE 202 CSE 212 CSE 243 CSE 251 CSE 252 CSE 253 CSE 262 CSE 271 CSE 273 CSE 274 CSE 276 CSE 278 CSE 301 CSE 302 CSE 372 CSE 374 CSE 381 CSE 382 CSE 383 CSE 385 CSE 386 CSE 389 CSE 401/501 CSE 411/511 CSE 432/532 CSE 433/533 CSE 434/534 CSE 443/543 CSE 444/544 CSE 448 CSE 449 CSE 451/551 CSE 465/565 CSE 466/566 CSE 467 CSE 470 CSE 470A CSE 470G CSE 470K CSE 473/573 CSE 474/574 CSE 478/578 CSE 480 CSE 484/584 CSE 485/585 CSE 486/586 CSE 488/588 CSE 489/589 CSE 491 CSE 617 CSE 618 CSE 620 CSE 600 CSE 601 CSE 602 CSE 610 CSE 609 CSE 621 CSE 616 CSE 615 CSE 627 CSE 631 CSE 648 CSE 650 CSE 664 CSE 667 CSE 671 CSE 690 CSE 700
CSE274 - Data Abstraction and Data Structures
Catalog description:
Abstract data types and their implementation as data structures using object-oriented programming. Use of object-oriented principles in the selection and analysis of various ADT implementations. Sequential and linked storage representations: lists, stacks, queues, and tables. Nonlinear data structures: trees and graphs. Recursion, sorting, searching, and algorithm complexity.
Prerequisites:
CSE 271 with a grade of C- or higher
Required topics (approximate weeks allocated):
- Object-oriented programming (1.0)
- Implementing ADT interfaces
- Generics
- Inner classes
- Exception handling
- equals()
- Implementing the Comparable interface
- ADTs: bag, maps, set, list, stack, and queue (4.0)
- Operations
- Array-based and linked-node-based implementations
- Traversal algorithms (iterative and recursive)
- Varieties of linked nodes (singly, circular, doubly)
- Application of standard Java collection libraries
- Trees (3.0)
- representations
- traversal algorithms (iterative and recursive)
- binary search trees
- heaps
- Self-balancing trees (e.g. B-trees, red-blue trees, AVL trees)
- Testing (0.5)
- Writing JUnit tests to ensure correctness of code
- Tables (2.0)
- Dictionaries
- Hash maps
- Applications
- Graphs (1.5)
- implementations: adjacency lists and adjacency matrices
- algorithms: depth-first search, breadth-first search, Dijkstra's algorithm, topological sort
- Algorithm complexity (1.0)
- Complexity of ADT implementations
- Space and time complexity of basic sorting/searching algorithms
- Exams/Review (1.0)
Learning Outcomes:
- Select and use appropriate data structures, abstract data types, and algorithmic methods in problem solving
- Describe the purpose and semantics of abstract data types, including: matrices, lists, stacks, queues, sets, maps, trees, graphs, and priority queues
- Describe the purpose and semantics of major data structures including: row-major order representation of matrices, 2D-array representation of matrices, array-based lists, linked lists, hash tables (both chaining and open addressing), binary search trees, adjacency lists, adjacency matrices, heaps, and graphs
- Create programs that utilize the major data structures
- Use appropriate data structures for solving problems
- Describe the purpose and possible alternative implementations of common tree and graph algorithms including tree traversals (inorder, preorder, and postorder), depth first search, breadth first search, Dijkstra’s algorithm, and topological sort
- Implement common data structures and algorithms
- Implement common data structures, including: row-major order and 2D-array representations of matrices, array-based lists, linked lists, hash tables (both chaining and open addressing), binary search trees, adjacency lists, adjacency matrices, and heaps
- Implement common tree and graph algorithms including tree traversals (inorder, preorder, and postorder), depth-first search, breadth-first search, Dijkstra’s algorithm, and topological sort
- Combine multiple data structures to create an efficient solution to a problem (e.g. implementing an LRU cache using a list plus hash table, or efficiently changing the priority of an item in a heap in Dijkstra’s algorithm using an auxiliary array)
- Create or modify one’s own classes to be used with library collection classes (e.g. create a class that can be used as a key in a hash table or binary search tree)
- Implement data structures and abstract data types using object-oriented programming principles
- Create data structures using polymorphism and inheritance
- Create data structures using that use generics
- Represent abstract data types using interfaces
- Implement classes and data structures using standard Java interfaces and methods: equals(), Comparable, exceptions, hashCode(), and Iterator
- Write JUnit tests to help identify and prevent errors.
- Determine time and space requirements of common data structure implementations and algorithms
- Describe the purpose of asymptotic notations (e.g., O) for algorithm analysis
- Apply asymptotic notations (e.g., O) to analyze common data structure algorithms (insertion, removal, searching of array-based and link-based implementations), and sorting/searching algorithms
- Describe the differences between worst-case running time, expected running time, and amortized running time and apply them appropriately
Contact
Department of Computer Science and Software Engineering
- McVey Data Science Building, 262 105 Tallawanda Road Oxford, OH 45056
- 513-529-0340
- cse@miamioh.edu