Git Product home page Git Product logo

obonaventure / lepl1503 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ucl-ingi/lsinf1252

3.0 3.0 1.0 4.36 MB

Exercices INGINIOUS du cours LEPL1503 de découverte du C

Home Page: https://sites.uclouvain.be/SyllabusC

License: GNU General Public License v3.0

Shell 1.77% Python 37.50% C 49.17% C++ 1.01% Makefile 3.67% Smarty 1.10% TeX 0.51% Objective-C 0.01% HTML 4.69% XSLT 0.10% CSS 0.18% PHP 0.20% JavaScript 0.09% Hack 0.01%
c linux

lepl1503's People

Contributors

anthonygego avatar flyearthr avatar jadinm avatar maxmawt avatar nrybowski avatar obonaventure avatar olmartin avatar pletinckxc avatar tranmi98 avatar vanstratum avatar zashas avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

fdekeers

lepl1503's Issues

Suppression des sections inutiles

Supprimer les sections du syllabus qui ne seront pas utilisées pour le projet LEPL1503, éventuellement référencer l'ancien syllabus

Push_info_msg et caractère "\n"

results.txt
Capture

Volonté :
Utiliser le caractères "\n" dans les messages de feedback fournis à l'étudiant au moyen de la fonction CTester "push_info_msg" pour pouvoir espacer les lignes de feedback lorsque cela est nécessaire pour une meilleure compréhension.

Problème rencontré :
La fonction "push_info_msg" vérifie en première ligne si le message soumis en paramètre ne contient pas de "\n" ou de "#" (voir image ci-jointe) car ces deux caractères sont utilisés de manière à parser le fichier results.txt (voir fichier ci-joint) pour fournir le feedback aux étudiants. Ainsi, il n'est pas possible d'utiliser ces deux caractères dans les messages d'information.

Idée de solution :
Remplacer le fichier results.txt (fichier ASCII) par un fichier JSON pour pouvoir parser plus facilement et ne plus avoir besoin de caractères réservés.

Exercice pour CUnit

Développer un exercice dans lequel on fournit des tests CUnit d'exemple pour les étudiants, par exemple pour des fonctions mathématiques, des fonctions relatives aux tableaux ou aux strings et on demande aux étudiants de corriger les erreurs en s'appuyant sur les tests CUnit. Cela devrait leur permettre d'avoir de bons exemples de tests unitaires dont ils pourraient s'inspirer après.

Ajout cppcheck

Ajouter des tests cppcheck pour tous les exemples de code qui se trouvent dans le syllabus.

s1_absolute_value

Describe the bug

The program compile but said that i have an error in the code . But my code is right i didn't find any error.

To Reproduce

Steps to reproduce the behavior:

if (i>=0){
return i ;
}
else{
return -i ;
}

The answer of the system was :

There are errors in your answer. Your mark is 0.0%. [Submission # 5f8d65a1fb18016d7de701b7]

Expected behavior

I expert the system to validate my code

s1_absolute_value

Describe the bug

A clear and concise description of what the bug is. What is the task that triggered the bug ?
Please tag the issue with a label "S?" that corresponds to the week during which the task was proposed.

To Reproduce

Steps to reproduce the behavior:

Provide the code that you entered and the submission identifier that was provided by inginious and well as your inginious identifier.

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.