Course
Description:
This
is an introductory course in computer programming and problem solving for
undergraduate students in the Biology/Molecular Science program who have no
prior experience in programming in any language. The course covers the
fundamentals of computer programming and its underlying principles using the
programming language Visual Basic for Applications (VBA). Subroutine and
function procedures are created to be run within the Excel environment.
Course Objectives:
1)
Knowledge of fundamental programming
concepts and structures in the VBA/Excel environment.
2)
Ability to formulate solutions to problems and write programs to be run in
VBA/Excel.
Prerequisite
or co-requisites: None
Restrictions
on who may receive credit for this course:
Biology/Molecular Science students
This
course will be offered (indicate campuses & semesters):
Textbook:
“Power
Programming with VBA/Excel”, S.C. Chapra, Prentice-Hall, 2003. ISBN:
0-13-047377-4.
Instructor: K. Ming
Leung
Office
(phone): LC 127 (718-260-3380)
Office
Hours: Tuesday: 2 -3, Wednesday: 2 – 3, 4 – 5,
Friday: 10 – 11, 11 – 12 (Or simply drop by my office any time.)
Email: :mleung@duke.poly.edu
Computer
needs: Laptop with Microsoft EXCEL installed.
Lectures: (approximately)
2.5
hours a week
Recitation: (approximately)
0.5
hours a week
Exams:
One
midterm and one final exam.
Homework:
Weekly homework
assignments
Recitation
topics:
Coordinated and integrated with lecture
material.
ABET Competencies: This course addresses the following
ABET competencies :
a) Students learn fundamental computer programming concepts
and structures.
e) Students identify, formulate and solve scientific and
engineering problems.
Content by Category: Engineering
Science = 3 credits (100%)
Lecture
topics: (tentative)
Week
1 – The VBA Front-end: Excel
Week
2 – Using Build-in Functions
Week
3 – Macros
Week
4 – VBA Essentials
Week
5 – VBA expressions
Week
6 – Creating custom functions
Week
7 – Objects, Properties and Methods
Week
8 – Working with range objects
Week
9 – Conditional Branching
Week
10 – Looping Mechanisms
Week
11 – Creating and managing arrays
Week
12 – Sorting and searching elements in arrays
Week
13 – Debugging macros and custom functions
Link to Lecture Notes and Homework Assignments: LecturesNotesFall07.html
Midterm Examination:
October
30 (Open book: our textbook and my lecture notes only).
Announcement:
Although October 9th is
a Tuedsday, it follows a Monday schedule, and therefore we are supposed to have
a one hour class from
Final Examination:
December
17, Monday (Open book: our textbook and my lecture notes only): LC 102 (Backup
room: RH 202).