- Semester
- 3. Year - Spring Semester
- Type
- Compulsory
- Credit
- 3
- ECTS
- 5
- Language
- İngilizce
- Contact hours
- Lecture 3 · Practice 0 · Lab 0
On this page
Course Objective
This course is designed to teach students how to analyze and design algorithms and measure their complexities. In addition, students will be able to implement optimization methods for optimization problems.
Course Content
Design and analysis of algorithms; mathematical complexity of algorithms; master theorem; decrease-and-conquer; divide-and-conquer; transform-and-conquer; introduction to some optimization techniques; dynamic programming; greedy technique; iterative improvement; coping with limitations of algorithm power.
Prerequisites
CMPE226
Delivery and Teaching Methods
- Face to face
- Lecture
Learning Outcomes and Contribution to Programme Outcomes
- 1Measure the complexity of algorithms
- 2Analyze and design algorithms
- 3Implement efficient algorithms for the solution of real life computational problems
- 4Analyze, design and implement optimization methods
Contribution level ranges from 0 (none) to 5 (highest).
| PO | Programme outcome | Contribution level |
|---|---|---|
| PO1 | Gains adequate knowledge in mathematics, science, and subjects specific to the software engineering discipline; acquires the ability to apply theoretical and practical knowledge of these areas to complex engineering problems. | 5 |
| PO2 | Gains the ability to identify, define, formulate, and solve complex engineering problems; selects and applies proper analysis and modeling techniques for this purpose. | 5 |
| PO3 | Develops the ability to design a complex system, process, device, or product under realistic constraints and conditions to meet specific requirements; applies modern design methods for this purpose. | 3 |
| PO4 | Demonstrates the ability to select, and utilize modern techniques and tools essential for the analysis and determination of complex problems in software engineering applications; uses information technologies effectively. | 4 |
| PO5 | Develops the ability to design experiments, gather data, analyze, and interpret results for the investigation of complex engineering problems or research topics specific to the software engineering discipline. | 3 |
| PO6 | Demonstrates the ability to work effectively both individually and in disciplinary and interdisciplinary teams in fields related to software engineering. | 3 |
| PO7 | Demonstrates the ability to communicate effectively in Turkish, both orally and in writing; to write effective reports and understand written reports, to prepare design and production reports, to deliver effective presentations, and to give and receive clear and understandable instructions. | 0 |
| PO8 | Gains knowledge of at least one foreign language; acquires the ability to write effective reports and understand written reports, prepare design and production reports, deliver effective presentations, and give and receive clear and understandable instructions. | 0 |
| PO9 | Acquires an awareness of the necessity of lifelong learning; the ability to access information, follow developments in science and technology, and continuously improve oneself. | 0 |
| PO10 | Acts in accordance with ethical principles and possesses knowledge of professional and ethical responsibilities. | 0 |
| PO11 | Knows the standards used in software engineering practices. | 0 |
| PO12 | Knows about business practices such as project management, risk management and change management. | 0 |
| PO13 | Gains awareness about entrepreneurship and innovation. | 0 |
| PO14 | Gains knowledge on sustainable development. | 0 |
| PO15 | Has knowledge about the universal and societal impacts of software engineering practices on health, environment, and safety, as well as the contemporary issues reflected in the field of engineering. | 3 |
| PO16 | Acquires awareness of the legal consequences of engineering solutions. | 0 |
| PO17 | Applies knowledge and skills in identifying user needs, developing user-focused solutions and improving user experience. | 4 |
| PO18 | Gains the ability to apply engineering approaches in the development of software systems by carrying out analysis, design, implementation, verification, validation, and maintenance processes. | 4 |
Weekly Topics
| Week | Topic |
|---|---|
| 1 | The role of algorithms and Getting Started |
| 2 | Growth of Functions, Asymptotic Notation |
| 3 | Solving Recurrences: Substitution Method |
| 4 | Solving Recurrences: Recursion-Tree Method, Master's Method |
| 5 | Brute Force and Exhaustive Search |
| 6 | Decrease-and-Conquer |
| 7 | Divide-and-Conquer |
| 8 | Transform-and-Conquer |
| 9 | Dynamic Programming |
| 10 | Dynamic Programming |
| 11 | Greedy Algorithms |
| 12 | Greedy Algorithms |
| 13 | Iterative Improvement: The Simplex Method |
| 14 | Limitations of Algorithm Power, Coping with the Limitations of Algorithm Power, P, NP, NP-Complete Problems |
| 15 | Final Exam |
| 16 | Final Exam |
Assessment
| Method | Number | Weight |
|---|---|---|
| Homework | 3 | %15 |
| Midtermexam | 2 | %50 |
| Finalexam | 1 | %35 |
| Total | %100 | |
ECTS Workload
| Activity | Number | Duration (hours) | Total |
|---|---|---|---|
| Out-of-Class Study Time | 16 | 2 | 32 |
| Assignments | 3 | 4 | 12 |
| Final Exam Preparation | 1 | 15 | 15 |
| Total workload (hours) | 59 | ||
| ECTS equivalent (workload / 30) | 2 | ||
Resources
- Textbook Anany Levitin, Introduction to the Design & Analysis of Algorithms, 3rd edi-tion, Pearson, 2012.
- Other T.H.Cormen, C.E.Leiserson, R.L.Rivest and C.Stein: Introduction to Algorithms, MIT Press 2001.
- Other E.Horowitz, S.Sahni: Fundamentals of Computer Algorithms, Computer Sci-ence Press, 1989.
- Other E.Horowitz, S.Sahni, S.Rajasekeran, Computer Algorithms, ISBN: 978-0-929306-41-4, Silicon Press, 2008.
- Other J.Kleinberg, E.Tardos, Algorithm Design, Addison – Wesley, ISBN: 0-321-29535-8, 2006.
- Other A.V.Aho, J.E.Hopcroft, J.D.Ullman, The Design and Analysis of Computer Algo-rithms, Addison-Wesley Series in Computer Science and Information Pro-cessing, 1979.
- Other S.S. Skiena, The Algorithm Design Manual, Springer – Verlag, New York, 1998.