LEARN TO CODE BOOKLET 1 WITH CODE CHAMP WELCOME TO THE CODING PLAYGROUND
About the BookletThis booklet is a basic guide for the learner to learn the basics of coding worldAudienceThe recommended age is 8 and aboveCopyright & Disclaimer© Copyright 2016 by Code Infinity Asia Sdn. Bhd.All the content, except for the graphics published in this book are property of Code Infinity Asia Sdn. Bhd. The user of this bookis prohibited to copy, distribute or republish any contents or a part of content of this book in any manner without written consentof the publisher.We strive to update the contents of our website and tutorials as timely and as precisely as possible, however, the contents maycontain inaccuracies or errors. Code Infinity Asia Sdn. Bhd. provides no guarantee regarding the accuracy, timeliness orcompleteness of our website or its contents including this tutorial. If you discover any errors on our website or in this tutorial,please notify us at [email protected]
_______________’s Book <Your name>
Welcome young master. I am Dr. Oid, yourguide for this wonderful journey. I will guide youto explore CodeChamp!Ready to go? Come on follow me!
Please have the Startup Flyer found in the Code Infinity KitLaunch available web browser in your computerVisit www.codeinfinity.asia and Click Sign in using the Login Key and Password provided in your Startup flyer in the kit. Once logged in successfully, we shall proceed to the next page
Now Young Masters, Lets startswith our 1st lesson . I will bringyou a small tour to the world ofCodeChamp.
Welcome to Code Champ. Manywonderful thingscan be done by putting theblocks together
Tool Box : Contains the buttons to control CodeChamp Tool BoxStage : To display the result StagePalette Palette : Contains blocks which passes instructions to computer
Script Area Script area containing script for sprite named SpaceshipScript area containing scriptfor sprite named Staqxbot
Costumes Sounds Area AreaCostumes area containing Sounds area containingcostumes for sprite named sounds for sprite namedStaqxbot. Can contain more Staqxbot. Can contain morethan 1 costume than 1 sound
These are availableblocks.Do you wish to knowthese blocks functions?Follow me!
Move forward or backward in astraight line Move to specific coordinatesTurn in clockwise direction Turn in anticlockwise directionMove forward or backward alongx-axis Move forward or backward along y-axis
Click the green flag to executecodes Press any specified key to execute codeWait 1 seconds until next code isexecuted Forever executes the codes in it
Switch to costume specified Show the sprite Hide the spriteEnlarges sprite size by 10 Decreases sprite size by 10
Perform mentioned actions whentouching sprite Displays x-axis coordinateDisplays y-axis coordinate
Play selected sound Stop all sounds that is playingPlay selected notefor beat level
Value on left side is smaller than thevalue on right side Value on left side is larger than the value on right sideAutomatically generatesany random numbersbetween 1 to 10. Anynumbers, including neg-ative numbers can bespecified too
Start leaving pen trail Stop leaving pen trail
Create new variable Set a variable to 0Change variable by 1Young minds, able tofollow? More interestingthings to come. Lets go!
Young masters, lets learn somebasic programming terms used inthis booklet series.
Sprite - Character that is shown in stageStage containing only one Stage containing more thanSprite one SpriteStack - Two or more blocks Example of a Stackattached together in the containing two blocksscripting area
Parameter - Values that is passed into a function. The result or output variesdepending on the parameters passed Block shown is an example of a function and the output depends on the number passed into the functionParameter slot - Slot that enables user to input parameter value into afunction In this example, the slot containing number 10 is the parameter slot for the block and the parameter value is 10 How do you feel discovering the new terms? Excited? Yes lets discover more!
Variable - Used to store information to be referenced and manipulated in acomputer program Block shown is an example of a function containing a variable named score and parameter value 0 Block shown is an example of a function where the variable named score is manipulated It is getting more and more interesting, don’t you think so? Lets move on to booklet 2!
E-mail [email protected] www.codeinfinity.asia
Search
Read the Text Version
- 1 - 24
Pages: