Spring 2010 Teaching Schedule - Dr. Zhixiang Chen

Teaching AssignmentsResearch Advising
CSCI/CMPE 1370.01 Computer Science I
CSCI/CMPE 2380.02 Computer Science II
Chair Administrative duties
General Research
Senior Projects
Graduate Projects/Theses


CSCI/CMPE1370 Report is here
CSCI/CMPE1170 Report is here
CSCI/CMPE 2380 Homework Report is here
CSCI/CMPE 2380 Lab Report is here
Reports will be updated frequently as the semester progresses.


CSCI/CMPE 1370 and 1170 Computer Science I and Lab


Syllabus is here .

Power Point files from the textbook publisher

How to use Microsoft Visual C++.net? This manual was prepared by Srisha Surisetty.

Homework Assignments

Program Format Requirements

I have prepared a document about program format requiremnts which shall help you prepare the submissions of homework assignments. The document is here.

Review Problems

Lab Exercises for CSCI/CMPE 1170.01

Lab # Lab Name Lab Files
1 "Hello, World!" and chars, strings and numbers lab_1.cpp
2 cin, getline, cin.getline, cin.ignore lab_2.cpp
3 math expressions, , type conversion, named const, combined assignments lab_3.cpp
4 random number generator and output formating, file I/O lab_4.cpp, lab_4_data.txt
5 strings, C-strings, and string operations lab_5.cpp
6 logical expressions and if statements lab_6.cpp
7 switch statements vs. if-else statement lab_7.cpp
8 enumerated data types and string comparisons lab_8.cpp
9 simple while loops lab_9.cpp
10 simple for loops lab_10.cpp
11 simple do-while loops lab_11.cpp
12 continue and more about break lab_12.cpp
13 nested loops lab_13.cpp
14 simple functions and header files lab_14.cpp, lab_14_head.h
15 value parameters vs. reference parameters lab_15.cpp, lab_15_head.h
16 simple modular design and functions lab_16.cpp, lab_16_head.h
17 more modular designs and functions lab_17.cpp, lab_17_head.h
18 array declarations and simple I/O lab_18.cpp,
19 array parameters to functions and file processing lab_19.cpp, lab_19_head.h, lab_19_data.txt
20 paralle arrays and two dimensional arrays lab_20.cpp, lab_20_head.h, lab_20_data.txt
21 arrays of structs lab_21.cpp, lab_21_head.h
22 linear search lab_22.cpp, lab_22_head.h
23 binary search lab_23.cpp, lab_23_head.h
24 bubble sort lab_24.cpp, lab_24_head.h, lab_24_data.txt
25 selection sort lab_25.cpp, lab_25_head.h
26 insertion sort lab_26.cpp, lab_26_head.h
27 pointers, pointer arithmetic, pointers vs. arrays lab_27.cpp, lab_27_head.h
28 more pointer practices lab_28.cpp, lab_28_head.h
29 classes lab_29.cpp, lab_29_head.h
30 more classes, a bank example lab_30.cpp, lab_30_head.h

Optional CSCI/CMPE 1170 lab exercises are here!

Optional Lab # Lab Name Lab Files
Lab Optional 1 Char and string comparisons, and conditional operator optional_lab_1.cpp
Lab Optional 2 Function overloading and static variables optional_lab_2.cpp, optional_lab_2_head.h
Lab Optional 3 Array paramters to functions optional_lab_3.cpp, optional_lab_3_head.h
Lab Optional 4 Vector class template and structures optional_lab_4.cpp, optional_lab_4_head.h


CSCI 2380/2388, CMPE 2380/2388 Computer Science II

  • Syllabus

  • Power Point files from the textbook publisher

    How to use Microsoft Visual C++.net? This manual was prepared by Srisha Surisetty.

    Homework Assignments

    Program Format Requirements

    I have prepared a document about program format requiremnts which shall help you prepare the submissions of homework assignments. The document is here.

    Review Problems

    CSCI/CMPE 2380 lab exercises are here!

    Lab # Lab Name Lab Files
    1 Pointers, pointer arithmetic, pointers vs. arrays, pointer parameters lab2380_1.cpp, lab2380_1_head.h
    2 More pointer practice lab2380_2.cpp, lab2380_2_head.h
    3 Simple exercises about classes lab2380_3.cpp, lab2380_3_head.h
    4 Class template practices lab2380_4.cpp, lab2380_4_head.h
    5 Inheritance - understanding member status lab2380_5.cpp, lab2380_5_head.h
    6 Virtual methods vs. polymorphism lab2380_6.cpp, lab2380_6_head.h
    7 Destructor under inheritance vs. virtual destructor. Chain reaction of constructor/destructor calling lab2380_7.cpp, lab2380_7_head.h
    8 Const and static data members, and static methods. Class member pointers. lab2380_8.cpp, lab2380_8_head.h
    9 Iterator methods for a class (or container) via the implementation of vector class template lab2380_9.cpp, lab2380_9_head.h
    10 More about iterator methods for a class (or container) via the implementation of list class template lab2380_10.cpp, lab2380_10_head.h
    11 Array based list arrayBasedList.cpp, arrayBasedListType.h
    12 Linked list linkedList.cpp, linkedListType_head.h
    13 Double linked list doubleLinkedList.cpp, doubleLinkedListType_head.h
    14 Ordered array based list orderedArrayBasedList.cpp, orderedArrayBasedList_head.h, arrayBasedList_head.h
    15 Ordered double linked list orderedDoubleLinkedList.cpp, orderedArrayBasedListType_head.h, doubleLinkedListType_head.h
    16 Simple recursions lab2380_16.cpp, lab2380_16_head.h
    17 More recursions lab2380_17.cpp, lab2380_17_head.h
    18 Additional recursions lab2380_18.cpp, lab2380_18_head.h
    19 Array based stack lab2380_19.cpp, lab2380_19_head.h lab2380_19_b_head.h
    20 Linked list based stack lab2380_20.cpp, lab2380_20_head.h, lab2380_b_20_head.h
    21 Array based queue lab2380_21.cpp, lab2380_21_head.h, lab2380_21_b_head.h
    22 Linked list based queue lab2380_22.cpp, lab2380_22_head.h, lab2380_22_b_head.h
    23 Binary search lab2380_23.cpp, lab2380_23_head.h, lab2380_23_b_head.h
    24 Merge sort lab2380_24.cpp, lab2380_24_head.h
    25 Quick sort lab2380_25.cpp, lab2380_25_head.h

    Optional CSCI/CMPE 2380 lab exercises are here!

    Optional Lab # Lab Name Lab Files
    Optional 1 Function templates lab2380_optional_1.cpp, lab2380_optional_1_head.h
    Optional 2 Vector based list lab2380_optional_2.cpp, lab2380_optional_2_head.h
    Optional 3 Searching: linear/sequential and random search methods lab2380_optional_3.cpp, lab2380_optional_3_head.h
    Optional 4 Simple sorting: insertion sort, selection sort and bubble sort lab2380_optional_4.cpp, lab2380_optional_4_head.h,
    Optional 5 Binary search tree lab2380_optional_5.cpp, lab2380_optional_5_head.h


    BUGS? Comments? Please contact: chen@cs.panam.edu