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.
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.
The document outlines a module for managing store operations within the company 'TuniProd'. It requires the creation of a product management system that restricts access to product attributes and ensures that object characteristics are protected. Additionally, the code organization is specified to follow certain package naming conventions.
This document discusses the objectives of an application that aims to separate anomaly detection from its handling. It outlines specific tasks related to modifying classes for product management and implementing custom exceptions in Java. The focus is on improving code robustness by handling errors related to product addition in a store.
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.
This document presents an exam for a newly recruited engineer at ESPRITTECH involving the migration of a system from C++ to Java. It includes several parts: converting C++ code to Java, compiling and executing Java code, allowing user input for summation, and modifying Java code based on C++ examples. The exam tests both programming skills and understanding of Java commands.
This document outlines the objectives and requirements for developing a store management application using object-oriented programming concepts in Java. It covers the creation of product objects, their attributes, and methods for displaying and modifying product details. The application aims to manage various characteristics of food products, including ID, label, brand, and price.
This document provides an overview of abstract classes and interfaces in Java, detailing their definitions, syntax, and practical applications. It also introduces the concepts of class abstraction and the advantages of using interfaces in programming. The course's overall aim is to enhance understanding of object-oriented programming principles.
This document discusses object-oriented conception and Java programming, focusing on collections. It covers the structure and advantages of working with various collection types such as List, Set, and Map, as well as the methods associated with them. The course is aimed at improving application performance and managing different types of data effectively.
This document presents the concept of polymorphism in Java, including its definition, examples of polymorphic arrays, and method overriding. It explains the principles of subclassing, type casting, and runtime polymorphism in object-oriented programming.
This document provides an overview of object-oriented programming in Java, focusing on exceptions. It discusses the definition of exceptions, their handling mechanisms, and different types of exceptions available in Java. The course aims to enhance code readability by separating anomaly detection from processing.
This document covers the principles of Object-Oriented Programming (OOP) in Java, focusing on encapsulation, inheritance, polymorphism, and other key concepts. It explains the importance of encapsulation for controlling access to class variables and outlines how to properly use packages and access modifiers. Additionally, it includes practical examples of encapsulation in Java classes and methods.
This document provides an introduction to Object-Oriented Programming (OOP) using Java. It covers fundamental concepts such as classes, objects, encapsulation, inheritance, and polymorphism. The course is structured to help participants understand and implement Java effectively by the end of the module.
This document outlines key concepts of Object-Oriented Programming (OOP) in Java, focusing on inheritance, its techniques, and the benefits it offers. It delves into the principles of class and object relationships, specialization, and polymorphism, alongside practical examples. The content is structured into several chapters covering encapsulation, exceptions, and collections, aimed at enhancing understanding of Java programming principles.
This document outlines the principles of object-oriented programming using Java. It covers classes, objects, encapsulation, inheritance, polymorphism, and various Java constructs. The course includes practical examples and exercises for better understanding.







