Programmation

670 documents à télécharger gratuitement

Cours, examens, TD, TP et exercices de programmation. Thèmes couverts : algorithmique, langage C, Java, Python, POO, structures de données.

Algorithmes de parcours d’un graphe

The document introduces algorithms for traversing graphs, essential for determining node visit order and connectivity. Two key methods, Breadth-First Search (BFS) and Depth-First Search (DFS), are emphasized for exploring and marking nodes systematically. BFS operates by enqueuing adjacent nodes from a starting vertex, ensuring all nodes are visited while calculating distances or connectivity. Examples detail BFS implementation, showcasing traversal orders across specific graphs starting from different nodes.

Breadth-First Search
Parcours en largeur
Graph Theory
9p0
Variables aléatoires discrètes et indépendantes : calculs d'espérance, variance et lois usuelles

This document covers the fundamentals of discrete random variables, including definitions, probability laws, and the properties of functions related to these variables. It also delves into the independence of random variables and provides an overview of commonly used distributions and their applications. Additionally, it discusses expectations, variances, and the principles of convergence and approximations in probability theory.

variables
atoires
variable
35p0
Classification linéaire pour SVM et iris : algorithme et application

This document discusses the concept of linear separation in a multi-class classification setting. It provides an overview of the decision function and its application in the context of Support Vector Machines (SVM), specifically using an example related to the Iris dataset. The document outlines the mathematical expressions involved in linear classification.

2869
2880
3037
26p0
La Logique des Prédicats

This document provides an overview of predicate logic, exploring its syntax, grammar rules, and semantics. It discusses the properties of logical expressions and includes examples to illustrate the principles of predicate logic and quantifiers. The course notes aim to clarify the structure and function of predicates in logical reasoning.

quot
vrai
dicat
7p0
Le langage Visual Basic.Net

This document provides an overview of the Visual Basic.Net programming language, focusing on variables, their types, and declaration syntax. It covers primitive and reference types, the declaration rules for variables, and how to work with arrays. Key concepts include nullable types, constants, and array manipulation.

quot
ayadi
edbd
34p0
Correction T.D. N°2 : Conception Orientée Objet

This document serves as the correction for the second tutorial on Object-Oriented Design. It addresses multiple exercises relevant to the subject matter. The content is aimed at students in the second year of the LFIG program.

badri
lfig
sabrine
2p0
ADO.Net: Travailler en mode non connecté

This document discusses the non-connected mode in ADO.Net, explaining the principles of how data is managed without a permanent database connection. It outlines the functionality of various classes such as DataSet, DataTable, and DataAdapter in facilitating data operations. Additionally, it provides examples of how to populate user interface elements such as ListBox and DataGridView with data.

dataset
exemple
datatable
43p0
TP sur les Environnements de Développement en Informatique

Ce document présente une série d'exercices pour un cours sur le développement en VB.Net. Les exercices portent sur différents aspects de la programmation, tels que la gestion de fichiers, la création d'interfaces utilisateur, et le calcul d'indices spécifiques à partir de données. Chaque exercice inclut des détails sur les exigences techniques et les résultats attendus.

fichier
mois
bouton
4p0
Analyse Lexicale

This document discusses the process of lexical analysis, which is the first task performed by a compiler. It includes definitions of lexical units, lexemes, and the rules associated with them, as well as an introduction to regular expressions. Various examples illustrate the concepts, emphasizing the importance of proper syntax and structure in programming languages.

langage
lexicale
finition
8p0
Compilation vs Interprétation : Fonctionnement et Comparaison Langages

Ce document fournit une introduction aux compilateurs, expliquant leur rôle dans la transformation des programmes écrits dans un langage source en un langage cible compréhensible par le microprocesseur. Il met également en évidence les différences entre les compilateurs et les interprètes, ainsi que la notion de langages p-code. Enfin, il aborde d'autres aspects de la compilation et de la décompilation.

programme
langage
code
2p0
Chapitre 7: Appeler une procédure stockée à l'aide d'ADO.NET et VB.NET

Ce chapitre explique comment appeler des procédures stockées en utilisant ADO.NET et VB.NET. Il couvre les procédures stockées sans paramètres et avec paramètres, en détaillant le processus de création des objets Command et DataAdapter. Des exemples de code illustrent la mise en œuvre pratique de ces concepts dans un environnement de développement.

quot
proce
dure
18p0
Correction T.D. N°1 : Conception Orientée Objet

This document provides corrections and guidance for exercises in Object-Oriented Design. It includes details on sequence diagrams and communication diagrams. The exercises appear to be part of a course related to programming principles.

badri
lfig
sabrine
3p0
Série 3 : Spanning Tree

This document discusses a trading network problem involving Spanning Trees in a local network. It includes questions on identifying the root bridge and root ports, determining bridges with minimum cost paths, and applying Spanning Tree algorithms to eliminate loops. The focus is on analyzing the structure and cost of network components.

seau
local
racine
1p0
TD Mesures Electriques

This document contains exercises focusing on electrical measurements, including the characteristics of ammeters and voltmeters. It outlines specific tasks related to calculating multipliers and resistances in various configurations. The exercises are designed to enhance understanding of measurement accuracy and instrument design.

terminer
electriques
mesures
Institut Supérieur des Études Technologiques2p0
Introduction à l’environnement de développement

This document provides an overview of development environments and frameworks, particularly focusing on the .NET framework. It explains the tools and processes involved in software creation and the advantages of using integrated development environments (IDEs). Additionally, it covers the structure and benefits of the Base Class Library (BCL).

ayadi
edbd
fsegt
21p0
2LFIG 2015-2016 Correction série N° 2

The document covers corrections for an exam on processor time, waiting time, and scheduling algorithms. It discusses different configurations based on preemption policies and provides calculations for average execution and waiting times for various scheduling algorithms. The analysis includes the FIFO, priority queue, round robin, and shortest remaining time next algorithms.

temps
cution
moyen
10p0
Structure d'un Compilateur

This document provides an overview of compiler structure, including the phases of analysis and synthesis. The analysis phase is further divided into lexical, syntax, and semantic analysis. Each step is explained with examples, highlighting their roles in the compilation process.

compilateur
programme
code
8p0
Coté visuel de VB.NET

This document discusses the visual components of VB.NET, detailing various types of controls for creating interfaces. It covers properties and behaviors of these controls, including event handling and customization options. The document serves as a guide to understanding how to implement and manipulate GUI elements within VB.NET applications.

contro
lection
name
41p0
Méthodes de conception orientées objet

Ce document présente les méthodes de conception orientées objet, en abordant la technologie objet, les concepts fondamentaux tels que les objets, les classes, et l'héritage. Il traite également des principales méthodes de conception utilisées dans le domaine tout en expliquant l'importance de l'encapsulation et de la réutilisation des composants.

mcoo
introduction
abdellatif
FST10p0
Environnement de développement

This document provides an overview of basic concepts of Object-Oriented Programming (OOP) in Visual Basic.Net, focusing on class definitions, constructors, destructors, accessors, and methods. It also covers the principles of encapsulation, inheritance, and polymorphism with practical examples. The material is aimed at students learning programming within a development environment.

classe
public
quot
FSEG11p0
Méthodologie de conception des systèmes d’information

Ce document aborde les principes fondamentaux de la méthodologie orientée objet, y compris la réification, l’abstraction, et l’encapsulation. Il compare les approches fonctionnelles et orientées objet en soulignant les avantages et les inconvénients de chacune. L'accent est mis sur la structuration des programmes et la manipulation concrète des objets dans le développement logiciel.

objet
objets
attributs
34p0
Les bases de la programmation graphique

This document introduces the basics of graphical programming using JFrame from the javax.swing package. It covers creating and managing a JFrame window, customizing it, and implementing custom window behaviors. Examples are provided to illustrate the use of JFrame and the creation of derived classes for enhanced functionality.

quot
public
nous
FSEG72p0
Devoir Surveillé en SR & F Pour Big Data

Ce document présente un devoir surveillé pour les étudiants de M1 BADS à l'Université Virtuelle de Tunis. Il inclut des exercices sur les horloges vectorielles et matricielles, ainsi que des situations d'exclusion mutuelle dans un système réparti. Les étudiants doivent résoudre deux exercices avec des calculs et des modélisations.

0000
1010
0100
3p0

Autres ressources en programmation