Posts

Nested loop

Image
Nested loop is a loop that consists of two or more loops. Inner loop is executed before the outer loop execution continues. YouTube video

Different types of loops

Image
There are different types of loops available: One of the kinds of a loop is a for loop. For loop specifies a set number of times the code inside of this loo needs to be executed. While loop is the type of a loop when it is unknown of how many times steps inside of the loop will be executed. Check for the loop condition can be in the beginning or at the end of the loop. YouTube video

Loops in programming

Image
Loops in programming are repetition of executing the code as long as loop condition is true or there is a forced exit from the loop. YouTube video

Compound Boolean operations

Image
Compound Boolean operation is the result of entire Boolean operation if that expression consists of more than one Boolean operation. Most common compound Boolean operations are: AND, OR, NOT. YouTube video

Comparison Boolean operators

Image
Comparison operators such as equal, not equal, grater than , less then an others are used in if statement to compare values. YouTube video

Conditional statements

Image
Conditional statements indicate that specific code needs to be executed in a case when conditional statement results to true. I will go over details of a condition statement later, I am just giving a brief overview of what a conditional statement is. It is possible to specify more then one condition. The code of the first one which results in true will be executed. It is possible to have a default section within if statement. Default section is optional. It will be executed only in a case, when all other conditions result in false. In a chart, if statements are often represented with a rhombus sign. It splits code execution based on outcome of the conditional statement. YouTube video