BuiltWithNOF
CIS-123 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

    Hanly:
    Chapter 2, Section 2.3, Pages 43 - 45 (Input/Output)
    Chapter 9, Section 9.3, Pages 388-389 (Formatting)
    Formatting Handout

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

Reading Assignment

    Internet:
    WWW.GRAPHICSMAGICIAN.COM

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