Welcome to the most Amazing course there is

![Algorithms Algorithm. n n n [webster. com] A procedure for solving a mathematical problem Algorithms Algorithm. n n n [webster. com] A procedure for solving a mathematical problem](https://slidetodoc.com/presentation_image_h2/c868bead725e16d82512d6efa40c3290/image-2.jpg)






![Reading • [L] Section 1. 1 Pages 1 – 7 • You will study Reading • [L] Section 1. 1 Pages 1 – 7 • You will study](https://slidetodoc.com/presentation_image_h2/c868bead725e16d82512d6efa40c3290/image-9.jpg)
- Slides: 9
Welcome to the most Amazing course there is 1
Algorithms Algorithm. n n n [webster. com] A procedure for solving a mathematical problem (as of finding the greatest common divisor, or finding max/min ) in a finite number of steps that frequently involves repetition of an operation. [Knuth, TAOCP] An algorithm is a finite, definite, effective procedure, with some input and some output * An algorithm is a sequence of unambiguous instructions for solving a problem, i. e. , for obtaining a required output for any legitimate input in a finite amount of time. �� 2
problem algorithm input “computer” output 3
Etymology n n Algorism = process of doing arithmetic using Arabic numerals. True origin: Abu 'Abd Allah Muhammad ibn Musa al-Khwarizm was a famous 9 th century Persian textbook author who wrote Kitab aljabr wa'l-muqabala “ *”ﻛﺘﺎﺏ ﺍﻟﺠﺒﺮ ﻭﺍﻟﻤﻮﺍﺭﻳﺚ which evolved into today's high school algebra and Algorithms. 4
What is this course about? We will study moderately complex data structures and algorithms that are essential in core areas of computer science n n n Operating Systems Database Systems Search Engines Compilers etc. This is one of the most important (and fun) courses you will take 5
Why study algorithms? Theoretical importance n the core of computer science Practical importance n n A practitioner’s toolkit of known algorithms Framework for designing and analyzing algorithms for new problems 6
The two main issues related to algorithms How to design algorithms • • Correctness How to analyze algorithm efficiency • • Resource usage 7
Board Example • The Play. Station Example Algorithm Design • • Additional Reading : Read section 4. 1 from book [K] • Pages 116 - 121 • 8
Reading • [L] Section 1. 1 Pages 1 – 7 • You will study the Euclid’s algorithm in Discrete Mathematics too [C] Chapter 1 Pages 5 – 9 • Exclude topic: “Hard problems” • • • 9