Register Login
Internet / AI Technology University (ITU/AITU)
Created by info@itofthefuture.com
Welcome Anonimous.User to this quiz related to Speech.

Read the question and choose the best answer. Time is limited to 40 seconds!

Important! Do not forget to rank the quality of the question (from bad to excellent).
An initiator of the quiz will get royalty score for QnAs created by her/him and can win the Top Creativity Prize.
Question:
Given the following VoiceXML document, complete it so that it asks for a number and answers with the square of that number. <?xml version="1.0" encoding="UTF-8"?> <!-- assume the code is valid --> <vxml version="2.0" xmlns="http://www.w3.org/2001/vxml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2001/vxml http://www.w3.org/TR/voicexml20/vxml.xsd"> <script> <![CDATA[ function square(n) { return n*n; } ]]> </script> <!-- *************** --> <!-- enter code here --> <!-- *************** --> </vxml>

<form id="form">
<field name="square">
<grammar type="application/srgs+xml" src="/grammars/number.grxml"/>
<prompt>
Tell me a number and I will square it.
</prompt>
<fill>
<prompt>
<variable expr="sq"/> the square is
<variable expr="square(sq)"/>
</prompt>
</fill>
</field>
</form>



<form id="form">
<field name="square">
<grammar type="application/srgs+xml" src="/grammars/number.grxml"/>
<prompt>
Tell me a number and I will square it.
</prompt>
<filled>
<prompt>
<value expr="sq"/> the square is
<value expr="square(sq)"/>
</prompt>
</filled>
</field>
</form>



<form id="form">
<field name="square">
<grammar type="application/srgs+xml" src="/grammars/number.grxml"/>
<prompt>
Tell me a number and I will square it.
</prompt>
<fill>
<prompt>
<value expr="sq"/> the square is
<value expr="square(sq)"/>
</prompt>
</fill>
</field>
</form>



<form id="form">
<field name="square">
<grammar type="application/srgs+xml" src="/grammars/number.grxml"/>
<prompt>
Tell me a number and I will square it.
</prompt>
<fill>
<prompt>
<variable expr="sq"/> the square is
<value expr="square(sq)"/>
</prompt>
</fill>
</field>
</form>



<form id="form">
<field name="square">
<grammar type="application/srgs+xml" src="/grammars/number.grxml"/>
<prompt>
Tell me a number and I will square it.
</prompt>
<fill>
<prompt>
<value expr="sq"/> the square is
<variable expr="square(sq)"/>
</prompt>
</fill>
</field>
</form>



Rank the Quality of the Question from "-10" (bad) or "0" (not clear) to 10 (correct) or even 20 (very good!)
-10 (bad/wrong) 0 (not clear) 10 (correct) 20 (very good!)
Your summary report will be available to you and your instructor. Thank you for your work!!!