FUN

Écrivez votre premier programme avec Java (FUN)

Offered by le cnam,
Écrivez votre premier programme avec Java (FUN)

Le cours est une initiation aux bases de la programmation. Il vise à faire réaliser quelques programmes simples utilisant les instructions de base (if, boucles, tableaux). A travers cette réalisation, le but est de faire comprendre ce qu'est un programme applicatif et par quel processus il est créé. Il s'agit de comprendre ce qui se passe quand on clique sur une icône.

Le cours utilise le langage Java mais sans introduire les concepts de la programmation objet. Il se concentre sur des instructions de base existant sous une forme voisine dans tous les langages courants.

Le cours a une durée de six semaines, chaque semaine étant subdivisée en six séquences d'une dizaine de minutes. Des évaluations intermédiaires sous forme de QCM non notés sont proposées après chaque séquence. Les évaluations notées consistent en un petit programme à écrire par semaine, celui de la dernière semaine comptant davantage. Ces évaluations notées permettent d'obtenir une attestation de suivi avec succès.
Un forum est dédié aux échanges entre apprenants, aux témoignages et aux questions. Le professeur répond régulièrement par web conférence ou annonce sur la plateforme, aux principales interrogations qui ont émergé des discussions du forum.

Plan du cours

Semaine 1 : c'est tout un programme ...
Qu'est-ce qu'un programme ?
Langage source et langage cible.
Structure d'un programme.
Instructions d'entrées-sorties, déclarations, affectation.
Prise en main des outils de développement.

Semaine 2 : avec des si ...
Instruction conditionnelle.
Types et opérations.
Approfondissement sur les variables et l'affectation.

Semaine 3 : ça va durer encore longtemps ?
Boucle for.
Trace d'exécution.
Approfondissement sur l'instruction conditionnelle.
Conditions.

Semaine 4 : on tourne en rond, là.
Boucle while.
Terminaison des boucles.
Introduction à la conception de programmes.

Semaine 5 : vous voyez le tableau.
Tableaux.
Boucles imbriquées.
Entrées-sorties.
Menu.

Semaine 6 : la fin qui n'est qu'un début.
Utilisation de tableaux comme structures de données.
Panorama de ce qui n'est pas couvert par le cours.
Conclusion.

Go to Class
MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Related Courses

Programmation objet immersive en Pharo / Live Object Programming in Pharo (FUN) FUN
INRIA

Programmation objet immersive en Pharo / Live Object Programming in Pharo (FUN)

Que vous soyez un débutant ou un expert en programmation orientée objet, ce MOOC va changer votre façon de penser objet : venez apprendre ou redécouvrir la programmation objet avec Pharo ! If you are either a beginner or an expert in object-oriented programming, this MOOC will change the way you program with objects: come and learn or rediscover object-oriented programming with Pharo!

No sessions available
5-12 Weeks
Java Programming: Solving Problems with Software (Coursera) Coursera
Duke University

Java Programming: Solving Problems with Software (Coursera)

Learn to code in Java and improve your programming and problem-solving skills. You will learn to design algorithms as well as develop and debug programs. Using custom open-source classes, you will write programs that access and transform images, websites, and other types of data. At the end of the course you will build a program that determines the popularity of different baby names in the US over time by analyzing comma separated value (CSV) files.

Jun 15th 2026
4 Weeks
Advanced Data Structures in Java (Coursera) Coursera
University of California, San Diego

Advanced Data Structures in Java (Coursera)

How does Google Maps plan the best route for getting around town given current traffic conditions? How does an internet router forward packets of network traffic to minimize delay? How does an aid group allocate resources to its affiliated local partners? To solve such problems, we first represent the key pieces of data in a complex data structure. In this course, you’ll learn about data structures, like graphs, that are fundamental for working with structured real world data.

Jun 15th 2026
5-12 Weeks
Programmer en C (FUN) FUN
Institut Mines-Telecom

Programmer en C (FUN)

Ce MOOC est le deuxième volet du parcours Le Langage C de A à Z. Chaque jour, nous interagissons avec des centaines de micro-processeurs. Intégrés dans nos smartphones, vélos, jouets ou robots, ils nous accompagnent au quotidien. Pour écrire des programmes pour ces micro-processeurs, la référence est le langage C couplé à Linux, un système d’exploitation open-source. En suivant ce MOOC, vous comprendrez comment fonctionnent les objets qui nous entourent et pourrez vous préparer aux métiers de demain.

No sessions available
3 Weeks
Programming Languages, Part A (Coursera) Coursera
University of Washington

Programming Languages, Part A (Coursera)

This course is an introduction to the basic concepts of programming languages, with a strong emphasis on functional programming. The course uses the languages ML, Racket, and Ruby as vehicles for teaching the concepts, but the real intent is to teach enough about how any language “fits together” to make you more effective programming in any language -- and in learning new ones.

Jun 15th 2026
5-12 Weeks
Interactivity with JavaScript (Coursera) Coursera
University of Michigan

Interactivity with JavaScript (Coursera)

If you want to take your website to the next level, the ability to incorporate interactivity is a must. But adding some of these types of capabilities requires a stronger programming language than HTML5 or CSS3, and JavaScript can provide just what you need. With just a basic understanding of the language, you can create a page that will react to common events such as page loads, mouse clicks & movements, and even keyboard input.

Jun 15th 2026
4 Weeks
Python Data Structures (Coursera) Coursera
University of Michigan

Python Data Structures (Coursera)

This course will introduce the core data structures of the Python programming language. We will move past the basics of procedural programming and explore how we can use the Python built-in data structures such as lists, dictionaries, and tuples to perform increasingly complex data analysis. This course will cover Chapters 6-10 of the textbook “Python for Everybody”. This course covers Python 3.

Jun 15th 2026
5-12 Weeks
C++程序设计 (Coursera) Coursera
Peking University

C++程序设计 (Coursera)

讲授C++语言中和面向对象有关的概念和语法,如类和对象、运算符重载、继承和多态、类模板和算法模板、标准模板库等。目标是使得学生能够用C++语言,以面向对象的方法编写可维护性、可扩充性好的,较大规模的程序,初步领会面向对象程序设计方法的优势所在。

Jun 15th 2026
5-12 Weeks
HTML, CSS, and Javascript for Web Developers (Coursera) Coursera
Johns Hopkins University

HTML, CSS, and Javascript for Web Developers (Coursera)

Do you realize that the only functionality of a web application that the user directly interacts with is through the web page? Implement it poorly and, to the user, the server-side becomes irrelevant! Today’s user expects a lot out of the web page: it has to load fast, expose the desired service, and be comfortable to view on all devices: from a desktop computers to tablets and mobile phones. In this course, we will learn the basic tools that every web page coder needs to know. We will start from the ground up by learning how to implement modern web pages with HTML and CSS.

Jun 16th 2026
5-12 Weeks
Learn to Teach Java: Boolean Expressions, If Statements, and Iteration (Coursera) Coursera
University of California, San Diego

Learn to Teach Java: Boolean Expressions, If Statements, and Iteration (Coursera)

Learn to program with Boolean Expressions, If Statement, and For and While Loops in Java, and prepare to teach others using the free, online interactive CS Awesome textbook. In this course for teachers we'll guide you both in learning Java concepts and skills but also in how to effectively teach those to your students.

Jun 17th 2026
4 Weeks
Java Programming: Arrays, Lists, and Structured Data (Coursera) Coursera
Duke University

Java Programming: Arrays, Lists, and Structured Data (Coursera)

Build on the software engineering skills you learned in “Java Programming: Solving Problems with Software” by learning new data structures. Use these data structures to build more complex programs that use Java’s object-oriented features. At the end of the course you will write an encryption program and a program to break your encryption algorithm.

Jun 15th 2026
4 Weeks