BuiltWithNOF
Week 3

Compile-Link Process, Variables,
 Data Types, Constants,
Assignment Statements

Topics

  • Understand the Compile Link process
  • Variables
  • Variable naming rules
  • Data Types (int, double, char)
  • Constants
  • Assignment statement
  • Arithmetic operators (+, -, *, /, %)
  • Integer vs. float division
  • Precedence & parentheses
  • Comments
  • Standard Header / Required Comments
  • Computer language syntax

At the end of the week you should be able to:

  • Identify the proper data type to use for a variable
  • Declare variables and constants within a C++ program.
  • Convert a series of math operations into a syntactically correct C++ math expression
  • Evaluate a C++ math expression to find its numerical value
  • Know the difference between integer and floating point division.
  • Place comments in your C++ program.

Reading Assignment

    Savitch:
    Section 2.2, Pages 50 - 59 (Input/Output)
    Section 6.2, Pages 319-325 (Formatting) [7th 323-337] [6th 317-331]

    Pirsig:
    Chapter 9, Pages 92 - 97 ( Problem Solving) [Harper 128-135]

Take-Home Programming Assignment

Reading Assignment

    Internet:
    WWW.GRAPHICSMAGICIAN.COM

[Home] [About Me] [Office Hours] [CIS 098] [CIS 110] [CIS 114] [CIS 121] [Online Video] [Books] [Week 1] [Week 2] [Week 3] [Week 4] [Week 5] [Week 6] [Week 7] [Week 8] [Week 9] [Week 10] [Week 11] [Week 12] [Week 13] [Week 14] [Week 15] [Week 16] [CIS 123] [CIS 127] [CIS 170] [CIS 207] [CIS 226] [CIS 227] [CIS 230] [CIS 262] [COL 101]