Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
3Activity
0 of .
Results for:
No results containing your search query
P. 1
Control Structures

Control Structures

Ratings: (0)|Views: 86 |Likes:
Published by Janelle Calle

More info:

Published by: Janelle Calle on Jan 14, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPT, PDF, TXT or read online from Scribd
See more
See less

02/10/2012

pdf

text

original

 
Introduction to Programming 1
1
6Control Structures
 
Introduction to Programming 1
2
Obj
ectives
 At the end of the lesson, the student should be able to:
U
se decision control structures (if, else, switch) which allowsselection of specific sections of code to be executed
U
se repetition control structures (while, do-while, for) whichallow executing specific sections of code a number of times
U
se branching statements (break, continue, return) whichallows redirection of program flow
 
Introduction to Programming 1
3
Control Structures
C
ontrol structures
allows us to change the ordering of how the statements in our programs are executed
T
wo types of 
C
ontrol Structures
decision control structures
allows us to select specific sections of code to be executed
repetition control structures
allows us to execute specific sections of the code a number of times

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->