Vous êtes sur la page 1sur 6

Programme du canneva 2023

Unité d’enseignement: UEM1.1


Matière 4 : Python/Java
VHS: 37 h 30 (Cours: 1h30, TP: 1h 00 )
Crédits: 3
Coefficient: 2

Objectifs de l’enseignement:

A l’issu de ce cours, l’étudiant sera capable de :

- Comprendre le rôle du calcul dans la résolution de problèmes ;


- Aider à écrire de petits programmes qui leur permettent d'atteindre des objectifs
utiles.

Connaissances préalables recommandées:

 Aucune expérience préalable en programmation requise.

Contenu de la matière:

I) Python (Choisir entre le Python ou le Java) :

Chapitre 1. Introduction à l'informatique et résolution de problèmes (01 semaine)


Une introduction à l'informatique et à Python, cycle de développement du programme, outils de
programmation et une introduction à Python.
Chapitre 2. Objets de base, variables, entrée, et Sortie (02 semaines)
Données et variables, chaînes, sortie, listes, tuples et fichiers.
Chapitre 3. Structures qui contrôlent le flux (02 semaines)
Opérateurs relationnels et logiques, structures de décision, la boucle while, la boucle for.
Chapitre 4. Fonctions (02 semaines)
Principe et généralités, passage d’arguments, renvoi de résultats, arguments positionnels et arguments
par mot-clé, variables locales et variables globales.

Chapitre 5. Traitement des données (02 semaines)


Lecture de fichiers texte , création de fichiers texte, ajout de lignes à un fichier texte existant,
etc.
Chapitre 6. Sujets divers (02 semaines)
Gestion des exceptions, sélection de valeurs aléatoires, graphiques de tortue, récursivité.
Chapitre 7. Programmation orientée objet (02 semaines)
Classes, objets, attributs , héritage.

Chapitre 8 Interface utilisateur graphique (02 semaines)


Widgets, le gestionnaire de géométrie de grille, écrire des programmes.

Les sujets de TP doivent inclure :


• Variables, fonctions et flux de contrôle
• Structures de données telles que listes et dictionnaires
• Logique, décomposition et structure globale du programme
• Programme orientée objet
• Compétences en débogage et test
What is a computer?

A computer is a machine that can be instructed to carry out sequences of arithmetic or logical
operations automatically via computer programming

What is a program?

A computer program is a set of instructions that the computer can execute and to write these
programs we use a programming language.

What is a Programing language

what is a programming language

A programming language is a and structured way of communicating with a computer.

It is a set of instructions that a programmer uses to define and specify how a computer should
perform a particular task or solve a specific problem.

Programming languages serve as intermediaries between humans and machines, allowing


humans to convey their intentions to a computer.

Key characteristics of programming languages include:

1. Syntax: Programming languages have a specific syntax or grammar that defines how
instructions should be written. Syntax rules ensure that code is structured correctly and
can be understood by both humans and computers.
2. Higher-level vs. low-level: Higher-level languages provide greater abstraction,
simplifying complex tasks, while lower-level languages offer more control over
hardware.
3. Compiled vs. Interpreted: Programming languages can be either compiled
(translated into machine code before execution) or interpreted (translated line by line
during execution). Some languages, like Python, use a combination of both
approaches.

Python

Programming languages

Python 1991

Easy to learn thanks to its simpler syntax

The most widely used in the field of artificial intelligence

Interpreted language (Dynamic types)

Applications Fields

1. Artificial Intelligence
2. Data Science
3. Robotics:
4. Web Development
5. Scientific Computing
6. Game Development
7. Desktop Applications:
8. Scientific Research
9. Education
10. Networking:

11. Database Management:


12. Cloud Computing:
13. Natural Language Processing (NLP):
14. Computer Vision:
15. Healthcare and Bioinformatics:
Notions

syntax highlighting

Vous aimerez peut-être aussi