0% found this document useful (0 votes)
15 views9 pages

How To Do Iterations (Pseudo Codes All Formats)

Uploaded by

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

How To Do Iterations (Pseudo Codes All Formats)

Uploaded by

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

sites.google.

com/site/computing9691/
Zafar Ali Khan

How to do Iterations
For AS/O level students.
Greetings Sir,

You are right that such is the problem and students find iterations difficult. No doubt about that.

I have devised my own way for that and until now I have found it VERY successful. So go on and read…

At first I teach:

 What is counting (count = count +1)


 Totaling (total = total + …)
 Sequence
https://sites.google.com/site/computing9691/downloadable-files-
cabinet/SequenceExercises.ppt
 Decisions (IF…THEN…ELSE)
https://sites.google.com/site/computing9691/downloadable-files-cabinet/DecisionExercises.ppt
 Case…Endcase
https://www.facebook.com/groups/computing9691/permalink/408353522570896/
 Flowcharts of sequence and decisions.

Now the trouble part starts; i.e. Iterations. To teach this fully I mostly use OL past papers questions and
their flowcharts.
https://www.facebook.com/groups/computing9691/386913994714849/

And divide them in five different formats: That is:

Format 1: Simple For…Next Loop

Format 2: While…Endwhile/Wend Loop

Format 3: Repeat…Until Loop

Format 4: Nested For…Next Loop.

Format 5: Everything else that has no iteration in it.

sites.google.com/site/computing9691/
Zafar Ali Khan
sites.google.com/site/computing9691/
Zafar Ali Khan

sites.google.com/site/computing9691/
Zafar Ali Khan
sites.google.com/site/computing9691/
Zafar Ali Khan

Make your students learn these formats (ONE BY ONE and BY HEART) and their application to the
mentioned questions. Then ask them to use a HLL language to write program for these. Then bring
variety to it and march them to solve Array problems, file manipulation using format 1, functions,
recursion vs. iteration, questions where they have to find out problems etc. Alongside make sure they
are doing flowcharts and dry runs.

Now look into images below. Solve few questions from every format and upload that if you like to.
Remember not every line of the format is always used but only those which are required.

sites.google.com/site/computing9691/
Zafar Ali Khan
sites.google.com/site/computing9691/
Zafar Ali Khan

sites.google.com/site/computing9691/
Zafar Ali Khan
sites.google.com/site/computing9691/
Zafar Ali Khan

sites.google.com/site/computing9691/
Zafar Ali Khan
sites.google.com/site/computing9691/
Zafar Ali Khan

sites.google.com/site/computing9691/
Zafar Ali Khan
sites.google.com/site/computing9691/
Zafar Ali Khan

sites.google.com/site/computing9691/
Zafar Ali Khan
sites.google.com/site/computing9691/
Zafar Ali Khan

sites.google.com/site/computing9691/
Zafar Ali Khan
sites.google.com/site/computing9691/
Zafar Ali Khan

BEST OF LUCK.

HAPPY TEACHING AND LEARNING.

sites.google.com/site/computing9691/
Zafar Ali Khan

You might also like