Module-Two-Variables-Strings-Numbers(1).pdf - COMP 1073 MODULE TWO VARIABLES OPERATORS AND STRINGS COMP1073 MODULE TWO VARIABLES OPERATORS STRINGS

# Module-Two-Variables-Strings-Numbers(1).pdf - COMP 1073...

This preview shows page 1 - 10 out of 38 pages.

MODULE TWO VARIABLES, OPERATORS, AND STRINGS COMP 1073
COMP1073 - MODULE TWO - VARIABLES, OPERATORS & STRINGS SCHEDULE Cool Links Review from last week Getting To Know Variables, Operators & Strings Putting It Into Practice Quiz One
COMP1073 - MODULE TWO - VARIABLES, OPERATORS & STRINGS COOL STUFF - the-front-end-world-2544c1814e2
COMP1073 - MODULE TWO - VARIABLES, OPERATORS & STRINGS RECAP FROM LAST CLASS … We can think of a website as a cake (what are the THREE layers?) We try to keep the layers as separate as possible JavaScript allows us to add INTERACTIVITY to our static webpages JavaScript can be used client-side or server-side
COMP1073 - MODULE TWO - VARIABLES, OPERATORS & STRINGS LET’S GET STARTED!
INTRO One of the most fundamental components of a programming language is the ability to store, update, and manipulate pieces of data. This week's lesson will focus on how JavaScript handles the creation of variables, the different types of data that can be stored in a variable, and how that data can be manipulated. COMP1073 - MODULE TWO - VARIABLES, OPERATORS & STRINGS
OBJECTIVES This week, we will seek to achieve the following: Declare, initialize and update variables Differentiate between numbers, strings, booleans, arrays, and objects Conduct basic math operations including arithmetic, increment/decrement, assignment, and comparison Create and manipulate strings COMP1073 - MODULE TWO - VARIABLES, OPERATORS & STRINGS
PART ONE - VARIABLES COMP1073 - MODULE TWO - VARIABLES, OPERATORS & STRINGS
DECLARING VARIABLES Before using a variable in JavaScript, we need to DECLARE it type the keyword var or let followed by the name you want to call your variable var myName; COMP1073 - MODULE TWO - VARIABLES, OPERATORS & STRINGS

#### You've reached the end of your free preview.

Want to read all 38 pages?

• Spring '19