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
‘#mastery18’ Articles at TC101 Fall 2015 https://kenscourses.com/tc101fall2015 Introduction to Programming Python and C++ Thu, 26 Nov 2015 05:09:28 +0000 en hourly 1 https://creativecommons.org/licenses/by/4.0/ #Mastery15 #Mastery16 y #Mastery18 #TC1017 https://kenscourses.com/tc101fall2015/2015/mastery15-mastery16-y-mastery18-tc1017/ Thu, 26 Nov 2015 05:09:28 +0000 https://eduardotorresb.withknown.com/2015/mastery15-mastery16-y-mastery18

Link

y

]]>
https://creativecommons.org/licenses/by/4.0/
Masteries 6 and 18 https://kenscourses.com/tc101fall2015/2015/masteries-6-and-18/ Thu, 26 Nov 2015 04:22:00 +0000 https://vanessabaeza.withknown.com/2015/masteries-6-and-18

 

Hope it helps!

 

]]>

 

Hope it helps!

 

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery 18 – Nested IF statements https://kenscourses.com/tc101fall2015/2015/mastery-18-nested-if-statements/ Thu, 26 Nov 2015 00:46:02 +0000 http://ilkapython.wordpress.com/?p=136

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery 18 https://kenscourses.com/tc101fall2015/2015/mastery-18-5/ Wed, 25 Nov 2015 19:27:01 +0000 http://octavioirg.wordpress.com/?p=210 ]]>  

Osprey Building a Nest
CC licensed photo by Rodney Campbell on Flickr

This post is about mastery number 18. The use of nested conditionals. I explained a simple example in the next video but I would also like to share other resources such as tutorialspoint.com’s exlanation of nested conditionals.

 

My video:

Take a look to it.

http://www.tutorialspoint.com/cplusplus/cpp_nested_if.htm

Another video I watched is about if/else interaction and nesting those loops.

I think the most important conditional that allows nesting is the if. You can read a nested bunch of if’s as: If this is true, the perform this if this is true, perform the next if this is true and so on… You could use opertaros such as && and || (and or) to simplify some nested conditionals and make your code easier.

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery 18 https://kenscourses.com/tc101fall2015/2015/mastery-18-4/ Wed, 25 Nov 2015 10:57:22 +0000 http://ivancortes96.wordpress.com/?p=123
  • Nesting of conditional statements
  • Here is the link for my video:

     

    ]]>
    https://creativecommons.org/licenses/by/4.0/
    mastery 18 https://kenscourses.com/tc101fall2015/2015/mastery-18-3/ Tue, 24 Nov 2015 20:40:31 +0000 http://fernandazm.wordpress.com/?p=118 Nesting conditionals 🙂

    Thanks for the help #MarinaRuelas

    ]]>
    https://creativecommons.org/licenses/by/4.0/
    #Mastery18 – Nesting of conditional statements https://kenscourses.com/tc101fall2015/2015/mastery18-nesting-of-conditional-statements/ Tue, 24 Nov 2015 04:27:42 +0000 https://ricardonewton.withknown.com/2015/mastery18---nesting-of-conditional-statements

    Hello this is of nesting statements. It is possible to nest if-else else statements; this means you can use this means using functions one inside another.

    96

    Normal 0 21 false false false ES-TRAD X-NONE X-NONE

    /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Tabla normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:Calibri; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-fareast-language:EN-US;}

     

     How to write a nested statement?

     

    For example, the syntax is the following…

    If (expression 1) {

      If(expression 2) {

       }

    }

     

    You can also nest an else if... else in a similar way as you nested the if statement.

     

    This type of statement allows a choice to be made between two alternatives. A choice must be made between more than two possibilities. For example, the sign function in mathematics returns a negative number if an argument is less than zero, returns a positive number if the argument is more than zero.

     

    I took this chart from http://www.programiz.com/sites/tutorial2program/files/flowchart-if-programming_0.jpg

     

    That explains a process for an if statement that also can be used nested.

     This program shows an example on how to use a nested statement and how it works.

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

     

     

    ]]>

    Hello this is of nesting statements. It is possible to nest if-else else statements; this means you can use this means using functions one inside another.

     

     How to write a nested statement?

     

    For example, the syntax is the following…

    If (expression 1) {

      If(expression 2) {

       }

    }

     

    You can also nest an else if… else in a similar way as you nested the if statement.

     

    This type of statement allows a choice to be made between two alternatives. A choice must be made between more than two possibilities. For example, the sign function in mathematics returns a negative number if an argument is less than zero, returns a positive number if the argument is more than zero.

     

    I took this chart from http://www.programiz.com/sites/tutorial2program/files/flowchart-if-programming_0.jpg

     

    That explains a process for an if statement that also can be used nested.

     This program shows an example on how to use a nested statement and how it works.

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

     

     

    ]]> 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/
    Masteries 18 & 20 https://kenscourses.com/tc101fall2015/2015/masteries-18-20/ Mon, 23 Nov 2015 14:30:33 +0000 http://hrglez.wordpress.com/?p=290

    Nesting of conditional statements

    ]]>
    https://creativecommons.org/licenses/by/4.0/
    Mastery 18 https://kenscourses.com/tc101fall2015/2015/mastery-18/ Fri, 30 Oct 2015 22:32:03 +0000 http://andreandradec.wordpress.com/?p=211

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