Student Pages

Slides:



Advertisements
Similar presentations
Summer Computing Workshop. Introduction to Variables Variables are used in every aspect of programming. They are used to store data the programmer needs.
Advertisements

Substitute FAQs SubFinder Overview. FAQs Do I have to have touch-tone service to use SubFinder? No, but you do need a telephone that can be switched from.
Links and Comments.
Mrs. Chapman. Tabs (Block Categories) Commands Available to use Script Area where you type your code Sprite Stage All sprites in this project.
Introduction to VXML. What is VXML? Voice Extensible Markup Language Used in telephone-based speech applications voice browsing of the web.
CIS101 Introduction to Computing Week 11. Agenda Your questions Copy and Paste Assignment Practice Test JavaScript: Functions and Selection Lesson 06,
CIS101 Introduction to Computing Week 12 Spring 2004.
Gmail - Questionnaires. Set the language to English!
Go to 1.Sign in with your Island ID 2.Choose “I don’t have a Qualtrics account” 3.Choose.
Designing Web Pages Getting to know HTML... What is HTML? Hyper Text Markup Language HTML is the major language of the Internet’s World Wide Web. Web.
Microsoft ® Office Word 2007 Training Mail Merge II: Use the Ribbon and perform a complex mail merge [Your company name] presents:
Mr. Wortzman. Tabs (Block Categories) Available Blocks Script Area Sprite Stage All sprites in this project.
So – You want to learn how to put an advanced article submission (cut and paste) onto the state website. (Note: If you have not done so, you will need.
1 Events Lect 8. 2 Event-driven Pages one popular feature of the Web is its interactive nature e.g., you click on buttons to make windows appear e.g.,
Welcome to the Southeastern Louisiana University’s Online Employment Site Applicant Tutorial!
JQuery Page Slider. Our goal is to get to the functionality of the Panic Coda web site.Panic Coda web site.
English Writing 101 Chapter 2. Paragraph Errors Format: Where does your name, student ID #, class name, and name of the assignment go? Is it handwritten.
DIY Web Development Hand Code Your Own Page (For Free!) by Bryan Brown, Indiana University Bloomington SLIS.
 You can use google docs to construct tests or surveys that can be given online.  Multiple choice, matching, or fill in one word answers work well with.
Let’s Make An Form! Bonney Armstrong GD 444 Westwood College February 9, 2005.
Unit 1 – Improving Productivity Loren Thomas Instructions ~ 100 words.
Moodle (Course Management Systems). Assignments 1 Assignments are a refreshingly simple method for collecting student work. They are a simple and flexible.
THE BIG PICTURE. How does JavaScript interact with the browser?
VoiceXML: Forms, Menus, Grammars, Form Interpretation Algorithm.
VoiceXML Brandon Hannasch. Outline What is VoiceXML? Basic Tags Voice Recognition Audio Files Call Flow.
PHP meets MySQL.
HOMEWORK REVIEW This is an if else statement layout if (condition) { code to be executed if condition is true; } else { code to be executed if condition.
New challenge: telephone Text To Speech & audio Speech recognition VoiceXML Homework: sign up on studio.tellme.com.
Sonia Kalwaney My Wiki site s.com.
How do I use HTML and XML to present information?.
Copyrighted material John Tullis 10/17/2015 page 1 04/15/00 XML Part 3 John Tullis DePaul Instructor
Extending HTML CPSC 120 Principles of Computer Science April 9, 2012.
Dynamic Web Pages & JavaScript. Dynamic Web Pages Dynamic = Change Dynamic Web Pages are web pages that change. More than just moving graphics around.
Go to your school’s web locker site school name.schoolweblockers.com) Your user name is the first letter of your first name, the first 4.
Conditions. Objectives  Understanding what altering the flow of control does on programs and being able to apply thee to design code  Look at why indentation.
Forms and Server Side Includes. What are Forms? Forms are used to get user input We’ve all used them before. For example, ever had to sign up for courses.
Step 2: Inviting to Challenge Group. DON’T! Before getting into the training, it’s important that you DON’T just randomly send someone a message asking.
Hi, Learning Skills Students! This is Slide 1 of your Power Point Instruction for this class. After reading each slide, make sure you: 1.Follow the instructions.
Creating User Interfaces [Continue presentations as needed] Speech recognition. Speech synthesis Homework: Report on current products. Register on Tellme.
Online Surveys Jacqui James and Malcolm Roberts School of Education.
UPLOAD / DOWNLOAD april  HTML5 is just the next iteration of HTML  Previous version was technically HTML 4.01, which incorporated XHTML 1.0.
Conditional Statements.  Quiz  Hand in your jQuery exercises from last lecture  They don't have to be 100% perfect to get full credit  They do have.
1 CSC160 Chapter 7: Events and Event Handlers. 2 Outline Event and event handlers onClick event handler onMouseOver event handler onMouseOut event handler.
Web Page Design Forms! Website Design. Objectives What forms can do The Attributes of the form tag Using Textboxes Textareas Checkboxes Radio buttons.
Tuesday, March 10 th Warm Up: What are Meta tags? Why do we use them and where do they go? Today: REVIEW some key/sticky concepts in Web Design.
Creating User Interfaces Another example. Classwork/homework: work on VoiceXML project.
JavaScript Challenges Answers for challenges
Getting Started with HTML. HTML  Hyper Text Markup Language  HTML isn’t a program language, its known as a markup language  A Markup language has tags.
Check Boxes. 2 Check boxes  Image from:  HTML:  Each box gets it's own.
1 Taking Notes. 2 STOP! Have I checked all your Source cards yet? Do they have a yellow highlighter mark on them? If not, you need to finish your Source.
Creating User Interfaces VoiceXML. Examples. Classwork/Homework: Make proposal and start work on your VoiceXML project.
Unit 8 Seeing a doctor ( The fourth period) 杭州江滨职业学校 何笑蓉.
1 Agenda  Unit 7: Introduction to Programming Using JavaScript T. Jumana Abu Shmais – AOU - Riyadh.
Day 22, Slide 1 CSE 103 Day 22 Non-students: Please logout by 10:12. Students:
How To Make Easysite Forms By Joshua Crawley Contact:
Introducing Scratch Learning resources for the implementation of the scenario
Edit the text off the left side of the slide with your own phrase. The animation is already done for you; just copy and paste the slide into your existing.
TEER S2 General English With Heba El-Hendi.
BIT116: Scripting Lecture 05
VoiceXML Tutorial: Part 1 Introduction and User Interaction with DTMF
Development Environment
Your logo here Title page TEMPLAFY USER GUIDE.
T. Jumana Abu Shmais – AOU - Riyadh
Introduction to TouchDevelop
community.afpnet.org/home
BIT116: Scripting Radio Buttons.
Creating User Interfaces
Web Programming and Design
How to use Open study By blm1.
Presentation transcript:

Student Pages

Last Time: HTML Forms and Javascript If you haven’t finished the survey assignment, us or come to office hours

2/14: Programming Phones

This script says “hello world” Hello World!

This script says “hello world” Hello World! Call VXML and use my developer ID ( ) and pin (0123) to preview it When you’re done, put this text into your Scratchpad and call VXML again and use your developer ID and pin to preview your own code

Prerequisite: XML

XML Disclaimer: This is an introduction to how an XML format works in general, this is not the particular syntax of a VoiceXML program or any other specific XML format

XML Opening and closing tags

XML Nested hierarchy of tags Hello World Hi, What’s up? …

XML Nested hierarchy of tags Hello World Hi, What’s up? … Level 1 (Document Root)

XML Nested hierarchy of tags Hello World Hi, What’s up? … Level 1 (Document Root) Level 1 (Document Root) Level 2

XML Nested hierarchy of tags Hello World Hi, What’s up? … Level 1 (Document Root) Level 2 Level 3

XML Tag Attributes Hello World Hi, What’s up? … Attribute Value

XML Comments Hello World Hi, What’s up? …

VoiceXML (Programming Phones)

This script says “hello world” Hello World!

VoiceXML (Programming Phones)

VoiceXML (Programming Phones)

VoiceXML (Programming Phones)

VoiceXML (Programming Phones)

VoiceXML: Form Blocks Hello World! Audio (“Text to Speech”) Exit the application

VoiceXML: Form Blocks Hello World! Note beginning and end tags

VoiceXML: Form Blocks Hello World! This should be what’s in your Scratchpad now

Back to Javascript Just like you can embed Javascript into HTML, you can embed Javascript into VoiceXML

Back to Javascript Just like you can embed Javascript into HTML, you can embed Javascript into VoiceXML But we won’t do that in this class…

VoiceXML: tag Hello World!

VoiceXML: tag Hello World! Tag

VoiceXML: tag Hello World! Tag Attribute

VoiceXML: tag Hello World! Tag Attribute Value: Name of another form

VoiceXML: tag Hello World! I found my second form.

VoiceXML: tag Hello World! I found my second form. Attribute

VoiceXML: tag Hello World! I found my second form. Attribute Value

VoiceXML: tag Hello World! I found my second form. Sounds like…: “Hello World I found my second form.” Sounds like…: “Hello World I found my second form.”

Try this in your Scratchpad Hello World! This dialogue goes on and on 1. Guess what this script will do. 2. Edit Scratchpad 3. Call Guess what this script will do. 2. Edit Scratchpad 3. Call

VoiceXML: Form Blocks

VoiceXML: Form Blocks

VoiceXML: Form Blocks Attribute

VoiceXML: Form Blocks Attribute Value

VoiceXML: Form Blocks Attribute Value

VoiceXML: Form Blocks Do you like computers? New “prompt” tag: child of “field”

VoiceXML: Form Blocks Do you like computers? Text to Speech: “Do you like computers?” Text to Speech: “Do you like computers?”

VoiceXML: Form Blocks Do you like computers? New “filled” tag: child of “field”

VoiceXML: Form Blocks Do you like computers? Great, I got your answer. Text to Speech: “Great, I got your answer” Text to Speech: “Great, I got your answer”

VoiceXML: Form Blocks Do you like computers? Great, I got your answer. Broken!

VoiceXML: Form Blocks Do you like computers? Great, I heard your answer. Broken!

VoiceXML: Form Blocks Do you like computers? Great, I got your answer. Broken!

VoiceXML: Form Blocks Do you like computers? Great, I got your answer. Since the predefined boolean grammar isn’t working, we’ll add one ourselves

VoiceXML: Form Blocks Do you like computers? 1 2 Great, I got your answer. Press 1 or 2, record the answer Copy and paste this to receive any “1 or 2” input

VoiceXML: Form Blocks Do you like computers? 1 2 Great, I got your answer.

VoiceXML: Form Blocks Input type will be a touch tone keyboard

VoiceXML: Form Blocks Reference some touch tone input gathering code

VoiceXML: Form Blocks A grammar can have many rules In this example, when this grammar is used, it should start with the rule named “top” A grammar can have many rules In this example, when this grammar is used, it should start with the rule named “top”

VoiceXML: Form Blocks “one-of” tag: user specifies one of the following items

VoiceXML: Form Blocks The allowable items are “1” and “2”

VoiceXML: Form Blocks Text to Speech: “Great, I got your answer” Text to Speech: “Great, I got your answer”

VoiceXML: Form Blocks Try this!

Do you like computers? 1 2 Great, I got your answer. VoiceXML: Form Blocks Now let’s do something with the input after it’s identified

Do you like computers? 1 2 Great, I got your answer. VoiceXML: Form Blocks

Do you like computers? 1 2 Great, I got your answer. I'm glad you like computers. Too bad that you don't like computers. VoiceXML: Form Blocks

Do you like computers? 1 2 Great, I got your answer. I'm glad you like computers. Too bad that you don't like computers. VoiceXML: Form Blocks “if-else” tag: Special two-part tag: 1.The if part 2. The else part “if-else” tag: Special two-part tag: 1.The if part 2. The else part

Do you like computers? 1 2 Great, I got your answer. I'm glad you like computers. Too bad that you don't like computers. VoiceXML: Form Blocks If some condition is met, do what follows here Otherwise, do what follows here

Do you like computers? 1 2 Great, I got your answer. I'm glad you like computers. Too bad that you don't like computers. VoiceXML: Form Blocks The “if” tag has a “cond” condition attribute The condition here is that the “likeComputers” field is filled with the value “1”

Do you like computers? 1 2 Great, I got your answer. I'm glad you like computers. Too bad that you don't like computers. VoiceXML: Form Blocks Notice the double “==“

Do you like computers? 1 2 Great, I got your answer. I'm glad you like computers. Too bad that you don't like computers. VoiceXML: Form Blocks If the condition is true, say this.

Do you like computers? 1 2 Great, I got your answer. I'm glad you like computers. Too bad that you don't like computers. VoiceXML: Form Blocks If the condition is not true, say this

Do you like computers? 1 2 Great, I got your answer. I'm glad you like computers. Too bad that you don't like computers. VoiceXML: Form Blocks [If time in class]: Try it! (might want to download the slides and copy and paste from them, but you’ll have to fix up the quotes) [If time in class]: Try it! (might want to download the slides and copy and paste from them, but you’ll have to fix up the quotes)

VoiceXML Homework In this homework you have two options (extra credit: do both!): 1.Use the prompt/grammar/filled children of the field tag to ask a question. Modify what we’ve done to accept more than “1” and “2” as input, and have the computer say something different in response to each one 2.Use the prompt/grammar/filled children of the field tag to ask a question. Then, if the user inputs a “1”, have the computer repeat a phrase forever. If the user inputs a “2”, just have the computer say one thing. Add a tiny bit of text to your webpage with your Developer ID & pin so that we can listen. Also send Ken and me an with the contents of your Scratchpad. Due Tuesday, February 22 nd before sunrise.

Hint for Option #1 1.Use the prompt/grammar/filled children of the field tag to ask a question. Modify what we’ve done to accept more than “1” and “2” as input, and have the computer say something different in response to each one I'm glad you like computers. Too bad that you don't like computers. I'm glad you like computers. Too bad that you don't like computers. =

Hint for Option #2 2.Use the prompt/grammar/filled children of the field tag to ask a question. Then, if the user inputs a “1”, have the computer repeat a phrase forever. If the user inputs a “2”, just have the computer say one thing. I hope you’ll like computers forever Too bad that you don't like computers. and ever + +

Another Hint for Option #2 2.Use the prompt/grammar/filled children of the field tag to ask a question. Then, if the user inputs a “1”, have the computer repeat a phrase forever. If the user inputs a “2”, just have the computer say one thing. … … Note that your single code can include multiple forms

More Advanced Phone Programming

Welcome to the fruit picker. apple out.fruit = "apple"; orange out.fruit = "orange"; pear out.fruit = "pear"; Pick a fruit. Please pick a fruit. You picked

Welcome to the fruit picker. apple out.fruit = "apple"; orange out.fruit = "orange"; pear out.fruit = "pear"; Pick a fruit. Please pick a fruit. You picked

Welcome to the fruit picker. apple out.fruit = "apple"; orange out.fruit = "orange"; pear out.fruit = "pear"; Pick a fruit. Please pick a fruit. You picked

Welcome to the fruit picker. apple out.fruit = "apple"; orange out.fruit = "orange"; pear out.fruit = "pear"; Pick a fruit. Please pick a fruit. You picked

Welcome to the fruit picker. apple out.fruit = "apple"; orange out.fruit = "orange"; pear out.fruit = "pear"; Pick a fruit. Please pick a fruit. You picked

Welcome to the fruit picker. apple out.fruit = "apple"; orange out.fruit = "orange"; pear out.fruit = "pear"; Pick a fruit. Please pick a fruit. You picked

Welcome to the fruit picker. apple out.fruit = "apple"; orange out.fruit = "orange"; pear out.fruit = "pear"; Pick a fruit. Please pick a fruit. You picked

Welcome to the fruit picker. apple out.fruit = "apple"; orange out.fruit = "orange"; pear out.fruit = "pear"; Pick a fruit. Please pick a fruit. You picked Major Components: 1.Block introduction 2.Field for user input 3.Grammar 4.Prompt 5.Filled (6. catch) Major Components: 1.Block introduction 2.Field for user input 3.Grammar 4.Prompt 5.Filled (6. catch)

Welcome to the fruit picker. apple out.fruit = "apple"; orange out.fruit = "orange"; pear out.fruit = "pear"; Pick a fruit. Please pick a fruit. You picked Grammar: Speech Recognition, not Touch Tone like before Grammar: Speech Recognition, not Touch Tone like before

Welcome to the fruit picker. apple out.fruit = "apple"; orange out.fruit = "orange"; pear out.fruit = "pear"; Pick a fruit. Please pick a fruit. You picked Grammar: Three possible answers: Apple, Orange, Pear Grammar: Three possible answers: Apple, Orange, Pear

Welcome to the fruit picker. apple red out.fruit = "apple"; orange out.fruit = "orange"; pear out.fruit = "pear"; Pick a fruit. Please pick a fruit. You picked Grammar: For Apple can say “apple” or “red” Grammar: For Apple can say “apple” or “red”

Welcome to the fruit picker. apple red out.fruit = "apple"; orange out.fruit = "orange"; pear out.fruit = "pear"; Pick a fruit. Please pick a fruit. You picked Filled: Repeats the input that is heard Filled: Repeats the input that is heard

Welcome to the fruit picker. apple red out.fruit = "apple"; orange out.fruit = "orange"; pear out.fruit = "pear"; Pick a fruit. Please pick a fruit. You picked No match with Grammar or No input at all: “Please pick a fruit” No match with Grammar or No input at all: “Please pick a fruit”

More Advanced Phone Programming: Full example with even more bells and whistles here: