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.
This document covers the introduction and usage of Streams in Java programming, emphasizing functional programming concepts. It outlines the features of Streams, how they differ from collections, and how to create and manipulate them. The material is designed for students learning object-oriented programming.
This document introduces the concept of Lambda Expressions in Java, which are considered a major novelty in Java 8. It covers the syntax, functional interfaces, and various use cases of Lambda Expressions. The material is designed for a Java programming course for 2019-2020.
This document covers the principles of Object-Oriented Programming in Java, particularly focusing on interfaces in Java 8. It addresses key concepts such as default methods, functional interfaces, and their significance in API design. Additionally, it discusses the most commonly used functional interfaces provided by JDK 8.
Ce document présente des méthodes numériques pour trouver les zéros d'une fonction, en mettant l'accent sur les méthodes de recoupement par intervalles, de dichotomie et de regula falsi. Il fournit des exercices pratiques pour mettre en œuvre ces méthodes à l'aide de Python. L'auteur aborde également la difficulté de résoudre certaines équations polynomiales algébriquement.
This document provides an overview of the 32 registers in the MIPS architecture. It details the names, numbers, and usage of each register, especially in the context of function calls. Additional notes on which registers should be preserved or are reserved during operations are also included.
This document outlines a practical programming exercise focused on Object-Oriented Programming in Java for second-year students. It includes five exercises requiring students to manipulate arrays, create classes, and process strings. The aim is to master fundamental programming concepts.
Ce document d taille le TP2 du cours de Programmation Orient e Objet pour les tudiants de 2 me ann e TSI, ECOM, et LFIG. Il comprend plusieurs exercices visant ma triser la manipulation des types primitifs et des structures de contr les en Java. Les tudiants devront crire et ex cuter des programmes pour r aliser diverses t ches li es la programmation.
Cette documentation présente un TP sur la programmation orientée objet en Java. Les étudiants doivent écrire des programmes en C et leur traduction en Java. Les exercices incluent le calcul de moyennes, l'analyse d'instructions et le tri d'entiers.
This document is a lab assignment for second-year TSI, ECOM, and LFIG students focusing on Object-Oriented Programming in Java. It includes exercises for calculating averages in C, translating programs to Java, analyzing program outputs, and sorting integers. The document provides detailed code examples and expected results for verification.
This document discusses the foundations of object-oriented programming (OOP), emphasizing methodologies for managing complexity, encouraging reuse, and ensuring maintenance of software. It highlights OOP principles such as abstraction, encapsulation, modularity, and the use of abstract data types. Practical examples are used to demonstrate key concepts, including the impacts of software crises, reuse benefits, and modular design. Lastly, the document explores the importance of maintaining clear interfaces and implementations to ensure scalability and efficient development.
This document serves as a practical work introduction to the Python programming language for Master's students. It covers fundamental programming concepts including data types, control structures, and functions. The content is structured to facilitate understanding through examples and exercises.
This document outlines an exam focused on object-oriented design and Java programming. Students are required to complete specific classes related to a hospital management application. The exam is structured into numbered sections, guiding students on what code to add without rewriting existing lines.
The document covers fundamental concepts of JAVA 8, focusing on lambda expressions, functional interfaces, and streams. It explains the integration of closures in Java and provides examples of how to use lambda expressions in coding. Additionally, it discusses the benefits of using lambda expressions in making code more concise and readable.
This document consists of a series of programming tasks in Maple focusing on procedure writing and mathematical computations. It covers topics including recursion, numerical methods, and number theory. The exercises are designed to enhance understanding of the Maple programming language and its applications in mathematical contexts.
This document provides a practical guide for implementing the Gauss pivot algorithm. It includes procedures for calculating the rank of a matrix and solving linear systems. The focus is on the application of Gaussian elimination in various scenarios.
This document involves computations using Maple software, focusing on limit calculations and asymptotic developments. It includes tasks such as defining functions, programming a video game, and developing algorithms. Students are expected to analyze and implement various mathematical problems using programming techniques.
Ce document présente le problème du sac à dos, qui consiste à déterminer les objets à mettre dans un sac afin de maximiser la valeur totale sans dépasser un poids maximal. Il décrit les variables, les contraintes et les objectifs associés à ce problème d'optimisation. Enfin, il propose des méthodes de résolution, notamment des méthodes exactes et approchées, avec exemple d'algorithme.
This document contains exam questions related to C++ programming concepts and object-oriented programming including theoretical questions, composition of objects, and class implementation. It also provides detailed solutions to support learning and comprehension of the material covered in the course.
This document introduces basic functionalities of the MATLAB Image Processing Toolbox, covering key operations such as image reading, displaying, and saving for various types of images (e.g., RGB, binary). It explains geometric manipulations such as rotation and resizing as well as arithmetic operations like image addition. The concepts of image sampling and quantization are addressed, emphasizing the transformation of continuous 2D signals into digital image representations with specific gray levels. Multiple commands and workflows for image processing techniques, such as color model conve...
This document discusses the concept of an enterprise service bus (ESB) in the context of banking interfaces. It explores the challenges of integrating multiple systems and applications to provide a cohesive user experience. Through comparative analysis, the document highlights the need for effective data communication among diverse technologies.
Le document explore les différentes manières de parcourir les nœuds d’un arbre binaire (préfixe, infixe, postfixe), avec des illustrations et exemples. Il explique leur implémentation dans un pseudocode récursif et détaille la complexité des opérations, notamment pour le parcours infixe dans un arbre binaire. Une section approfondit le tri via arbres binaires et montre que le parcours infixe produit un tableau trié. La complexité temporelle et structurelle, dans les cas optimaux et non optimaux, est analysée en détail.
This document covers distributed systems and their architectures. It discusses the importance of organizing and structuring these complex software systems. Different architectural styles and the concept of middleware are also introduced.
This lab report explores fundamental image processing tasks using Matlab. It demonstrates operations such as image reading, display, and saving for various formats, including RGB, grayscale, indexed, binary, and HSV conversions. Additionally, advanced manipulations like inversion, resizing, rotation, and arithmetic operations are performed on images to illustrate transformation techniques. Sampling and quantification methods are also introduced, highlighting the impact on image quality and data compression efficiency.
This document explores various functionalities of Matlab's Image Processing Toolbox, focusing on commands for reading, displaying, and saving images. Techniques for image manipulation, such as color component separation, space conversion, pixel inversion, and geometric transformation, are presented alongside their impacts on visual representation. Sampling and quantization processes are analyzed to demonstrate their effect on image quality, resolution, and compression efficiency. Lastly, arithmetic operations on images are utilized to uncover new insights into image composition and interact...













