Data Structure, Graph Algorithms - Lecture Slides | CMSC 132, Study notes of Computer Science

Material Type: Notes; Professor: Tseng; Class: OBJECT-ORIENTED PROG II; Subject: Computer Science; University: University of Maryland; Term: Unknown 1989;

Typology: Study notes

Pre 2010

Uploaded on 02/13/2009

koofers-user-zbs
koofers-user-zbs 🇺🇸

9 documents

1 / 7

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1
Midterm 2 Overview
Fawzi Emad
Chau-Wen Tseng
Department of Computer Science
University of Maryland, College Park
Overview of Topics
1. Data structures
2. Graph algorithms
3. Searching
Search trees
Heaps
Hash tables
Tries
4. Sorting
5. Compression
pf3
pf4
pf5

Partial preview of the text

Download Data Structure, Graph Algorithms - Lecture Slides | CMSC 132 and more Study notes Computer Science in PDF only on Docsity!

Midterm 2 Overview

Fawzi Emad

Chau-Wen Tseng

Department of Computer Science

University of Maryland, College Park

Overview of Topics

1. Data structures

2. Graph algorithms

3. Searching

‰ Search trees ‰ Heaps ‰ Hash tables ‰ Tries

4. Sorting

5. Compression

Topic – Data Structures

Why data structures are important

Taxonomy of data structures

Linear Hierarchical Graph Maps & sets

Data structure examples

Relationship between elements Operations supported Impact on efficiency

Topic – Graph Algorithms

Types of graphs

Operations on graphs

Traversals Spanning trees Minimal spanning trees Shortest paths

Implementation methods

Topic – Compression

Approaches to compression

Huffman encoding

Algorithm Implementation Properties

Midterm Question Formats

Multiple choice questions

Short 1-sentence answers

Write code

Apply & describe algorithms

Multiple Choice Question Example

Sorting is different from searching because

Sorting is more complex Searching is more complex Sorting takes more space Searching takes more space Sorting compares two items by size

(circle all that apply)

Short 1-Sentence Answer Example

Sorting is different from searching because

(provide short 1-sentence answer)

Apply & Describe Algorithms

Given the following graph

Apply depth-first search, starting at 1 Apply breadth-first search, starting at 1 Apply Djikstra’s algorithm, starting at 1 Apply Kruskal’s algorithm

Show steps