Warning: The magic method Slickr_Flickr_Plugin::__wakeup() must have public visibility in /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php on line 152

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/feed-rss2.php on line 8
‘#mastery22’ Articles at TC101 Fall 2015 https://kenscourses.com/tc101fall2015 Introduction to Programming Python and C++ Thu, 26 Nov 2015 04:07:41 +0000 en hourly 1 https://creativecommons.org/licenses/by/4.0/ Masteries 22 and 25 https://kenscourses.com/tc101fall2015/2015/masteries-22-and-25/ Thu, 26 Nov 2015 04:07:41 +0000 https://vanessabaeza.withknown.com/2015/masteries-22-and-25

Here is my video to masteries 22 and 25

     

]]>

Here is my video to masteries 22 and 25

     

]]>
https://creativecommons.org/licenses/by/4.0/
#Mastery22 https://kenscourses.com/tc101fall2015/2015/mastery22-2/ Thu, 26 Nov 2015 03:42:17 +0000 http://jsphsalazar.wordpress.com/?p=164 ]]> On Python, there are three different ways of make a repetitive task:

for statement:

for loops are the best option when you want to repeat an action for a fixed amount of elements.

while statement:

The best moment for use a while loop is when you want a program to run a certain condition is reached.

recursion with functions

This one is better when you want to simplify your code or when the loops gets hard to do complex tasks.

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery 22: When to use what type of repetition in a program https://kenscourses.com/tc101fall2015/2015/mastery-22-when-to-use-what-type-of-repetition-in-a-program-3/ Wed, 25 Nov 2015 22:48:39 +0000 http://samanthariverac.wordpress.com/?p=312 Here is the video: https://youtu.be/lRInwlGtymU

Thanks for watching!!

 

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery #22 – When to use what type of repetition in a program https://kenscourses.com/tc101fall2015/2015/mastery-22-when-to-use-what-type-of-repetition-in-a-program-2/ Wed, 25 Nov 2015 20:48:25 +0000 http://dragv.wordpress.com/?p=164 ]]> Here’s my video of me explaining mastery #22.

Enjoy.

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery 21 and 22 https://kenscourses.com/tc101fall2015/2015/mastery-21-and-22/ Wed, 25 Nov 2015 11:36:20 +0000 http://ivancortes96.wordpress.com/?p=134 ]]>  

Here is the lin to the video:

 

Here is the link for the Prezi presentation from Fernanda Zapata:

https://prezi.com/uzl5h9nlzwti/masteries-21-22/?utm_campaign=share&utm_medium=copy

Here is the link to the website that gives you more information:

http://c.conclase.net/curso/?cap=024

]]>
https://creativecommons.org/licenses/by/4.0/
Recursion and Loops https://kenscourses.com/tc101fall2015/2015/recursion-and-loops/ Wed, 25 Nov 2015 07:38:18 +0000 http://eduardomacielm.wordpress.com/?p=316 Here is my video tutorial about recursion and when to use what kind of loop:

]]>
https://creativecommons.org/licenses/by/4.0/
Masteries 21 & 22 https://kenscourses.com/tc101fall2015/2015/masteries-21-22-3/ Wed, 25 Nov 2015 06:04:43 +0000 http://carminaperezguerrero.wordpress.com/?p=153 Use of recursion for repetitive algorithms

When to use what type of repetition in a program

]]>
https://creativecommons.org/licenses/by/4.0/
Matery 22 https://kenscourses.com/tc101fall2015/2015/matery-22/ Wed, 25 Nov 2015 04:04:59 +0000 http://opezaimd.tumblr.com/post/133906465560 On this mastery I’ll show you when to use what type of repetition in a program. 

For the purpose of this mastery, we’ll focus on while and for loops because they are the easiest and most used ones.

On mastery 19 we learned how to use a while loop. The while loop consists of something that will happen WHILE a condition is given. For example: WHILE x is greater or equal than 0, something will happen, and this process will continue to happen WHILE this condition is true.

On mastery 20 we learned how to use a for loop. A FOR loop is a type of loop which allows you to give specific conditions to it, and then repeat when this conditions are true.

Now, while and for may be seem like they are the same, but they certainly ain’t. The main difference between them is that FOR loops will continue happening for a given number of iterations. 

As you may recall, functions often use a for loop because of the iteration part. In someway, FOR loops are “better” when dealing with functions, while WHILE loops are great to work with inside main().

Picture and more information from this webpage.

]]>
On this mastery I’ll show you when to use what type of repetition in a program. 

For the purpose of this mastery, we’ll focus on while and for loops because they are the easiest and most used ones.

On mastery 19 we learned how to use a while loop. The while loop consists of something that will happen WHILE a condition is given. For example: WHILE x is greater or equal than 0, something will happen, and this process will continue to happen WHILE this condition is true.

On mastery 20 we learned how to use a for loop.

A FOR loop is a type of loop which allows you to give specific conditions to it, and then repeat when this conditions are true.

Now, while and for may be seem like they are the same, but they certainly ain’t. The main difference between them is that FOR loops will continue happening for a given number of iterations. 

As you may recall, functions often use a for loop because of the iteration part. In someway, FOR loops are “better” when dealing with functions, while WHILE loops are great to work with inside main().

Picture and more information from this webpage.

]]>
https://creativecommons.org/licenses/by/4.0/
#Mastery22 – When to use what type of repetition in a program https://kenscourses.com/tc101fall2015/2015/mastery22-when-to-use-what-type-of-repetition-in-a-program-2/ Tue, 24 Nov 2015 13:39:08 +0000 https://ricardonewton.withknown.com/2015/mastery22-when-to-use-what-type-of-repetition-in-a

Hello this is about repetitions in programs. A repetition is an integral part of a programming language. These repetitive operation or sentences are named as ”iterations”. An iteration means that a process is repeated again and again. To do this, the principal method is the loop which are commonly used in any programming work. Loops are used when wanting to reduce a process into simpler coding, when something has to be repeated on and on.  Loops are the basis of the repetition in any programming language.  There are different types of loops of course, like while, for etc.

 

While- a code of bock that uses a while has to include a condition to be valid and for it to compile and work correctly. They allow the program to perform a particular action while a set condition is true.

 

 

 


Break and continue- It can be used to end a loop before some condition. If you type continue, the loop continues to do its work, obviously.

 

This processes enables the programs to repeat an action as long as a particular set condition remains true.

 

A for loop is another kind of repetition when coding in c++. A for loop can provide the beginning of the loop, obviously a condition and updates like…

( i=0 ; i

 

 

 

 

 WATCH MY VIDEO  https://youtu.be/R6TX6gDnFhg

 

]]>

Hello this is about repetitions in programs. A repetition is an integral part of a programming language. These repetitive operation or sentences are named as ”iterations”. An iteration means that a process is repeated again and again. To do this, the principal method is the loop which are commonly used in any programming work. Loops are used when wanting to reduce a process into simpler coding, when something has to be repeated on and on.  Loops are the basis of the repetition in any programming language.  There are different types of loops of course, like while, for etc.

 

While- a code of bock that uses a while has to include a condition to be valid and for it to compile and work correctly. They allow the program to perform a particular action while a set condition is true.

 

 

 


Break and continue- It can be used to end a loop before some condition. If you type continue, the loop continues to do its work, obviously.

 

This processes enables the programs to repeat an action as long as a particular set condition remains true.

 

A for loop is another kind of repetition when coding in c++. A for loop can provide the beginning of the loop, obviously a condition and updates like…

( i=0 ; i

 

 

 

 

 WATCH MY VIDEO  https://youtu.be/R6TX6gDnFhg

 

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery 18 & 22 https://kenscourses.com/tc101fall2015/2015/mastery-18-22/ Tue, 24 Nov 2015 02:18:20 +0000 http://davidg2897.wordpress.com/?p=242 ]]> Mastery 18 – Nesting of conditional statements

Here’s WSQ 09, in which I use nesting of conditional statements.

Capture.JPG

Mastery 22 -When to use what type of repetitions on a program.

There are two types of loops in Python, while and for loops, when you want to make a repetition indefinite number of times to use a while, this will go until a condition is met. When you know the number of repetitions you need to make you use a for loops, which go the number of times you tell it to go.

Capture
This is a for loop from my WSQ 11
Capture
This is a while loop from my WSQ 06

]]>
https://creativecommons.org/licenses/by/4.0/