Train the Trainer Resources the Trainer Resources Hex Files Here - In this Topic we will explore the...
Transcript of Train the Trainer Resources the Trainer Resources Hex Files Here - In this Topic we will explore the...
![Page 1: Train the Trainer Resources the Trainer Resources Hex Files Here - In this Topic we will explore the Basic commands list and use some of the coding support features of the Makecode](https://reader034.fdocuments.net/reader034/viewer/2022051802/5af0cdfb7f8b9a572b8fe484/html5/thumbnails/1.jpg)
TraintheTrainerResources HexFilesHere-https://goo.gl/mQoVRV
http://microbit.org https://makecode.microbit.org/
InthisTopicwewillexploretheBasiccommandslistandusesomeofthecodingsupportfeaturesoftheMakecodeenvironment
OpentheMakecodewebsitehttps://makecode.microbit.org
ClickontheBasiccommandsthis.Familiariseyourselfwiththefunctionofeachcommand.
Areferenceguidecanbefoundathttps://makecode.microbit.org/reference/.FurthersupportcanbefoundabouteachcommandinMakecodebyRightClickingonablockandselectingHelp.
Tasks
Accessthereferenceguide
Rightclickoncommandblocksandaccesstheirhelpinformation
LearningObjectives1.Beginusingthebasicmicrobitcommandstocreatecomplexprograms2.Understandthefundamentalcomputerscienceprocessessuchasdebugging,pseudocodeandalgorithms3.Learnhowtosaveaprojectsandsharewithothers
ComputingConceptsUnderstandthatevenonlywithasmallnumberofcodecommandstocomplexprogramscanbecreatedUnderstandhowtocreateanalgorithmandwritePseudocodeLearnhowtodebugasimpleprogramandleavecomments
Topic2UsingBasiccommands
(notBASIC)
WritePsuedocodethatwilldisplayaflashingsmiley/sadface?
![Page 2: Train the Trainer Resources the Trainer Resources Hex Files Here - In this Topic we will explore the Basic commands list and use some of the coding support features of the Makecode](https://reader034.fdocuments.net/reader034/viewer/2022051802/5af0cdfb7f8b9a572b8fe484/html5/thumbnails/2.jpg)
TraintheTrainerResources HexFilesHere-https://goo.gl/mQoVRV
http://microbit.org https://makecode.microbit.org/
UsingyourPsuedocodeasaguide,andonlyusethingbasiccommandsandtheeventhandlerstocreateaprogram.Studentsshoulddiscoverthattheeventhandlersin
thebasiccommandrequiresthemtocreatedifferentcodetoachievethesameeffect.
Possiblesolutions Usethecommentfeatureofmakecodetoaddcommentstoyourcode.Rightclickonacommandblockwhereyouwanttoaddcomment.Thiswilladdalittlebluecirclewithaquestionsmark.
Hoveringthemouseovertheedgeofcommentboxwillallowittobemoved,sothatitisnotcoveringanycodeorothercommentsCommentscanalsobeusefultogivefeedbackfromteacherstostudents.Studentsneedtobeawarethatthisfeedbackisavailable.Commentsarenotpartofthecodeitself.Theywillnotappearonthemicro:bit,onlywhenthecodeisbeingdevelopedintheworkspace.
Whyisimportanttousecommentsinyourcode?
![Page 3: Train the Trainer Resources the Trainer Resources Hex Files Here - In this Topic we will explore the Basic commands list and use some of the coding support features of the Makecode](https://reader034.fdocuments.net/reader034/viewer/2022051802/5af0cdfb7f8b9a572b8fe484/html5/thumbnails/3.jpg)
TraintheTrainerResources HexFilesHere-https://goo.gl/mQoVRV
http://microbit.org https://makecode.microbit.org/
Beingabletoshareprogramsandalgorithmsisavitalaspectofsoftwaredevelopment.SuchasLibrariesandcommunitieslikeGitHubhelpdeveloperscreatebetterandmoreeffective
algorithmsandapplications.Withthemicro:bityoucansharecodebyclickingthisicon.ThiswillgenerateaURLwhichcanbeemailed/sharedwithothers.Thereisalsoanoptiontogenerateembedcode.Thiswillallowtheprojecttodisplayedonawebpage.**N.B.Remindstudentsthatwhentheysharethiscode.Itispublicandtheyshouldensurethattheircodeandcommentscontainnopersonalinformation.
Savingyourmicrobitcodeasprojectmeansthatyoucanworkonoveraperiodoftime.Saveyourworkandgiveitarelevantnameandclickthesaveicon.
Ifyouusethesamenameforthedevelopmentofaprogram,itwillautomaticallyincrementthefilename
Workwillbesavedasamicrobitfilecalleda.hexfile.Thiswillbeautomaticallysavedtothefolderassignedtothebrowserfordownloadingfiles.Hexfilesonlymakesensetoamicrobit,Youcanopenthesefilestoseewhatthecodelookslikebyusingasimpletexteditorlikenotepad.Openyourhexfilewithatexteditor
Howcouldyouusethesefeaturestodevelopcomputingwithstudents?
![Page 4: Train the Trainer Resources the Trainer Resources Hex Files Here - In this Topic we will explore the Basic commands list and use some of the coding support features of the Makecode](https://reader034.fdocuments.net/reader034/viewer/2022051802/5af0cdfb7f8b9a572b8fe484/html5/thumbnails/4.jpg)
TraintheTrainerResources HexFilesHere-https://goo.gl/mQoVRV
http://microbit.org https://makecode.microbit.org/
AnyworksavedcanbeaccesseddirectlywithintheMakecodeEnvironmentbyclicking
theProjectsiconandselectingMystuffSelectimportfilesandbrowsethecomputerfortheirfile.Oncetheychosenthefile.ClickGoaheadanditopenintheworkspace.AnotherwayistofindthehexfileinafolderonyourcomputerandclickanddraggingittotheworkspaceinMakecode.TasksPracticesavingandimportingyourHexfiles.Usebothmethodsandcompare. Howcouldyouusethesebeusefulforteachersindeliveringcomputinglessons?
![Page 5: Train the Trainer Resources the Trainer Resources Hex Files Here - In this Topic we will explore the Basic commands list and use some of the coding support features of the Makecode](https://reader034.fdocuments.net/reader034/viewer/2022051802/5af0cdfb7f8b9a572b8fe484/html5/thumbnails/5.jpg)
TraintheTrainerResources HexFilesHere-https://goo.gl/mQoVRV
http://microbit.org https://makecode.microbit.org/
TrainerReflection
PracticeexercisesCreateyourownprogram.Makeitascomplexaspossible.But,onlyusetheBASICcommands
Topic2UsingBasiccommands
(notBASIC)
Whathaveyoulearntinthistopic?
Whatelsedoyouthinkyouneedtoknowaboutthistopicandhowwillyoufindthisout?
Howmightyouintroducethistopictootherteachers?
Whatareasofthistopicmightbedifficulttoteachorunderstandforotherteachers?