0% found this document useful (0 votes)
2 views21 pages

Grade 6 - Programming Techniques

The document outlines essential programming techniques, emphasizing the importance of identifying inputs, goals, and tasks to achieve desired outputs. It introduces computer programming as a means to instruct computers through artificial languages and highlights tools like algorithms and flowcharts for problem-solving. Additionally, it discusses the differences between algorithms and flowcharts, providing examples and tasks for practical application.

Uploaded by

aritraparekh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views21 pages

Grade 6 - Programming Techniques

The document outlines essential programming techniques, emphasizing the importance of identifying inputs, goals, and tasks to achieve desired outputs. It introduces computer programming as a means to instruct computers through artificial languages and highlights tools like algorithms and flowcharts for problem-solving. Additionally, it discusses the differences between algorithms and flowcharts, providing examples and tasks for practical application.

Uploaded by

aritraparekh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 21

Programming

Techniques
Identify Your Input
Input is essential known information that is
required to solve the problem.

For example: If you have to plan a birthday


party for yourself. You need to have a list of
guest,
venue should be decided etc.
Identify the goal or objective and
create a list of tasks to achieve
your objective
The goal is what you define as your
end result. This is a description of
the work you need to accomplish.

For example: By the end of the day,


I must finish my school work, project activity and I
must play with my friends too.
When you have finished
your task, you’ll get the
desired output
Final result is your output

And if your steps don’t lead to your goal then you


have not solved the problem and you should
start again from step 1
Task
You are going for a school picnic.

❏ Write about the inputs (things you already


know)
❏ Create a list of work to achieve your goal.
(Planning)
❏ Final result (desired output)
❏ A computer is a useful tool for solving a
great variety of problems. To make a
computer perform a task, you have to write
a Computer Program.
❏ In a computer program, you tell a
computer, step by step exactly what you
want it to do.
❏ The computer then executes this program,
following each step mechanically, to
accomplish the goal.
a computer (using any computer language) to
accomplish
a task
❏ A Computer Programming Language is an artificial
language designed to communicate with a
machine.
❏ It is made up of instructions (Commands) that
enables humans to communicate with computers.
❏ Some of the popular computer languages are
BASIC, LOGO, C, C++, Java, HTML etc.
Programming
Tools
Powerful programming tools are:
1. Algorithm :
An algorithm is a step-by step method for
solving a problem or doing a task.

2. Flowchart :
Flowchart is a graphical representation of
an algorithm. It is a diagrammatic
representation of the step-by-step solution
to a given problem.
Algorithm
Flowchart
These flowcharts play a vital role in the
programming of a problem and are quite helpful in
understanding the logic of complicated and lengthy
problems.Once the flowchart is drawn, it becomes
easy to write a program in any high level language.
Ad
va n
s ta ge
of
Flo
wc
ha rt
Difference between
Flowchart and Algorithm
Example :
Write an algorithm and draw the
flowchart for finding the average of two
numbers
Algorithm : Flowchart :
Task :
Write an algorithm
and
draw the flowchart
for
finding the
difference
of two numbers
Write an Algorithm and draw the
Flowchart for finding the greatest
of three number and submit your
work.

You might also like