You are on page 1of 4

Software Technology Department

Course Syllabus
COMPRO2 / Advanced C Programming (3 units) Prerequisite COMPRO1 Prerequisite to OBJECTP Type of Course Basic ITE Core / Lecture and Lab
Instructor Term/Days and Time/Room : : Shirley Chu (shirley.chu@delasalle.ph) Consultation hours: appointment through email Term 3, AY 2012-2013
S11 S12 MW TH 0940 1110 0800 0940 G304A G302A

Class e-group Name Course Description:

sites.google.com/a/delasalle.ph/COMPRO231213

This advanced course for computer programming in C covers the representation and manipulation of data structures. It serves as a foundation for future courses that the students will encounter throughout the Computer Science program.

Learning Outcomes:
At the end of this course, the student is expected to be able to: LO1. Analyze programming problems that requires the use of data structures and files, and design algorithms to solve these problems LO2. Analyze programming problems to know the necessary solution components such Critical and Creative Thinker as types of data and data structures, data representation and acquisition, data processing, output presentation. Code solutions on data representation, acquisition, and processing in the C language, and test and debug the code for errors LO3. Follow a standard process and style for programming in C. Effective Communicator, Reflective Life-long Learner LO4. Write C programs individually or in pairs. Critical and Creative Thinker, LO5. Demonstrate the applications functions and explain correctly the workings of the Effective Communicator code

Major Course Output:


As evidence of attaining the above learning outcomes, students are to develop, individually a C application due on week 12. The detailed specifications and deliverables of this major course output will be provided in a separate document. The rubric to be used for evaluating the final deliverable is shown below. Rubric for Assessment Satisfactory Developing 26-40 11-25 The code works for The code sometimes typical input, but fails fails for typical input. for minor special cases; Many parts of the the major requirements program are met, though some implementation violates minor ones are not. indicated restrictions. Some implementation of the program violates indicated restrictions.

Criteria

Correctness

Exemplary 41-70 The application meets all the requirements specified in the approved proposal; the code works correctly for all cases. Implementation of the program follows the indicated guidelines and does not violate indicated restrictions.

Beginning 0-10 The code often fails, even for typical input. Most indicated restrictions were violated.

Page 1 of 4

18-20 11-17 6-10 0-5 The code follows a The code follows a The code follows a The code is not modular structure that modular structure that modular structure, but modular; the control is most appropriate to is appropriate to the the structure is not structures are not the the application; the application; an quite suited to or most appropriate to use most appropriate appropriate control sufficient for the in most situations; control structure is structure is used in application; some prescribed coding Readability used in every situation; every situation; control structures are conventions were not prescribed and prescribed coding not appropriate; the followed throughout. possibly additional standards were major prescribed coding There is minimal coding standards were followed throughout standards were internal documentation. followed throughout. There are existing followed throughout . Internal Internal documentation, Only some parts of the documentation is but some details are code contain internal comprehensive. lacking. documentation. 9-10 5-8 1-4 0 All required All required deliverables The deliverables were The deliverables were deliverables were were submitted on or submitted on or before submitted on or before submitted on or before before the deadline; the deadline; the deadline; the deadline; documents are printed documents are printed documents were not Delivery documents are printed and bound neatly, and bound neatly, printed and bound neatly though some minor though most formatting following the formatting and and submission formatting and submission guidelines guidelines were not submission guidelines were not followed followed Note 1: The maximum score in this rubric for the final MP deliverable is 100 points. An additional 10 points maximum may be given depending on the additional output outlined in the MP specs document. These additional output may require advanced reading and understanding of topics that is not covered in the course. Note 2: A set of partial features (to be indicated in the MP specs document) will be evaluated in week 8. This milestone will constitute 30% of the Machine Project Grade and the evaluation on week 14 will constitute 70% of the Machine Project Grade.

Other Requirements and Assessments:


Aside from the major course output above, this course has one other summative assessment: a cumulative final exam. In addition, there are formative assessments of two types: departmental exams and graded class activities. Graded class activities include recitation, hands-on exercises, seatwork, and assignments.

Grading System:
To pass this course, a student must earn at least 60% through the course requirements. Grade breakdown as well as GPA equivalents, are given below: Requirement/Assessment Task 2 Departmental Long Exams 1 Departmental Final Exam Machine Project In class participation, Seatwork, Homework TOTAL Weight 40% 30% 15% 15% 100% Raw % < 60 >=60 && < 66 >=66 && < 72 >=72 && < 78 >=78 && < 83 GPA 0.0 1.0 1.5 2.0 2.5 Raw% >=83 && < 89 >=89 && < 94 >= 94 GPA 3.0 3.5 4.0

Page 2 of 4

Teaching Methods / Strategies:


Discussion/recitation (D), exercises (E), lecture/demonstration (L), reading assignment (R), quizzes, oral presentations, assignments, project demos

LO

Topic Course Requirements Pointer Data Type [Chapter 1]

Week 1

Learning Activities Explanation of course requirements and policies Submission of 1x1 ID picture 1. D: Address- of operator & 2. D: Dereference operator * 3. L: Showing the effects of using the operators 4. E&D: Proper use of operators

1-4

1. D: Dynamic memory allocation / de-allocation 2. E&D: Allocating memory spaces and accessing containers 3. D: Allocating more than one contiguous space 4. D: Pointer Arithmetic 5. E&D: Allocating contiguous memory spaces and accessing data in containers 1. D: Passing pointer as parameter to functions 2. E&D: Identifying correct data type of parameter and proper syntax in accessing containers. 1. D: One-Dimensional Array 2. D: Relationship between 1D array and Pointers 3. E&D: Declaring and using 1D array in programs 1. D: Two-Dimensional Array 2. L: Accessing 2D array elements 3. E&D: Using 2D arrays in programs 4. E&D: Passing 2D arrays or its elements to functions 1. R: String functions strlen, strcat, strcmp 2. E&D: Declaring strings and accessing strings and elements in a string 3. R: Creating aliases 4. E&D: Defining aliases and using aliases to declare arrays

Arrays [Chapter 2]

1-5

Strings [Chapter 3]

1-4

Structures [Chapters 4]

DEPARTMENTAL EXAMINATION 1 - February 13, 2013 (W) 1815 - 2015. 6 1. D: Simple structure 2. D: Using alias to declare a structure 3. D: Structure operations 4. L: Creating a program that utilizes a structure 5. E&D: Writing a program that requires structures 7 1. D: Structure within a structure 2. D: Structures and Functions 3. D: A sample function 4. E&D: Writing a function with structures and its components as parameter 8 1. D: Arrays of Structure 2. E&D: Writing functions and programs using arrays of structure

1-5 1-4

Machine Problem Phase 1 - March 11/12, 2013 (M/T) 1st 15 minutes of classtime. Dynamic Data Structures 9 1. D: Pointers within a structure [Chapter 5] 2. E&D: Declaring and accessing 10 1. D: Creation of a singly-linked list 2. D: Traversing a singly-linked list 3. D: Releasing memory spaces allocated to the linked list 4. E&D: Writing code snippets to access contents of linked list
Page 3 of 4

11 12

5. E&D: Writing code snippets to modify the sequence of contents in the linked list E&D : Writing functions and programs with singly-linked lists 1. L: Circular linked lists 2. L: Doubly-linked list and trees 3. D: Multiple Pointers in a structure 4. E&D: Writing functions to access data in linked lists of different configurations.

DEPARTMENTAL EXAMINATION 2 - April 3, 2013 (W) 1815 - 2015. 1-4 File Structures [Chapter 6] 1. D: Text File 2. E&D: Creating and accessing text files 3. D: Binary File 14 1. E&D: Creating and accessing binary files 2. E&D: Copying contents in text files to binary files and vise versa. st Machine Problem Phase 2 April 10/11, 2013 (W/H) 1 15 minutes of classtime. Final Exam April 13, 2013 (Sa) 0800 - 1100. 13

1-5

Text / Materials
Salvador, F. (2009) Course Materials for COMPRO2. URCO Research, De La Salle University. Available in: ccs1.dlsu.edu.ph/COMPRO2

References
Free Software Foundation. (2008).The GNU C Reference Manual. Free Software Foundation, Inc. Available in: http://www.gnu.org/software/gnu-c-manual/gnu-c-manual.html Hanly, J., & Koffman, E. (2012). Problem Solving and Program Design in C, 7th ed. Addison-Wesley. Kelley, Al.& Pohl, I. (2001). C by Dissection: The Essentials of C Programming, 4th ed. Addison-Wesley. Kernighan, B. & Ritchie, D. (2002). The C Programming Language, 2nd ed. Prentice Hall Forouzan , B. & Gilberg, R. (2006). Computer Science: A Structured Programming Approach Using C, 3rd ed. Course Technology.

General Course Policies:


Students are expected to read the course material prior to the discussion of the topic. Students are expected to answer the chapter exercises. Not following instructions in the requirements for submission may result to non-acceptance of the submission (and thus, it is considered a missed exercise). The student who was absent in previous meeting/s is expected to catch up on the missed discussion himself (by asking his peers what he had missed). Only valid and verifiable reasons for missed examinations will be considered for make-up. Comply with Section 4.13 Policy on Academic Honesty of the DLSU Student Handbook. (Link: http://www.dlsu.edu.ph/offices/mco/publications/student_handbook/default.asp)

Page 4 of 4

You might also like