Difference between revisions of "KTurtle/C3/Control-Execution/English"
(Created page with '{|border =1 !Visual Cue !Narration |- ||Slide Number 1 || Hello everybody. Hello Everybody. Welcome to this tutorial on '''Control Execution''' in '''KTurtle''' |- ||Slide N…') |
|||
| Line 16: | Line 16: | ||
Learning Objectives | Learning Objectives | ||
||In this tutorial, we will learn | ||In this tutorial, we will learn | ||
| − | 'while' loop and | + | ''''while'''' loop and |
| − | 'for' loop | + | ''''for'''' loop |
|- | |- | ||
| − | + | ||Slide Number 2 | |
| − | + | Learning Objectives | |
| − | + | ||In this tutorial, we will learn | |
| − | + | * 'while' loop and | |
| + | * 'for' loop | ||
| + | |- | ||
| + | || Slide Number 3 | ||
| − | + | '''System Requirement''' | |
| − | + | ||To record this tutorial I am using, | |
| − | + | Ubuntu Linux OS Version 12.04 | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| + | 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 | |
| − | + | |- | |
| − | + | ||Switch to KTurtle Application | |
| − | + | Dash home >>Search bar appears>> | |
| − | + | In the Search bar type KTurtle | |
| − | + | ||Let's open a new KTurtle Application. | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
Click on Dash home. The Search bar appears. | Click on Dash home. The Search bar appears. | ||
In the Search bar, type KTurtle. | In the Search bar, type KTurtle. | ||
Click on the option. | Click on the option. | ||
| − | KTurtle Application opens. | + | KTurtle Application opens. |
| − | + | |- | |
| − | + | || | |
| + | ||Let me first explain about what is control execution. | ||
| + | |- | ||
| + | ||Slide Number 5 | ||
| − | + | Control execution | |
| + | ||Control execution is controlling the flow of a program. | ||
| − | + | Different conditions are used to control program execution. | |
| − | + | |- | |
| − | + | ||Slide Number 6 | |
| − | + | Loop | |
| + | ||Loop is a block of code is executed repeatedly untill a certain condition is satisfied. | ||
| + | Eg. “while” loop and “for” loop | ||
| + | |- | ||
| + | || | ||
| + | ||Let's begin the tutorial with “while” loop | ||
| + | |- | ||
| + | ||Slide Number 7 | ||
| + | “while” loop | ||
| + | ||In the “while” loop, the code inside the loop repeats till boolean evaluates to 'false'. | ||
| + | |- | ||
| + | ||Slide Number 8 | ||
| − | + | Syntax of “while” loop | |
| − | + | ||Let me explain the structure of “while” loop. | |
| − | + | while loop condition { | |
| + | do something | ||
| + | with loop increment variable | ||
| + | } | ||
| + | |- | ||
Revision as of 16:41, 26 December 2012
| Visual Cue | Narration |
|---|---|
| Slide Number 1 |
Hello everybody. Hello Everybody. Welcome to this tutorial on Control Execution in KTurtle |
| Slide Number 2
Learning Objectives |
In this tutorial, we will learn
'while' loop and 'for' loop |
| Slide Number 2
Learning Objectives |
In this tutorial, we will learn
|
| Slide Number 3
System Requirement |
To record this tutorial I am using,
Ubuntu Linux OS Version 12.04 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 | |
| Switch to KTurtle Application
Dash home >>Search bar appears>> In the Search bar type KTurtle |
Let's open a new KTurtle Application.
Click on Dash home. The Search bar appears. In the Search bar, type KTurtle. Click on the option. KTurtle Application opens. |
| Let me first explain about what is control execution. | |
| Slide Number 5
Control execution |
Control execution is controlling the flow of a program.
Different conditions are used to control program execution. |
| Slide Number 6
Loop |
Loop is a block of code is executed repeatedly untill a certain condition is satisfied.
Eg. “while” loop and “for” loop |
| Let's begin the tutorial with “while” loop | |
| Slide Number 7
“while” loop |
In the “while” loop, the code inside the loop repeats till boolean evaluates to 'false'. |
| Slide Number 8
Syntax of “while” loop |
Let me explain the structure of “while” loop.
while loop condition { do something with loop increment variable } |