You are on page 1of 17

BASIC PROGRAMMING

SESSION-1

Presented by :
Suci Nirmala
Nur Anwar
What is Computer ?

• electronic machine that stores and process data

Input Process Output

Feedback
What is Program ?

A set of instructions to tell a


computer how to perform a task.
What is Programming ?

Programming is Art of making a


computer do what you want it
to do.
Why people do programming ?

To create something useful or just simply because it is fun to program.


Computer and Programming

A computer is a general purpose machine;

programming gives it a specific purpose.


What we need to program?

• An Idea to create something specific


• A Computer to execute our program
• Programming tools such as compiler, interpreter & text editor.
• God’s help to make it happened.. :D
Let’s Start Programming…

https://studio.code.org/s/mc/stage/1/
puzzle/1
Three basic logic structures in
computer programming

Sequences

Looping

Else - If
Sequences

an action, or event,
leads to the next
ordered action in a
predetermined
order.
Repeat loops

loop is a sequence of instructions that


is continually repeated until a certain
condition is reached
IF-ELSE STATEMENT

IF is a statement to be executed if a
condition is true.

ELSE is a statement to be executed


if a condition is false.
Drawing

• https://studio.code.org/s/artist/stage/1/puzzle/1
END OF SESSION

You might also like