diff --git a/INFO-1272 (JS 1)/Notes/Midterm/index.html b/INFO-1272 (JS 1)/Notes/Midterm/index.html index 892d84e..1f72c53 100644 --- a/INFO-1272 (JS 1)/Notes/Midterm/index.html +++ b/INFO-1272 (JS 1)/Notes/Midterm/index.html @@ -1,123 +1,141 @@ - - Midterm Study - - - -

Midterm Study

-

Introduction to Web Pages

-
    -
  1. A web page is a container for the following three technologies. Describe the purpose of each for a web page:
  2. - -
-

Answers:

+ + Midterm Study + + + + +

Midterm Study

+

Introduction to Web Pages

+
    +
  1. A web page is a container for the following three technologies. Describe the purpose of each for a web page: +
  2. -
    +
+

Answers:

+ +
-

Introduction to javascript

-
    -
  1. Browser pop-up dialogue box functions
  2. - -
-

Answers:

+

Introduction to javascript

+
    +
  1. Browser pop-up dialogue box functions
  2. -
    +
+

Answers:

+ +
-

Data Types and Variables

-
    -
  1. Name JavaScript's three data types. Describe the types of data they store
  2. -
  3. JavaScript is a weakly-typed language. Describe what this means.
  4. -
  5. What are the naming rules for a variables name? What are naming conventions?
  6. -
  7. What is a constant in JavaScript? Describe how you would declare a JavaScript constant.
  8. -
-

Answers:

-
    -
  1. Number, String and Boolean
  2. -
  3. weakly-typed language implies that data types do not need to be defined at initialization, the compiler will decide, cast and convert the data type unless explicitly cast
  4. -
  5. A naming convention is a recommended way of naming variables to ensure readability and organize code. JavaScript uses camelCase for variables and classes and UPPER_SNAKE_CASE for constants
  6. - +

    Data Types and Variables

    +
      +
    1. Name JavaScript's three data types. Describe the types of data they store
    2. +
    3. JavaScript is a weakly-typed language. Describe what this means.
    4. +
    5. What are the naming rules for a variables name? What are naming conventions?
    6. +
    7. What is a constant in JavaScript? Describe how you would declare a JavaScript constant.
    8. +
    +

    Answers:

    +
      +
    1. Number, String and Boolean
    2. +
    3. weakly-typed language implies that data types do not need to be defined at initialization, the compiler will + decide, cast and convert the data type unless explicitly cast
    4. +
    5. A naming convention is a recommended way of naming variables to ensure readability and organize code. + JavaScript uses camelCase for variables and classes and UPPER_SNAKE_CASE for constants
    6. + let customerAge = 23;
      const ONT_TAX_RATE = 0.13;
      -
    7. A constant is a variable whose value cannot be changed once initialized, making it constant. To define a constant, use the "const" keyword.
    8. -
    -
    +
  7. A constant is a variable whose value cannot be changed once initialized, making it constant. To define a + constant, use the "const" keyword.
  8. +
+
-

Operators

-
    -
  1. Explain the following binary operators: + - * / %
  2. -
  3. Explain the multiple uses of the + operator.
  4. -
  5. Describe how the increment/decrement operators (++ and --) work.
  6. -
-

Answers:

-
    -
  1. The + operator is used to get the sum, the - operator is to get the difference, the * operator multiplies, the / operator divides and the % (modulus) operator determines if two numbers divided have a remainder and how much of one
  2. -
  3. The + operator can be used to add two numbers together to find their sum, or you can use it to concatenate multiple Strings together.
  4. -
  5. The ++ (increment) operator is used to increase the value of a variable by exactly one. The -- (decrement) operator is used to decrease the value of a variable by exactly 1.
  6. -
-
+

Operators

+
    +
  1. Explain the following binary operators: + - * / %
  2. +
  3. Explain the multiple uses of the + operator.
  4. +
  5. Describe how the increment/decrement operators (++ and --) work.
  6. +
+

Answers:

+
    +
  1. The + operator is used to get the sum, the - operator is to get the difference, the * operator multiplies, + the / operator divides and the % (modulus) operator determines if two numbers divided have a remainder and + how much of one
  2. +
  3. The + operator can be used to add two numbers together to find their sum, or you can use it to concatenate + multiple Strings together.
  4. +
  5. The ++ (increment) operator is used to increase the value of a variable by exactly one. The -- (decrement) + operator is used to decrease the value of a variable by exactly 1.
  6. +
+
-

The JavaScript Math object

-
    -
  1. Describe the operation and the return for the following Math methods:
  2. - -
-

Answers:

+

The JavaScript Math object

+
    +
  1. Describe the operation and the return for the following Math methods:
  2. -
    +
+

Answers:

+ +
-

JavaScript Number Methods

-
    -
  1. Describe the operation and the return for the following Number methods:
  2. - -
-

Answers:

+

JavaScript Number Methods

+
    +
  1. Describe the operation and the return for the following Number methods:
  2. +
+

Answers:

+ +
+ +

Playground

+

Interactive JavaScript follows

+ + + - - \ No newline at end of file diff --git a/INFO-1272 (JS 1)/Notes/Midterm/index.js b/INFO-1272 (JS 1)/Notes/Midterm/index.js index e454c94..e69de29 100644 --- a/INFO-1272 (JS 1)/Notes/Midterm/index.js +++ b/INFO-1272 (JS 1)/Notes/Midterm/index.js @@ -1,30 +0,0 @@ -// Window dialogue boxes -window.alert("This is an alert!"); -window.prompt("This is a prompt"); -window.confirm("This is a confirm"); - -// Data types -let userAge = Number("22"); -let userName = String("Levi"); -let isAdmin = Boolean(1); -console.log("User age: " + userAge); -console.log("User name: " + userName); -console.log("Is admin? " + isAdmin); - -// Weakly-typed variables - -// Constants - -// Operators - -// Math object methods - -// Number object methods - -// String object methods - -// Selection structure - -// Functions - -// Repitition structure \ No newline at end of file diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/FAQ.png b/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/FAQ.png new file mode 100644 index 0000000..72bee5f Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/FAQ.png differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/careers.png b/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/careers.png new file mode 100644 index 0000000..6e59706 Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/careers.png differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/contact.png b/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/contact.png new file mode 100644 index 0000000..ddae7ac Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/contact.png differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/returns.png b/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/returns.png new file mode 100644 index 0000000..170207c Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/returns.png differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/shop.png b/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/shop.png new file mode 100644 index 0000000..375c38b Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/shop.png differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/stores.png b/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/stores.png new file mode 100644 index 0000000..ce2dfd0 Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/stores.png differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/McLean_Project1_displayAds.psd b/INFO-1274 (Graphic Design)/Projects/Project 1/McLean_Project1_displayAds.psd new file mode 100644 index 0000000..617ed12 Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/McLean_Project1_displayAds.psd differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/McLean_Project1_website.jpg b/INFO-1274 (Graphic Design)/Projects/Project 1/McLean_Project1_website.jpg new file mode 100644 index 0000000..d828fe4 Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/McLean_Project1_website.jpg differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/McLean_Project1_website.psd b/INFO-1274 (Graphic Design)/Projects/Project 1/McLean_Project1_website.psd new file mode 100644 index 0000000..8a180f7 Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/McLean_Project1_website.psd differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/bubble-tea-1.jpg b/INFO-1274 (Graphic Design)/Projects/Project 1/bubble-tea-1.jpg new file mode 100644 index 0000000..179e26d Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/bubble-tea-1.jpg differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/bubble-tea-2.jpg b/INFO-1274 (Graphic Design)/Projects/Project 1/bubble-tea-2.jpg new file mode 100644 index 0000000..a17630e Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/bubble-tea-2.jpg differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/bubble-tea-3.jpg b/INFO-1274 (Graphic Design)/Projects/Project 1/bubble-tea-3.jpg new file mode 100644 index 0000000..3d0d259 Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/bubble-tea-3.jpg differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/planet 3.jpg b/INFO-1274 (Graphic Design)/Projects/Project 1/planet 3.jpg new file mode 100644 index 0000000..72d7401 Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/planet 3.jpg differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/planet-1.jpg b/INFO-1274 (Graphic Design)/Projects/Project 1/planet-1.jpg new file mode 100644 index 0000000..2e999d2 Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/planet-1.jpg differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/planet-2.jpg b/INFO-1274 (Graphic Design)/Projects/Project 1/planet-2.jpg new file mode 100644 index 0000000..8385104 Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/planet-2.jpg differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/planet-4.jpg b/INFO-1274 (Graphic Design)/Projects/Project 1/planet-4.jpg new file mode 100644 index 0000000..32fa422 Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/planet-4.jpg differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/planet-5.jpg b/INFO-1274 (Graphic Design)/Projects/Project 1/planet-5.jpg new file mode 100644 index 0000000..b5082b2 Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/planet-5.jpg differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/planet-5.psd b/INFO-1274 (Graphic Design)/Projects/Project 1/planet-5.psd new file mode 100644 index 0000000..63c7fb2 Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/planet-5.psd differ