CPGM 120 - Introduction to Python Programming
4 Credit: (2 lecture, 2 lab, 0 clinical) 4 Contact Hours:
This course investigates programming and problem solving using the Python programming language. It will focus on program design, sequences and dictionaries, functions, control structures, and working with files. Planning, testing, debugging and style are emphasized throughout.
OFFERED: spring semesters
Course Goals/ Objectives/ Competencies:
Goal 1: Define the programming development process.
- Design programs by identifying Input, Process, Output (IPO).
- Develop the program algorithm.
- Incorporate flowcharting.
- Use desk checking to test the design.
- Differentiate between syntactical and logical coding errors.
Goal 2: Implement programming control structures.
- Correctly incorporate variables and constants.
- Incorporate the control structures of sequence, selection, and repetition.
- Utilize nesting structures for both selection and repetition.
Goal 3: Create programs which utilize Sequences and Dictionaries.
- Create and initialize lists and tuples.
- Refer to elements of lists, tuples and strings.
- Create new sequences using slicing techniques.
- Use Dictionaries to represent unordered collections of key-value pairs.
- Create, initialize and refer to elements of dictionaries and sets.
Goal 4: Apply user defined functions.
- Create void and value passing functions.
- Pass lists and tuples to functions.
- Return multiple values from a function via a tuple.
Goal 5: Build programs that work with files.
- Develop programs to read, write, and update files.
- Develop programs to read and write CSV files.
Add to Portfolio (opens a new window)