Class C Programming

  • Presentation


    The field of engineering is centered, above all, in solving problems. For that reason it makes perfect sense to prepare engineering students in the area of programming, giving them the ability to solve problems using one of the most powerful tools available to them - the computer.

    Areas such as simulation, modeling e data processing are day-to-day activities in this field.

    It's in this context that this course is concerned with the introduction to problem solving using algorithms implemented in a high-level programming language. On the other hand, the C programming language has had, historically, a very important role in engineering making it a perfect choice for this course.

    Given its success, the C programming language has also influenced a significant number of other programming languages, which makes it a good starting point for further exploring them.

  • Code


  • Syllabus


    1. Basic Concepts
      1. Basic computer architecture
      2. Algorithms
      3. Programming languagesas a way to express algorithms
      4. Programs
    2. Program development
      1. Development stages
      2. Develpment tools
      3. Integrated Development Environments
    3. The C programming language
      1. Program structure
      2. Language elements
      3. Types, constants and variables
      4. Expressions and assinment operators
      5. Console I/O
      6. Structured programming
      7. Selection statements
      8. Repetition statements
      9. Compound statement
      10. Functions
      11. Variable visibility scope and lifetime
      12. Vectors and matrixes
      13. Character strings
      14. Pointers
      15. Argumentos por valor e referência
      16. File I/O
      17. Structures
      18. The C standard library
    4. C Programs
      1. Implementing simple algorithms
      2. Structuting programs using fuctions
      3. Development methodologies
  • Objectives


    After concluding this course the students should:

    • Understand the concept of algorithm, in particular when applied to computer programming.

    • Have acquired the competences to develop algorithms to solve small and medium complexity problems.

    • Have learned the basic concepts related to computer programming.

    • Be familiar with the C programming language and have acquired practical experience using it to express algorithms.

    • Be familiar with the basic software development tools and have experience using an integrated development environment to write, test and debug programs.

    • Understand the importance of documenting programs, writing style and, in general, of adopting conventions that increase program readability.

    • Have acquired the ability to use the C programming language to solve specific problems using a computer.

  • Teaching methodologies and assessment

    Teaching methodologies and assessment

    Implementation of the questioning method which aims to improve understanding of the subject by asking questions to the students during the classes.

  • References


    • Kernighan, B. and Ritchie, D. - The C Programming Language. 2nd Edition. Prentice Hall, 1988. ISBN: 9780131103627.
    • Marques de Sá, J. P. - Fundamentos de Programação Usando C. FCA, 2004. ISBN: 9789727224753.


Cookie Policy
This site uses cookies to offer you a better browsing experience.
Lisboa 2020 Portugal 2020 Small Logo EU small Logo PRR republica 150x50 Logo UE Financed Provedor do Estudante Livro de reclamaões Elogios