Skip to content
Snippets Groups Projects
Commit aab32494 authored by Nicolas M. Thiéry's avatar Nicolas M. Thiéry
Browse files

WIMS: V2 de l'exo de lecture de programme

parent 4c99f651
No related branches found
No related tags found
No related merge requests found
target= all variables if loop function
target=variable if loop function
#define TITLE Deviner l'affichage d'un programme C++
#if defined TARGET_variables
\title{TITLE (variables)}
#if defined TARGET_variable
#define TARGET variable
#define TARGET_FR variables
#endif
#if defined TARGET_if
\title{TITLE (conditionnelles)}
#define TARGET if
#define TARGET_FR conditionnelles
#endif
#if defined TARGET_loop
\title{TITLE (boucles)}
#define TARGET loop
#define TARGET_FR boucles
#endif
#if defined TARGET_function
\title{TITLE (fonctions)}
#define TARGET function
#define TARGET_FR fonctions
#endif
\title{Deviner l'affichage d'un programme C++ (TARGET_FR)}
\description{Deviner l'affichage d'un programme C++}
\language{fr}
\niveau{U1}
......@@ -25,7 +28,7 @@ target= all variables if loop function
\email{Nicolas.Thiery@u-psud.fr}
\format{html}
\text{programs=randomitem(wims(lookup TARGET of data/index))}
\text{programs=wims(lookup TARGET in data/index)}
\text{program=randomitem(\programs)}
\text{code=wims(record 0 of data/\program)}
\text{output=wims(record 0 of data/\program.output)}
......@@ -39,11 +42,11 @@ target= all variables if loop function
,allow_toggle: false
,language: "fr"
,syntax: "cpp"
,min_height: 300
,min_width: 300
,min_height: 400
,min_width: 400
,is_editable:false
,toolbar: ""
,show_line_colors: true
,show_line_colors: false
});
</script>
}
......@@ -52,10 +55,6 @@ target= all variables if loop function
\statement{
<p>Quel affichage exact produit le programme C++ suivant?</p>
\programs<br>
\program<br>
\output<br>
<p>Si l'affichage comporte plusieurs lignes, les donner les unes la
suite des autres, spares par des espaces.</p>
......
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment