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 contains the correction of a main session exam focused on file implementation comparisons, file system structure, and system programming. It addresses questions related to file structure representations, inode details, and provides a Makefile example for compilation. The solutions provided address various aspects of file management and system programming required in a computer science curriculum.
This document outlines a functional programming examination conducted at Ecole Nationale des Sciences de l’Informatique. It includes a range of exercises designed to evaluate students' understanding of Lisp programming concepts. Topics covered include list manipulation, recursive function definitions, and polynomial differentiation.
This document contains the correction for the Architecture and Microprocessors exam from the Main Session of May 2009. It includes several exercises related to assembly programming and microprocessor operations. Each exercise demonstrates different aspects of managing data, executing commands, and displaying results.
Ce document contient les questions d'un examen final pour le cours INF2610 à l'École Polytechnique de Montréal. L'examen couvre des sujets tels que l'arborescence des processus, les moniteurs, les variables de condition et les sémaphores. Les étudiants doivent répondre à des questions de programmation et de conception de systèmes multi-threadés.
This document provides corrections for the exam conducted on May 21, 2003, focusing on topics such as virtual memory management, page replacement algorithms, and process creation. It includes detailed answers to questions regarding virtual addressing, page faults, and the efficiency of memory management techniques. Additionally, it discusses the FIFO page replacement algorithm and its associated issues.
This document contains a two-hour exam on system programming focusing on virtual memory management and process creation. It includes a series of questions requiring explanations and diagrammatic representations related to virtual addresses and memory pages. The exam also covers a practical programming scenario involving process creation and file handling.
This document pertains to an exam on Operating Systems and Concurrent Programming. It covers topics such as multithreading, process vs thread differences, thread control blocks, and process states. There's also an exercise section focusing on practical C programming questions and multithreading challenges.
Ce document est le corrigé de l'examen final du cours INF4705 à l'École Polytechnique de Montréal. Il comprend 6 questions sur des concepts d'algorithmique, y compris des questions sur la complexité, les algorithmes voraces, et la programmation dynamique. L'examen a eu lieu le 14 décembre 2004 et dure 2h30.
L'examen porte sur des questions de compréhension de la complexité des problèmes de décision et d'optimisation. Les étudiants doivent justifier leurs réponses concernant la classification des problèmes et l'application de heuristiques. Il inclut aussi des exercices sur les langages formels et leurs propriétés.
L'examen porte sur la conception et la programmation orientées objets à travers un problème basé sur le jeu d'échecs. Il décrit les règles et déplacements des pièces dans le jeu. Les étudiants sont invités à analyser et à implémenter les concepts de programmation liés à cette problématique.
This document is an exam focused on advanced programming concepts, particularly dynamic memory allocation and file operations in C. It provides definitions and implementations of several functions to manage employee data structures, dynamic arrays, and binary file manipulation. The methodology involves key programming tasks such as memory allocation, filling and displaying data, filtering specific entries, and modifying or calculating file sizes. Notably, it includes explicit function examples for practical implementations.
The document is a structured, supervised exam for a programming course. It includes exercises on nested loops, array handling, and data classification using control structures like for, while, and do-while loops. The first exercise involves translating a for-loop program's logic into a while-loop. The second focuses on filling and printing an array with non-zero elements using do-while, while the third involves separating positive and negative array values into different arrays, and calculating sums and averages of these values. It assesses algorithmic thinking and proficiency in C programm...
This document contains a supervised programming exam for undergraduate informatics students during the 2009/2010 academic year at Ecole Supérieure de Technologie et d’Informatique. It includes three main exercises focusing on understanding loops, modifying code structure, and implementing specific programming tasks such as populating, processing, and analyzing arrays. The assessment evaluates concepts such as nested loops, iterative constructs with for and while, array population, and array manipulation for positive and negative value segregation as well as calculations of sums and averages...
The document is an exam for Programming 1, structured into three exercises. Exercise 1 involves analyzing a nested loop program to predict output, then rewriting it using while loops. Exercise 2 requires writing a C program to populate and display an array using do-while loops. Exercise 3 includes creating a program to work with arrays, segregate positive and negative integers, and compute their sums and averages. The tasks focus on foundational programming concepts in C such as loops, arrays, and conditional statements.
This document is a programming exam from 2010, containing questions related to C programming concepts such as loops (for and while), conditional statements, and array manipulation. The first exercise focuses on analyzing and modifying loop structures. The second exercise involves writing a program to process a text, identifying words with specific uppercase letter counts. The third exercise requires creating and manipulating arrays to perform calculations and manage data. The exam emphasizes practical implementation and understanding of C coding techniques.
This document is a programming exam comprised of three exercises covering loops, arrays, and string operations. Exercise 1 involves analyzing and converting nested loops (from 'for' to 'while') and understanding their behavior. Exercise 2 tasks students with creating a program to count words meeting uppercase and vowel criteria in a text. Exercise 3 involves filling and processing arrays, requiring students to sum consecutive elements while ensuring input validation for specific conditions. The exam evaluates proficiency in C programming with emphasis on logic handling and code correctness.
This supervised exam in programming fundamentals consists of three exercises focusing on basic programming tasks in C. Exercise 1 involves understanding and modifying nested loops to produce specific outputs. Exercise 2 addresses string processing with conditions on vowels and uppercase letters within words. Exercise 3 requires creating and processing arrays, including performing operations on consecutive elements using a control structure. The exam aims to evaluate students' grasp of core programming concepts, algorithm development, and debugging.
















