0% found this document useful (0 votes)
61 views

Introduction To Programming

The document introduces programming and provides reasons to learn it, such as empowering creativity and solving problems. It discusses programming logic and concepts being taught through games and apps even before reading. It provides examples of logic using conditions and loops, and assigns an exercise to create a project in Visual Studio using C# that displays and moves a turtle on screen, turning it and changing the line color at different speeds.

Uploaded by

sanjeevdas123
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views

Introduction To Programming

The document introduces programming and provides reasons to learn it, such as empowering creativity and solving problems. It discusses programming logic and concepts being taught through games and apps even before reading. It provides examples of logic using conditions and loops, and assigns an exercise to create a project in Visual Studio using C# that displays and moves a turtle on screen, turning it and changing the line color at different speeds.

Uploaded by

sanjeevdas123
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 9

INTRODUCTION TO

PROGRAMMING
Sanjeev Das 28th Oct 2013

Why should I learn to program?


It empowers you and gives you tools express yourself in really cool ways Controls Robots and Machines Getting computer to solve complicated problems Turning creativity into an interactive reality Ideas made accessible to millions

Games and Apps teach programming logic and concepts before you can read.
Like learning a language, its best done young

Logic
Condition If ( a > b) { c = a b; . . } } If ( a < b ) { c= b a; . .

Loop
for (int i=0 ; i<5 ; i++) { //repeat 5 times.

Exercise

Todays Exercise
1 2 3
Using Visual Studio create a new project
Add library to project Write simple program using C#

Programming Steps
Show the turtle on screen Move the turtle on screen Turn the turtle 90 degree Repeat step 4 times Change color of line Set the speed of animation

THANK YOU

You might also like