Programmation

782 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.

Introduction to Spring Framework

This document outlines the curriculum for an introductory course on Spring Framework, covering essential concepts and tools. It details the course schedule, evaluation methods, and historical context of JavaEE, alongside job market trends. The course includes practical applications and evaluations throughout its duration.

spring
introduction
esprit
51p0
Fondements de la Programmation Parallèle

This document explores foundational principles of parallel programming, detailing implicit and explicit parallelism approaches while analyzing associated challenges, such as parallel potential and grain variability. It further examines abstraction models like PRAM and message-passing, emphasizing challenges with performance metrics, such as speedup and efficiency. Paradigms like 'Master-Slave' and 'Divide-and-Conquer' are discussed for practical application, alongside methodologies to evaluate performance under varying processor counts.

parallel programming
PRAM
speedup
50p0
Parallélisme en programmation : Approches implicites et explicites

This document outlines the foundations of programming with a focus on parallelism. It discusses different programming paradigms, environments, and models essential for effective use of advanced computing performance. The document also highlights the balance between implicit and explicit approaches in parallel programming.

parall
lisme
biblioth
50p0
Parallelization Methodology in Computational Algorithms

The document discusses parallel processing methodologies for computational algorithms, focusing on task partitioning, dependency graphs (precedence graphs), and task scheduling. It introduces core concepts such as task granularity, precedence systems, and models for optimizing execution time (makespan). It further explores algorithmic complexity, cost analysis, and the challenges in achieving optimal performance on parallel architectures. Practical examples, theoretical models, and decomposition methods are presented to evaluate and minimize execution costs.

parallelization
precedence graph
parallel algorithm complexity
33p0
Algorithmes parallèles : principes et schémas de tâches

This document discusses the principles and methodologies of parallelization in algorithms. It covers task graphs, scheduling, and complexity within parallel computing. The document also explores how different decompositions of algorithms affect performance based on machine architecture.

ches
temps
graphe
33p0
Programmation avec R

This laboratory exercise aims to familiarize students with classical probability laws and their simulation using the R programming language. Participants will engage in generating random samples from vectors and simulating casino games. Various methods of sampling will be explored, enhancing understanding of probability distributions.

quot
face
sample
9p0
Calculs statistiques en R

Ce document fournit une introduction aux calculs statistiques en utilisant le langage R. Il couvre les statistiques descriptives, les distributions de probabilité et la génération de nombres pseudo-aléatoires. Des exemples pratiques et des fonctions clés sont présentés pour faciliter la compréhension.

quot
fonction
fonctions
17p0
Concepts de base en R

This document serves as an introductory guide to the R programming language, focused on basic concepts and functionalities. It explains the interactive nature of the R console, details how to store, access, and manage objects in memory, and highlights the structure of R functions, including the use of arguments. It introduces vectorized operations in R and delves into the utility of the '...' argument for handling variable input and passing arguments across functions.

R basics
assignment operators
vectorized functions
12p0
Programmation avec R

This document serves as a detailed guide on the programming language and environment R, highlighting its applications in statistical analysis, data visualization, and report generation. It explains the installation procedures for R and RStudio across various operating systems, emphasizing the necessary tools for package development and LaTeX integration for PDF document creation. Strengths of R include its open-source nature and active community support, while limitations like memory management issues and slower performance for certain computations are noted. Additionally, the document cove...

R programming
install.packages
open-source software
6p0
Programmation avec R

This document provides an introduction to R, an open-source programming language for statistical computing and graphics. It covers installation, the R environment, and various functionalities, including data manipulation and graphical production. The document also discusses the advantages and limitations of R in research and education.

packages
install
logiciel
6p0
R Reference Card

The R Reference Card by Tom Short provides concise information on R functionalities, covering documentation access, input/output operations, data creation, slicing and indexing, variable conversion, advanced data processing, statistical functions, mathematical operations, matrix manipulation, string handling, date/time formatting, and plotting techniques. This document serves as a quick guide for efficient usage of R as a programming language and statistical tool. Additionally, integration with external databases and packages for specialized operations is highlighted. Numerous examples faci...

R language
str()
S3 methods
4p0
Programmation avec R

This course, conducted by Mr. Yousri Henchiri, focuses on teaching master BADS students scientific programming using R. Starting with the basics of R, students will learn data manipulation, visualization, and statistical modeling. The syllabus includes probability distribution simulations, linear regression, statistical tests, and LaTeX integration with Sweave. Emphasis is placed on consistent practice for mastering the R language rather than solely relying on the course material.

scientific programming
statistics with R
Central Limit Theorem (TCL)
2p0
Modification des propriétés des variables

This document explores advanced techniques for modifying variable properties using SPSS software. It covers defining multiple variables, computation of new variables using formulas, class grouping, and data aggregation. Additionally, it delves into cross-tabulations, simple sorting, and correlation analysis to interpret survey data systematically. Practical exercises and associated Excel files are provided to support hands-on learning of variable matrix preparation and statistical representation.

SPSS
variable types
data aggregation
11p0
Pratiques avancées en analyse de données : création et manipulation de variables multiples avec SPSS

This document provides a detailed explanation of modifying variable properties in SPSS. It covers defining multiple variables, calculating new variables, and aggregating data. Additionally, the document includes practical activities for applying the concepts learned.

variables
variable
khlifi
11p0
Développement des Services Web REST avec Java : JAX-RS

This document explores RESTful web services development using Java and the JAX-RS specification. It examines implementation frameworks, including Jersey, CXF, Spring REST, RESTEasy, and RESTlet, detailing their comparative performance. The methodology focuses on annotation-based Java class configuration, eliminating extensive configuration files. It includes step-by-step examples of REST service development, emphasizing client-server interactions through HTTP methods such as GET and POST.

RESTful Web Services
JAX-RS
Java EE
23p0
Une première version: ID3 - Les arbres de décisions

The document explains the ID3 decision tree algorithm developed by Ross Quinlan, showcasing its methodology with the 'playTennis' example. It illustrates entropy and information gain as the metrics for selecting the most relevant attributes to minimize disorder in the dataset. The tutorial provides a step-by-step approach to calculating entropy, choosing attributes recursively, and designing an optimized decision tree. Finally, it discusses the pseudo-code for implementing the ID3 algorithm and its applicability to solving classification problems.

ID3
Entropy
Shannon
24p0
Apprenez à programmer en Python

This document is an introductory guide to programming in Python, covering foundational concepts such as variable usage, data types, conditional structures, loops, functions, and modules. It begins with an overview of Python as a programming language, its use cases, setup instructions for different operating systems, and basic operations. Gradually, it introduces more advanced features like functions, lambda expressions, and modularity. The text also provides practical examples and step-by-step instructions to help beginners grasp Python programming effectively.

Python
variables
data types
266p0
TP2: Mini Projet - Programmation Avancée sous Python

This document consists of two key activities focusing on advanced Python programming concepts. The first activity leverages decision trees for regression analysis, involving the creation and visualization of predictive tree models using libraries like numpy, matplotlib, and sklearn. The second activity introduces linear regression, emphasizing model training and prediction using scikit-learn while highlighting data preprocessing and differences upon modifying certain code aspects. Both activities employ practical examples to foster understanding, featuring visualization outputs and file gen...

decision tree
linear regression
numpy
4p0
TP1: Activité sous Spyder de Anaconda

This document outlines a Python-based activity executed in the Spyder IDE provided by the Anaconda distribution. The activity involves importing a dataset, manipulating directories, performing basic descriptive statistics, and visualizing pairwise variable relationships in the data. Key steps include importing necessary libraries like pandas, using functions to compute data dimensions and descriptive statistics, and generating scatter plot matrices for visual exploration.

Python
Pandas
Spyder IDE
2p0
Éléments Fondamentaux des Diagrammes de Classes et Diagrammes Objets

Ce document traite des concepts fondamentaux concernant les diagrammes de classes et d'objets dans la modélisation orientée objet, en utilisant les notations UML. Les méthodologies et principes incluent l'abstraction, l'encapsulation, les relations (associations, agrégations, composition), la généralisation, et la spécialisation. Des exemples pratiques sont fournis pour modéliser des structures et relations complexes dans divers scénarios. La documentation détaille également les aspects syntaxiques, comme la distinction entre attributs d'instance et de classe, visibilité, héritage multiple...

UML
encapsulation
diagramme de classe
54p0
Workshop AsyncTask

This document explains how to use AsyncTask in Android development for asynchronous processing, avoiding UI thread blocking issues. The methodology involves implementing a loop with 1,000,000 iterations using AsyncTask, ensuring resource-demanding operations run in a separate thread. Procedures include extending and completing the AsyncTask class, using generics for task parameters, progress data, and result types. The document emphasizes the role of key methods like doInBackground for execution, publishProgress for updates, and onPreExecute/onPostExecute for UI thread-safe operations.

AsyncTask
doInBackground
Thread
3p0
Network Protocols and Socket Programming

The document provides a comprehensive overview of socket programming concepts in system-level programming. It details the use of various functions such as socket(), send(), recv(), and bind() for communication through network protocols. Key concepts include address structures like sockaddr and sockaddr_in, along with IPv4/IPv6 family specifics. The manual focuses on practical implementation and includes examples of filling addresses and binding sockets for reliable communication.

socket programming
struct sockaddr
AF_INET6
FST1p0
Introduction to C# and .NET Framework

This document provides a comprehensive overview of the C# programming language and its integration with the .NET Framework. It outlines the compilation process transforming C# code into intermediate language (CIL), which is executed by the CLR. Key object-oriented programming concepts like classes, inheritance, and polymorphism are explained, alongside fundamental type management, exception handling, and advanced features like anonymous types, LINQ, and lambda expressions. Methodologies to extend types and techniques for data querying and transformation with LINQ are covered, emphasizing fl...

C#
.NET Framework
Object-Oriented Programming
17p0

Autres ressources en programmation