Three Letter Acronym TLA An introduction to programming

  • Slides: 9
Download presentation
Three Letter Acronym ( TLA ) An introduction to programming concepts for children

Three Letter Acronym ( TLA ) An introduction to programming concepts for children

Overview n Functionality Commands for ‘Worm’ ¨ Literal commands: inch, right, green ¨ n

Overview n Functionality Commands for ‘Worm’ ¨ Literal commands: inch, right, green ¨ n Purpose A small, entertaining programming language ¨ Young people learn basic programming concepts ¨

Need for Change n Capitalizing on Learning Grades 4 or 5 ¨ Abstract reasoning

Need for Change n Capitalizing on Learning Grades 4 or 5 ¨ Abstract reasoning ¨ n Present limitations Too Complex ¨ Little relative value ¨

Architecture n Lexer & Parser ¨ n n Tree Walker GUI Front End ¨

Architecture n Lexer & Parser ¨ n n Tree Walker GUI Front End ¨ n Check syntax & grammar Applet accepts commands from ‘Inchworm’ object Back-end ¨ Generates ‘Inchworm’ object

Lexer & Parser n Lexer ¨ n Breaks code into tokens Parser ¨ Generates

Lexer & Parser n Lexer ¨ n Breaks code into tokens Parser ¨ Generates Syntax Tree

Tree Walking n Generates Back-end code

Tree Walking n Generates Back-end code

Front-end n n Applet wrapped with GUI receives commands from ‘Inch. App’ object

Front-end n n Applet wrapped with GUI receives commands from ‘Inch. App’ object

Error Testing n n Front-end, Back-end White box testing Verifying functions perform properly ¨

Error Testing n n Front-end, Back-end White box testing Verifying functions perform properly ¨ Ex: Testing our silkworms ability to draw a square ¨ n Black box testing Lexical conventions ¨ Proper parsing ¨

Conclusion & Suggestions n n n TLA bridges the programming age gap Teamwork and

Conclusion & Suggestions n n n TLA bridges the programming age gap Teamwork and division of labor are essential Timelines and strict deadlines should be maintained Anticipate time constraints and monitor program scope When all else fails make friendship bracelets. TLA pals for life.