CSCI/CMPE 3328 Object Oriented Programming in C#

Fall 2014



Instructor: Xiang Lian

Office: ENGR 3.275



Course: CSCI/CMPE 3328 Object Oriented Programming in C#

Prerequisites: Students are expected to be enrolled in or have completed CSCI 1380 or Programming Experience in another language and Ability to develop algorithms

Time: MW, 1:10pm ~ 2:25pm.

Location: ENGR 1.272

Course Webpage:


Instructor's office hour: Monday and Wednesday (2:30pm ~ 5:00pm); or by appointment


Teaching Assistant: Santiago Pazmino

Office: ENGR 3.273A


Phone: TBA

Office Hours: Tuesday and Thursday (1:00pm ~ 2:00pm); or by appointment




Paul Deitel and Harvey Deitel. Visual C# 2008 How to Program, 3/E.  Copyright 2009


or Paul Deitel and Harvey Deitel. Visual C# 2010 How to Program, 4/E. 



Catalog Description

The C# programming language and .NET environment will be introduced with an emphasis on windows-based, event driven programming and the use of objects, LINQ and XML. Topics may include UML, generic collections, database connections, XML, inheritance and polymorphism, exception handling, event driven programming, concurrent programming, windows forms, files and streams, databases, and Web Services.

Learning Outcomes

1.      Use the .NET IDE environment.


2.      Declare and use various data types in the C# environment.


3.      Properly use the different looping structures available in C#.


4.      Write an amortization schedule or the future value of monthly investment program to demonstrate the capabilities of looping.


5.      Develop and use classes, objects, methods and attributes.


6.      Write programs involving single and multidimensional arrays.


7.      Write object based programs showing proper use of inheritance and polymorphism.


8.      Use GUIs available in C#.


9.      Write multi-form programs.


10.  Write multi-threaded programs.


11.  Write programs using different types of file structures available to C#.


12.  Link C# to a database.


C Sharp programming requires a great deal of time working with the forms and tools. Students need to spend a minimum of 2 hours a day outside the classroom working in the lab. If you do not have the time, please do not sign up for this course.


Tentative Schedule




Week 1 (Aug. 25)

Introduction to C#


Week 1 (Aug. 27)

Introduction to Visual C# Programming

Assignment 1 (Due on Sept. 3)

Week 2 (Sept. 1)


Labor Day Holiday, No Classes

Week 2 (Sept. 3)

Introduction to Classes and Objects

Assignment 2 (Due on Sept. 12)

Week 3 (Sept. 8)



Week 3 (Sept. 10)

Control Statements: Part 1

Assignment 3 (Due on Sept. 22)

Week 4 (Sept. 15)

Control Statements: Part 2


Week 4 (Sept. 17)

Exercises (1)

Assignment 4 (Due on Oct. 1)

Week 5 (Sept. 22)

Exercises (2)

Sept. 23: Last day to change to non-credit

Week 5 (Sept. 24)



Review for Exam I


Week 6 (Sept. 29)



Week 6 (Oct. 1)



Assignment 5 (Due on Oct. 13)


Week 7 (Oct. 6)



Week 7 (Oct. 8)



Assignment 6 (Due on Oct. 29)


Week 8 (Oct. 13)



Week 8 (Oct. 15)

Introduction to LINQ and Generic Collections

Assignment 7 [images of cards] (Due on Oct. 29)


Week 9 (Oct. 20)



Week 9 (Oct. 22)

Classes and Objects: A Deeper Look


Week 10 (Oct. 27)



Week 10 (Oct. 29)


Assignment 8 (Due on Nov. 10)


Review for Exam II


Week 11 (Nov. 3)



Week 11 (Nov. 5)

Graphical User Interfaces with Windows Forms

Assignment 9 (Due on Nov. 24)

Week 12 (Nov. 10)



Week 12 (Nov. 12)



Week 13 (Nov. 17)

Files and Streams

Online course evaluation (Wednesday, December 3rd at 11:59pm):

Week 13 (Nov. 19)



Week 14 (Nov. 24)

Databases and LINQ

Bonus Assignment 10 (Hard deadline: Due on Dec. 1)

Week 14 (Nov. 26)


Nov. 27-29: Thanksgiving Holiday

Week 15 (Dec. 1)



Review for Final Exam


Week 15 (Dec. 3)



Week 16 (Dec. 6-12)

Final Exam (10:15am-12pm, Dec. 12, Friday)



1 Academic calendar:

Note: exam dates are tentative, exact dates will be announced in class!!!

Drops and drop passes must be handled by you and the admission office; I will sign the necessary documents. But, I will not place a drop or drop pass on the final grade sheet.


CSCI/CMPE 4341.02 Topics: Programming in Python (Spring 2015): Note that, this course is a second language course, which means that it should be taken instead of Java or C#. It cannot be taken as a CSCI/CMPE advanced elective.


Scoring and Grading

Exam I & II ………………….    45%

Final Exam  …………………      25%

Assignments………………      20%

Attendance …………………       10%


            A = 90 or higher

            B = 80 - 89

            C = 70 - 79

            D = 60 - 69

            F = <60



Guidelines for Programming Assignments


All programs and other assignments must be submitted to Blackboard AT THE BEGINNING OF THE CLASS PERIOD (5 minutes grace period).  All assignments turned in after the class begins will be considered late (even if you come to class late).


Late Penalty:  5 minutes late to the end of the day -  10% penalty

                        Next class period                                20% penalty

                        Two class periods                                30% penalty

                        One week+1 day                                 50% penalty

                        Will not accept after one week and one day.


Program Identification Section.


All programs should begin with a comment section that would include the following:



PROGRAMMERS NAME:_________________________________________________

STUDENT ID:___________________________________________________________

CLASS:________________________ ASSIGNMENT #:_________________________

DATE DUE:__________________ DATE TURNED IN:_________________________



Please upload the *.zip file you created to the Blackboard. The subject of the assignment must include the following information:

             [CSCI 3328] [Assignment #] [Your Name Here] [Your Student ID Here]



GENERAL DESCRIPTION OF THE PROGRAM (Program inputs, outputs and summary of what the program does).


Each function should be distinctly identified (block it off using asterisks).  A brief description of its purpose should be given in comments.           


Comments should be inserted as necessary throughout the program to convey the algorithm of the program.  All programs must be tested thoroughly before submission.  You should include program runs to indicate that every option of the program has been tested.  Programs turned in without any program run will receive a grade of zero. 




1. Pseudo code, structure chart, flowchart, etc. as directed.

2. Program listing.

3. Program run.

Turn these in a folder.


Programs that do not run                    0 points

Comments as explained above            15 points

program listing                                    60 points

program run                                         25 points

Program correction and re-submission: up to 50% of missed points.


Lecture Attendance Policy

Attendance in the lecture is mandatory. Students are responsible for all materials covered in class, the textbook, tutorials, and homework assignments. Students are expected to attend lectures, study the text, and contribute to discussions. You need to write your name on attendance sheets throughout the course, so please attend every lecture.

Make-up Exam Policy

No make-up exams will be given except for university sanctioned excused absences. If you miss an exam (for a good reason), it is your responsibility to contact me before the exam, or soon after the exam as possible.

Academic Dishonesty Policy

The University expects a student to maintain a high standard of individual honor in his/her scholastic work. Unless otherwise required, each student is expected to complete his or her assignment individually and independently. Although study together is encouraged, the work handed in for grading by each student is expected to be his or her own. Any form of academic dishonesty will be strictly forbidden and will be punished to the maximum extent. Copying an assignment from another student in this class or obtaining a solution from some other source will lead to an automatic failure for this course and to a disciplinary action. Allowing another student to copy one's work will be treated as an act of academic dishonesty, leading to the same penalty as copying.

Note to Students with Disabilities

Students with disabilities are encouraged to contact the Disability Services office for a confidential discussion of their individual needs for academic accommodation. It is the policy of the University of Texas-Pan American to provide flexible and individualized accommodation to students with documented disabilities that may affect their ability to fully participate in course activities or to meet course requirements. To receive accommodation services, students must be registered with the Disability Services office (DS), University Center #108, 665-7005 or

Program Outcomes

·         (a) An ability to apply knowledge of computing and mathematics appropriate to the discipline

·         (b) An ability to analyze a problem, and identify and define the computing requirements appropriate to its solution

·         (c) An ability to design, implement, and evaluate a computer-based system, process, component, or program to meet desired needs

·         (i) An ability to use current techniques, skills, and tools necessary for computing practice

·         (j) An ability to apply mathematical foundations, algorithmic principles, and computer science theory in the modeling and design of computer-based systems in a way that demonstrates comprehension of the tradeoffs involved in design choices

·         (k) An ability to apply design and development principles in the construction of software systems of varying complexity


The instructor reserves the right to alter this syllabus as necessary.