Math 1220: Scientific Programming

Credit hours

3 credit hours 

Prerequisites

Math 1200 or Math 1200C/0200C with a minimum grade of C 

Course Description

This course offers instruction in scientific programming using a current programming language.  Problems, both numerical and non-numerical, are programmed and solved using a personal computer.   

Course Objectives

  1. Establish a firm foundation in the principals of scientific programming
  2. Solve problems using algorithms  
  3. Become familiar with a current programming language 

Learning Outcomes

  1. Understand and apply the principles of the five-step process for scientific programming (Problem-SolutionAlgorithm-Pseudocode-Source Code) by solving and documenting scientific programming projects 
  2. Employ basic C++ language and syntax to develop source code for scientific programming projects 
  3. Utilize fundamental principles of mathematical logic to define control structures for complex scientific programming projects 
  4. Apply C++ structures for functions, input/output files, and arrays to solve large, complex, scientific programming problems 
  5. Develop the professional skills to work as part of a scientific/engineering team by preparing technical documentation for all parts of the five-step process for scientific programming

Course Topics

I.  INTRODUCTION TO COMPUTING

  1. Overview of computer technology 
  2. Introduction to the programming process
    1. Problem definition to pseudocode
    2. Source code 
    3. Compile/Link/Run

II.  PROBLEM DEFINITION TO PSEUDOCODE 

  1. Well-defined problem
  2. Deriving a solution
  3. Algorithm: writing a recipe to implement the solution
  4. Pseudocode: almost a high-level language code

III. WRITING THE SOURCE CODE: PART 1

  1. Declaring variables
    1. Data types and compatibility 
  2. Collecting data: input commands
  3. Using commands and syntax to implement the pseudocode 
    1. Arithmetic operators
    2. Elementary control loops  
  4. Displaying results: output commands
    1. Formatting data
  5. Documentation: include comments in the code  

IV. RUNNING THE CODE 

  1. Compile/Link/Run 
  2. Debugging 

V. WRITING THE SOURCE CODE: PART II

  1. Using predefined functions 
  2. User-defined functions 
  3. Local vs. global variables and constants 
  4. Advanced techniques for using data in functions 
  5. Input/output via data files 

VI. CONTROL LOGIC AND COMMANDS: MORE APPLICATIONS 

  1. If-else statements
  2. Do-while loops 
  3. For-statements 

VII. LIBRARIES OF FUNCTIONS 

  1. Predefined libraries  
  2. User defined libraries

VIII. Arrays 

  1. Introduction to arrays
  2. Arrays in functions
  3. Multidimensional arrays

Reach Out

Contact Mathematics

Picking the right math courses to start your academic career at CCRI can help you move more quickly towards graduating, transferring, or moving into a career.

Contact Us  

Top