CMPSC 201 - Ch. 1 Notes

Objective #1: Explain the differences between low-level languages and high-level ones ranging from Assembly to C/C++ to Basic.

Objective #2: Explain the differences between interpreted languages and compiled ones. C++ is usually compiled, while Basic is usually interpreted.

Objective #3: Explain the differences between procedural programming and object-oriented programming (OOP).

Objective #4: List a number of common, popular languages.

Objective #5: List and explain each of the Programming Process.

    1. Development & Design
    2. Documentation
    3. Maintenance

      Within the Development & Design step, the following steps are detailed:

      1. Analyze the Problem
        1. What to do?
        2. What are the expected outputs?
        3. What inputs will I have?
      2. Develop the Solution
      3. Code the Solution
      4. Test & Correct the Solution

Objective #6: List and explain different examples of documentation.

Objective #7: List and explain the four basic types of statements: sequence, selection (if), iteration (loops), & invocation (functions).

if (score >= 60)
{
   cout << "I passed" << endl;
}
else
{
   cout << "I failed" << endl;
}


while (num < 10)
{
   cout << "hello world" << endl;
   num = num + 1;
}

Objective #8: Explain the importance of a test plan and the importance of developing it before developing and coding the solution.

Objective #9: Explain the differences between using pseudocode and flowcharts to developing a program's algorithm.