• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 4 pages
Summary

Résumé BTS SIO - Algorithmique et Python - fiche de révision

Document preview thumbnail
Preview 1 out of 4 pages

Fiche de révision en français pour le BTS SIO : variables, types, conditions, boucles, fonctions, listes et dictionnaires, chaînes, fichiers et gestion des erreurs. Tableaux, repères et exemples pour réviser. Document de révision indépendant, pas un sujet officiel d'examen.

Content preview

BTS SIO · 1RE ANNÉE · SISR




Algorithmique
et Python : bases
Variables, types, conditions, boucles.


Algorithme et programme
Un algorithme est une suite d'étapes pour résoudre un problème. Un
programme l'écrit dans un langage (ici Python 3). Un algorithme se
compose de 3 briques : séquence (instructions à la suite), alternative
(si / sinon), répétition (boucle).


Variables et types
Type Exemple type()

Entier age = 17 int

Décimal prix = 3.5 float

Texte nom = "Léa" str

Booléen ok = True bool

Python n'a pas de déclaration : le type vient de la valeur. input()
renvoie toujours du texte : utilise int(input()) pour un nombre.


Opérateurs
Opérateur Rôle Exemple

+-*/ Calculs donne 3.5

// Division entière 7 // 2 donne 3

% Reste (modulo) 7 % 2 donne 1

** Puissance 2 ** 3 donne 8

== != < >= Comparaison age >= 18

and or not Logique a and not b



Condition
age = 17
if age >= 18:
print("majeur")
elif age >= 16:
print("16-17 ans")
else:
print("mineur")
# affiche : 16-17 ans



Indentation
En Python, l'indentation (4 espaces) définit les blocs. Après if, elif,
else, for, while et def, n'oublie pas les deux-points.




Programmation · Fiche de révision Algo et Python 1/4

Document information

Uploaded on
October 12, 2026
Number of pages
4
Written in
2026/2027
Type
Summary
$4.51

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
17
Last sold
-



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions