Principles Of Computer Science 22019
Second Year / First Semester Course L-2 - 1049261
(A. A. 2019/2020)
Syllabus
The course aim to introduce computational thinking and the algorithmic approach to solving problems correctly and efficiently. Algorithms are ubiquitous in bioinformatics and are often at the interface of computer science and biology. Well established algorithmic techniques will be studied as well as ways to encode them in a computer program using python.
We will introduce the algorithmic approach and the theory of algorithms for studying correctness and efficiency, understanding what makes a good algorithm and how to classify them.
We will study characteristic algorithmic techniques and the relate-d computational ideas that are relevant to the field of biology and how to select the most suitable to solve a given task. Topics covered include
- Searching algorithms
- Divide-and-Conquer algorithms
- Clustering and Tree-based algorithms
We will work with Python and how to write a computer program encoding a given algorithm.
Location
All classes take place in Classroom Psicologia I, Fisiologia Generale e Antropologia Farmacia e Medicina (CU026, E01PSIL101)
Time Schedule
- Tuesday 14:00 - 16:00
- Thursday 14:00 - 16:00
ASSIGNMENTS
A total of five assignments will be handed over. These assignments are done by each student individually. Clearly you should discuss with other students of the course about the assignments. However, you must understand well your solutions and the final writeup must be yours and written in isolation. In addition, even though you may discuss about how you could implement an algorithm, what type of libraries to use, and so on, the final code must be yours. You may also consult the internet for information, as long as it does not reveal the solution. If a question asks you to design and implement an algorithm for a problem, it's fine if you find information about how to resolve a problem with character encoding, for example, but it is not fine if you search for the code or the algorithm for the problem you are being asked. For the projects, you can talk with other students of the course about questions on the programming language, libraries, some API issue, and so on, but both the solutions and the programming must be yours. If we find out that you have violated the policy and you have copied in any way you will automatically fail. If you have any doubts about whether something is allowed or not, ask the instructor.w
- 1st Assignment
Deadline: 15th October 2019
- 2nd Assignment
Deadline: 29th October 2019
- 3nd Assignment
Deadline: 12th November 2019
- 4th Assignment
Deadline: 26th November 2019
- 5th Assignment
Deadline: 17th December 2019
Lecture Material
- Lecture 1: Tuesday, October 1, 2019. Lecture Slides in PDF
- Introduction to Computational Thinking
- First Assignment
- Lecture 2: Tuesday, October 1, 2019. Lecture Slides in PDF
- The Art of Computer Programming by Donald Knuth
- Dynamic Programming
- Nim a mathematical game of strategy
- Lecture 3: Thursday, October 3, 2019. Lecture Slides in PDF
- Python Datastructures
- Python Basic and Composite Data types
- Google for Education: Python lists
- Python Programming: An Introduction to Computer Science (Third Edition) by John M. Zelle, Ph.D.
- Chapter 11 Data Collections
- Sample Programs
- Lecture 4: Tuesday, October 8, 2019. Lecture Slides in PDF
- Lecture 5: Thursday, October 10, 2019. Lecture Slides in PDF
- Lecture 6: Tuesday, October 15, 2019. Lecture Slides in PDF
- Recursive Functions
- Python Programming: An Introduction to Computer Science (Third Edition) by John M. Zelle, Ph.D.
- Chapter 13 Algorithm Design & Recursion
- Sample Programs
- Lecture 7: Thursday, October 17, 2019. Lecture Slides in PDF
- Lecture 8: Tuesday, October 22, 2019. Lecture Slides in PDF
- Lecture 9: Thursday, October 24, 2019. Lecture Slides in PDF
- Lecture 10: Tuesday, October 29, 2019. Lecture Slides in PDF
- Lecture 11: Thursday, October 31, 2019. Lecture Slides in PDF
- Lecture 12: Tuesday, November 5, 2019.
- The GNU Awk User's Guide
- An Introduction to AWK
- Python Programming: An Introduction to Computer Science (Third Edition) by John M. Zelle, Ph.D.
- Chapter 10 Defining Classes
- Sample Programs
- Lecture 13: Tuesday, November 5, 2019. Lecture Slides in PDF
- Errors and Exceptions in Python
- Python Programming: An Introduction to Computer Science (Third Edition) by John M. Zelle, Ph.D.
- Chapter 12 Object Oriented Design
- Sample Programs
- Python Underscore methods
- Lecture 14: Thursday November 7, 2019. Lecture Slides in PDF
- Lecture 15: Tuesday, November 12, 2019. Lecture Slides in PDF
- Lecture 16: Tuesday, November 26, 2019. Lecture Slides in PDF
- Lecture 17: Thursday, November 28, 2019. Lecture Slides in PDF
- Lecture 18: Tuesday, December 3, 2019. Lecture Slides in PDF
- Lecture 19: Thursday, December 5, 2019. Lecture Slides in PDF
- Lecture 20: Tuesday, December 10, 2019. Lecture Slides in PDF
- Lecture 21: Thursday, December 12, 2019.
- Lecture 22: Tuesday, December 17, 2019.
- Lecture 23: Thursday, December 19, 2019. Lecture Slides in PDF
Coding Material
The material related to python that was presented in class is available from as an open-source repository in GitHub.
References
- NEIL C. JONES AND PAVEL A. PEVZNER: An Introduction to Bioinformatics Algorithms. A Bradford Book, The MIT Press, Cambridge, Massachusetts, London, England, 2004.
- JOHN M. ZELLE: Python Programming: An Introduction to Computer Science (Third Edition)
- Jeff Chang, Brad Chapman, Iddo Friedberg, Thomas Hamelryck, Michiel de Hoon, Peter Cock, Tiago Antao, Eric Talevich, Bartek WilczyĆski: Biopython Tutorial and Cookbook