Nov 24, 2024  
2018 - 2019 Catalog 
    
2018 - 2019 Catalog [ARCHIVED CATALOG]

Add to Portfolio (opens a new window)

CST 283 - Principles of Computer Programming II

Credits: 4


Introduces data structures and object-oriented programming. Includes array processing, sorting and searching algorithms, and pointer variables, and recursive programming. Studies data storage and retrieval using lists, stacks, queues, and trees. Utilizes object oriented programming methods including classes, composition, and inheritance. Credit may be earned in CST 283, CST 280, or CST 281 and CST 282 combined, but not in more than one.

Prerequisite(s): CST 180  or CST 183 .
Corequisite(s): None
Lecture Hours: 60 Lab Hours: 0
Meets MTA Requirement: None
Pass/NoCredit: No

Outcomes and Objectives 1.     Demonstrate computer literacy skills to successfully use software development environments.

     A.          Utilize an integrated development environment to create a project workspace.

     B.          Enter and edit program source code using a text editor.

     C.          Manage multiple project, data, and source code files.

     D.          Use a compiler to check program diagnostics and correct syntax errors.

2.    Perform critical analysis to create working software solutions.

     A.          Analyze alternative solutions to a given programming problem and select the best approach.

     B.          Develop and implement a variety of testing strategies to verify correctness of programs.

     C.          Diagnose and debug syntax, run-time, linker, and logic errors to create a working and correct software solution.

     D.          Document program source code for clarity and readability using accepted documentation standards including comments, indentation, and
                   other techniques.

     E.          Integrate and re-use previously working program code into new software development.

     F.           Develop systematic test plans, create test cases and test data to verify program correctness.

     G.          Execute tests and correct logic errors based on test results.

     H.          Build user-friendly computer programs for a variety of real-world problems.

3.    Define and practice basic principles for software engineering and design.

     A.          Describe a variety of simple design methods and techniques for computing algorithms.

     B.          Define information hiding, its value, and how it is implemented using a programming language.

     C.          Define fundamental software engineering principles including the software life cycle, software quality, and basic software testing methods.

     D.          Define the value of software documentation and utilize basic documentation techniques including definition of preconditions and
                  post-conditions.

     E.          Describe methods to desing generic and re-usable data structures and classes.

4.    Implement abstract data types as basic custom classes.

     A.          Define the concept and value of data abstraction.

     B.          Define the abstraction levels for defining data including the abstract, implementation, and application levels.

     C.          Describe basic classifications of abstract data type operations and distringuish between transformers and observers for a variety of data
                   structures.

     D.          Create and apply a basic class to implement and abstract data type.

     E.          Describe the purpose and value of class constructors.

     F.           Define “set” and “get” methods necessary for a class to protect private data members.

     G.          Instantiate objects, and call their member functions, and apply objects to solve a basic software problem.

5.    Examine a problem domain and model an object-oriented solution.

     A.          Identify object attributes and behaviors and determine significant events that define a problem.

     B.          Specify objects that exist within system boundaries and identify object relationships and interactions.

     C.          Determine hierarchical relationships between objects and determine the need for inheritance to implement object oriented principles.

     D.         Classify object relationships in terms of access, ownership, inheritance.

6.    Design classes to implement object-oriented solutions.

     A.          Use access specifiers in class creation.

     B.          Create destructor member functions and define the necessity for destructors.

     C.          Describe the necessity and implementation of copy constructors for various dynamically allocated classes.

     D.          Pass objects to functions.

     E.          Categorize accessor, mutator, and iterator member functions.

     F.          Specify scope of objects, methods, and attributes.

     G.         Describe different access specifiers for derived classes.

     H.         Override base class functions in the derived class.

     I.           Use virtual functions to implement polymorphism.

     J.          Distinguish between assignment and initialization.

7.    Apply various data structures to solve problems.

     A.         Describe fundamental operations of a sequential list.

     B.         Describe, analyze, and modify unsorted and sorted lists implemented with arrays.

     C.         Implement array-based list searching using both linear search and binary search.

     D.         Describe, analyze, and modify unsorted and sorted lists implemented with linked structures.

     E.         Build general data nodes for use in various dynamic data structures.

     F.          Apply an array-based list class to implement a software solution to a practical problem.

     G.         Apply a linked list class to implement a software solution to a practical problem.

     H.         Describe and trace linked list implementations using arrays.

     I.           Describe variations of linked lists including circular and doubly linked lists.

     J.          Describe the fundamental operations of a stack abstract data type including push and pop.

     K.          Describe, analyze, and modify stack classes implemented with arrays.

     L.          Describe, analyze, and modify stack classes implemented with linked structures.

     M.         Apply a stack class to implement a practical software solution to a practical problem.

     N.         Convert arithmetic expressions to and from infix notation, prefix notation, and postfix notation and convert arithmetic expression patterns
                  using stacks.

     O.         Describe the fundamental operations of a queue abstract data type including enqueue and dequeue.

     P.          Describe, analyze, and modify queue classes implemented with arrays.

     Q.         Describe, analyze, and modify queue classes implemented with linked structures.

     R.         Describe a basic queuing simulation using a random number generator.

     S.         Apply a queue class to implement a practical software solution to a practical problem.

8.    Apply tree data structures to solve problems.

     A.          Define a tree data structure and differentiate from a common tree and a binary tree.

     B.          Describe the fundamental operations of a binary search tree including special terminology related to tree data structures.

     C.          Describe, analyze, and modify a binary search tree implemented using linked structures.

     D.          Apply a queue class to implement a practical software solution to a practical problem.

     E.          Define tree traversal patterns including preorder, inorder, and postorder traversals.

     F.          Relate binary tree traversal patterns to creation and overall balance.

     G.         Describe a binary expression tree and relate tree traversal patterns to arithmetic infix, prefix, and postfix notation.

     H.         Define a heap data structure and its relationship to trees.

     I.          Implement a heap using arrays and describe the algorithms for inserting and deleting data with heaps.

     J.          Describe and analyze a heap implemented using linked structures.

     K.          Apply a heap to class to implement a priority queue.

     L.          Describe the purpose of hashing and the function of a hash function.

     M.         Compare and contrast a hash table with a list and define attributes of a good hash funchtion.

     N.         Describe methods for managing data collisions for a hash table operation.

     O.         Describe and trace a data structure build using hashing and chaining of linked lists.

     P.          Define a graph data structure and represent the edge set and vertex set of a graph.

     Q.         Compare and contrast undirected graphs, directed graphs, and weighted graphs.

     R.          Represent a graph data structure using an adjacency matrix.

     S.          Describe the fundamental operations of a graph data structure.

     T.          Define graph traversal patterns including depth-first and breadth-first search.

     U.         Describe various problems for which graphs can be applied to represent data patterns.

9.    Apply recursive programming to solve problems.

     A.          Compare and contrast recursive and iterative algorithms.

     B.          Define the value and appropriate uses of recursive programming.

     C.          Create recursive algorithms including definition of the base case and general case for function returns.

     D.         Trace recursive algorithms and define the behavior of computer algorithms running recursive algorithms.

     E.          Implement a variety of algorithms using recursive approaches.

     F.          Integrate recursive strategies into sorting algorithms as well as for processing various non-linear data structures.

10. Analyze algorithms for information manipulation from various data structures.

     A.          Define the basic concept of algorithm efficiency including the definition of the order of magnitude (big-O) of an algorithm.

     B.          Define the basic concept of algorithm efficiency including the definition of the order of magnitude (big-O) of an algorithm.

     C.          Analyze and measure the efficiency difference between the linear search and binary

     D.          Describe a high probability ordered search as an improvement to a linear search.

     E.          Describe and trace basic O(N2) sorting algorithms including bubble sort, selection sort, and insertion sort.

     F.          Describe and trace recursive O(Nlog2N) sorting algorithms including quicksort, mergesort, and heapsort.

     G.         Recognize the big-O for a collection of sorting algorithms and define the best and worst in terms of efficiency.

     H.         Measure numerous sorting algorithms for best and worst efficiency with a variety of list configurations.

11: Use constructs of a programming language to solve problems.

     A.          Implement programs applications separated into multiple file modules.

     B.          Evaluate bitwise operations including bitwise and, or, exclusive-or, shift, and compliment.

     C.          Define implementations of data structures using bitwise operations.

     D.          Utilize generic template classes for data type independence.

     E.          Describe and utilize the boolean (bool) data type in a variety of algorithms including an array of boolean values.

     F.          Define arrays, array indexing, and array processing using loops.

     G.         Apply dynamic data allocation with appropriate use of keyword “new.”

     H.         Define potential risks and errors that could occur using dynamic data allocation.

     I.           Perform hexadecimal counting and required conversations to and from decimals.

     J.          Explain exception handling and implement a basic exception handling programming construct.



Add to Portfolio (opens a new window)