School / Prep
ENSEIRB-MATMECA
Internal code
EI5PG101
Description
The aim of this course is to learn the basics of imperative programming by studying the syntax and semantics of the C language.
Introduction
Motivation
History
and grievances ...
The trilogy : Type / Expression / Instruction
Expressions
Variables
Functions
Tables
Instructions
Conditional structure
Repetitive structure
Character strings
Representation of numbers
Integer types
printf
Size objects'
Logic
Some useful and dangerous operators
Floating numbers
Pointers (References)
Pointers and arrays
Pointer arithmetic
Structures
Additional material
Header filesheaders
Preprocessor and separate compilation
Error handling
File management
Multi-dimensional arrays
Teaching hours
- CMLectures11h
- TDTutorial20h
- TIIndividual work10h
Mandatory prerequisites
None.
Syllabus
Introduction
Motivation
History
and grievances ...
The trilogy: Type / Expression / Instruction
Expressions
Variables
Functions
Tables
Instructions
Conditional structure
Repetitive structure
Character strings
Representation of numbers
Integer types
printf
Size objects'
Logic
Some useful and dangerous operators
Floating numbers
Pointers (References)
Pointers and arrays
Pointer arithmetic
Structures
Additional 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 | Machine work | 120 | 1 | without document |
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 | Machine work | 120 | 1 | without document |