Cours - Programmation

145 documents à télécharger gratuitement

Cours de programmation partagés par des étudiants et des enseignants. Thèmes couverts : algorithmique, langage C, Java, Python, POO, structures de données.

Introduction à la Programmation Orientée Objet

This document provides an introduction to Object-Oriented Programming (OOP) aimed at second-year Business Computing students. It covers the basic concepts of OOP, including classes, objects, encapsulation, inheritance, polymorphism, abstract classes, and interfaces, particularly using the Java programming language. The course also addresses procedural programming limitations and emphasizes developing applications using an object-oriented approach.

programmation
proc
edurale
21p0
Programmation Multimédia

Academic document imported into UniversityLib: Programmation Multimédia.

Informatique
other
dia
Institut Supérieur des Technologies de l'Information et de la Communication1p0
cours algorithmique : Les files d’attente

Chapitre IV - Les files d’attente Définition d’une file La file est une structure de donnée, qui permet de stocker les données dans l'ordre FIFO (First In First Out) - en français Premier Entré Premier Sorti).

General
course
file
1p0
C ours Les pointeurs

27/12/2014 chapitre 3 : les pointeurs Chapitre 3 Les pointeurs Toute variable manipul e dans un programme est stock e quelque part en m moire centrale. Cette m moire est constitu e d'octets qui sont identifi s de mani re univoque par un num ro qu'on appelle adresse .

General
exam
est
1p0
COURS THREADING

This document covers the principles of threading in Java, exploring the difference between processes and threads. Key advantages of multi-threading are highlighted, as well as specific Java implementations using the Thread class. It includes code examples and discusses the execution of multiple threads in parallel.

thread
quot
actiondecuisine
25p0
Cours de Systèmes Répartis: Bases de l’Algorithmique Répartie

This document introduces distributed systems, outlining their definition, properties, and challenges. It discusses key algorithmic concepts, including global state management, causality, and synchronization. Solutions such as Lamport's logical clocks and vector clocks are detailed for maintaining consistency. Notable applications like DNS and the World Wide Web exemplify practical implementations of these systems.

distributed systems
Lamport logical clocks
causality principle
88p0
Cours de Systèmes Répartis

Ce cours traite des systèmes répartis, en mettant l'accent sur les concepts d'algorithmique répartie. Il aborde les défis et les propriétés des systèmes, ainsi que les modèles nécessaires pour leur compréhension et leur fonctionnement. Les problèmes fondamentaux et les solutions associées y sont également explorés.

processus
syst
jeton
88p0
COURS SUR SWING

Ce document présente une introduction à Swing, une bibliothèque pour la création d'interfaces graphiques en Java. Il explique les différences entre Swing et AWT, ainsi que des exemples de composants de contrôle tels que les boutons, les cases à cocher et les sélecteurs de couleurs. Enfin, des instructions pour utiliser des conteneurs haut niveau comme JFrame sont fournies.

quot
jframe
jbutton
18p0
Architectures et Algorithmique Parallèles

This document discusses the trends in parallel architectures and the motivation for utilizing parallelism in computing. It covers the limitations of sequential processing and highlights various applications of parallel computing. The document outlines the features of multi-core processors and their significance in modern computing.

memory
local
with
53p0
Élection & Consensus

Ce document traite de l'élection et du consensus dans les systèmes répartis, en se concentrant sur les algorithmes permettant de choisir un coordinateur à partir de plusieurs processus. Il explore différents scénarios dans lesquels un coordinateur peut échouer et les moyens d'y remédier. L'algorithme du 'bully' est également présenté comme une méthode pour élire un coordinateur.

processus
syst
partis
73p0
Parallelization Methodologies in Algorithm Design

The document introduces key concepts and methodologies in parallel computing. It outlines fundamental steps for parallelizing algorithms, such as task division, precedence graph construction, and task scheduling on processors. Granularity of task decomposition is discussed with examples, emphasizing its impact on performance optimization. Additionally, it explores task precedence systems, scheduling complexities, and asymptotic performance evaluations for parallel algorithms.

Parallelization
Precedence Graph
Granularity
33p0
Théorie et pratique du parallélisme algorithmique

This document provides an overview of parallelization in algorithms, explaining the principles, task graphs, scheduling, complexity, and results. It discusses how to partition algorithms into tasks for execution on parallel architectures. Additionally, it covers the concept of task granularity and the factors that influence the choice of the best parallelization strategy.

ches
temps
graphe
33p0
Notes de cours Java

This document covers the concepts of abstract classes and interfaces in Java. It explains the rules and characteristics of abstract classes, methods, and their implementations. Additionally, it details how interfaces function as contracts in Java programming, along with their properties and usage.

classe
interfaces
interface
2p0
Notes de cours Java

This document provides an overview of access modifiers in Java, including public, protected, private, and default visibility, along with their implications on class inheritance. It discusses local variables, the final modifier, static variables and methods, and constructors in Java, emphasizing their characteristics and usage. The notes are essential for understanding the foundational aspects of Java programming.

classe
constructeur
membres
3p0
Notes de cours Java

This document provides an overview of Java programming concepts, focusing on identifiers, declaration rules, array handling, and access modifiers. It outlines conventions for naming classes and methods, as well as the structure of source files. Additionally, it explains how visibility impacts class interaction in Java.

classe
classes
peut
2p0
Conception par Objet et Programmation Java

This document provides an overview of abstract classes and interfaces in Java, detailing their definitions, syntax, and practical applications. It also introduces the concepts of class abstraction and the advantages of using interfaces in programming. The course's overall aim is to enhance understanding of object-oriented programming principles.

classe
abstraite
abstraites
11p0
Conception par Objet et Programmation Java

This document discusses object-oriented conception and Java programming, focusing on collections. It covers the structure and advantages of working with various collection types such as List, Set, and Map, as well as the methods associated with them. The course is aimed at improving application performance and managing different types of data effectively.

number
slide
quot
40p0
Conception par Objet et Programmation Java

This document presents the concept of polymorphism in Java, including its definition, examples of polymorphic arrays, and method overriding. It explains the principles of subclassing, type casting, and runtime polymorphism in object-oriented programming.

animal
classe
number
22p0
Conception par Objet et Programmation Java

This document provides an overview of object-oriented programming in Java, focusing on exceptions. It discusses the definition of exceptions, their handling mechanisms, and different types of exceptions available in Java. The course aims to enhance code readability by separating anomaly detection from processing.

exception
number
slide
38p0
Conception par Objet et Programmation Java

This document covers the principles of Object-Oriented Programming (OOP) in Java, focusing on encapsulation, inheritance, polymorphism, and other key concepts. It explains the importance of encapsulation for controlling access to class variables and outlines how to properly use packages and access modifiers. Additionally, it includes practical examples of encapsulation in Java classes and methods.

class
etudiant
number
26p0
Conception par Objet et Programmation Java

This document provides an introduction to Object-Oriented Programming (OOP) using Java. It covers fundamental concepts such as classes, objects, encapsulation, inheritance, and polymorphism. The course is structured to help participants understand and implement Java effectively by the end of the module.

java
number
slide
42p0
Conception par Objet et Programmation Java

This document outlines key concepts of Object-Oriented Programming (OOP) in Java, focusing on inheritance, its techniques, and the benefits it offers. It delves into the principles of class and object relationships, specialization, and polymorphism, alongside practical examples. The content is structured into several chapters covering encapsulation, exceptions, and collections, aimed at enhancing understanding of Java programming principles.

classe
public
voiture
26p0
Conception par Objet et Programmation Java

This document outlines the principles of object-oriented programming using Java. It covers classes, objects, encapsulation, inheritance, polymorphism, and various Java constructs. The course includes practical examples and exercises for better understanding.

number
slide
objet
49p0
Fundamentals of Programming and Parallelism

The document explores the foundational principles of programming with an emphasis on parallel programming paradigms. It details implicit and explicit approaches to parallelism, highlighting their benefits and limitations. Key concepts such as data, task, and stream parallelism are analyzed, alongside the importance of granularity and degree of parallelism for performance optimization. Paradigms, models like PRAM and message-passing, as well as performance evaluation metrics such as speedup and efficiency, are also discussed in-depth.

Programming paradigms
PRAM model
Parallelism
50p0

Autres ressources en programmation