Introduction to Programming

Base Knowledge

There are none.

Teaching Methodologies

The course contents are presented through examples exposition.

Exercises are proposed to students so they can practice problem solving and better understand the contents.

Learning Results

  • Understand the concept of algorithm
  • Apply instructions and logical sequences in problem solving
  • Use rules and the different phases in the elaboration of an algorithm
  • Present algorithms in pseudocode
  • Understand the structure of flowcharts
  • Represent algorithms through flowcharts
  • Identify abstract data types
  • Enumerate and identify arithmetic, relational, and logical operators
  • Use control, selection, and repetition structures efficiently
  • Distinguish programming paradigms
  • Explain the behaviour of a program
  • Create well-organized programs in C
  • Create programs that use subprograms with different types of input and output data
  • Understand the process of passing parameters
  • Identify, analyse, and correct errors resulting from the construction of a program.

Program

  1. Programming languages: introduction, characterization and classification;
  2. Introduction to Algorithms: Flowcharts and Pseudo-Code;
  3. Characteristics of C programming language;
  4. Constants, variables and data types (integers, reals, characters): declaration, assignment and operations;
  5. Tests and Conditions: relational and logical operators, decision structures (single and chained selection, multiple choice);
  6. Repetition structures (loops);
  7. Functions: local variables, passing parameters by value and by reference;
  8. One-dimensional and multidimensional tables: declaration, initialization, assignment, reading and writing.

Curricular Unit Teachers

Internship(s)

NAO

Bibliography

Damas, L. (2019). Linguagem C (24th ed.). FCA.

Rocha, A. (2006). Introdução à programação usando C (3rd edição). FCA.

Szuhay, J. (2020). Learn C programming: A beginner’s guide to learning C programming the easy and disciplined way. Packt publishing.