Review. What to know You are responsible for all material covered in lecture, the readings, or the programming assignments There will also be some questions.

Slides:



Advertisements
Similar presentations
Lecture 22, Revision 1 Lecture notes Java code – CodeFromLectures folder* Example class sheets – 4 of these plus solutions Extra examples (quicksort) Lab.
Advertisements

CS16: Data Structures & Algorithms | Spring 2014 Midterm Review 3/16/
Transform and Conquer Chapter 6. Transform and Conquer Solve problem by transforming into: a more convenient instance of the same problem (instance simplification)
Searching and Sorting. Overview Search Analysis of search algorithms Sorting Analysis of sort algorithms Recursion p. 2 of 26.
Priority Queues and Heaps. Overview Our last ADT: PriorityQueueADT A new data structure: heaps One more sorting algorithm: heapsort Priority Queues and.
CSCE 210 Data Structures and Algorithms
Midterm 2 Overview Fawzi Emad Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
TCSS 343, version 1.1 Algorithms, Design and Analysis Transform and Conquer Algorithms Presorting HeapSort.
Overview CS113, Fall 2000 Gene Itkis. The Promise Heavy Fast-paced Challenging Rewarding.
Review for Test 2 i206 Fall 2010 John Chuang. 2 Topics  Operating System and Memory Hierarchy  Algorithm analysis and Big-O Notation  Data structures.
Course Review COMP171 Spring Hashing / Slide 2 Elementary Data Structures * Linked lists n Types: singular, doubly, circular n Operations: insert,
CS 206 Introduction to Computer Science II 04 / 29 / 2009 Instructor: Michael Eckmann.
CS 206 Introduction to Computer Science II 12 / 10 / 2008 Instructor: Michael Eckmann.
Data Structures, Spring 2004 © L. Joskowicz 1 DAST – Final Lecture Summary and overview What we have learned. Why it is important. What next.
1 ES 314 Advanced Programming Lec 2 Sept 3 Goals: Complete the discussion of problem Review of C++ Object-oriented design Arrays and pointers.
EXAM REVIEW CSC 172 SPRING 2004 LECTURE 26. Want to TA for next semester?
Data Structures Lecture-1:Introduction
CSCA48 Course Summary.
Final Review Dr. Yingwu Zhu. Goals Use appropriate data structures to solve real- world problems –E.g., use stack to implement non-recursive BST traversal,
10/20/20151 CS 3343: Analysis of Algorithms Review for final.
Review for Final Andy Wang Data Structures, Algorithms, and Generic Programming.
Data Structures and Algorithms – using JAVA Boro Jakimovski University of Sts Cyril and Methodius, Skopje.
1 Week 9 A little more GUI, and threads. Objectives: Discuss the Swing set of classes. Incorporate animation into applets. Define the term thread. Explain.
December 4, Algorithms and Data Structures Lecture XV Simonas Šaltenis Aalborg University
CS Data Structures II Review & Final Exam. 2 Topics Review Final Exam.
Final Exam Review CS Total Points – 60 Points Writing Programs – 50 Points Tracing Algorithms, determining results, and drawing pictures – 50.
Java Methods Big-O Analysis of Algorithms Object-Oriented Programming
Review for Final Exam – cs411/511 Definitions (5 questions, 2 points each) Algorithm Analysis (3 questions, 3 points each) General Questions (3 questions,
1 Data Structures CSCI 132, Spring 2014 Lecture 1 Big Ideas in Data Structures Course website:
CSE 340: Review (at last!) Measuring The Complexity Complexity is a function of the size of the input O() Ω() Θ() Complexity Analysis “same order” Order.
Data Abstraction and Problem Solving with JAVA Walls and Mirrors Frank M. Carrano and Janet J. Prichard © 2001 Addison Wesley Data Abstraction and Problem.
Data Structures and Algorithms in Java AlaaEddin 2012.
Week 13 - Wednesday.  What did we talk about last time?  NP-completeness.
 Saturday, April 20, 8:30-11:00am in B9201  Similar in style to written midterm exam  May include (a little) coding on paper  About 1.5 times as long.
Final Exam Review CS Total Points – 20 Points Writing Programs – 65 Points Tracing Algorithms, determining results, and drawing pictures – 50.
Computer Science: A Structured Programming Approach Using C1 Objectives ❏ To introduce the basic concepts of linked lists ❏ To introduce the basic concepts.
Exam 2 Review CS 3358 Data Structures. 90 Total Points – 50 Points Writing Programs – 25 Points Tracing Algorithms, determining results, and drawing pictures.
COMP 103 Course Review. 2 Menu  A final word on hash collisions in Open Addressing / Probing  Course Summary  What we have covered  What you should.
Data Structures Dr. Abd El-Aziz Ahmed Assistant Professor Institute of Statistical Studies and Research, Cairo University Springer 2015 DS.
Final Exam Review CS 3358.
CSCE 210 Data Structures and Algorithms
Planning & System installation
Midterm Review.
CS 315 Data Structures B. Ravikumar Office: 116 I Darwin Hall Phone:
Data Structures Using C++ 2E
Exam Hints.
Cse 373 April 26th – Exam Review.
Review for Midterm Neil Tang 03/04/2010
ECET 370 HELPS Education Your Life-- ecet370helps.com.
ECET 370 HELPS Lessons in Excellence- -ecet370helps.com.
ECET 370 HELPS Education for Service- - ecet370helps.com.
CS302 Data Structures Fall 2012.
CS 3343: Analysis of Algorithms
Exam 2 Review CS 3358 Data Structures.
CS 3343: Analysis of Algorithms
Exam 2 Review CS 3358 Data Structures.
در اين درس مباني ساختمان داده ها و الگوريتم ها تدریس میشود.
CS 3343: Analysis of Algorithms
CS 3343: Analysis of Algorithms
CS 3343: Analysis of Algorithms
Exam 2 Review CS 3358 Data Structures.
Sorting.
CS 3343: Analysis of Algorithms
Final Review Dr. Yingwu Zhu.
Overview Analysis Notation Specific ADTs
COP3530- Data Structures Introduction
Final Review B.Ramamurthy 5/8/2019 BR.
Chapter 12 Heap ADT © 2011 Pearson Addison-Wesley. All rights reserved.
CMPT 225 Lecture 16 – Heap Sort.
Presentation transcript:

Review

What to know You are responsible for all material covered in lecture, the readings, or the programming assignments There will also be some questions on material from CSCI 201 and 221, but they will cover material such as arithmetic expressions, parameters, and objects that you have used in writing your programs this semester. Here’s a high-level overview to pull it all together 2CS 315: Review

Key Topics Thinking like a computer scientist: Basic algorithm analysis: T(n), Big-Oh Building blocks for writing programs New data structures: linked lists, trees, hashtables, graphs, heaps Abstract data types (ADTs): Stack, Queue, List, Dictionary, Graph, Priority Queue Thinking with diagrams Linked list operations Recursion: stack diagrams Tracing a sort algorithm Hashing Etc. 3CS 315: Review

And more … Searching algorithms: linear and binary search Sorting algorithms: selection sort, insertion sort, mergesort, radix sort, heapsort Recursion 4CS 315: Review

For algorithm analysis, know: How to compute T(n) for Straight-line code Conditionals Loops Method calls How to go from a T(n) function to Big-Oh Big-Oh for the ADT operations, search algorithms, and sorting algorithms we have studied Examples of typical code for O(1), O(log 2 n), O(nlog 2 n), O(n 2 ) 5CS 315: Review

For each ADT, know: How to recognize a problem that it can solve The names of its operations What each operation does The Big-Oh of each operation (for different implementations) How to recognize the code for its operations How to write simple methods 6CS 315: Review

For each data structure, know: Basic terminology (tree, traversals, balanced tree, collision, heapify, etc.) Relevant diagrams What the code looks like What ADTs it’s useful for 7CS 315: Review

For searching and sorting, know: the algorithms, their complexity, and some pros and cons of: Linear vs. binary search Insertion sort, selection sort, quicksort, mergesort, radix sort, heapsort 8CS 315: Review