Faculdade de Ciências da Universidade de Lisboa

MI · Faculdade de Ciências da Universidade de Lisboa

Programming Fundamentals

FPCourse 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

The main objective of this course is to introduce students to the theoretical aspects of programming, by giving a broad overview of the most important topics. At the end of the semester, students are expected to handle programming problems of medium complexity, using an interpreted, high-level programming language such as Python. More specifically, students are expected to be able to:

  • describe the principles, concepts and fundamentals of programming.
  • design and implement, in a programming language, an executable solution (to a given problem) that uses the fundamental programming constructs, basic computations, standard conditional and iterative structures, simple input / output, persistence, and exceptions.
  • write functions and correctly reason about variables and lexical scope.
  • understand data abstraction and use aggregate data types.
  • write and document computer programs according to best practices.
  • apply appropriate software testing techniques.

Syllabus

Brief introduction to programming fundamentals, computer programming, and programming languages followed by an in depth discussion of the following programming concepts:

  • Variables: names and the assignment operator, legal and recommended variable names, and reserved words.
  • Data types I: strings, lists, and arrays.
  • Data types II: tuples, dictionaries, and objects.
  • Conditionals: if, elif, and else statements, and logical operators.
  • Loops: for loops, while loops, and lists of comprehension.
  • Functions: variable number of arguments, keyword arguments, functions as arguments, scope, mutable and immutable objects, anonymous functions, recursion.
  • Libraries and Modules.
  • Input and Output: keyboard input, screen output, file input, and file output.
  • Object-Oriented Programming (OOP): classes and inheritance.
  • Software testing.

Assessment

The evaluation of each student is based on individual tests and one final exam.

Bibliography

Main

Secondary