Overview

Table of Contents

Introduction of Computers and Programming Introduction to C++ Programs Variables, Data Types, and Assignment Statements Input and Output Mathematical Expressions If Else - Simple Control Flow Relational Operators and Boolean Expressions Multiway Branching For Loop and While Loops Using Loops - Do While Loops Introduction to Arrays Programming with Arrays Multidimensional Arrays Functions

Objectives

Introduction to concepts underlying computer science programming: design and execution of programs, sequential nature of programs, use of assignment, control and input/output statements to accomplish desired tasks, design and use of functions, and strutred and object-oreiented methodlogies.

Taught with the C++ programming language, but the concepts apply to most programming languages.

Goals

  • To list and explain the stages in creating and running a computer program.
  • To understand the constraints of a computer's abilities
  • To explain what a variable is To list, explain, read, and use the arithmetic and logical operations performed by a computer.
  • To list, explain, read, and use different statements: assignment, selection, repetition, input, andoutput.
  • To understand how functions work, write and use them properly in a program
  • To design, implement, and use arrays to accomplish tasks
  • To analyze goals and requirements for a program, and develop from the analysis a programdesign
  • To evaluate a program design to see if it satisfies a set of the goals and requirements
  • To implement a program design in a good error-free code
  • To run and test a program to see if it satisfies requirements
  • To use an Integrated Development Environment (IDE)

Resources

Books: Starting Out with C++: Early Objects, 9th Ed., Tony Gaddis, Judy Walters, Godfrey Muganda,Pearson, ISBN: 0-13-440024-0

If you are new to C++ or find that you need more information about any of the topics presented, we recommend that you consult a resource such as the C++ Reference or a C++ Tutorial.