Course : Learn to program (with the C language)

Development novices learn the basics of algorithmics

Practical course - 2d - 14h00 - Ref. ALC
Price : 1280 € E.T.

Learn to program (with the C language)

Development novices learn the basics of algorithmics



This course introduces you to the basics of programming and algorithms. You'll see the key stages in creating a program using the C language. You'll learn about lexicon, syntax, tools, code organization and testing. C, a classic whose syntax has inspired many other languages.


INTER
IN-HOUSE
CUSTOM

Practical course in person or remote class
Disponible en anglais, à la demande

Ref. ALC
  2d - 14h00
1280 € E.T.




This course introduces you to the basics of programming and algorithms. You'll see the key stages in creating a program using the C language. You'll learn about lexicon, syntax, tools, code organization and testing. C, a classic whose syntax has inspired many other languages.


Teaching objectives
At the end of the training, the participant will be able to:
Structuring programs according to an algorithm
Master the lexicon and syntax of a language to write a program
Run, debug and test a program
Handling data with variables of different types
Structuring processes with control structures
Understand the organization of a program with procedures and functions

Intended audience
Anyone who needs to learn programming.

Prerequisites
No special knowledge required.

Practical details
Hands-on work
Although this is not a course on the C language, participants will spend 60% of their time working on algorithmic practical exercises, which will then be translated into C language.
Teaching methods
Active pedagogy based on examples, demonstrations, experience sharing, case studies and assessment of learning throughout the course.

Course schedule

1
A program

  • What is a program?
  • What is a language? The different paradigms.
  • What is an algorithm? Pseudo-language.
  • Compilers. Executables.
Example
Presentation of a first pseudo-language algorithm.

2
Genesis of a first program

  • Writing a program: syntax and instructions.
  • Compile and run the program.
  • What is a bookshop? Its role, its use.
Hands-on work
Write, compile and run a first program in C language.

3
Programming rules

  • Naming convention. Syntax convention.
  • Using comments. Why comment on developments?
  • Improve program readability: code indentation, code breakdown, etc.
Example
Program presentation with naming conventions, comments and indentations.

4
Variables

  • What is a variable?
  • Primitive types: integers, strings, real numbers, others.
  • Variable declaration, definition and initialization. Constants.
  • Input, display, assignment, type conversion.
  • Organize data in tabular form.
Hands-on work
Manipulate variables and arrays in programs.

5
Operators and expressions

  • The different operators (addition, equality...).
  • Combination of operators.
  • Boolean expression.
Hands-on work
Handling operators in a program.

6
Control structures

  • Instruction blocks (notion of Start... End).
  • Alternative selections (if, if-then-then...).
  • Iterative loops (tant-que-repéter, répéter-jusqu'à, pour-de-à).
  • Instruction nesting.
Hands-on work
Use of control structures in programs.

7
Procedures and functions

  • Definitions: procedure, function. Interest.
  • Parameter passing.
  • Function return code. Calling functions.
Hands-on work
Using a procedure and a function in a program.

8
Program maintenance, debugging and testing

  • Interpret error messages.
  • Use a debugger: step-by-step program execution, breakpoints, inspect variables.
  • Unit testing.
Hands-on work
Use a debugger to control program execution.


Publication date : 01/18/2024



This programme is an original creation, developed by the teaching teams at ORSYS Formation. Any reproduction, representation, adaptation or use, in whole or in part, without the prior written authorisation of ORSYS, is strictly prohibited. ORSYS reserves the right to take any action necessary to protect its intellectual property rights.


This programme is an original creation, developed by the teaching teams at ORSYS Formation. Any reproduction, representation, adaptation or use, in whole or in part, without the prior written authorisation of ORSYS, is strictly prohibited. ORSYS reserves the right to take any action necessary to protect its intellectual property rights.