Leçon 5/13 · 18 mots · 0 appris
Programming fundamentals
Fondamentaux de la programmation
algorithme
a set of step-by-step rules that a computer follows to solve a problem or complete a task
The new algorithm finds the shortest delivery route in seconds.
Le nouvel algorithme trouve l'itinéraire de livraison le plus court en quelques secondes.
Social media platforms use algorithms to decide which posts users see.
SynonymesprocedureformulaprocessmethodroutineAntonymesrandomnesschanceguessworkcode source
the original instructions of a program, written by programmers in a form people can read
Only senior developers can change the source code of the core system.
Seuls les développeurs seniors peuvent modifier le code source du système central.
The client asked for a copy of the source code when the project ended.
Synonymescodeprogram codeAntonymesexecutablebinary codelangage de programmation
a formal language with its own words and rules, such as Python or Java, used to write computer programs
Python is the main programming language used by our data team.
Python est le principal langage de programmation utilisé par notre équipe data.
The job requires experience in at least one object-oriented programming language.
syntaxe
the rules for how words, symbols and punctuation must be written in a programming language
The program will not run because there is a syntax error on line 42.
Le programme ne s'exécutera pas à cause d'une erreur de syntaxe à la ligne 42.
Python syntax is simple, which makes it good for beginners.
variable
a named place in a program that stores a value which can change while the program runs
Give each variable a clear name so others understand your code.
Donnez à chaque variable un nom explicite pour que les autres comprennent votre code.
The bug happened because the variable was never set to zero.
type de données
the kind of value a variable can hold, such as a number, text or true/false
The error appeared because the function expected a number but received a text data type.
L'erreur est apparue parce que la fonction attendait un nombre mais a reçu un type de données texte.
Choose the right data type for each column in the table.
boucle
a part of a program that repeats the same instructions until a condition is met
The script uses a loop to send an email to each customer on the list.
Le script utilise une boucle pour envoyer un e-mail à chaque client de la liste.
The app froze because of an infinite loop in the code.
instruction conditionnelle, structure conditionnelle
a programming instruction, such as if/else, that runs different code depending on whether a condition is true
A conditional statement checks whether the user is logged in before showing the page.
Une instruction conditionnelle vérifie si l'utilisateur est connecté avant d'afficher la page.
Too many nested conditional statements make the code hard to test.
script
a short program that automates a task, often written in a language such as Python or Bash
We wrote a script that backs up the database every night.
Nous avons écrit un script qui sauvegarde la base de données chaque nuit.
The deployment script failed because a file path was wrong.
bibliothèque logicielle, bibliothèque
a collection of ready-made code that programmers can reuse in their own programs
We used an open-source library to generate PDF reports.
Nous avons utilisé une bibliothèque open source pour générer des rapports PDF.
Check the licence before adding a third-party library to the project.
programmation orientée objet, POO
a style of programming that organizes code into objects that contain both data and functions
Java and C# are popular languages for object-oriented programming.
Java et C# sont des langages populaires pour la programmation orientée objet.
The interview included questions on object-oriented programming concepts like classes and inheritance.
IDE, environnement de développement intégré
integrated development environment: a software application with tools for writing, testing and debugging code
Most of our developers use Visual Studio Code as their IDE.
La plupart de nos développeurs utilisent Visual Studio Code comme IDE.
A good IDE highlights errors while you type.
