
- 6 ECTS
- 1st Semester
- Exam: Not specified
Feedback
No feedback for this course yet
Be the first to share your experience, or ask your friends to leave feedback! Your input helps future students make better choices.
About the course
Objectives
Introduction to computer programming using the Python language. Values, types and expressions. Functions and procedures. Conditions and selection. Iteration and recursion. Fundamental data structures and algorithms: sequence and text processing. Files and dictionaries.
Database modelling using the entity/relationship model. Implementation of relational databases using SQL. Database queries using SQL.
Connecting the Python language to the SQLite DBMS.
Syllabus
Python:
- Introduction to the Python language: variables, expressions, statements.
- Interactive use of Python and definition of "scripts"; definition of simple functions.
- Conditions and logical values; conditional execution statements.
- Loops and Iteration. Programming examples with "turtle" graphics.
- Pseudo-random numbers; examples with simulation.
- Implementation of elementary algorithms.
- Processing of indexed variables (lists) and text (strings).
- Writing and reading data files; plotting graphs with external tools.
- Recursion.
Databases:
10. Databases: the ER and EER model.
11. The relational model.
12. The SQL language.
Accessing databases with Python:
13. Python and SQLite, connecting from Python to SQLite databases.
14. Cursors and handling of SQL query results in Python.
Automatically translated from Portuguese
Something missing or out of date?
Assessment
Type of Assessment
Continuous assessment with final exam
Assessment Components
- 80% - Test
- 20% - Practical or project work
Calculation Formula
The final grade (CF) corresponds to the weighted average of the grades obtained in the Project (Prj) and in the Final Exam (EF)
CF = 0.2Prj + 0.8EF
Automatically translated from Portuguese
Has the assessment changed, or is something missing?
Bibliography
Bibliografia Obrigatória
- Allen Downey;. ISBN: 0-9716775-0-6
- Ramez Elmasri;. ISBN: 9780805317534 pbk
Missing a book or some materials?