Vxml question and answer bank set 1

  1. What is voice xml?

    1. VoiceXML is a declarative, XML-based language markup language for writing telephone-based speech applications. Users call applications by telephone. They listen to spoken instructions and questions; they provide input using the spoken word and the touchtone keypad.

  2. What does a VoiceXML interpreter do?

    1. A VoiceXML interpreter renders VoiceXML documents audibly. You can think of the VoiceXML interpreter as a telephone-based voice browser. A user connects with your application by dialing the appropriate phone number. The VoiceXML interpreter answers the call and starts executing your VoiceXML document.

    2. In order to support a telephone interface, the VoiceXML interpreter runs within an execution environment that includes a telephony component, a text-to-speech (TTS) speech-synthesis component, and a speech-recognition component. The VoiceXML interpreter transparently interacts with these infrastructure components as needed. For example:

      1. Text strings in output elements are rendered using TTS.

      2. Connection issues (picking up the incoming call, detecting a hang-up, transferring a call) are handled by the telephony component.

      3. Listening to spoken input from the user and identifying its meaning is handled by the speech-recognition component.

  3. Although both HTML and VoiceXML use markup tags, the two languages use tags differently. Briefly explain?

    1. Whereas the markup tags in HTML describe how to render the data, the markup tags in XML (and consequently in VoiceXML) describe the data itself. This allows an XML interpreter or browser to display the data in whatever way is appropriate.

    2. VoiceXML conforms to XML standards; the formats for VoiceXML tags are more strictly defined than are the formats in HTML.

  4. In VoiceXML forms, each logical piece of information to be collected from the user is identified with a ………. tag.

    1. <field>

  5. The ………. tag specifies a block of client-side JavaScript code.

    1. <script>

  6. The ………. tag declares a variable to be used within the form.

    1. <var>

  7. The ………. tag produces audio output for the user.

    1. <prompt>

  8. The ………. tag assigns a value to a variable.

    1. <assign>

  9. The ………. tag evaluates an expression and produces spoken output of the result.

    1. <value>

  10. Describe the header information that needs to be added to every vxml application?

    1. Every VoiceXML document must start with header information that conforms to the XML standard:

<?xml version="1.0" ?>

<!DOCTYPE vxml

PUBLIC "-//W3C/DTD VoiceXML 2.0//EN"

<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml">

Tags: 

Quick Notes Finder Tags

Activities (1) advanced java (1) agile (3) App Servers (6) archived notes (2) Arrays (1) Best Practices (12) Best Practices (Design) (3) Best Practices (Java) (7) Best Practices (Java EE) (1) BigData (3) Chars & Encodings (6) coding problems (2) Collections (15) contests (3) Core Java (All) (55) course plan (2) Database (12) Design patterns (8) dev tools (3) downloads (2) eclipse (9) Essentials (1) examples (14) Exception (1) Exceptions (4) Exercise (1) exercises (6) Getting Started (18) Groovy (2) hadoop (4) hibernate (77) hibernate interview questions (6) History (1) Hot book (5) http monitoring (2) Inheritance (4) intellij (1) java 8 notes (4) Java 9 (1) Java Concepts (7) Java Core (9) java ee exercises (1) java ee interview questions (2) Java Elements (16) Java Environment (1) Java Features (4) java interview points (4) java interview questions (4) javajee initiatives (1) javajee thoughts (3) Java Performance (6) Java Programmer 1 (11) Java Programmer 2 (7) Javascript Frameworks (1) Java SE Professional (1) JPA 1 - Module (6) JPA 1 - Modules (1) JSP (1) Legacy Java (1) linked list (3) maven (1) Multithreading (16) NFR (1) No SQL (1) Object Oriented (9) OCPJP (4) OCPWCD (1) OOAD (3) Operators (4) Overloading (2) Overriding (2) Overviews (1) policies (1) programming (1) Quartz Scheduler (1) Quizzes (17) RabbitMQ (1) references (2) restful web service (3) Searching (1) security (10) Servlets (8) Servlets and JSP (31) Site Usage Guidelines (1) Sorting (1) source code management (1) spring (4) spring boot (3) Spring Examples (1) Spring Features (1) spring jpa (1) Stack (1) Streams & IO (3) Strings (11) SW Developer Tools (2) testing (1) troubleshooting (1) user interface (1) vxml (8) web services (1) Web Technologies (1) Web Technology Books (1) youtube (1)