Examens - Programmation
65 documents à télécharger gratuitement
Examens de programmation partagés par des étudiants et des enseignants. Thèmes couverts : algorithmique, langage C, Java, Python, POO, structures de données.
This document outlines the requirements for a C++ application to manage parking for a company. The application must handle access cards, subscriptions, and parking lots, including functionalities to add and manage these entities. It should also determine the least profitable parking based on occupancy rates.
Ce document présente un devoir surveillé pour les étudiants de M1 BADS à l'Université Virtuelle de Tunis. Il inclut des exercices sur les horloges vectorielles et matricielles, ainsi que des situations d'exclusion mutuelle dans un système réparti. Les étudiants doivent résoudre deux exercices avec des calculs et des modélisations.
This document outlines a programming exercise designed to create and manage a student database using a dictionary. It requires the implementation of two functions for data entry and retrieval. The focus is on handling user input and formatting the output correctly.
This document presents an activity aimed at calculating the potential roots of a quadratic equation. It explains the quadratic equation formula and the conditions for determining the number of real roots based on the discriminant. The activity includes calculations and scenarios based on the value of the discriminant.
This document outlines a practical exercise in handling candidate records for a competition stored in a text file. It requires the definition of several functions to manage data entry and selection based on specific criteria. The tasks include filling data, creating filtered files, and implementing deletion criteria for candidates over a certain age.
This document provides an introduction to sequences in Python, detailing the types of sequences, particularly strings, lists, and tuples. It highlights operations on strings, including common functions and methods. Practical examples illustrate how to manipulate strings through various functions.
This document outlines an exercise in which a script is created to manage a database of student information using a dictionary. It involves writing two functions: one for filling the dictionary with user-inputted data and another for consulting student details based on a given name. The final output formats the student's age and height in a clear text format.
This document introduces Python's associative arrays (dictionaries) and sets, along with their characteristics and operations. It explains dictionary basics, emphasizing key-value pairing, accessing and modifying data, iteration, and related methods. Sets, including mutable sets and immutable frozensets, are explored with focus on their unique elements, mathematical operations, and usage. Comprehensive examples demonstrate syntax, functionality, and distinctions between data structures.
This document provides an overview of control structures in Python, including conditional statements, iterative structures, and sequence interruptions. Conditional structures, such as the 'if' statement, are used to execute instructions based on specific conditions with an emphasis on indentation. Iterative structures, such as 'while' and 'for' loops, are detailed with various examples for handling ranges, collections, and specific conditions. It also explains sequence interruption using 'break' and 'continue' statements to fine-tune loop execution and control program flow.
This document covers control structures in Python, focusing on conditional statements and iterative structures. It includes detailed explanations and examples of 'if', 'while', and 'for' statements. Additionally, it discusses the use of 'break' and 'continue' statements to control loop execution.
This document covers the fundamental control structures in R, including conditional statements and loops. It provides examples of using 'if', 'for', and 'while' statements, as well as logical and comparison operators. The document also introduces functions in R and how to define user-defined functions.
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.
This document outlines an exam for Java programming at ENIT during the academic year 2016/2017. The exam focuses on developing a program for managing football teams and includes tasks related to object-oriented programming principles. Students are required to design various entities such as players, trainers, doctors, and physiotherapists with specific functionalities.
This document presents an examination for an object-oriented programming course using Java. It focuses on the development of software components for agricultural management, including classes for parcels and agricultural activities. Students are required to implement specific methods and handle attributes based on given requirements.
This document contains an examination for Java programming, focusing on String operations, error detection, and game development. It outlines the tasks and requirements for each exercise that students must complete. The exam allows for the use of external resources, with a time limit of four hours.
This document contains an exam for a Java course, detailing instructions, modalit´es, and solutions to various programming exercises. The exercises focus on implementing a simple banking application and its functionalities using Java. Additionally, it includes a framework for managing user inputs and operations within a console application.
This document outlines a monitored assignment for a Java and JEE course. It consists of two parts, focusing on theoretical understanding and practical application in object-oriented programming. The assignment requires students to model a company's vehicle fleet, incorporating principles of abstraction and polymorphism.
This document contains an exam for first-year students on Object-Oriented Programming, covering Java concepts and comprehension through questions and code snippets. It tests understanding of classes, methods, and object-oriented principles.
This document contains guidelines for correcting an exam on Java and Java EE, focusing on object-oriented principles like encapsulation and the use of abstract classes. It includes details about various classes, interfaces, and their methods that are to be implemented as part of the assignment. Additionally, it poses a reflective question on enhancing the development process for a company-class by overriding methods and implementing interfaces.
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 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.
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.






















