Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cours
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jeremy.meissner
cours
Commits
3c6145af
Verified
Commit
3c6145af
authored
1 year ago
by
orestis.malaspin
Browse files
Options
Downloads
Patches
Plain Diff
added cours1
parent
3cdf061b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
slides/cours_1.md
+8
-8
8 additions, 8 deletions
slides/cours_1.md
slides/intro.md
+11
-11
11 additions, 11 deletions
slides/intro.md
slides/metadata.yaml
+2
-2
2 additions, 2 deletions
slides/metadata.yaml
with
21 additions
and
21 deletions
slides/cours_1.md
+
8
−
8
View file @
3c6145af
---
title
:
"
Introduction
aux
algorithmes"
date
:
"
202
2
-09-
2
1"
date
:
"
202
3
-09-1
9
"
---
# Qu'est-ce qu'un algorithme?
...
...
@@ -42,7 +42,7 @@ de résoudre typiquement une classe de problèmes ou effectuer un calcul.
. . .
*
Opérateurs (arth
i
métiques / booléens)
*
Opérateurs (ar
i
thmétiques / booléens)
*
Boucles;
*
Structures de contrôle;
*
Fonctions;
...
...
@@ -99,7 +99,7 @@ bool est_premier(int nombre) {
if (0 == nombre % i) { // is i divise nombre
return false; // i n'est pas premier
}
i
+
= 1; // sinon on incrémente i
i =
i +
1; // sinon on incrémente i
}
return true;
}
...
...
@@ -240,7 +240,7 @@ int main() {
# Quiz: compile ou compile pas?
## [Quiz: compile ou compile pas](https://cyberlearn.hes-so.ch/mod/evoting/view.php?id=
1033948
)
## [Quiz: compile ou compile pas](https://cyberlearn.hes-so.ch/mod/evoting/view.php?id=
501934
)
# Types de base (1/4)
...
...
@@ -288,7 +288,7 @@ Type Signification
# Quiz: booléens
## [Quiz: booléens](https://cyberlearn.hes-so.ch/mod/evoting/view.php?id=
103249
2)
## [Quiz: booléens](https://cyberlearn.hes-so.ch/mod/evoting/view.php?id=
50192
2)
<!-- TODO Quiz en ligne -->
<!--
```C
...
...
@@ -332,7 +332,7 @@ if (x) { /* vrai */ }
# Quiz: conversions
## [Quiz: conversions](https://cyberlearn.hes-so.ch/mod/evoting/view.php?id=
1033446
)
## [Quiz: conversions](https://cyberlearn.hes-so.ch/mod/evoting/view.php?id=
501925
)
<!-- TODO Quiz en ligne -->
<!--
```C
...
...
@@ -402,7 +402,7 @@ Opérateurs testant la relation entre deux *expressions*:
# Quiz: opérateurs logiques
## [Quiz: opérateurs logiques](https://cyberlearn.hes-so.ch/mod/evoting/view.php?id=
1033629
)
## [Quiz: opérateurs logiques](https://cyberlearn.hes-so.ch/mod/evoting/view.php?id=
501928
)
<!-- TODO: Quiz -->
<!--
```C
...
...
@@ -506,7 +506,7 @@ else
# Quiz: `if ... else`{.C}
## [Quiz: `if ... else`{.C}](https://cyberlearn.hes-so.ch/mod/evoting/view.php?id=
1033916
)
## [Quiz: `if ... else`{.C}](https://cyberlearn.hes-so.ch/mod/evoting/view.php?id=
501931
)
# Structures de contrôle: `while`{.C}
...
...
This diff is collapsed.
Click to expand it.
slides/intro.md
+
11
−
11
View file @
3c6145af
---
title
:
"
Introduction
générale"
date
:
"
202
2
-09-
20
"
date
:
"
202
3
-09-
19
"
---
# La hotline
...
...
@@ -17,37 +17,37 @@ Orestis Malaspinas orestis.malaspinas@hesge.ch A401
*
Espace de discussion
[
Matrix
](
https://matrix.to/#/!aKYVlcclmPGYXQFxAK:matrix.org?via=matrix.org
)
, installez
[
element.io
](
https://element.io
)
.
{width=20%}
*
Communauté lemmy:
<https://lemmy.hepiapp.ch/c/algo>
# Cyberlearn
Tout le contenu de ce qu'on raconte se trouve sur cyberlearn:
-
Algorithmes et structures de données
-
<https://cyberlearn.hes-so.ch/course/view.php?id=
13941
>
-
Clé d'inscription: algo_202
1
_2
2
-
<https://cyberlearn.hes-so.ch/course/view.php?id=
7276
>
-
Clé d'inscription: algo_202
3
_2
4
-
Programmation Sequentielle en C
-
<https://cyberlearn.hes-so.ch/course/view.php?id=
12399
>
-
Clé d'inscription: prog_seq_202
1
_2
2
-
<https://cyberlearn.hes-so.ch/course/view.php?id=
7282
>
-
Clé d'inscription: prog_seq_202
3
_2
4
# Organisation du module
*
Deux
cours,
5
0% chacun.
1.
Algorithmes et structures de données:
*
Cinq
cours,
2
0% chacun.
1.
Algorithmes et structures de données
(2 semestres)
:
*
1er semestre:
*
bases de programmation en C jusqu'à Noël.
*
algorithmique jusqu'à fin janvier.
*
2e semestre:
*
algorithmique.
*
Deux évaluations écrites par semestre (1er: novembre et janvier).
2.
Programmation séquentielle en C
2.
Programmation séquentielle en C
(2 semestres)
*
Familiarisation avec l'environnement Linux.
*
Travaux pratiques en C.
*
Apprentissage du gestionnaire de versions: git.
*
Plusieurs exercices illustrant les concepts d'algorithmique.
*
Évaluations:
*
Deux évaluations machine (1er semestre).
*
Probablement, une évaluation machine et un projet (2e semestre).
*
Évaluations (4 tests machine).
3.
Programmation système
This diff is collapsed.
Click to expand it.
slides/metadata.yaml
+
2
−
2
View file @
3c6145af
---
subtitle
:
"
Algorithmique
et
structures
de
données,
202
2
-202
3
"
author
:
"
P.
Albuquerque
(B410)
,
P.
Künzli
et
O.
Malaspinas
(A401),
ISC,
HEPIA"
subtitle
:
"
Algorithmique
et
structures
de
données,
202
3
-202
4
"
author
:
"
P.
Albuquerque
(B410)
et
O.
Malaspinas
(A401),
ISC,
HEPIA"
institute
:
En partie inspirés des supports de cours de P. Albuquerque
lang
:
fr-CH
revealjs-url
:
/reveal.js
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment