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:
You are responsible for creating the lingual computer interaction interface of a new federation starship. Whenever a visitor comes on board he has to tell the computer his name. Choose the appropriate SALT code to perform this task. Somebody else already wrote the visual part and the scripts: <html xmlns:salt="http://www.saltforum.org/2002/SALT"> <body onload="askForName()"> <form id="messageForm" action="http://javaschool.com/school/public/knowledge/SALT/message" method="post"> <input name="nameTextBox" type="text" /> </form> <!-- ********************* --> <!-- insert SALT code here --> <!-- ********************* --> <script> // settings are based on user answers function setName() { messageForm.nameTextBox.value = nameRecognition.text; askForName(); } // the main script function askForName() { if messageForm.nameTextBox.value=="") { askName.Start(); nameRecognition.Start(); } } </script> </body> </html>

<salt:prompt id="askName"> What is your name? </salt:prompt>
<salt:prompt id="repeatDefault" onComplete="askForService()">
Please repeat your answer.
</salt:prompt>
<salt:listen id="nameRecognition"
onReco="repeatDefault.Start()" onNoReco="setName()">
<salt:grammar src="spokenMessage.xml" />
</salt:listen>
<salt:listen id="messageRecognition"
onReco="setMessage()" onNoReco="repeatDefault.Start()">
<salt:grammar src="spokenMessage.xml" />
</salt:listen>



<salt:prompt id="askName"> What is your name? </salt:prompt>
<salt:prompt id="repeatDefault" onComplete="askForService()">
Please repeat your answer.
</salt:prompt>
<salt:listen id="nameRecognition"
onReco="setName()" onNoReco="repeatDefault.Start()">
<salt:grammar src="spokenMessage.xml" />
</salt:listen>
<salt:listen id="messageRecognition"
onReco="setMessage()" onNoReco="repeatDefault.Start()">
<salt:grammar src="spokenMessage.xml" />
</salt:listen>



<salt:bind id="askName"> What is your name? </salt:bind>
<salt:bind id="repeatDefault" onComplete="askForService()">
Please repeat your answer.
</salt:bind>
<salt:listen id="nameRecognition"
onReco="setName()" onNoReco="repeatDefault.Start()">
<salt:grammar src="spokenMessage.xml" />
</salt:listen>
<salt:listen id="messageRecognition"
onReco="setMessage()" onNoReco="repeatDefault.Start()">
<salt:grammar src="spokenMessage.xml" />
</salt:listen>



<salt:prompt id="askName"> What is your name? </salt:prompt>
<salt:prompt id="repeatDefault.Start()" onComplete="askForService()">
Please repeat your answer.
</salt:prompt>
<salt:listen id="recognizeName"
onReco="setName()" onNoReco="repeatDefault.Start()">
<salt:grammar src="spokenMessage.xml" />
</salt:listen>
<salt:listen id="messageRecognition"
onReco="setMessage()" onNoReco="repeatDefault.Start()">
<salt:grammar src="spokenMessage.xml" />
</salt:listen>



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!!!