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.
This document discusses the concepts of localization and globalization in programming, focusing on how to write code for different cultures without hardcoding. It also explains the importance of character encoding in the representation and processing of text data. The document uses examples from various programming languages to illustrate the practical implementation of locales and character encodings.
This document covers the interoperability between Java and C++ through method calls and Java RMI. It includes instructions for creating shared libraries in C++ and integrating them with Java projects using JNA. The lab aims to familiarize students with JNI and debugging calls across programming languages.
This document introduces the concepts of design patterns in application development, focusing on the relationship between data and code. It explains methodologies for data processing, specifically recursive methods for counting nodes in data structures, while emphasizing best practices for maintaining clean data separation from processing logic. The document also addresses the incorporation of user interfaces and controllers into applications, detailing how users can interact with data and make edits.
This document discusses interoperability between different programming languages, highlighting the importance of executing code across various contexts. It covers definitions and implications of interoperability, isolation, and remoting and provides insights into communication between heterogeneous components. The text also illustrates how the operating system supports module communication and the generation of proxy functions.
This document covers the access to data via Java Persistence API (JPA), detailing how to manage data states including insertion, updating, and deletion of records. It also discusses querying methods using JPQL and CriteriaQuery with their pros and cons. Examples of code implementation are provided for practical understanding.
This document provides a step-by-step tutorial on setting up JPA with Hibernate in Eclipse. It covers the importance of using a JDK, ensures Hibernate Tools is installed, and provides instructions to create a JPA project. Additionally, it includes details on converting the project to Maven and creating a Hibernate configuration file.
This document provides a step-by-step guide to set up a Java project using JOOQ. It covers the configuration of Maven dependencies for both H2 and SQLite databases. Additionally, it explains the creation and configuration of jooq-config.xml to connect to the databases.
This document contains a correction of an object-oriented programming exercise. It discusses interfaces and classes for different types of articles in a store, demonstrating how to manage stock and calculate revenue. Key concepts include inheritance, method overriding, and basic sales functionality.
This lab focuses on extracting customer and sales order data from the InternetSales database and loading it into a Staging database. Participants will learn to extract and profile source data as well as implement a data flow using transformations. The exercises include preparing the lab environment and analyzing source data.
Ce projet vise à concevoir une serrure intelligente sans clé qui utilise la reconnaissance d'empreintes digitales pour contrôler l'accès. Les compétences en systèmes numériques et en traitement d'image acquises lors de la formation EEEA seront appliquées. Un lecteur d'empreintes et une carte Arduino seront utilisés pour le développement.
This document presents an exercise on the organization of central memory and cache memory. It includes qualitative differences between central and cache memory, as well as calculations involving cache retrieval operations. The exercise guides students through understanding memory indexing and block retrieval from cache.
This document contains the exam questions and answers for the Software Engineering module at the University of Manouba. It discusses key activities involved in software development such as analysis, design, and testing. Additionally, it explores architectural styles and their applications in software design.
Ce document pr sente un travail pratique sur la programmation orient e objet, visant apprendre des notions telles que l'h ritage, les classes abstraites et les interfaces. Les tudiants doivent cr er un programme g rant le stock d'un magasin en respectant une hi rarchie de classes et d'interfaces. Les t ches incluent le codage des interfaces et des classes, ainsi que la simulation des op rations de vente.
Ce document décrit un TP sur la gestion du stock d'un magasin en utilisant la programmation orientée objet. Les étudiants apprendront à créer des classes et des interfaces pour modéliser des produits vendus par poids ou par pièce. L'objectif final est de coder les interfaces et classes nécessaires et de simuler des opérations de vente.
This document outlines a lab exercise for second-year students focused on Object-Oriented Programming. It includes exercises related to class creation, inheritance, and method overriding. Students will implement classes for articles and vehicles, applying key OOP concepts.
Ce document présente un travail pratique sur la programmation orientée objet pour les étudiants de 2ème année TSI, ECOM, et LFIG. Les objectifs incluent la création de classes, d'héritage, et l'utilisation de méthodes abstraites. Plusieurs exercices sont fournis pour appliquer ces concepts, y compris la gestion de solde et la manipulation d'ArrayList.
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.
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.
This document provides an introduction to programming in Java using the Java Development Kit (JDK). It outlines the steps for installing JDK, compiling Java code, and executing Java programs. Additionally, it includes practical exercises for reinforcing concepts such as class creation and method invocation.
This document outlines a course on object-oriented programming in Java, focusing on the implementation of generic classes and data structures. It includes exercises on creating generic stacks, sorting algorithms, and implementing generic queues with priority. The material is intended for students in their second year of university.
This document discusses concepts related to Object-Oriented Programming in Java, with a focus on class hierarchy, inheritance, and polymorphism. It includes code examples for classes representing books and comic books. Additionally, it contains exercises to reinforce understanding of these concepts.
This document contains exercises for a lab focused on Object-Oriented Programming in Java. Students will create classes representing polygons and geometric shapes, implement methods for calculations and comparisons, and utilize polymorphism through method overriding. The exercises aim to solidify understanding of class design and object manipulation in Java.
This document provides solutions to various Java programming exercises related to functions and data structures. It includes the design of functions for numerical operations, array manipulations, and creating classes for student management. The content is aimed at students studying Java programming.
This document contains solutions to initial exercises on classes, specifically a banking account class and its methods. It includes practical coding examples in Java for creating accounts, depositing and withdrawing money, and transferring funds between accounts. Additionally, it covers the creation and management of an array of accounts with related operations.


















