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 contains an exam for the course NFP121, focusing on hierarchical task architectures and object-oriented programming principles. It includes exercises on understanding class relationships, generics in Java, and implementing task structures. Students are required to respond to questions concisely and provide Java code solutions for specified tasks.
This document presents an examination related to object-oriented programming in Java, focusing on the management of a restaurant. It requires students to analyze code snippets, understand enumeration and class structures, and implement class attributes based on provided information.
This document covers the concepts of abstract classes and interfaces in Java. It explains the rules and characteristics of abstract classes, methods, and their implementations. Additionally, it details how interfaces function as contracts in Java programming, along with their properties and usage.
Ce document présente des exercices corrigés sur l'utilisation de classes en Java. Il explique la création d'un compte bancaire, des opérations y afférentes, ainsi que l'implémentation de diverses méthodes. L'exécution de programmes est également démontrée à travers des exemples concrets.
This document provides an overview of access modifiers in Java, including public, protected, private, and default visibility, along with their implications on class inheritance. It discusses local variables, the final modifier, static variables and methods, and constructors in Java, emphasizing their characteristics and usage. The notes are essential for understanding the foundational aspects of Java programming.
This document provides an overview of Java programming concepts, focusing on identifiers, declaration rules, array handling, and access modifiers. It outlines conventions for naming classes and methods, as well as the structure of source files. Additionally, it explains how visibility impacts class interaction in Java.
This document provides an overview of Object-Oriented Programming (OOP) in Java. It covers the history and features of Java as a programming language, including its architecture and tools. Additionally, it discusses Java's principles of portability and the compilation process to bytecode for execution on the Java Virtual Machine.
This document addresses a specific question received via email regarding a past exam related to the implementation of the Person class in a programming assignment. It emphasizes the importance of proper design and common practices in object-oriented programming. Additionally, it offers general advice for approaching exam questions and programming tasks.
This document discusses object-oriented programming techniques in Java, including method overrides and array initializations. It provides examples of the equals method, toString method, and the creation of object arrays. The content is aimed at students learning Java fundamentals.
The document details an exam on Object-Oriented Programming using Java, focusing on class hierarchy, inheritance, and polymorphism. It presents exercises analyzing a Java program that involves classes for books, comics, and coloring albums. Additionally, it includes questions regarding class attributes and functionality.
Ce document traite de la modélisation dynamique à travers divers exercices. L'Exercice 1 porte sur un guichet automatique de banque, tandis que l'Exercice 2 concerne un système de réservation de billets de train. L'Exercice 3 implique la conception d'un logiciel de gestion pour un club sportif, en se concentrant sur l'inscription des membres aux cours privés.
Ce document contient un examen de l'Université de la Manouba pour le cours d'analyse et conception orientées objet. Il inclut plusieurs exercices sur des diagrammes de séquences, de cas d'utilisation, de classes et d'objets. Les étudiants sont attendus à démontrer leur compréhension des concepts de conception orientée objet à travers divers scénarios.
Ce document est un examen principal portant sur l'analyse et la conception orientée objets, en particulier sur un jeu simplifié de Monopoly. Les étudiants doivent concevoir des fonctionnalités de jeu, y compris des règles de mouvement des joueurs et de gestion des propriétés. L'examen évalue la capacité des étudiants à créer une application basée sur des spécifications données.
Ce document présente un examen de conception et de programmation orientées objets pour des étudiants de l'école nationale des sciences de l'informatique. L'examen consiste à résoudre un problème lié à la simulation du jeu d'échecs en suivant les règles de mouvement des pièces. Les étudiants doivent représenter l'évolution d'une partie d'échecs en utilisant un diagramme de classes UML.
This document outlines an exam for a course on object-oriented modeling and programming. It includes a case study related to a basketball federation's management system. The exam consists of UML diagrams and Java implementation tasks.
This document presents an exam for a Java programming course focused on object-oriented design. It includes questions on class inheritance and casting in Java. Additionally, it outlines the requirements for creating a vehicle management application.
This document contains an exam for the course on Object-Oriented Design and Java programming, held during the academic year 2018-2019. It includes various questions related to Java class instances, inheritance, interface implementation, and programming tasks involving class design. The exam assesses students' understanding of Java concepts and their ability to implement programming solutions.
This document contains an exam for an object-oriented programming course focusing on Java, consisting of multiple-choice questions and practical coding tasks. It includes question sections that assess understanding of Java classes, inheritance, and array manipulation. Additionally, it requests the implementation of Java classes following specific criteria.
This document provides instructions for creating a Java class 'Enseignant' with specific attributes and methods, including constructors and equality checks. It also outlines the creation of an interface 'GestionEnseignant' for managing instances of 'Enseignant' and guides on implementing the classes 'EspritHashSet' and 'EspritTreeSet' using Java collections. The overall focus is on object-oriented programming principles and collection management in Java.
This document outlines the requirements for creating classes related to employees and departments as part of an object-oriented programming assignment in Java. It includes the specifications for constructing these classes, implementing methods, and interacting with them through a defined interface. Additionally, the document requires the implementation of two specific classes utilizing different data structures.
This document outlines the implementation of an 'Etudiant' class, focusing on class constructors, getters, setters, and method overrides. Additionally, it introduces the 'University' interface with methods for managing students, and describes the creation of 'EspritVector' and 'EspritArrayList' classes that utilize Vector and ArrayList for student management. The document concludes with a requirement to test all methods in a main program.
This document discusses the management of different types of agricultural products within a store setting, focusing on fruits and vegetables. It details the creation of classes for handling these products and methods for managing their stock and freshness. Lastly, it introduces an interface for checking the freshness of the products based on their harvest season.
This document covers the management of employees in a store context using object-oriented programming in Java. It details the different types of employees, their characteristics, and how to manage multiple stores. Additionally, it includes salary calculations based on employee roles and hours worked.
This document outlines the requirements for improving a product management system for a store. It details the necessary modifications to manage product redundancies effectively. The tasks include creating comparison methods, searching for products, and managing product addition and removal.


















