sarah alkuhlani anwesha deb neethi vedamoorthy shilpa miriyala faiza khan khattak
TRANSCRIPT
Sarah AlkuhlaniAnwesha DebNeethi VedamoorthyShilpa MiriyalaFaiza Khan Khattak
An imperative, interpreted language
Twinkle
Create interactive activities for young children
For
To
Child care givers:Parents, sisters, .. etc
Motivation:
Provide a simple way to
create customized activities
for young children
familyWatch
Listen
Say
daddyWatch
Listen
Say
grandmaWatch
Listen
Say
sleepWatch
Listen
Say
eatWatch
Listen
Say
drinkWatch
Listen
Say
applePress a key…
and learn
A
catPress a key…
and learn
C
Basic unit of a twinkle program: ELEMENT
screen
5 Text in any color
image
Sound/speech
Element1
Element 2
Element 3
mainCALLS
Collection of elements :ACTIVITYACTIVITYActivity is called by :MAINMAIN
Let’s Count
Let’s Count
Press the right number..
5
Excellent !!
5
Press the right number..
Oh oh.. Try Again !!
6
Activity LetsCount { list numbers = (“1”, “2”, “3”, “4”, “5”); list pictures = (“1.jpg”, “2.jpg”, “3.jpg”, “4.jpg”, “5.jpg”); list answers =(“1.wav”, “2.wav”, “3.wav”, “4.wav”, “5.wav”);
list keys = (“1”, “2”, “3”, “4”,“5”); list colors = ("red", "blue", "black", "green", "brown");
var question=”Press the right key”;
Element title(“Let’s Count”, “LetsCount.jpg”, ”count.wav”, ”RED”);
show(title, 5);showAndTest (numbers, pictures, colors, question, answers, keys);
} main {
start(LetsCount); }
Other Constructs
Conditionals (if/else if/else)
Looping constructs (while, loop)
Built-in functions show showElement showAll showMessage showifPressed showAndTest isPressed say
Lexer & Parser
Lexer & Parser
Syntax Tree
Syntax Tree
Walker &InterpreterWalker &
Interpreter
ANTLRANTLR
grammar.g walker.g
Twinkle Action
Performer
Twinkle Action
Performer
Key Listener
Key Listener
Text to Speech
Converter
Text to Speech
Converter
*.t*.tInteractive Output
ScreenInteractive Output
Screen
Front End Back End
Let’s Count
Let’s Count
Eclipse 3.5Java 1.6 SDK , SwingANTLR 3.2 FreeTTS , Sun MicrosystemsWordsEye, Semantic LLCAT&T Labs Natural Voice
Java Swing- Display
Google Code – version controlMicrosoft Office 2010Windows
Black box testing.
White box testing.
Unit testing.
Integration and Regression testing.
System testing.
Working in a team with people we never met before.
Diversity
Women team
Educational
Economical
Simple
Unique
Thanks