Programming basics
XXX
<p>This page gathers all the material that has been used for the
<b>programming basics</b> course taught in French to second year bachelor
students in informatics and systems and in electronics from the
<a href="https://www.cardinalmercier-promotionsociale.be">Institut
Technique Supérieur Cardinal Mercier</a> (ITSCM). Thanks to Jérémy Wautelet
who helped to produce some of the material during the 2013-2014 academic
year.</p>
<p>I gave this course for four years and the last time I gave it was in
2014. Please note that all the material of the course is only available
in french.</p>
<h2>Documents</h2>
<ul>
<li><a href="/files/itscm/prog/ITSCM-prog-2014-Infos-Generales.pdf">
General information about the course <img src="/images/pdf.png"
width="16" height="16" alt="PDF" /></a></li>
<li><a href="/files/itscm/prog/ITSCM-prog-2012-2013-Syllabus.pdf">
Textbook <img src="/images/pdf.png" width="16" height="16" alt="PDF" />
</a> (version 1.0)</li>
</ul>
<h2>Sessions</h2>
<ul>
<li>Session 1: Introduction et bases de la programmation, partie 1
<small>(<a href="/files/itscm/prog/ITSCM-prog-2014-Cours1-Slides.pdf">
Slides <img src="/images/slides.png" width="16" height="16"
alt="Slides" /></a>,
<a href="/files/itscm/prog/ITSCM-prog-2014-Cours1-Exercices.pdf">
Exercises <img src="/images/pdf.png" width="16" height="16"
alt="PDF" /></a> )</small></li>
<li>Session 2: Bases de la programmation, partie 2
<small>(<a href="/files/itscm/prog/ITSCM-prog-2014-Cours2-Slides.pdf">
Slides <img src="/images/slides.png" width="16" height="16"
alt="Slides" /></a>,
<a href="/files/itscm/prog/ITSCM-prog-2014-Cours2-Exercices.pdf">
Exercises <img src="/images/pdf.png" width="16" height="16"
alt="PDF" /></a> )</small></li>
<li>Session 3: Les tableaux à une dimension
<small>(<a href="/files/itscm/prog/ITSCM-prog-2014-Cours3-Slides.pdf">
Slides <img src="/images/slides.png" width="16" height="16"
alt="Slides" /></a>,
<a href="/files/itscm/prog/ITSCM-prog-2014-Cours3-Exercices.pdf">
Exercises <img src="/images/pdf.png" width="16" height="16"
alt="PDF" /></a> )</small></li>
<li>Session 4: Procédures et fonctions
<small>(<a href="/files/itscm/prog/ITSCM-prog-2014-Cours4-Slides.pdf">
Slides <img src="/images/slides.png" width="16" height="16"
alt="Slides" /></a>,
<a href="/files/itscm/prog/ITSCM-prog-2014-Cours4-Exercices.pdf">
Exercises <img src="/images/pdf.png" width="16" height="16"
alt="PDF" /></a> )</small></li>
<li>Session 5: Découpe en sous-problèmes et librairie standard
<small>(<a href="/files/itscm/prog/ITSCM-prog-2014-Cours5-Slides.pdf">
Slides <img src="/images/slides.png" width="16" height="16"
alt="Slides" /></a> )</small></li>
<li>Session 6: Exercices sur machine, partie 1
<small>(<a href="/files/itscm/prog/ITSCM-prog-2014-Cours6-Slides.pdf">
Slides <img src="/images/slides.png" width="16" height="16"
alt="Slides" /></a>,
<a href="/files/itscm/prog/ITSCM-prog-2014-Cours6-Exercices.pdf">
Exercises <img src="/images/pdf.png" width="16" height="16"
alt="PDF" /></a> )</small></li>
<li>Session 7: Structure de la mémoire et introduction aux pointeurs
<small>(<a href="/files/itscm/prog/ITSCM-prog-2014-Cours7-Slides.pdf">
Slides <img src="/images/slides.png" width="16" height="16"
alt="Slides" /></a>,
<a href="/files/itscm/prog/ITSCM-prog-2014-Cours7-Exercices.pdf">
Exercises <img src="/images/pdf.png" width="16" height="16"
alt="PDF" /></a> )</small></li>
<li>Session 8: Arithmétique des pointeurs et mémoire dynamique
<small>(<a href="/files/itscm/prog/ITSCM-prog-2014-Cours8-Slides.pdf">
Slides <img src="/images/slides.png" width="16" height="16"
alt="Slides" /></a>,
<a href="/files/itscm/prog/ITSCM-prog-2014-Cours8-Exercices.pdf">
Exercises <img src="/images/pdf.png" width="16" height="16"
alt="PDF" /></a> )</small></li>
<li>Session 9: Tableaux à deux dimensions
<small>(<a href="/files/itscm/prog/ITSCM-prog-2014-Cours9-Slides.pdf">
Slides <img src="/images/slides.png" width="16" height="16"
alt="Slides" /></a>,
<a href="/files/itscm/prog/ITSCM-prog-2014-Cours9-Exercices.pdf">
Exercises <img src="/images/pdf.png" width="16" height="16"
alt="PDF" /></a> )</small></li>
<li>Session 10: Exercices sur machine, partie 2
<small>(<a href="/files/itscm/prog/ITSCM-prog-2014-Cours10-Slides.pdf">
Slides <img src="/images/slides.png" width="16" height="16"
alt="Slides" /></a>,
<a href="/files/itscm/prog/ITSCM-prog-2014-Cours10-Exercices.pdf">
Exercises <img src="/images/pdf.png" width="16" height="16"
alt="PDF" /></a> )</small></li>
<li>Session 11: Chaines de caractères et structures
<small>(<a href="/files/itscm/prog/ITSCM-prog-2014-Cours11-Slides.pdf">
Slides <img src="/images/slides.png" width="16" height="16"
alt="Slides" /></a> )</small></li>
<li>Session 12: Lecture et écriture de fichiers
<small>(<a href="/files/itscm/prog/ITSCM-prog-2014-Cours12-Slides.pdf">
Slides <img src="/images/slides.png" width="16" height="16"
alt="Slides" /></a> )</small></li>
</ul>
<h2>Tests and homeworks</h2>
<ul>
<li>Homework 1: Un programme qui boucle...
<small>(<a href="/files/itscm/prog/ITSCM-prog-2014-Devoir1.pdf">
Statement <img src="/images/pdf.png" width="16" height="16"
alt="Slides" /></a>,
<a href="/files/itscm/prog/ITSCM-prog-2014-Devoir1-Solution.pdf">
Solution <img src="/images/pdf.png" width="16" height="16"
alt="PDF" /></a> )</small></li>
<li>Test 1: Représentation binaire
<small>(<a href="/files/itscm/prog/ITSCM-prog-2014-Test1.pdf">
Statement <img src="/images/pdf.png" width="16" height="16"
alt="Slides" /></a>,
<a href="/files/itscm/prog/ITSCM-prog-2014-Test1-Solution.pdf">
Solution <img src="/images/pdf.png" width="16" height="16"
alt="PDF" /></a> )</small></li>
<li>Homework 2: Ma première fonction
<small>(<a href="/files/itscm/prog/ITSCM-prog-2014-Devoir2.pdf">
Statement <img src="/images/pdf.png" width="16" height="16"
alt="Slides" /></a>,
<a href="/files/itscm/prog/ITSCM-prog-2014-Devoir2-Solution.pdf">
Solution <img src="/images/pdf.png" width="16" height="16"
alt="PDF" /></a> )</small></li>
<li>Project 1: Découpe en sous-problèmes
<small>(<a href="/files/itscm/prog/ITSCM-prog-2014-Projet1.pdf">
Statement <img src="/images/pdf.png" width="16" height="16"
alt="Slides" /></a> )</small></li>
<li>Test 2: Pointeurs
<small>(<a href="/files/itscm/prog/ITSCM-prog-2014-Test2.pdf">
Statement <img src="/images/pdf.png" width="16" height="16"
alt="Slides" /></a>,
<a href="/files/itscm/prog/ITSCM-prog-2014-Test2-Solution.pdf">
Solution <img src="/images/pdf.png" width="16" height="16"
alt="PDF" /></a> )</small></li>
<li>Homework 3: Pointeurs et structure de la mémoire
<small>(<a href="/files/itscm/prog/ITSCM-prog-2014-Devoir3.pdf">
Statement <img src="/images/pdf.png" width="16" height="16"
alt="Slides" /></a>,
<a href="/files/itscm/prog/ITSCM-prog-2014-Devoir3-Solution.pdf">
Solution <img src="/images/pdf.png" width="16" height="16"
alt="PDF" /></a> )</small></li>
<li>Test 3: Pointeurs II
<small>(<a href="/files/itscm/prog/ITSCM-prog-2014-Test3.pdf">
Statement <img src="/images/pdf.png" width="16" height="16"
alt="Slides" /></a>,
<a href="/files/itscm/prog/ITSCM-prog-2014-Test3-Solution.pdf">
Solution <img src="/images/pdf.png" width="16" height="16"
alt="PDF" /></a> )</small></li>
</ul>
<h2>Previous exams</h2>
<ul>
<li>2011–2012:
<a href="/files/itscm/prog/ITSCM-prog-Examen-Feb12.pdf">Feb. 2012
<img src="/images/pdf.png" width="16" height="16" alt="PDF" /></a>,
<a href="/files/itscm/prog/ITSCM-prog-Examen-Aug12.pdf">Aug. 2012
<img src="/images/pdf.png" width="16" height="16" alt="PDF" /></a></li>
<li>2012–2013:
<a href="/files/itscm/prog/ITSCM-prog-Examen-Feb13-SerieA.pdf">Feb.
2013-A <img src="/images/pdf.png" width="16" height="16" alt="PDF" /></a>,
<a href="/files/itscm/prog/ITSCM-prog-Examen-Feb13-SerieB.pdf">Feb.
2013-B <img src="/images/pdf.png" width="16" height="16" alt="PDF" /></a>,
<a href="/files/itscm/prog/ITSCM-prog-Examen-Aug13.pdf">Aug. 2013
<img src="/images/pdf.png" width="16" height="16" alt="PDF" /></a></li>
<li>2013–2014:
<a href="/files/itscm/prog/ITSCM-prog-Examen-Feb14-SerieA.pdf">Feb.
2014-A <img src="/images/pdf.png" width="16" height="16" alt="PDF" /></a>,
<a href="/files/itscm/prog/ITSCM-prog-Examen-Feb14-SerieB.pdf">Feb.
2014-B <img src="/images/pdf.png" width="16" height="16" alt="PDF" /></a>,
<a href="/files/itscm/prog/ITSCM-prog-Examen-Aug14.pdf">Aug. 2014
<img src="/images/pdf.png" width="16" height="16" alt="PDF" /></a></li>
<li>2014–2015:
<a href="/files/itscm/prog/ITSCM-prog-Examen-Jan15-SerieA.pdf">Jan.
2015-A <img src="/images/pdf.png" width="16" height="16" alt="PDF" /></a>,
<a href="/files/itscm/prog/ITSCM-prog-Examen-Jan15-SerieB.pdf">Jan.
2015-B <img src="/images/pdf.png" width="16" height="16" alt="PDF" /></a>,
<a href="/files/itscm/prog/ITSCM-prog-Examen-Aug15.pdf">Aug. 2015
<img src="/images/pdf.png" width="16" height="16" alt="PDF" /></a></li>
</ul>
<h2>Resources</h2>
<ul>
<li>Official reference book:
<a href="https://www.ukonline.be/cours/c/bases-programmation">Bases de la
programmation et découverte du langage C</a></li>
<li>Reference book: <a href="http://www.eyrolles.com/Informatique/Livre/
apprenez-a-programmer-en-c-2e-edition-9791090085879">Apprenez à
programmer en C (2e édition)</a></li>
<li>Reference on the standard library:
<a href="http://www.cplusplus.com">Cplusplus.com</a></li>
<li>Integrated Development Environment (IDE):
<a href="http://www.codeblocks.org">Code::Blocks</a></li>
</ul>