Section outline

  • In programming, simplicity and clarity are essential, particularly when confronting complex problems. Subprograms offer a powerful solution by breaking down these challenges into manageable, semi-independent tasks, each addressed by dedicated sets of instructions or modules. This approach, known as modular programming, forms the cornerstone of structured programming methodologies, promoting organization, readability, maintainability, and code reusability.

    This chapter explores the benefits of modularity and guides students on defining and implementing their own subprograms in algorithmics and in C programming language. This chapter serves as a foundational guide for understanding the principles of modular programming and its practical implementation.


    • The course materials for Chapter 1 in English, available in PDF format. 

      This document is formatted for double-sided printing, 2 pages per sheet.

    • This tutorial series covers Chapter 1, which delves into the topic of subprograms, specifically functions and procedures. This series comprises a comprehensive set of exercises designed to reinforce your understanding of the material covered in class including: declaration and utilization of functions, declaration and application of procedures, proficiency in parameter passing modes, exploration of recursion.

    • This document presents the standard solutions for Tutorial Series N°. 1 on Subprograms.

    • This folder contains the recorded session divided into three parts in order to facilitate loading and downloading. You'll find each part labeled accordingly for seamless navigation and access. Feel free to explore each section at your convenience. If you have any questions or encounter any issues with the recordings, please don't hesitate to reach out.

    • This practical work aims to learn, through a set of activities and exercises, the different forms of subprograms and their use in C language.

      At the end of this practical work, you should be familiar with modular programming and be able to declare, call, and use subprograms correctly in the C language.

      This document is formatted for double-sided printing, 2 pages per sheet.
    • This document presents the standard solutions  for Lab Sheet No. 1 on Subprograms, offering detailed guidance and examples for mastering subprogram handling techniques in C programming.

    • This series offers a set of supplementary exercises for individual work on recursive subprograms along with their solutions. It's important to note that these exercises are a supplement and by no means replace the classes and educational resources provided in the classroom. They are designed to enhance your understanding and provide additional opportunities for practice and self-learning.