Travaux pratiques (TP) - Programmation

91 documents à télécharger gratuitement

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

TP4 - Programmation Orientée Objet

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.

classe
prix
thode
3p0
Certification Java 8 niveau 2 - Certified Professional, Java SE 8 Programmer

This course prepares candidates for the Oracle Certified Professional, Java SE 8 Programmer certification. It covers advanced Java concepts and includes a thorough review of test components. Participants will gain the necessary knowledge and skills to pass the certification exam.

java
test
utiliser
4p0
Programmation Orientée Objet et Langage Java TP N° 3

This document contains a lab exercise focused on implementing classes and methods in Java. It covers concepts of inheritance, constructors, and method overriding. Students are required to define vehicle classes and implement pricing calculations based on various criteria.

c111
prix
classe
1p0
TP2 Programmation Orientée Objet

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.

caracte
quot
affiche
2p0
Programmation Orientée Objet TP2

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.

caracte
quot
affiche
2p0
Programmation Orientée Objet - TP1

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.

quot
programme
println
2p0
TP1 - Programmation Orientée Objet

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.

quot
programme
println
2p0
Systèmes Distribués

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.

python
tion
figure
22p0
TP de Maple : Programmation

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.

proc
ecrivez
somme
1p0
TP de Maple : Pivot de Gauss

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.

pivot
proc
gauss
2p0
TP de Maple : DL et programmation

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.

entier
maple
trop
1p0
Compte rendu TP1: Initiation au ToolBox Image Processing de Matlab

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.

image processing
Matlab
RGB to HSV conversion
18p0
Compte rendu TP1 - Initiation au ToolBox Image Processing de Matlab

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

Matlab
RGB to HSV
Image quantization
18p0
Systèmes d'Exploitation I - TP1 : Noyau et modules

Ce document traite des fonctions fondamentales du noyau d'un système d'exploitation, y compris la gestion de la mémoire et des processus. Il explique également les commandes pour gérer les modules du noyau, comme lsmod et modprobe. Enfin, il guide sur la création d'un module hello world pour le noyau Linux.

noyau
make
ommande
2p0
Systèmes d’Exploitation I - Travaux Pratiques 0

This document provides a preliminary study on the use of Make for compiling code. It explains the structure and purpose of Makefiles, along with examples of basic implementation. Additionally, it highlights the importance of managing dependencies during the compilation process.

hello
main
make
16p0
Systèmes d'exploitation I - 1

Ce document contient des travaux pratiques sur la gestion des processus en programmation. Il présente plusieurs codes C illustrant la création de processus et pose des questions sur les concepts de processus zombies et orphelins. L'objectif est d'explorer les structures et comportements des processus dans un système d'exploitation.

essus
code
orphelin
4p0
TP Matlab n°2: Boucle FOR-END et Fonctions

This document introduces key MATLAB programming concepts such as the FOR-END loop and functions. FOR-END loops are used for repetitive iterations with set boundaries, including support for variable step sizes and reverse counting. Functions in MATLAB are modular blocks of code with input parameters, output variables, and local variable management, enhancing reusability and maintainability of code. Emphasis is placed on syntax, indentation, and practical applications through exercises covering numerical iterations, sequence calculations, and solving mathematical equations programmatically.

FOR-END loop
MATLAB syntax
function definition
3p0
Systèmes d’Exploitation I - Travaux Pratiques 0

This document discusses the software 'make' used for automatic file compilation in programming, specifically within UNIX platforms. It outlines the basic structure and use of 'makefile' files, demonstrating how dependencies and commands are evaluated during the build process. Examples of C source files and corresponding makefile configurations are provided.

hello
main
make
16p0
TP Architecture Orientée Services 3ième LFIG

This document outlines a practical exercise on creating a web service using EJB and a corresponding web service client. It includes steps for creating a new project, session bean, and deploying the web service. The exercise culminates in building a web application that consumes the created web service.

service
base64
data
4p0
Atelier N°6: La JSTL

This document outlines a Java EE workshop, focusing on the use of the JSP Standard Tag Library (JSTL) for building dynamic web applications. Core objectives include understanding the utility of JSTL, learning to manipulate its tag libraries (Core, Fmt, Fn, Sql, Xml), and implementing it in JSP files to follow the MVC design pattern. Practical exercises cover tasks such as variable declarations, using JSTL tags like <c:out>, <c:set>, and others to manipulate data, and integrating JSP components like header and footer. Advanced tests involve conditional logic, loops, and rendering dynamic dat...

JSTL
Java EE
MVC design pattern
Institut Supérieur des Études Technologiques de Bizerte4p0
TP : Interface Graphique en Java

This document introduces the principles and methodologies for creating graphical user interfaces (GUIs) in Java using the AWT and Swing libraries. It covers fundamental concepts like creating windows, adding components using containers, and managing their layout with layouts such as BorderLayout, FlowLayout, and GridLayout. Additional topics include handling user interactions through event listeners and using JPanel to create complex layouts. Basic hands-on examples demonstrate practical implementation, including absolute positioning of components and assigning actions to buttons.

Java GUI programming
AWT
Swing
8p0
Correction TP Généricité Collection

This document provides implementations and testing exercises on generic data structures in Java, focusing on stacks represented through various data structures. It includes exercises for generic linked list stacks, array-backed stacks, and LinkedList-implemented stacks, and integrates the concept of generic type handling for better reusability. Additionally, it introduces a task management system using a composite pattern and finishes with an address book implemented using a HashMap and custom objects.

generic collections
Java programming
stack data structure
9p0
Correction TP: Gestion des Exceptions en JAVA

The document serves as a collection of exercises related to Java exception handling. It includes practical examples and code snippets for generic exceptions (arithmetic and input mismatch), custom exceptions (address validation), and specific cases for authentication (login and password processing). Each exercise focuses on specific exception handling techniques, such as using try-catch blocks, implementing custom exception classes, and managing edge cases. Real-world scenarios, such as user input validation, file handling, and error messaging, are addressed to help students understand robu...

Exception handling
try-catch
custom exceptions
5p0
Atelier Initiation J2EE - Le JavaBean

This document introduces the JavaBean concept, its characteristics, and its implementation in Java-based enterprise applications. Key properties of JavaBeans include reusability, serialization for data persistence, and dynamic introspection. The structure of a JavaBean mandates the use of private fields, public getter/setter methods, and optionally the 'Serializable' interface. A hands-on exercise guides users to create, configure, and utilize a JavaBean within a Java-based web application using servlets and JSP.

JavaBean
serialization
introspection
Institut Supérieur des Études Technologiques de Bizerte4p0

Autres ressources en programmation