parent
86d2cfda7e
commit
4295bb9be5
@ -0,0 +1,479 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<quiz>
|
||||||
|
|
||||||
|
<question type="category">
|
||||||
|
<category>
|
||||||
|
<text>$module$/Quizz Cours PRO*C, Chapitre 1 a 1.4</text>
|
||||||
|
</category>
|
||||||
|
</question>
|
||||||
|
|
||||||
|
<question type="multichoice">
|
||||||
|
<name>
|
||||||
|
<text>01-Interface PRO*C</text>
|
||||||
|
</name>
|
||||||
|
<questiontext format="html">
|
||||||
|
<text><![CDATA[<p>Le PRO*C c’est : </p>]]></text>
|
||||||
|
</questiontext>
|
||||||
|
<defaultgrade>1</defaultgrade>
|
||||||
|
<generalfeedback format="html"><text/></generalfeedback>
|
||||||
|
<penalty>0.1000000</penalty>
|
||||||
|
<hidden>0</hidden>
|
||||||
|
<single>false</single>
|
||||||
|
<shuffleanswers>1</shuffleanswers>
|
||||||
|
<answernumbering>abc</answernumbering>
|
||||||
|
<answer fraction="50" format="html">
|
||||||
|
<text><![CDATA[<p>une interface entre le langage C et le SGBD Oracle</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>le Professionnel Etoile C</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="50" format="html">
|
||||||
|
<text><![CDATA[<p>une interface de précompilation où les ordres SQL présents dans le code C sont traduits par un précompilateur</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>une interface entre un PROfessionnel et un Client</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
</question>
|
||||||
|
<question type="multichoice">
|
||||||
|
<name>
|
||||||
|
<text>02-Structure</text>
|
||||||
|
</name>
|
||||||
|
<questiontext format="html">
|
||||||
|
<text><![CDATA[<p>Un fichier PRO*C se structure de la même manière qu’un fichier C ? </p>]]></text>
|
||||||
|
</questiontext>
|
||||||
|
<defaultgrade>1</defaultgrade>
|
||||||
|
<generalfeedback format="html"><text/></generalfeedback>
|
||||||
|
<penalty>0.1000000</penalty>
|
||||||
|
<hidden>0</hidden>
|
||||||
|
<single>true</single>
|
||||||
|
<shuffleanswers>1</shuffleanswers>
|
||||||
|
<answernumbering>abc</answernumbering>
|
||||||
|
<answer fraction="100" format="html">
|
||||||
|
<text><![CDATA[<p>VRAI</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>FAUX</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
</question>
|
||||||
|
<question type="multichoice">
|
||||||
|
<name>
|
||||||
|
<text>03-Structure</text>
|
||||||
|
</name>
|
||||||
|
<questiontext format="html">
|
||||||
|
<text><![CDATA[<p>Pour accèder aux données de la base de données que faut-il faire ? </p>]]></text>
|
||||||
|
</questiontext>
|
||||||
|
<defaultgrade>1</defaultgrade>
|
||||||
|
<generalfeedback format="html"><text/></generalfeedback>
|
||||||
|
<penalty>0.1000000</penalty>
|
||||||
|
<hidden>0</hidden>
|
||||||
|
<single>false</single>
|
||||||
|
<shuffleanswers>1</shuffleanswers>
|
||||||
|
<answernumbering>abc</answernumbering>
|
||||||
|
<answer fraction="50" format="html">
|
||||||
|
<text><![CDATA[<p>mettre en place la connexion et déconnexion à la base de données</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>Prendre Rapidement en Otage le Client</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="50" format="html">
|
||||||
|
<text><![CDATA[<p>Se servir de commandes SQL (SELECT, INSERT, ...)</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
</question>
|
||||||
|
<question type="multichoice">
|
||||||
|
<name>
|
||||||
|
<text>04-INCLUDE</text>
|
||||||
|
</name>
|
||||||
|
<questiontext format="html">
|
||||||
|
<text><![CDATA[<p>Quelle structure C doit-on inclure dans le programme PRO*C pour connaitre les résultats d’un ordre SQL? </p>]]></text>
|
||||||
|
</questiontext>
|
||||||
|
<defaultgrade>1</defaultgrade>
|
||||||
|
<generalfeedback format="html"><text/></generalfeedback>
|
||||||
|
<penalty>0.1000000</penalty>
|
||||||
|
<hidden>0</hidden>
|
||||||
|
<single>false</single>
|
||||||
|
<shuffleanswers>1</shuffleanswers>
|
||||||
|
<answernumbering>abc</answernumbering>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>Aucune</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="100" format="html">
|
||||||
|
<text><![CDATA[<p>SQLCA.H</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>PL/SQL</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
</question>
|
||||||
|
<question type="multichoice">
|
||||||
|
<name>
|
||||||
|
<text>05-INCLUDE</text>
|
||||||
|
</name>
|
||||||
|
<questiontext format="html">
|
||||||
|
<text><![CDATA[<p>Quelle est la bonne syntaxe pour inclure le fichier SQLCA ? </p>]]></text>
|
||||||
|
</questiontext>
|
||||||
|
<defaultgrade>1</defaultgrade>
|
||||||
|
<generalfeedback format="html"><text/></generalfeedback>
|
||||||
|
<penalty>0.1000000</penalty>
|
||||||
|
<hidden>0</hidden>
|
||||||
|
<single>false</single>
|
||||||
|
<shuffleanswers>1</shuffleanswers>
|
||||||
|
<answernumbering>abc</answernumbering>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>INCLUDE SQLCA.H;</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="100" format="html">
|
||||||
|
<text><![CDATA[<p>EXEC SQL INCLUDE SQLCA.H;</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>SQLCA.H;</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
</question>
|
||||||
|
<question type="multichoice">
|
||||||
|
<name>
|
||||||
|
<text>06-Variables</text>
|
||||||
|
</name>
|
||||||
|
<questiontext format="html">
|
||||||
|
<text><![CDATA[<p>La déclaration des variables hôtes s’effectue exactement comme en C ? </p>]]></text>
|
||||||
|
</questiontext>
|
||||||
|
<defaultgrade>1</defaultgrade>
|
||||||
|
<generalfeedback format="html"><text/></generalfeedback>
|
||||||
|
<penalty>0.1000000</penalty>
|
||||||
|
<hidden>0</hidden>
|
||||||
|
<single>false</single>
|
||||||
|
<shuffleanswers>1</shuffleanswers>
|
||||||
|
<answernumbering>abc</answernumbering>
|
||||||
|
<answer fraction="100" format="html">
|
||||||
|
<text><![CDATA[<p>VRAI</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>FAUX</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
</question>
|
||||||
|
<question type="multichoice">
|
||||||
|
<name>
|
||||||
|
<text>07-Variables</text>
|
||||||
|
</name>
|
||||||
|
<questiontext format="html">
|
||||||
|
<text><![CDATA[<p>Les variables hôtes sont utilisées où ? </p>]]></text>
|
||||||
|
</questiontext>
|
||||||
|
<defaultgrade>1</defaultgrade>
|
||||||
|
<generalfeedback format="html"><text/></generalfeedback>
|
||||||
|
<penalty>0.1000000</penalty>
|
||||||
|
<hidden>0</hidden>
|
||||||
|
<single>false</single>
|
||||||
|
<shuffleanswers>1</shuffleanswers>
|
||||||
|
<answernumbering>abc</answernumbering>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>uniquement dans les ordres SQL</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="100" format="html">
|
||||||
|
<text><![CDATA[<p>dans les ordres SQL et dans le programme C</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
</question>
|
||||||
|
<question type="multichoice">
|
||||||
|
<name>
|
||||||
|
<text>08-Variables</text>
|
||||||
|
</name>
|
||||||
|
<questiontext format="html">
|
||||||
|
<text><![CDATA[<p>Les déclarations ci-dessous sont-elles justes ?<BR/> int vnbOccurence;<BR/> VARCHAR vNom[31]; </p>]]></text>
|
||||||
|
</questiontext>
|
||||||
|
<defaultgrade>1</defaultgrade>
|
||||||
|
<generalfeedback format="html"><text/></generalfeedback>
|
||||||
|
<penalty>0.1000000</penalty>
|
||||||
|
<hidden>0</hidden>
|
||||||
|
<single>false</single>
|
||||||
|
<shuffleanswers>1</shuffleanswers>
|
||||||
|
<answernumbering>abc</answernumbering>
|
||||||
|
<answer fraction="100" format="html">
|
||||||
|
<text><![CDATA[<p>VRAI</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>FAUX</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
</question>
|
||||||
|
<question type="multichoice">
|
||||||
|
<name>
|
||||||
|
<text>09-Variables</text>
|
||||||
|
</name>
|
||||||
|
<questiontext format="html">
|
||||||
|
<text><![CDATA[<p>Quelles sont les variables qui sont bien utilisées ? </p>]]></text>
|
||||||
|
</questiontext>
|
||||||
|
<defaultgrade>1</defaultgrade>
|
||||||
|
<generalfeedback format="html"><text/></generalfeedback>
|
||||||
|
<penalty>0.1000000</penalty>
|
||||||
|
<hidden>0</hidden>
|
||||||
|
<single>false</single>
|
||||||
|
<shuffleanswers>1</shuffleanswers>
|
||||||
|
<answernumbering>abc</answernumbering>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>DATE</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>FROM</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="50" format="html">
|
||||||
|
<text><![CDATA[<p>EXEC SQL SELECT fonction INTO :vfonction FROM TEmploi WHERE noEmp = 501;</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="50" format="html">
|
||||||
|
<text><![CDATA[<p>EXEC SQL UPDATE TEmploi SET salaire = :vSalaire WHERE noEmp = 501;</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>EXEC SQL UPDATE TEmploi SET salaire = vSalaire WHERE noEmp = 501;</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
</question>
|
||||||
|
<question type="multichoice">
|
||||||
|
<name>
|
||||||
|
<text>10-Variables</text>
|
||||||
|
</name>
|
||||||
|
<questiontext format="html">
|
||||||
|
<text><![CDATA[<p>Quelles sont les affirmations ci-dessous qui sont vraies ? </p>]]></text>
|
||||||
|
</questiontext>
|
||||||
|
<defaultgrade>1</defaultgrade>
|
||||||
|
<generalfeedback format="html"><text/></generalfeedback>
|
||||||
|
<penalty>0.1000000</penalty>
|
||||||
|
<hidden>0</hidden>
|
||||||
|
<single>false</single>
|
||||||
|
<shuffleanswers>1</shuffleanswers>
|
||||||
|
<answernumbering>abc</answernumbering>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>int peut être utilisé en C pour recevoir la valeur d’une colonne NUMBER(10,2)</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="50" format="html">
|
||||||
|
<text><![CDATA[<p>float peut être utilisé en C pour recevoir la valeur d’une colonne NUMBER(10,2)</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="50" format="html">
|
||||||
|
<text><![CDATA[<p>int peut être utilisé en C pour recevoir la valeur d’une colonne NUMBER(10)</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
</question>
|
||||||
|
<question type="multichoice">
|
||||||
|
<name>
|
||||||
|
<text>11-Connexion</text>
|
||||||
|
</name>
|
||||||
|
<questiontext format="html">
|
||||||
|
<text><![CDATA[<p>Que doit-on passer à l’instruction CONNECT comme paramètre ? </p>]]></text>
|
||||||
|
</questiontext>
|
||||||
|
<defaultgrade>1</defaultgrade>
|
||||||
|
<generalfeedback format="html"><text/></generalfeedback>
|
||||||
|
<penalty>0.1000000</penalty>
|
||||||
|
<hidden>0</hidden>
|
||||||
|
<single>false</single>
|
||||||
|
<shuffleanswers>1</shuffleanswers>
|
||||||
|
<answernumbering>abc</answernumbering>
|
||||||
|
<answer fraction="33.33333" format="html">
|
||||||
|
<text><![CDATA[<p>le login</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>la connexion</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="33.33333" format="html">
|
||||||
|
<text><![CDATA[<p>le mot de passe</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="33.33333" format="html">
|
||||||
|
<text><![CDATA[<p>le nom du serveur hôte</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
</question>
|
||||||
|
<question type="multichoice">
|
||||||
|
<name>
|
||||||
|
<text>12-Connexion</text>
|
||||||
|
</name>
|
||||||
|
<questiontext format="html">
|
||||||
|
<text><![CDATA[<p>Que doit-on faire pour s’assurer que la connexion soit viable ? </p>]]></text>
|
||||||
|
</questiontext>
|
||||||
|
<defaultgrade>1</defaultgrade>
|
||||||
|
<generalfeedback format="html"><text/></generalfeedback>
|
||||||
|
<penalty>0.1000000</penalty>
|
||||||
|
<hidden>0</hidden>
|
||||||
|
<single>true</single>
|
||||||
|
<shuffleanswers>1</shuffleanswers>
|
||||||
|
<answernumbering>abc</answernumbering>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>afficher à l’utilisateur le message Connexion réussie avec succès.</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="100" format="html">
|
||||||
|
<text><![CDATA[<p>tester que la variable sqlcq.sqlcode soit bien égale à 0</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
</question>
|
||||||
|
<question type="multichoice">
|
||||||
|
<name>
|
||||||
|
<text>13-Deconnexion</text>
|
||||||
|
</name>
|
||||||
|
<questiontext format="html">
|
||||||
|
<text><![CDATA[<p>Quel est le but de la fonction déconnexion ? </p>]]></text>
|
||||||
|
</questiontext>
|
||||||
|
<defaultgrade>1</defaultgrade>
|
||||||
|
<generalfeedback format="html"><text/></generalfeedback>
|
||||||
|
<penalty>0.1000000</penalty>
|
||||||
|
<hidden>0</hidden>
|
||||||
|
<single>false</single>
|
||||||
|
<shuffleanswers>1</shuffleanswers>
|
||||||
|
<answernumbering>abc</answernumbering>
|
||||||
|
<answer fraction="50" format="html">
|
||||||
|
<text><![CDATA[<p>exécuter le COMMIT si tout c’est bien passé</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>rajouter du code à mon programme</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="50" format="html">
|
||||||
|
<text><![CDATA[<p>exécuter le ROLLBACK s’il y a une erreur</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
</question>
|
||||||
|
<question type="multichoice">
|
||||||
|
<name>
|
||||||
|
<text>14-Corps de l'application</text>
|
||||||
|
</name>
|
||||||
|
<questiontext format="html">
|
||||||
|
<text><![CDATA[<p>Comment intégrer une instruction SQL de création de table dans le programme PRO*C ? </p>]]></text>
|
||||||
|
</questiontext>
|
||||||
|
<defaultgrade>1</defaultgrade>
|
||||||
|
<generalfeedback format="html"><text/></generalfeedback>
|
||||||
|
<penalty>0.1000000</penalty>
|
||||||
|
<hidden>0</hidden>
|
||||||
|
<single>false</single>
|
||||||
|
<shuffleanswers>1</shuffleanswers>
|
||||||
|
<answernumbering>abc</answernumbering>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>CREATE TABLE TLigne(ligne VARCHAR2(200));</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="100" format="html">
|
||||||
|
<text><![CDATA[<p>EXEC SQL CREATE TABLE TLigne(ligne VARCHAR2(200));</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
</question>
|
||||||
|
<question type="multichoice">
|
||||||
|
<name>
|
||||||
|
<text>15-Corps de l'application</text>
|
||||||
|
</name>
|
||||||
|
<questiontext format="html">
|
||||||
|
<text><![CDATA[<p>Comment intégrer une instruction SQL d’insertion d’une ligne dans une table dans le programme PRO*C ? </p>]]></text>
|
||||||
|
</questiontext>
|
||||||
|
<defaultgrade>1</defaultgrade>
|
||||||
|
<generalfeedback format="html"><text/></generalfeedback>
|
||||||
|
<penalty>0.1000000</penalty>
|
||||||
|
<hidden>0</hidden>
|
||||||
|
<single>false</single>
|
||||||
|
<shuffleanswers>1</shuffleanswers>
|
||||||
|
<answernumbering>abc</answernumbering>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>INSERT INTO TLigne VALUES(’TEST’);</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="50" format="html">
|
||||||
|
<text><![CDATA[<p>EXEC SQL INSERT INTO TLigne VALUES(’TEST’);</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="50" format="html">
|
||||||
|
<text><![CDATA[<p>EXEC SQL INSERT INTO TLigne(ligne) VALUES(’TEST’);</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
</question>
|
||||||
|
<question type="multichoice">
|
||||||
|
<name>
|
||||||
|
<text>16-Corps de l'application</text>
|
||||||
|
</name>
|
||||||
|
<questiontext format="html">
|
||||||
|
<text><![CDATA[<p>Comment intégrer une instruction SQL de mise à jour d’une ligne dans une table dans le programme PRO*C ? </p>]]></text>
|
||||||
|
</questiontext>
|
||||||
|
<defaultgrade>1</defaultgrade>
|
||||||
|
<generalfeedback format="html"><text/></generalfeedback>
|
||||||
|
<penalty>0.1000000</penalty>
|
||||||
|
<hidden>0</hidden>
|
||||||
|
<single>false</single>
|
||||||
|
<shuffleanswers>1</shuffleanswers>
|
||||||
|
<answernumbering>abc</answernumbering>
|
||||||
|
<answer fraction="100" format="html">
|
||||||
|
<text><![CDATA[<p>EXEC SQL UPDATE TLigne SET ligne = ’TEST2’ WHERE ligne = ’TEST’;</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>UPDATE TLigne SET ligne = ’TEST2’ WHERE ligne = ’TEST’;</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
</question>
|
||||||
|
<question type="multichoice">
|
||||||
|
<name>
|
||||||
|
<text>17-Corps de l'application</text>
|
||||||
|
</name>
|
||||||
|
<questiontext format="html">
|
||||||
|
<text><![CDATA[<p>Comment intégrer une instruction SQL de suppression d’une ligne dans une table dans le programme PRO*C ? </p>]]></text>
|
||||||
|
</questiontext>
|
||||||
|
<defaultgrade>1</defaultgrade>
|
||||||
|
<generalfeedback format="html"><text/></generalfeedback>
|
||||||
|
<penalty>0.1000000</penalty>
|
||||||
|
<hidden>0</hidden>
|
||||||
|
<single>false</single>
|
||||||
|
<shuffleanswers>1</shuffleanswers>
|
||||||
|
<answernumbering>abc</answernumbering>
|
||||||
|
<answer fraction="100" format="html">
|
||||||
|
<text><![CDATA[<p>EXEC SQL DELETE FROM TLigne WHERE ligne = ’TEST’;</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>DELETE FROM TLigne WHERE ligne = ’TEST’;</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
</question>
|
||||||
|
<question type="multichoice">
|
||||||
|
<name>
|
||||||
|
<text>18-Corps de l'application</text>
|
||||||
|
</name>
|
||||||
|
<questiontext format="html">
|
||||||
|
<text><![CDATA[<p>Comment intégrer une instruction SQL de suppression d’une table dans le programme PRO*C ? </p>]]></text>
|
||||||
|
</questiontext>
|
||||||
|
<defaultgrade>1</defaultgrade>
|
||||||
|
<generalfeedback format="html"><text/></generalfeedback>
|
||||||
|
<penalty>0.1000000</penalty>
|
||||||
|
<hidden>0</hidden>
|
||||||
|
<single>false</single>
|
||||||
|
<shuffleanswers>1</shuffleanswers>
|
||||||
|
<answernumbering>abc</answernumbering>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>DROP TABLE TLigne PURGE;</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="100" format="html">
|
||||||
|
<text><![CDATA[<p>EXEC SQL DROP TABLE TLigne;</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
</question>
|
||||||
|
<question type="multichoice">
|
||||||
|
<name>
|
||||||
|
<text>19-Corps de l'application</text>
|
||||||
|
</name>
|
||||||
|
<questiontext format="html">
|
||||||
|
<text><![CDATA[<p>Comment intégrer une instruction SQL pour sélectionner une ligne d’une table dans le programme PRO*C ? </p>]]></text>
|
||||||
|
</questiontext>
|
||||||
|
<defaultgrade>1</defaultgrade>
|
||||||
|
<generalfeedback format="html"><text/></generalfeedback>
|
||||||
|
<penalty>0.1000000</penalty>
|
||||||
|
<hidden>0</hidden>
|
||||||
|
<single>false</single>
|
||||||
|
<shuffleanswers>1</shuffleanswers>
|
||||||
|
<answernumbering>abc</answernumbering>
|
||||||
|
<answer fraction="100" format="html">
|
||||||
|
<text><![CDATA[<p>EXEC SQL SELECT fonction INTO :vfonction FROM TEmploi WHERE noEmp = 501;</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>EXEC SQL SELECT fonction FROM TEmploi WHERE noEmp = 501;</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>SELECT fonction INTO :vfonction FROM TEmploi WHERE noEmp = 501;</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
</question>
|
||||||
|
<question type="multichoice">
|
||||||
|
<name>
|
||||||
|
<text>20-Corps de l'application</text>
|
||||||
|
</name>
|
||||||
|
<questiontext format="html">
|
||||||
|
<text><![CDATA[<p>Quelles sont les instructions ci-dessous qui sont justes ? </p>]]></text>
|
||||||
|
</questiontext>
|
||||||
|
<defaultgrade>1</defaultgrade>
|
||||||
|
<generalfeedback format="html"><text/></generalfeedback>
|
||||||
|
<penalty>0.1000000</penalty>
|
||||||
|
<hidden>0</hidden>
|
||||||
|
<single>false</single>
|
||||||
|
<shuffleanswers>1</shuffleanswers>
|
||||||
|
<answernumbering>abc</answernumbering>
|
||||||
|
<answer fraction="50" format="html">
|
||||||
|
<text><![CDATA[<p>EXEC SQL TRUNCATE TABLE TEmploi;</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>EXEC SQL SELECT fonction INTO :vfonction FROM TEmploi;</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="50" format="html">
|
||||||
|
<text><![CDATA[<p>EXEC SQL UPDATE TLigne SET ligne = ’TEST2’ WHERE ligne = ’TEST’;</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
<answer fraction="0" format="html">
|
||||||
|
<text><![CDATA[<p>EXEC SQL UPDATE TLigne SET ligne = vligne WHERE ligne = ’TEST’;</p>]]></text>
|
||||||
|
</answer>
|
||||||
|
</question>
|
||||||
|
|
||||||
|
</quiz>
|
Loading…
Reference in new issue