Twinkle Sarah Alkuhlani Anwesha Deb Neethi Vedamoorthy Shilpa
Twinkle Sarah Alkuhlani Anwesha Deb Neethi Vedamoorthy Shilpa Miriyala Faiza Khan Khattak
Introduction Twinkle An imperative, interpreted language For Child care givers: Parents, sisters, . . etc To Create interactive activities for young children
Introduction Motivation: Provide a simple way to create customized activities for young children
Introduction Watch Listen Say family
Introduction Watch Listen Say daddy
Introduction Watch Listen Say grandma
Introduction Watch Listen Say sleep
Introduction Watch Listen Say eat
Introduction Watch Listen Say drink
Introduction Press a key… and learn A apple
Introduction Press a key… and learn C cat
How does a program in Twinkle look like? ? Basic unit of a twinkle program: ELEMENT screen 5 Text in any color image Sound/speech
How does a program in Twinkle look like? ? Collection of elements : Activity is called by : ACTIVITY MAIN Element 1 Element 2 Element 3 CALLS main
Working example Let’s Count
Working Example Press the right number. .
Working Example Excellent !! 5 5
Working Example Press the right number. .
Working Example Oh oh. . Try Again !! 6
Syntactic Constructs Activity Lets. Count { 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”, “Lets. Count. jpg”, ”count. wav”, ”RED”); } main { } show(title, 5); show. And. Test (numbers, pictures, colors, question, answers, keys); start(Lets. Count);
Syntactic Constructs Other Constructs Conditionals (if/else) Looping constructs (while, loop) Built-in functions show. Element show. All show. Message showif. Pressed show. And. Test is. Pressed say
Architecture Interactive Output Screen *. t Let’s Count Front End Let’s Count Lexer & Parser Syntax Tree Back End Walker & Interpreter Twinkle Action Performer ANTLR grammar. g walker. g Key Listener Text to Speech Converter
Tools and Environment Development tools Eclipse 3. 5 Java 1. 6 SDK , Swing ANTLR 3. 2 Free. TTS , Sun Microsystems Words. Eye, Semantic LLC AT&T Labs Natural Voice Java Swing- Display Management tools Google Code – version control Microsoft Office 2010 Windows
Testing Black box testing. White box testing. Unit testing. Integration and Regression testing. System testing.
Lessons Learnt Working in a team with people we never met before. Diversity Women team
Why Twinkle? Educational Economical Simple Unique
Thanks
- Slides: 26