School / Prep
ENSEIRB-MATMECA
Internal code
EE5PG108
Description
The aim of this course is to assimilate the basics of C programming in the Unix environment.
The first practical session focuses on the UNIX environment, the following on programming in this environment.
Teaching hours
- CMLectures11h
- TDTutorial8h
- TDMMachine Tutorial36h
- TIIndividual work15h
Mandatory prerequisites
basic algorithms
Syllabus
Introduction
Motivation
programming principles
The C language
compilation
UNIX
The scientific method
application to debugging
The trilogy : Type / Expression / Instruction
Expressions
Variables
Functions
Tables
Instructions
Conditional structure
Repetitive structure
Principle of variables / data types
printf
Size of 'objects'
Strings strings
Number representation
Logic
Floating numbers
Pointers (References)
Pointers and arrays
Pointer arithmetic
Structures
Supplementary material
Header filesheaders
Preprocessor and separate compilation
Error handling
File management
Multi-dimensional arrays
Further information
Programming
Bibliography
All documents are provided in electronic format on the course page.
Assessment of knowledge
Initial assessment / Main session - Tests
Type of assessment | Type of test | Duration (in minutes) | Number of tests | Test coefficient | Eliminatory mark in the test | Remarks |
---|---|---|---|---|---|---|
Final inspection | Written | 120 | 0.5 | documents allowed without calculator | ||
Continuous control | Continuous control | 0.5 |
Second chance / Catch-up session - Tests
Type of assessment | Type of test | Duration (in minutes) | Number of tests | Test coefficient | Eliminatory mark in the test | Remarks |
---|---|---|---|---|---|---|
Final test | Written | 120 | 0.5 | documents allowed without calculator | ||
Continuous control | Continuous control | 0.5 |