Docsity

Computer Science I - HON: Computer Programming I | CS 240, Lab Reports of Computer Science

Toggle sidebar
bg1
Department and
Course Number
CS 240 Course
Coordinato
r
Mateen Rizki
Course Title Computer Science I Total
Credits
4
BS CE: Required; BS CS: Required.
This document was prepared by: Mateen Rizki Date: May 04, 2005
Catalog Data
Basic concepts of programming and programming languages are introduced. Emphasis is
on structured programming and stepwise refinement. 3 hours lecture, 1 hour lab. For CS/
CEG majors familiar with a high level programming language. Co-requisites: MTH 130
and 131 or MTH 134.
Textbook
1. Big C++, C. Horstmann and T. Budd, Wiley, 2005.
2. Language: Microsoft Visual C++ 6.0 Compiler, (available in the library)
Learning Objectives
The student should have learned the following:
1. The basic terminology of associated with computer systems including hardware and
software.
2. The purpose of the tools needed to develop simple software applications including
editors, compilers, linkers, loaders, and debuggers.
3. Techniques for designing structured programs using stepwise refinement.
4. The syntax and semantics of C++ excluding object oriented constructs.
5. An appropriate style for writing and documenting programs.
6. The techniques of locating and correcting both syntax and logic errors in code.
Major Topics Covered in the Course
1 Introduction to Computers and Programming Ch. 1
Number Systems Appendix F
Data Types, Variables, and Simple I/O Ch. 2.1-2.4
2 Arithmetic and String Expressions Ch. 2.5-2.6
Quick Introduction to Objects Ch. 3
3 Basic Flow of Control (Conditional Decisions and Iteration) Ch. 4
4 Functions Ch. 5.1-5.6
5 Procedures and Software Design Ch. 5.7-5.13
6 Classes Ch. 6
7 Advanced Flow of Control Ch. 7
8 Testing and Debugging Ch. 8
9 1-D Vectors and Arrays Ch. 9.1-9.5.3
IV - 15
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Computer Science I - HON: Computer Programming I | CS 240 and more Lab Reports Computer Science in PDF only on Docsity!

Department and Course Number CS 240 Course Coordinato r Mateen Rizki Course Title Computer Science I Total Credits

BS CE: Required; BS CS: Required. This document was prepared by: Mateen Rizki Date: May 04, 2005

Catalog Data

Basic concepts of programming and programming languages are introduced. Emphasis is on structured programming and stepwise refinement. 3 hours lecture, 1 hour lab. For CS/ CEG majors familiar with a high level programming language. Co-requisites : MTH 130 and 131 or MTH 134. Textbook

  1. Big C++, C. Horstmann and T. Budd, Wiley, 2005.
  2. Language: Microsoft Visual C++ 6.0 Compiler, (available in the library)

Learning Objectives

The student should have learned the following:

  1. The basic terminology of associated with computer systems including hardware and software.
  2. The purpose of the tools needed to develop simple software applications including editors, compilers, linkers, loaders, and debuggers.
  3. Techniques for designing structured programs using stepwise refinement.
  4. The syntax and semantics of C++ excluding object oriented constructs.
  5. An appropriate style for writing and documenting programs.
  6. The techniques of locating and correcting both syntax and logic errors in code.

Major Topics Covered in the Course

1 Introduction to Computers and Programming Ch. 1 Number Systems Appendix F Data Types, Variables, and Simple I/O Ch. 2.1-2. 2 Arithmetic and String Expressions Ch. 2.5-2. Quick Introduction to Objects Ch. 3 3 Basic Flow of Control (Conditional Decisions and Iteration) Ch. 4 4 Functions Ch. 5.1-5. 5 Procedures and Software Design Ch. 5.7-5. 6 Classes Ch. 6 7 Advanced Flow of Control Ch. 7 8 Testing and Debugging Ch. 8 9 1-D Vectors and Arrays Ch. 9.1-9.5.

10 Multi-dimensional Vectors and Arrays Ch. 9.5.

Class/Laboratory Schedule

Each week has two lectures of 75-minutes each. There are seven or eight laboratory projects for the course. Each project is designed to explore aspects of the material presented during the previous week. Laboratory exercises typically require students to read existing code, make modifications, perform some simple analysis, or test some newly introduced language construct. Laboratory exercises are worth 20 points. If there is a pre-lab and in-lab component, each part is worth 10 points. The laboratory projects are evaluated based primarily on quality of the solution and accuracy of the results (20% of the course grade).

Programming Projects

There are five programming projects for the course. Each project is designed to combine a few basic programming concepts in the context of a simple problem. High-level designs are typically provided and the students must refine the design, implement a solution, and test the resultant program. Projects require students to integrate several different language constructs into a larger framework to complete the assignment. Programming projects are worth 100 points. The projects are evaluated based quality of the design, accuracy of the results, documentation. (30% of the course grade)

Contribution to Professional Component

CS240 contributes 4 hours to the Criterion 4(b).

Course Contribution to Program Educational Objectives

CS 240 contributes to Objectives 1 and 2.

Course Contribution to Program Outcomes and Assessment

a b c d e f g h i j k XX X XX 0 0 X X 0 0 0 X

Outcome Measures and Assessment

Student progress in achieving the desired objectives and outcomes for this course will be monitored and measured through use of entrance and exit surveys, programming assignments, and examinations. There is a self-assessment conducted at the beginning and another at the end of the term.

Department and Course Number

CS 241 Course

Coordinator Mateen Rizki

Course Title Computer Science II Total

Credits

BS CE: Required; BS CS: Required. This document was prepared by: Mateen Rizki Date: May 04, 2005

Catalog Description

A continuation of CS 240. Emphasis is on data abstraction and software engineering. 3 hours lecture, 1 hour lab. For CS/CEG majors only. Prerequisite CS 240. Co-requisites: MTH 229.

Textbook

Big C++, C. Horstmann and T. Budd, Wiley, 2005. Language: Microsoft Visual C++ 6.0 Compiler, (available in the library)

Learning Objectives

The student should learn:

  1. Techniques for object oriented programming (OOP).
  2. How to extend the language through the use of abstract data types (ADT).
  3. The syntax and semantics of C++ constructs to support ADT and OOP including classes, protection, inheritance, virtual functions, and operator overloading.
  4. The principles of dynamic memory allocation and use of self-referencing structures.
  5. To use the special tools available to support OOP including projects and class browsers.
  6. The students should be able to apply these concepts and techniques to:
  7. Formulate an object-oriented design for a simple problem given a detailed list of requirements and specifications.
  8. Implement an ADT using C++ classes.
  9. Use existing objects to develop increasingly complex software applications.
  10. Debug and test a program containing several interacting objects.
  11. Implement basic linked list structures and trace the behavior of programs that use dynamic memory allocation..

Topics Covered

  1. Review of C++ Classes and OOP , Review of Vectors and Arrays
  2. Pointers
  3. Operator Overloading
  4. Name Scope Management
  5. Recursion
  6. Sorting and Searching (linear and binary search, simple sorting techniques)
  7. Dynamic Memory Allocation, and ADT List (self-referencing structures)
  8. Inheritance and Polymorphism

Class/Laboratory Schedule

Each week has two lectures of 75-minutes each. There are eight laboratory projects for the course. Each project is designed to explore aspects of the material presented during

Estimate CSAB Category Content

Core Advanced Core Advanced Data Structures 1 Concepts of PL 1 Algorithms 1 Comp Organization + Architecture Software Design 1 Other

Prerequisites by Topic

  1. Knowledge of the basic terminology and operation of computer systems including hardware and software.
  2. Knowledge of techniques for designing structured programs.
  3. Knowledge of procedural programming using C++ including familiarity with techniques of documenting and testing programs.
  4. Knowledge of algebra and trigonometry

Oral and Written Communications

There are no oral presentations. Students submit source code for their projects along with documentation. We do not claim that documentation constitutes written communications.

Social and Ethical Issues

None.

Theoretical Content

None.

Problem Analysis

Problem analysis is limited. Problems typically require students to identify a few logical objects in the problem and identify the interaction among these objects.

Solution Design

Potential designs for each project are reviewed in class. Design alternatives are presented and discussed in class. Sample objects are presented in class and through laboratory exercises. Students develop new objects based on their designs and elaborate on existing objects. The objects are then integrated to form solutions.

Learning Outcomes

The students should be able to apply these concepts and techniques to:

  1. Formulate a design for a simple problem given a detailed list of requirements and specifications.
  2. Implement a well-documented, readable program for a given design.
  3. Debug and test a program to verify that it meets requirements.
  4. Hand-trace the operation of a simple program and describe its behavior.

Outcome Measures and Assessment

Student progress in achieving the desired objectives and outcomes for this course will be monitored and measured through use of entrance and exit surveys, programming assignments, and examinations. There is a self-assessment conducted at the beginning and another at the end of the term. These forms are reproduced below.

Department and Course Number

CS 242 Course

Coordinator Mateen Rizki

Course Title Computer Science II Total

Credits

BS CE: Required; BS CS: Required. This document was prepared by: Mateen Rizki Date: May 04, 2005

Catalog Description

Further refinement of the concepts covered in CS 241. 3 hours lecture, 1 hour lab. For CS/CEG majors only. Prerequisite CS 241. Co-requisites : MTH 230.

Textbook

  1. Data Abstraction and Problem Solving with C++, 4th Edition, Addison-Wesley, 2005 by Frank Carrano and Janet Prichard (Required)
  2. Big C++, C. Horstmann and T. Budd, Wiley, 2005 (Recommended)
  3. Language: Microsoft Visual C++ 6.0 Compiler, (available in the library)

Learning Objectives

The student should learn:

  1. How to analyze the time and space complexity of functions and simple programs.
  2. Basic abstract data types such as stacks, queues, and trees.
  3. The use of recursion as a problem solving technique.
  4. Fundamental techniques for searching and sorting data.
  5. The students should be able to apply these concepts and techniques to:
  6. Design and implement basic ADTs including stacks, queues, and trees.
  7. Analyze the time and space complexity of alternative implementations.
  8. Design, implement, and trace recursive programs.
  9. Apply search and sorting techniques within various applications.
  10. Formulate designs for complex problems, evaluate alternative implementation, and integrate multiple objects to form complete applications.

Major Topics Covered in the Course

1-2.5 Software Engineering and Design Chapters 1 and 3 C++ Templates and Exceptions Horstman and Budd: Big C++, Chapters 19, 2.5-3 Recursion Revisited Chapter 2 and 5 4 The Stack ADT Chapter 6 Stack Applications 5 The Queue ADT Chapter 7 Queue Applications

Estimate CSAB Category Content

Core Advanced Core Advanced Data Structures 1 Concepts of PL 1 Algorithms 1 Comp Organization + Architecture Software Design 1 Other

Prerequisites by Topic

  1. Knowledge of object oriented design (OOD) and object oriented programming.
  2. Knowledge of abstract data types (ADT) and the concepts of encapsulation and information hiding.
  3. The ability to (a) implement objects in C++ and (b) integrate multiple objects to form complete applications.
  4. Knowledge of dynamic memory allocation and self-referencing structures
  5. Knowledge of calculus I (MTH 229)

Oral and Written Communications

There are no oral presentations. Students submit source code for their projects along with documentation. We do not claim that documentation constitutes written communications. In at least one project, students perform a system simulation that requires them to perform a series of experiments. A report summarizing the results of these experiments along with a recommendation are required as part of the project.

Social and Ethical Issues

None.

Theoretical Content

Time and space complexity analysis are presented. Students are expected to be able to bound the time/space complexity of their solutions. Students must be able to prove their choice of bounds using algebraic technique or limits.

Problem Analysis

Problems typically require students to identify a several logical objects in the problem and identify the interaction among these objects. The complexity of the problems demands good designs and increase emphasis is placed on the overall quality of the design.

Solution Design

Potential designs for each project are reviewed in class. Design alternatives are presented and discussed in class. The use of basic data structures to solve complex problems is emphasized. Students learn to customize data structures using object-oriented features such as inheritance to simplify the solution of complex problems.

Department and Course Number

CS 271 Course

Coordinat or Doom/Raymer

Course Title Introduction to

Bioinformatics

Total Credits

BS CE: Not Required; BS CS: Not Required; BS CS (Bioinformatics): Required This document was prepared by: Doom/Raymer Date: May 10, 2005

Catalog Data

Introduction to Bioinformatics: Introduction to DNA as an information storage system, data searches and pairwise alignments, substitution patterns, protein folding, and proteomics. Prerequisite : CS 240 or equivalent, BIO 112.

Text Books and Other Source Materials

  1. D. Krane and M. Raymer, Fundamental Concepts of Bioinformatics , Benjamin/Cummings, 2003. Home Page: http://birg.cs.wright.edu/cs

Learning Objectives

At the end of this course emphasizing a tools-oriented approach to bioinformatics, students should have learned the following:

  1. Data structure in DNA
  2. Data representation in Perl
  3. Regular expressions
  4. Pairwise alignments
  5. Substitution patterns
  6. Protein structure prediction and modeling
  7. Proteomics Prerequisites by Topic
  8. Structured object-oriented programming
  9. The central dogma of molecular biology
  10. Molecular and cellular basis for the unity of life
  11. Evolution

Major Topics Covered in the Course

  1. Module One: (Biology) Major biological issues that define the discipline: information storage in DNA, protein structure and function, the tools of molecular biology. (Computer Science) Programming environment: command line Unix, redirection, pipelines for STDIN and STDOUT, introduction to the Perl programming language. (Lab) DNA isolation and gel electrophoresis.
  2. Module Two: (Biology) Simple pairwise alignments: simple searches, gaps, and techniques for scoring, strategies for efficient searches. (Computer Science) Programming primitives: Scalar and array variables in Perl, basic I/O, program control. (Lab) DNA sequencing demonstration and counting nucleotides.

Contribution to Professional Component

CS 271 contributes 4 hours to the Criterion 4(c) General Education. Engineering topics and basic sciences (biology and biochemistry) are covered.

Contribution to Program Educational Objectives

CS 271 emphasizes program objective 1. The students work in cross disciplinary groups on a number of assignments. Team participation, problem solving, and communication are a key element of the course. In addition, CS 271 contributes to program objective 2 by instructing the students in sound scientific methodologies and experimentation.

Course Contribution to Program Outcomes and Assessment

a b c d e f g h i j k PXX PXX PX PXX P PX PXX P P P P

Estimate CSAB Category Content

Co re Advanc ed Co re Advanc ed Data Structures 1.0 Concepts of PL 1. Algorithms 1.0 Comp Organization + Architecture Software Design 1.0 Other

Oral and Written Communications

Student projects in the course are completed on a team basis, such that each team has at least one “expert” in computer science and one in biology. This collaboration fosters the ability to communicate concepts between the two disciplines – the hallmark of a trained bioinformatician. There are no formal oral presentations or writing assignments.

Social and Ethical Issues

None.

Theoretical Content

This course presents the theoretic encoding of information through the use the genetic code of DNA as a specific example. Counting theory and statistical probabilities are also introduced and utilized throughout the course.

Problem Analysis

Projects are designed to allow novice programmers an opportunity to develop computational skills and techniques useful for solving introductory problems in bioinformatics.

Solution Design

Skeletal solutions of each assignment are given by the instructor at the conceptual level in the lectures, and also in sample source code files. The student needs to design further details and implement them.

Desired Outcomes

The student should be able to:

  1. Employ web-based bioinformatics tools effectively
  2. Solve data manipulation and analysis problems using PERL
  3. Perform data searches on genomics and protein sequence data

Outcome Measures and Assessment

Student progress in achieving the desired objectives and outcomes for this course will be monitored and measured through use of entrance and exit surveys, programming assignments, homework, quizzes, examinations, and success in the courses that use CS 271 as a prerequisite. There is a self-assessment conducted at the beginning and another at the end of the term.

  1. Development of applications and classes.
  2. Development and experimentation with graphics and Java2D..
  3. Basic graphical user interface components

Class/Laboratory Schedule

The class meets as necessary. There are a total of four Projects assignments made during the quarter. These are based on student interest or text problems. Standards for preparation of Projects are discussed at the one class meeting.

Estimate CSAB Category Content

Core Advanced Core Advanced Data Structures 0.5 Concepts of PL 1. Algorithms 1.0 Comp Organization + Architecture Software Design 1.0 Other

Prerequisites by Topic

  1. Ability to develop procedural programs in languages such as C/C++.
  2. Basic skills with software development tools including compilers and debuggers.
  3. Familiarity with data structures and basic constructs.
  4. Understanding of operation graphical user interfaces and applications.

Oral and Written Communications

There are no oral presentations. Students are encouraged to interact with instructor by e- mail or in person and to share information obtained at seminars or from internet searches. Students submit source code of their Projects along with any related written documentation.

Social and Ethical Issues

None.

Theoretical Content

None.

Problem Analysis

Projects can involve open-ended investigation that requires some experimentation with algorithms.

Solution Design

Programs developed by students must use the object-based features and existing Java classes as needed.

Learning Outcomes

The student should be able to apply the concepts above to the following:

  1. Formulate a design for a Java program involving arrays and classes for example.
  2. Implement well documented program for a given design.
  3. Verify that design specifications are met by developing sample cases.
  4. Analyze any errors and incorporate code revisions for user-friendly operation.

Each week has two lectures of 75-minutes each. There is no scheduled lab. Students are expected to work in open labs for no less than 2 hours a week. There are generally three projects contributing a total of 25% to the grade. The projects are evaluated based on three criteria: (1) clarity and design choices, (2) correctness, and (3) efficiency. These projects are individual except for the parts provided by the instructor. The implementation must C++ on the Unix platform.

Contribution to Professional Component

CS400 contributes 4 hours to the Criterion 4(b).

Course Contribution to Program Educational Objectives

CS400 contributes to Objectives 1 and 2.

Course Contribution to Program Outcomes and Assessment

a b c d e f g h i j k PXX PXX PXX 0 0 P PX 0 0 0 PX

Estimate CSAB Category Content

Core Advanced Core Advanced Data Structures 1.5 Concepts of PL 0 Algorithms 1. Comp Organization + Architecture

Software Design 1.0 Other 0

Oral and Written Communications

There are no oral presentations. Students submit source code of their projects along with a "STATUS", a text file detailing problems and defects in their programs. They also have to solve and submit 6 homeworks that span the topics covered in class

Social and Ethical Issues

None.

Theoretical Content

Time and Space Analysis of algorithms and data structures including finding closed forms of recurrence equations using techniques, including the Master Theorem. Development of problem solving skills through developing algorithms in homework and during exams is also emphasized. The time devoted was approximately 20%.

Problem Analysis

The projects put the theoretical study of data structures and algorithms into application. Students are required to implement the projects based on design choices that will reduce the space requirements and increase the efficiency of the run-time of algorithms.

Solution Design

Class definitions and some implementation were included in one project. The students had to complete the design and implement portions that were not included in the project. Two of the projects require the students to design and implement algorithms from start to finish. They have been given the choice to develop their own or use source code from the book as a start.

Learning Outcomes

The student should be able to apply the concepts above to the following:

  1. Develop, test and debug programs in Unix.
  2. Use and create class libraries
  3. Improve the performance of programs by using different data structures
  4. Implement binary and general trees.
  5. Use graph representations and algorithms.
  6. Use different indexing techniques for file systems and multi-dimensional spaces.
  7. Improve the problem solving skills in software engineering

Outcome Measures and Assessment

Student progress in achieving the desired objectives and outcomes for this course will be monitored and measured through use of entrance and exit surveys, programming assignments, homework, quizzes, examinations, and success in the courses that use CS400 as a prerequisite. There is a self-assessment conducted at the beginning and another at the end of the term.