Line

Advanced Computer Programming
AERSP 424

Line

Prof. Lyle N. Long
The Pennsylvania State University

Office Hours: Room 233 Hammond Bldg.

214 Boucke Bldg.
Tues. & Thurs., 12:05 - 1:20 PM

Teaching Assistant: TBD
Office Hours:
Email:

This course presents an advanced view of computer programming, mainly using C++. The use of current operating systems (e.g. Linux and Unix) and compilers (e.g. gcc) will also be presented. Object Oriented Programming will also be discussed in detail. Object Oriented Programming is quite different than functional or procedural programming, and it is difficult to learn on your own. The differences and similarities between Java and C++ will also be discussed. Hands-on programming will be a key part of the course. As Robert Glass says in his "Facts and Fallacies" book, it will be important for you to be able to read codes (as well as write them).

The goal of this course is to introduce and study key concepts related to computer programming for scientific and engineering applications.

This is an important course, and should be quite valuable for you, whether you plan to do computational science or robotics or .... in my opinion every undergrad and grad student at Penn State should take a course like this. I have had numerous graduate students tell me that this was the most useful course they had at Penn State. These students were from many different departments: Meteorology, Mathemtics, Astrophysics, Chemical Engineering, etc.

Programming is difficult learn. It requires practice. But with this many students, it is very difficult to assign and critique lots of code. I'll do the best I can, but you need to put in your time to really learn this stuff.

Keep in mind that it takes most people at least five years to really become proficient in a particular computer programming approach.

If you are already quite familiar with C++ and OOP this is not the course for you. Consider taking CMPSC 450, CSE 557, or NucE 530 instead of this course.

Outcomes: Students who successfully complete this course will be able to:

  1. Apply and develop object oriented code.
  2. Develop software for a variety of architectures (e.g. Windows, Unix, and Linux).
  3. Choose an appropriate computer language (e.g. C++, Java, Ada) for a given project.
  4. Demonstrate basic knowledge of parallel programming concepts (e.g. MPI, OpenMP, threads, etc.) (covered more fully in CMPSC 450, CSE 557 and NucE 530)
  5. Demonstrate basic knowledge of software engineering concepts (covered more fully in AERSP 440)

AERSP 424 can be used to help satisfy the requirements for the Graduate Minor in Computational Science .

This course can also be used for the Undergraduate Minor in IST for Aerospace Engineering .

The Detailed course notes are only available to students in course. .

Outline:

  • Introduction
    • Computers available for this course
    • The History of Computing
    • The Future of Computing
    • Trends in Programming Languages
  • Linux
  • Utilities: vi, emacs, dbx, make, cvs, and IDE's
  • Brief Introduction to Software Engineering
  • C++
    • Intro to C++
    • Basics
    • Control and Arrays
    • Pointers
    • Structures, Classes, and Objects
    • Operator Overloading
    • Input / Output
    • Templates
    • C++ vs. Java
  • Brief Discussion of Java, C#, and Objective-C
  • Parallel Computing
    • MPI
    • OpenMP
    • Threads
  • Conclusions

Course Homepage: http://www.personal.psu.edu/lnl/424/
(only available to students in course)

Required Textbooks: None

Other useful sources:

  1. "C++ and Object-Oriented Numeric Computing", by D. Yang
  2. "JAVA for Scientists and Engineers," 2nd Edition, by S. Chapman, Prentice-Hall
  3. Running Linux, 4th Edition, Welsh, Kaufman, Dalheimer, and Dawson
  4. Core C++, by Shtern, Prentice Hall
  5. "Core Java," by Horstmann and Cornell, Prentice Hall
  6. "Software Engineering," by Ian Sommerville
  7. "Facts and Fallacies of Software Engineering," by Robert L. Glass
  8. "Code Complete," by Steve McConnell
  9. "The Mythical Man Month,": by Frederick P. Brooks
  10. "Parallel Scientific Computing in C++ and MPI," by Karniadakis and Kirby
  11. "Parallel Programming with MPI," by Pacheco

Required Compilers: C++ compiler (g++)

Computers:

    You should also get an account on the PSU Linux Cluster

Course Conduct:

    There will be (roughly) weekly homework assignments and three midterm exams (one will be during final exams week).

Grading :

         25% Homework 
         75% Three exams
        
    When I grade homework problems or exam questions, I use a scale something like this:
                         94-100 A
                         90-93  A-
                         87-89  B+
                         84-86  B
                         80-83  B-
                         75-79  C+
                         60-74  C
                         40-60  D
                         <40    F
    

Homework:

    Homework will be posted here and you will submit to Canvas

    Make sure you do all the reading assignments listed on the course webpages also.

    The exams will test whether you did these. They won't take that much time, do them and learn all you can in the process!

    You can work in groups of two (but no more than two). If you need help, please send me or the TA the proper info, otherwise we cannot help you.

    You will loose 10% for each day your homework is late.

  • Please, Please Please!!!!
    • Be on time for class !!! It is very disruptive to have people walk in late. You will be penalized for coming in late.
    • Turn off all cell phones!!!
    • Don't talk during class unless we are having a discussion
    • Do not bring a laptop to class, you cannot concentrate on the course if you have a laptop
    • You need to have a pad of paper and a pen. You need to take notes. No one can remember everything discussed in class.

    Academic Integrity:

      Faculty Senate Rule 49-20 states, in part, "Academic integrity is the pursuit of scholarly activity free from fraud and deception and is an educational objective of this institution."

      Integrity is more important than grades. Any violation will be dealt with seriously.

      Warren Buffett looks for three things in new hires: integrity, intelligence, and energy. And he says "If you don't have integrity now, you never will."

    Class Attendance:

      Class attendance is required; the lectures will include material not included in the webpages. Therefore, if you miss class, you will need to get notes from a classmate.

    Prerequisites: CS 201C or equivalent

    See Also: AERSP 440: Introduction to Software Engineering

    Required statement: Penn State welcomes students with disabilities into the University's educational programs. Every Penn State campus has an office for students with disabilities. The Office for Disability Services (ODS) Web site provides contact information for every Penn State campus: http://equity.psu.edu/ods/dcl. For further information, please visit the Office for Disability Services Web site: http://equity.psu.edu/ods.

    In order to receive consideration for reasonable accommodations, you must contact the appropriate disability services office at the campus where you are officially enrolled, participate in an intake interview, and provide documentation: http://equity.psu.edu/ods/guidelines. If the documentation supports your request for reasonable accommodations, your campus’s disability services office will provide you with an accommodation letter. Please share this letter with your instructors and discuss the accommodations with them as early in your courses as possible. You must follow this process for every semester that you request accommodations.

    Line
    Last modified: Friday, 10-Nov-2017 12:39:22 EST
    Line