KTurtle/C3/Programming-Concepts/English

From Script | Spoken-Tutorial
Revision as of 16:28, 24 December 2012 by Madhurig (Talk | contribs)

Jump to: navigation, search
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

  • Write a program in KTurtle
  • Use variables to store user input
  • Use print command to print on canvas
  • Comment a line
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,

http://spoken-tutorial.org.

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.

  • (asterisk) is used for multiplication of two numbers.

^(caret) raises the power of a number.

  1. (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.

Contributors and Content Editors

Madhurig