
Below are References and Resources.
In this Section Jump right into programming work along with me in this fun project. You will use and learn conditionals, logical operators, variables, strings concatenation and more.
What you will learn and do in the lab.
Set up the free tool repl.it to program in JavaScript
Group project explanation.
Understand and use variables.
Perform Basic math operations using variables.
Display variable values to the console.
Learn and use comments in your programs.
Learn to concatenate Strings.
After this project in the remainder of this section we do a quick
Concept Reinforcement
Exercise Reinforcement
Then a final Project
Dive Deeper into conditionals as we use the else statement in our project. Download and run the code and work along with me.
Understand Program Flow
Understand and use simple conditionals and logical operators
Code is the same from previous lecture testing performed and conditional operations are discussed.
Learn advanced testing techniques for sanity checks
Learn detailed conditional operations
Detailed explanation of if/ if else statements and problems that can arise
Solution to the if / if else Pitfalls use if / elsif / else to solve the Pitfalls introduced from the if / if else statements
We test to verify correct operation
Topics reviewed.
WOW! See how much programming that you know already?
Program flow
Comments
Variables
Arithmetic Operators
Assignment Operators
Data Types
Array
Conditionals
Logical Operators
Math functions
No code for this lecture
No code to download "LIVE LAB" please follow along in repl.it
Examples covered
Comments
Basic operations
Modulus
Assignment Operators
strings
Arrays
Use Math Function
Use Conditionals and logical operators
I set up problem for you please complete the code After trying look at the solution.
Download the "Your Project Skeleton" Follow along with the video and try to complete the code.
After you succeed or tried really hard download the solution and run it.
Function Introduction
Parameter
Arguments
Return
Multiple calls to the same function results stored in variables.
No code provided in the section the program is short please follow along in repl.it
Recursive function discussion
Skeleton setup
Solution to all functions
Concept Description of chain functions
Concept Description of Callback Functions
Example of chain functions
Example of Callback Functions
Using loops with call back functions
Global Vaiables description and example code.
Local Variables description and example code.
Please try to answer the quiz question.
Why are we seeing 1515 in the result?
Use code from the last lecture.
Concept description of let
Programming example of let
Overview of functions, I hope this helps.
Thank you
andrew
Review of data types
Objects as a custom data types
Script example of Arrays and Objects
Quiz to create an object.
Pause the video and create the object then see the solution
Big concept!!!
To make many objects just use a function to write the code once and call it each time you want to make an object. hence a constructor function. That is what functions are for.
Absolutely do not go forward until you understand constructor function go over this as many times as you need.
Use the constructor functions and prototypes to extend the employees
Use the constructor functions and prototypes to extend the employees
Use the constructor functions and prototypes to extend the employees
Classes Objects and for loops.
I step you through the circle problem
Break it down from hard coded object to loop generated objects and solutions
If you are brave download circle problem and generate the solution
If you need help use the circle skeleton file.
Then check your answer with the circle solution
We go through a discussion on class extends and super. This code is not long and I would like for you to please write this code out, every programmer needs hands on just writing code.
GOOD LUCK.
Andrew
We revisit the inheritance problem with the companies employee records. This time we use inheritance with class extends and super to solve the problem.
Have Fun!
Andrew
This is a first programming course at the University level. It is similar to programming courses that I teach at the City University of Seattle. I have over 20 years programming experience but more importantly I teach multiple programming courses at the University Level. I am a professional at teaching people to program. I know what questions and problems students will have before they even know themselves. I have designed the course to take you straight through the most difficult programming concepts and the student never even knew it was a difficult topic. However with my vast industry programming experience I also know what you need to know for a successful programming career position. So join the course today and start your exciting programming career.