MCS 390 Fall 1998
Introduction to Computer Science

Sections 61-72

for majors in Mathematics and Computer Science


Advanced Placement for Computer Programming Classes:

Students enrolled in this course normally will enroll in MCS 171-2 (Computer Programming I-II) in the Winter and Spring terms. The language of instruction for these courses is C++. Some students may be able to earn advanced placement for these courses. Self-paced study materials will be provided for students wishing to take the placement exams, which will be offered in mid-November. The text shown below will be used in MCS 171-2 in the Winter and Spring terms and will be used as the basis for advanced placement study:

C++ Program Design: An Introduction to Programming and Object-Oriented Design, 2nd Edition; James Cohoon & Jack W. Davidson, WCB/McGraw-Hill, 1999. ISBN 0-07-012135-4.

$60.00 at Drexel bookstore

Additionally, the following software will be used in MCS 171-2 and will be needed for completing programming assignments:

CodeWarrior Pro v3.0, Metrowerks, Inc..
$129.99 at Drexel Bookstore

 

Metrowerks CodeWarrior Pro runs on Windows and Macintosh platforms and contains C/C++, Pascal, and Java compilers, online textbooks and help, tutorials, application development tools, and other useful third party products.


Study Materials for MCS 171 (Computer Programming I)

The material to be covered in the MCS 171 (Computer Programming I) placement exam can be found in the following reading and suggested review problems from the text, "C++ Program Design: An Introduction to Programming and Object-Oriented Design", 2nd Edition by James P. Cohoon and Jack W. Davidson. A series of lab assignments using the Metrowerks CodeWarrior programming environment provide practical application of the principles covered.

Suggested Reading and Written Assignments

Labs:

Chapter 1:
Reading: entire chapter
Chapter 2:
Reading: entire chapter
Exercises: Sect. 2.14, pp. 95-100:
2.7, 2.9, 2.10, 2.12, 2.15, 2.16, 2.17, 2.18
Chapter 3:
Reading: Sect. 3.1-3.8
Exercises: Sect. 3.12, pp. 141-147:
3.1, 3.3, 3.4, 3.5, 3.6, 3.7, 3.9, 3.10, 3.13
Chapter 4:
Reading: Sect. 4.1-4.9, 4.12
Exercises: Sect. 4.14, pp. 207-216:
4.1, 4.2, 4.3, 4.4, 4.5, 4.6, 4.10, 4.11, 4.12, 4.14, 4.17, 4.19, 4.37
4.40
4.48, 4.51, 4.54, 4.55, 4.56, 4.64, 4.65
Chapter 5:
Reading: Sect. 5.1-5.7
Exercises: Sect. 5.12, pp. 260-264:
5.1, 5.10, 5.11, 5.12
5.22, 5.38, 5.41
Chapter 6:
Reading: Sect. 6.1-6.6
Exercises: Sect. 6.10, pp. 303-310:
6.1, 6.2, 6.9, 6.13, 6.14, 6.21(a,d), 6.23, 6.24, 6.25, 6.26, 6.27, 6.31, 6.53
Chapter 7:
Reading: Sect. 7.1-7.4
Exercises: Sect. 7.12, pp. 351-362:
7.1a, 7.2a, 7.3a, 7.4, 7.5
Chapter 10:
Reading: Sect. 10.1-10.4
Exercises: Sect. 10.14, pp. 549-556:
10.6, 10.9, 10.20, 10.25, 10.26

Lab 1

Introduction to CodeWarrior

  • For a Windows version of this lab, click here.
  • For a Macintosh version of this lab, click here.

CodeWarrior Installation instructions for your home computer:

Click the appropriate entry for Windows or Macintosh computers.

Lab 2

Program tracing and debugging in the CodeWarrior environment. Operator precedence and type conversion in arithmetic expressions.

Lab 3

Formatted output using I/O manipulators.

Lab 4

Subprograms, part I: using predefined functions, using user defined functions, creating user-defined functions. Introduction to the string class.

Lab 5

Subprograms, part II: writing and modifying user defined functions. A simple IF statement.

Lab 6

File input/output.

Lab 8

Loops.

Lab 9

Array definition, storage, and retrieval. Arrays and loops.

 


Study Materials for MCS 172 (Computer Programming II)

The material to be covered in the MCS 172 (Computer Programming II) placement exam can be found in the following reading and suggested review problems from the text, "C++ Program Design: An Introduction to Programming and Object-Oriented Design", 2nd Edition by James P. Cohoon and Jack W. Davidson. A series of lab assignments using the Metrowerks CodeWarrior programming environment provide practical application of the principles covered.

Suggested Reading and Written Assignments

Labs:

Chapter 8:
Reading: entire chapter
Chapter 9:
Reading: entire chapter
Exercises: Sect. 9.9, pp. 458-464:
9.3, 9.4, 9.5, 9.6, 9.12, 9.13, 9.15, 9.16, 9.19, 9.27
Program: 9.26
Chapter 10:
Reading: Sect. 10.5-10.13
Exercises: Sect. 10.14, pp. 549-556:
10.17, 10.22, 10.29, 10.34, 10.37
Chapter 12:
Reading: entire chapter
Exercises: Sect. 12.11, pp. 651-658:
12.2, 12.4, 12.9, 12.13, 12.32, 12.33, 12.34, 12.35, 12.36

 

Lab 1

Introduction to the Metrowerks Debugger

Lab 3

Tracing and modifying recursive routines

Lab 4

Structs

Lab 5

Classes and Objects

Lab 7

Operator Overloading

Lab 8

Pointers and Dynamic Variables