Faculdade de Ciências da Universidade do Porto

MCTN · Faculdade de Ciências da Universidade do Porto

Programming and Databases

PBDCourse Page
  • 6 ECTS
  • 1st Semester
  • Exam: Not specified
Overall
No reviews yet
Workload
--

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.

Give Feedback!

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:

  1. Introduction to the Python language: variables, expressions, statements.
  2. Interactive use of Python and definition of "scripts"; definition of simple functions.
  3. Conditions and logical values; conditional execution statements.
  4. Loops and Iteration. Programming examples with "turtle" graphics.
  5. Pseudo-random numbers; examples with simulation.
  6. Implementation of elementary algorithms.
  7. Processing of indexed variables (lists) and text (strings).
  8. Writing and reading data files; plotting graphs with external tools.
  9. 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?