Course : Introduction to programming with Python

Introduction to programming with Python

Download in PDF format Share this course by email 2


This course will introduce you to the basics of programming and algorithms. You'll implement the different key steps to building a computer program in the Python language. You'll learn about its lexicon and syntax, tools, code organization and testing.


Inter
In-house
Custom

Practical course in person or remote class

Ref. THO
Price : 1450 € E.T.
  2d - 14h00




This course will introduce you to the basics of programming and algorithms. You'll implement the different key steps to building a computer program in the Python language. You'll learn about its lexicon and syntax, tools, code organization and testing.

Teaching objectives
At the end of the training, the participant will be able to:
  • Structure programs using an algorithm
  • Master lexical and syntactical elements of a language in order to write a program
  • Compile and execute a program
  • Debug and test a program

Intended audience
Anyone who wants to learn programming.

Prerequisites
Aucune connaissance particulière.

Course schedule

A program

  • What is a program?
  • What is a language? The various paradigms.
  • What is an algorithm? Pseudo-language.
  • Compilers. Executables.
Exercise
Overview of different languages. Writing a first algorithm in pseudo-language.

Genesis of an initial program

  • Writing a program: Syntax and instructions.
  • Compiling and executing the program.
  • What is a library? Its role, its usage.
Exercise
Writing, compiling, and executing a first Python program.

Programming rules

  • Naming convention. Syntax convention.
  • Using comments. Why add comments to your code?
  • Improving program legibility: Indenting the code, breaking down the code, etc.

Variables.

  • What is a variable?
  • Primitive types: integers, character strings, real numbers, others.
  • Declaring, defining, and initializing a variable. Constants.
  • Entry, display, assignment, type conversion.
  • Organizing your data into tables.
Hands-on work
Working with variables.

Operators and expressions

  • Different operators (addition, equality, etc.).
  • Combining operators.
  • Boolean expressions.
Exercise
Handling operators and Boolean expressions.

Control structures

  • Alternative selections (if, if-then-else, etc.).
  • Instruction blocks (notion of Start... End).
  • Iterative loops (while-repeat, repeat-until, for-from-to).
  • Embedding instructions.
Exercise
Control structures

Procedures and functions.

  • Definitions: Procedure, function. Benefits.
  • Passing parameters.
  • A function's return value. Calling functions.

Maintenance, debugging, and program testing

  • How to read and interpret different error messages.
  • Using a debugger: Executing a program step-by-step, stopping points, inspecting variables.
  • Unit tests.
Hands-on work
Using a debugger to check how the programs are running.


Practical details
Hands-on work
This course is 60% hands-on work, performed in Visual Basic (course code INP), Java (course code INJ), C# (course code OGR) or Python (course code THO), as needed.

Customer reviews
4,3 / 5
Customer reviews are based on end-of-course evaluations. The score is calculated from all evaluations within the past year. Only reviews with a textual comment are displayed.