On the fifth day of our code camp, we’ll continue to expand your programming knowledge and capabilities. You’ll delve into conditional statements using “if(){} else if(){},” gaining the ability to control program flow based on various conditions. Furthermore, we’ll explore comparison operators like “==”, “===”, “!=”, “<“, “>”, “>=”, “<=”, as well as logical conjunctions “&&” and “||” to enhance your decision-making skills in coding.
You’ll also embark on a journey to create your own functions, a pivotal skill in coding. You’ll learn about parameters, those variables that functions can accept, and put this knowledge to work in practical exercises, like programming a “doubler” function. We’ll guide you in calling functions, understanding what arguments are, and even having a function return a value.
As we progress, we’ll introduce you to the concept of loops using “while(){}”. Moreover, you’ll be introduced to the principles of object-oriented programming, which is foundational for organizing and structuring code efficiently. These objectives aim to provide you with a comprehensive skill set for tackling increasingly complex programming challenges.
Objectives
- Understand if(){}else if(){}
- Understand Comparison Operators and logical conjunctions
- ==
- ===
- !=
- <
- >
- >=
- <=
- &&
- ||
- Be able to create a function
- Understand what a parameter is
- doubler function progra
- Be able to call a function
- Understand what an argument is
- Have a function return a value
- Understand while(){}
- Example: simpleWhile
- Become familiar with object-oriented programming