Difference between revisions of "KTurtle/C3/Programming-Concepts/English"
Line 4: | Line 4: | ||
|- | |- | ||
||Slide Number 1 | ||Slide Number 1 | ||
− | || | + | ||Hello Everybody. |
− | + | ||
− | + | ||
− | Hello Everybody. | + | |
Welcome to this tutorial on Programming concepts in KTurtle. | Welcome to this tutorial on Programming concepts in KTurtle. | ||
|- | |- | ||
||Slide Number 2 | ||Slide Number 2 | ||
+ | |||
Learning Objectives | Learning Objectives | ||
|| | || | ||
Line 18: | Line 17: | ||
* Write a program in KTurtle | * Write a program in KTurtle | ||
− | *Use variables to store user input | + | * Use variables to store user input |
− | *Use print command to print on canvas | + | * Use print command to print on canvas |
− | *Comment a line | + | * Comment a line |
|- | |- | ||
Line 41: | Line 40: | ||
|| | || | ||
We assume that you have basic working knowledge of KTurtle. | We assume that you have basic working knowledge of KTurtle. | ||
+ | |||
If not, | If not, | ||
− | + | ||
+ | for relevant tutorials, please visit our website, | ||
+ | |||
http://spoken-tutorial.org. | http://spoken-tutorial.org. | ||
|- | |- | ||
|| | || | ||
− | |||
||Before proceeding, we will discuss some basic information about KTurtle. | ||Before proceeding, we will discuss some basic information about KTurtle. | ||
|- | |- | ||
||Slide Number 5 | ||Slide Number 5 | ||
+ | |||
Sprite | Sprite | ||
||Turtle displayed on the canvas is called sprite. | ||Turtle displayed on the canvas is called sprite. | ||
+ | |||
Sprite is a small image that moves around the screen. | Sprite is a small image that moves around the screen. | ||
+ | |||
e.g. Cursor is a sprite. | e.g. Cursor is a sprite. | ||
|- | |- | ||
||Slide Number 6 | ||Slide Number 6 | ||
+ | |||
sprite Commands | sprite Commands | ||
||Spritehide command hides Turtle from canvas. | ||Spritehide command hides Turtle from canvas. | ||
+ | |||
Spriteshow command shows Turtle if it is hidden. | Spriteshow command shows Turtle if it is hidden. | ||
+ | |||
Clear command cleans all drawings from canvas. | Clear command cleans all drawings from canvas. | ||
|- | |- | ||
+ | ||Slide Number 7 | ||
+ | Symbols | ||
+ | ||In KTurtle, | ||
+ | $ sign is a container of variables. | ||
+ | *(asterisk) is used for multiplication of two numbers. | ||
+ | ^(caret) raises the power of a number. | ||
+ | #(hash) sign comments a line written after it. | ||
+ | sqrt is an inbuilt function to find square root of a number. | ||
+ | |- | ||
+ | ||Switch to Kturtle Application | ||
+ | Dash home >>Media Apps>>Under Type >>Education>>KTurtle | ||
+ | |||
+ | |||
+ | ||Let's open new KTurtle Application | ||
+ | Click on Dash home >> Media Apps. | ||
+ | |||
+ | Under Type, Choose Education and KTurtle. | ||
+ | KTurtle application opens. | ||
|- | |- | ||
+ | ||Press CTRL+ALT+T >> open the terminal >>type kturtle >>press enter to open | ||
+ | ||We can also open KTurtle Application from the terminal. | ||
+ | Press CTRL+ALT+T simultaneously to open the terminal. | ||
+ | Type KTurtle and press enter, KTurtle Application opens. |
Revision as of 16:28, 24 December 2012
Visual Cue | Narration |
---|---|
Slide Number 1 | Hello Everybody.
Welcome to this tutorial on Programming concepts in KTurtle. |
Slide Number 2
Learning Objectives |
In this tutorial, we will learn how to
|
Slide Number 3
System Requirement
|
To record this tutorial, I am using,
Ubuntu Linux OS Version 11.10. KTurtle version 0.8.1 beta. |
Slide number 4
Pre-requisites |
We assume that you have basic working knowledge of KTurtle. If not, for relevant tutorials, please visit our website, |
Before proceeding, we will discuss some basic information about KTurtle. | |
Slide Number 5
Sprite |
Turtle displayed on the canvas is called sprite.
Sprite is a small image that moves around the screen. e.g. Cursor is a sprite. |
Slide Number 6
sprite Commands |
Spritehide command hides Turtle from canvas.
Spriteshow command shows Turtle if it is hidden. Clear command cleans all drawings from canvas. |
Slide Number 7
Symbols |
In KTurtle,
$ sign is a container of variables.
^(caret) raises the power of a number.
sqrt is an inbuilt function to find square root of a number. |
Switch to Kturtle Application
Dash home >>Media Apps>>Under Type >>Education>>KTurtle
|
Let's open new KTurtle Application
Click on Dash home >> Media Apps. Under Type, Choose Education and KTurtle. KTurtle application opens. |
Press CTRL+ALT+T >> open the terminal >>type kturtle >>press enter to open | We can also open KTurtle Application from the terminal.
Press CTRL+ALT+T simultaneously to open the terminal. Type KTurtle and press enter, KTurtle Application opens. |