MA/CSSE 473 Day 19 Exam Prep. MA/CSSE 473 Day 19 If you want additional practice problems for Tuesday's exam: –The "not to turn in" problems from various.

Slides:



Advertisements
Similar presentations
Number Theory Algorithms and Cryptography Algorithms Prepared by John Reif, Ph.D. Analysis of Algorithms.
Advertisements

COMP 170 L2 Page 1 L06: The RSA Algorithm l Objective: n Present the RSA Cryptosystem n Prove its correctness n Discuss related issues.
MA/CSSE 473 Day 13 Divide and Conquer Closest Points Convex Hull Answer Quiz Question 1.
CS4413 Divide-and-Conquer
Introduction to Algorithms Rabie A. Ramadan rabieramadan.org 6 Ack : Carola Wenk nad Dr. Thomas Ottmann tutorials.
Data Structures Data Structures Topic #13. Today’s Agenda Sorting Algorithms: Recursive –mergesort –quicksort As we learn about each sorting algorithm,
Introduction to Algorithms Rabie A. Ramadan rabieramadan.org 4 Some of the sides are exported from different sources.
Lecture 8 Jianjun Hu Department of Computer Science and Engineering University of South Carolina CSCE350 Algorithms and Data Structure.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2001 Midterm Review Fri. Oct 26.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Spring, 2009 Tuesday, 28 April Number-Theoretic Algorithms Chapter 31.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2002 Tuesday, 26 November Number-Theoretic Algorithms Chapter 31.
Chapter 10: Algorithm Design Techniques
1 Review for Midterm Exam Andreas Klappenecker. 2 Topics Covered Finding Primes in the Digits of Euler's Number Asymptotic Notations: Big Oh, Big Omega,
Design and Analysis of Algorithms - Chapter 41 Divide and Conquer The most well known algorithm design strategy: 1. Divide instance of problem into two.
Divide and Conquer The most well known algorithm design strategy: 1. Divide instance of problem into two or more smaller instances 2. Solve smaller instances.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2001 Lecture 7 Tuesday, 11/6/01 Number-Theoretic Algorithms Chapter.
Design and Analysis of Algorithms - Chapter 41 Divide and Conquer The most well known algorithm design strategy: 1. Divide instance of problem into two.
Unit 1. Sorting and Divide and Conquer. Lecture 1 Introduction to Algorithm and Sorting.
Instructor: Dr. Sahar Shabanah Fall Lectures ST, 9:30 pm-11:00 pm Text book: M. T. Goodrich and R. Tamassia, “Data Structures and Algorithms in.
MA/CSSE 473 Day 05 Factors and Primes Recursive division algorithm.
MA/CSSE 473 Day 03 Asymptotics A Closer Look at Arithmetic With another student, try to write a precise, formal definition of “t(n) is in O(g(n))”
Section 4.3: Fermat’s Little Theorem Practice HW (not to hand in) From Barr Text p. 284 # 1, 2.
MA/CSSE 473 Day 22 Binary Heaps Heapsort Answers to student questions Exam 2 Tuesday, Nov 4 in class.
MA/CSSE 473 Day 13 Permutation Generation. MA/CSSE 473 Day 13 HW 6 due Monday, HW 7 next Thursday, Student Questions Tuesday’s exam Permutation generation.
MA/CSSE 473 Day 17 Divide-and-conquer Convex Hull Strassen's Algorithm: Matrix Multiplication.
MA/CSSE 473 Day 02 Some Numeric Algorithms and their Analysis.
CSS106 Introduction to Elementary Algorithms M.Sc Askar Satabaldiyev.
Midterm Review CSE 2011 Winter October 2015.
CSC401: Analysis of Algorithms CSC401 – Analysis of Algorithms Chapter 5 – 2. Divide-and-Conquer Objectives: Introduce the Divide-and-conquer paradigm.
Introduction to Algorithms 6.046J/18.401J/SMA5503 Lecture 3 Prof. Erik Demaine.
MA/CSSE 473 Day 17 Permutations by lexicographic order number.
MA/CSSE 473 Day 11 Primality testing summary Data Encryption RSA.
1 Joe Meehean.  Log: binary search in sorted array  Linear: traverse a tree  Log-Linear: insert into a heap  Quadratic (N 2 ): your sort from P1 
MA/CSSE 473 Day 14 Permutations wrap-up Subset generation (Horner’s method)
MA/CSSE 473 Day 10 Primality testing summary Data Encryption RSA.
INTRODUCTION. What is an algorithm? What is a Problem?
CompSci 102 Discrete Math for Computer Science April 17, 2012 Prof. Rodger.
MA/CSSE 473 Day 20 Questions before exam More decrease and Conquer.
MA/CSSE 473 Day 02 Some Numeric Algorithms and their Analysis.
MA/CSSE 473 Day 08 Extended Euclid's Algorithm Modular Division Fermat's little theorem.
CSE 340: Review (at last!) Measuring The Complexity Complexity is a function of the size of the input O() Ω() Θ() Complexity Analysis “same order” Order.
9.1 Primes and Related Congruence Equations 23 Sep 2013.
Course Review Fundamental Structures of Computer Science Margaret Reid-Miller 28 April 2005.
MA/CSSE 473 Day 07 Euclid's Algorithm. MA/CSSE 473 Day 07 Student Questions Review topics not covered in class Euclid's algorithm (if there is time) extended.
Final Exam Summary EE 457, April 30, 2015 Dr. McCalley.
MA/CSSE 473 Day 16 Combinatorial Object Generation Permutations.
Chapter 1 Algorithms with Numbers. Bases and Logs How many digits does it take to represent the number N >= 0 in base 2? With k digits the largest number.
MA/CSSE 473 Day 10 Primality Testing. MA/CSSE 473 Day 10 In-class exam: Friday, Sept 28 –You may bring a two-sided 8.5x11 inch piece of paper containing.
MA/CSSE 473 Day 09 Modular Division Revisited Fermat's Little Theorem Primality Testing.
CS 312: Algorithm Analysis Lecture #9: Recurrence Relations - Change of Variable Slides by: Eric Ringger, with contributions from Mike Jones, Eric Mercer,
MA/CSSE 473 Day 12 Amortization (growable Array) Knuth interview Brute Force Examples.
MA/CSSE 473 Day 14 Strassen's Algorithm: Matrix Multiplication Decrease and Conquer DFS.
L131 Exponential Inverses Finding modular inverses is good enough for decoding simple modular cryptography. However, in RSA encryption consists of exponentiating.
Copyright © Zeph Grunschlag, RSA Encryption Zeph Grunschlag.
MA/CSSE 473 Day 05 More induction Factors and Primes Recursive division algorithm.
MA/CSSE 473 Day 11 Knuth interview Amortization (growable Array) Brute Force Examples.
MA/CSSE 473 Day 05 Factors and Primes Recursive division algorithm.
MA/CSSE 473 Day 9 Primality Testing Encryption Intro.
Introduction to Algorithms: Divide-n-Conquer Algorithms
MA/CSSE 473 Day 05 Factors and Primes Recursive division algorithm.
Midterm Review.
MA/CSSE 473 Day 17 Divide-and-conquer Convex Hull
ALGORITHM NUMBER THEORY
MA/CSSE 473 Day 10 Data Encryption RSA.
MA/CSSE 473 Day 02 Some Numeric Algorithms and their Analysis
Lecture 4 Divide-and-Conquer
Divide-and-Conquer The most-well known algorithm design strategy:
CSCE 411 Design and Analysis of Algorithms
CS 3343: Analysis of Algorithms
Divide-and-Conquer The most-well known algorithm design strategy:
Presentation transcript:

MA/CSSE 473 Day 19 Exam Prep

MA/CSSE 473 Day 19 If you want additional practice problems for Tuesday's exam: –The "not to turn in" problems from various assignments –Feel free to post your solutions in an ANGEL discussion forum and ask your classmates if they think it is correct. Allowed for exam: Textbook, calculator, one piece of paper (2 sided) Not allowed: Anything that can communicate electronically, anything with headphones/earphones. Material for Exam: –Chapters 1-4 and Appendices A and B in Levitin. –HW 1-7. –Class days 1-14 (not decrease-and-conquer)

About the exam Mostly it will test your understanding of things in the textbook and things we have discussed in class. Will not require a lot of creativity (it's hard to do much of that in 50 minutes), but you will have to think! Mostly about analysis, rather than design. Many short questions, a few calculations. –Perhaps some T/F/IDK questions (3/-1/1) You may bring a calculator. Open book, but beware of time! –No time to read new stuff –First do the questions you can do quickly

Possible Topics for Exam Formal definitions of O, , . Master Theorem Fibonacci algorithms and their analysis Efficient numeric multiplication Proofs by induction (ordinary, strong) Trominoes Extended Binary Trees Modular multiplication, exponentiation Extended Euclid algorithm Modular inverse Fermat's little theorem Rabin-Miller test Random Prime generation RSA encryption What would Donald (Knuth) say?

Possible Topics for Exam Brute Force algorithms Selection sort Insertion Sort Amortized efficiency analysis Analysis of growable array algorithms Divide-and-conquer Closest Points QuickHull Merge Sort Quicksort Binary Search Binary Tree Traversals Strassen's Matrix Multiplication algorithm Basic Data Structures (Section 1.4) Graph representations

Questions? Q1-4