GCO 232

advertisement
TOURO COLLEGE COURSE SYLLABUS
NEW YORK SCHOOL OF CAREER AND APPLIED STUDIES
DEPARTMENT:
COURSE TITLE:
COURSE NUMBER:
PREREQUISITES:
CREDIT HOURS:
DEVELOPER:
LAST UPDATE:
Computer Science
Advanced Programming and Data Structure
GCO 232
GCO 141
3
Gene Kuleshov
January 28, 2004
COURSE DESCRIPTION
This course discusses event driven programming using Visual Basic 6. The difference
between event driven and the procedure oriented programming is examined. Building
blocks within the user interface, various properties and functions, assigning access keys,
and variables are some of the topics discussed. There is extensive lab time in this course.
COURSE/DEPARTMENTAL OBJECTIVES
To introduce the student to object oriented event driven visual programming. Some of the
topics covered are:
 Object Oriented Programming
 Running a Visual Basic Program
 Controls and Event Procedures
 Learning to think visually
 VB’s Graphic Controls
 Variables, Constants, Math Operators, and Formulas
 Defining Variable and Procedure Scope
 Inputting Values and Printing
 If-Then-Else Logic
 For-Next Loops
 Do-Loops, While-Loops, and the Timer Control
 Select Case, List, and Arrays
 Numeric and String Functions
 Modular Design
 Debugging. File Processing
COURSE/INSTITUTIONAL OBJECTIVES
This course is intended to introduce students to basic visual programming skills needed to
function effectively and be employable in today’s technological society. Enhancement of
students’ technological skills is an institutional goal that this course is designed to fulfill.
COURSE CONTENT
Week
1
2
3
4
5
6
7
8
9
Topic
Visual Basic Environment. Project Window,
Properties Window, Code Window. Changing
Form Properties. Opening the Code Window
and Writing VB Instructions.
Adding Controls and Event Procedures to
Form Modules. Setting Properties for a
Control. Controlling Naming Conventions.
The Dim Statement. The Assignment
statement. The Print Method. The Cls
Method. The Label and the Text Box.
The List Box and the Combo Box. Adding,
Sorting, and Removing Items from List and
Combo Boxes. Using Frame Controls to
Improve Interface. Option Button and Check
Box Controls. Creating a Menu Bar and
Writing Code for Menu Procedures. The
Menu Editor. Adding a Scroll Bar to a Design.
The Scroll Bar Properties.
Introduction to the Graphic Controls and
Graphic Methods of Visual Basic.
Variable and Constant. The Six Types of
Numeric Variables: Integer, Long Integer,
Single Precision, Double Precision, Currency,
and Boolean. String Variables. Using
Variables of Type Date. The DateDiff
Function.
Math Operators and Formulas. The Seven
Types of Operators. A Counter Variable.
Converting Strings to Numbers and Numbers
to Strings.
If … Then … Else Logic and the Select Case
Statement. Understanding the Logical
Operators.
The Midterm Examination.
Inputting Values and Formatting Output.
Understanding the Uses of an Input Box and a
Message Box.
Source
VISUAL BASIC 6:
Environment, Properties,
and Application, pp. 1 – 50
Ibid., pp. 51 – 72
Ibid., pp. 73 – 97
Ibid., pp. 99 – 121
Ibid., pp. 125 – 150
Ibid., pp. 151 – 166
Ibid., pp. 167 – 196
Ibid., pp. 197 – 218
10
Understanding the Differences in Scope
Among Local, Module, and Global Variables.
Understanding the Scoping of Procedures.
Working with Loops. Converting For-Next
Loops to Do Loops. Adding the Timer Control
to a Project.
Lists and Arrays. Selecting an Element from
List Box and Combo Box. Working with
Control and a Variable Array.
Designing Multi-Column List. Using the
MSFlexGrid Control. A User-Defined
Variable Array.
Numeric Functions. String Functions.
Manipulating and Modifying Strings.
Comparing, Constructing, and Sorting Strings.
File Processing Controls. Writing Text to a
File. Reading Data from a File. Adding a Kill
File Procedure.
Review of Entire Course.
The Final Examination.
11
12
13
14
15
16
Ibid., pp. 219 –247
Ibid., pp. 249 – 278
Ibid., pp. 313 – 337
Ibid., pp. 339 – 356
Ibid., pp. 357 – 405
Ibid., pp. 407 – 440
HARDWARE/SOFTWARE/MATERIALS REQUIREMENTS
Software



Windows XP
Microsoft Visual Studio 6.0
Internet Explorer
COURSE REQUIREMENTS
Computer Lab Exercises
Homework Assignments
Midterm Examination
Final Examination
GRADING GUIDELINES
Grades will be based on the local tests and quizzes, lab and homework assignments,
midterm and final examinations. These will be weighted as follows:
Lab and Homework assignments
Midterm examination
Course Project
Final examination
30%
20%
10%
40%
METHODOLOGY
Each session will integrate lecture, computer lab assignment and exercise. Students are
encouraged to help each other on the lab and exercise assignments but they cannot simply
copy from each other. Computer lab, class exercise and homework assignments will be
sequenced from simple to more complex and will be varied and appropriate to the level
and ability of the class.
COURSE TEXTS
Title:
Author:
Pub. Date:
Publisher:
ISBN #:
VISUAL BASIC 6 (Environment, Programming, & Applications)
Alan Eliason & Ryan Malarkey
1999
QUE E&T
1-58076-272-7
BIBLIOGRAPHY
Title:
Author:
Pub. Date:
Publisher:
ISBN #:
Developing Applications with Microsoft Visual Basic: Advanced Topics
Michael Ekedahl
2000
Course Technology
0-7600-5852-0
RELATED WEB SITES
http://www.dpetty.com/visualbasic.htm
http://users.turboline.be/
http://www.geocities.com/TheTropics/3791/vbtutor.html
http://www.geocities.com/TimesSquare/Battlefield/8187/tutorial1.htm
ENTRANCE COMPETENCIES
The students are expected to be computer literate (Microsoft windows, Internet, and
Blackboard 6 environments) and to be familiar with basic programming logic and skills
as well as high school level mathematics.
COURSE EXPECTATIONS
Students are expected to get knowledge of some advanced programming concepts as well
as the ability to design, program, debug and test multiform Visual Basic applications.
EXIT COMPETENCIES
Students will demonstrate knowledge of advanced programming logic, they will be able
to develop, design, program, implement, debug and test the multiform applications.
TOURO COLLEGE COURSE OUTLINE
NEW YORK SCHOOL OF CAREER AND APPLIED STUDIES
DEPARTMENT:
COURSE TITLE:
COURSE NUMBER:
PREREQUISITES:
CREDIT HOURS:
PROFESSOR:
E-MAIL ADDRESS:
TELEPHONE NUMBER:
Computer Science
Advanced Visual Programming and Data Structure
GCO 232
GCO 141
3
Dr. Gene Kuleshov
genek@touro.edu
(212) 463-0400 x 231
CLASS MEETING:
First day of class – February 10, 2004
Day of the week – Tuesday
Time – 12:30 PM – 3:00 PM
Room # 336 (Computer Lab, 3rd Floor)
Last day of class – June 1, 2004
Holidays: April 7, 13, and May 25, 2004 (No class)
Midterm test date – March 23, 2004
Final test date – June 8, 2004
COURSE DESCRIPTION:
This course discusses event driven programming using Visual Basic 6. The difference
between event driven and the procedure oriented programming is examined. Building
blocks within the user interface, various properties and functions, assigning access keys,
and variables are some of the topics discussed. There is extensive lab time in this course.
ENTRANCE COMPETENCIES:
The students are expected to be computer literate (Microsoft windows, Internet, and
Blackboard 6 environments) and to be familiar with basic programming logic and skills
as well as high school level mathematics.
GOALS AND OBJECTIVES:
To introduce the student to object oriented event driven visual programming. Some of the
topics covered are:
 Object Oriented Programming
 Running a Visual Basic Program
 Controls and Event Procedures












Learning to think visually
VB’s Graphic Controls
Variables, Constants, Math Operators, and Formulas
Defining Variable and Procedure Scope
Inputting Values and Printing
If-Then-Else Logic
For-Next Loops
Do-Loops, While-Loops, and the Timer Control
Select Case, List, and Arrays
Numeric and String Functions
Modular Design
Debugging. File Processing
COURSE REQUIREMENTS:
Attendance, lab assignments, homework, midterm and final exams.
COURSE EXPECTATIONS:
Students are expected to get knowledge of some advanced programming concepts as well
as the ability to design, program, debug and test multiform Visual Basic applications.
EXIT COMPETENCIES:
Students will demonstrate knowledge of advanced programming logic, they will be able
to develop, design, program, implement, debug and test the multiform applications
PROCEDURE:
INSTRUCTOR’S GRADING POLICY/CRITERIA:
Grades will be based on the local tests and quizzes, lab and homework
assignments, midterm and final examinations. These will be weighted as follows:
Lab and Homework assignments
Midterm examination
Course Project
Final examination
30%
20%
10%
40%
TEXTBOOKS:
Title:
Author:
Pub. Date:
Publisher:
ISBN #:
VISUAL BASIC 6 (Environment, Programming, & Applications)
Alan Eliason & Ryan Malarkey
1999
QUE E&T
1-58076-272-7
BIBLIOGRAPHY:
Title:
Author:
Pub. Date:
Publisher:
ISBN #:
Developing Applications with Microsoft Visual Basic: Advanced Topics
Michael Ekedahl
2000
Course Technology
0-7600-5852-0
RELATED WEB SITES:
http://www.dpetty.com/visualbasic.htm
http://users.turboline.be/
http://www.geocities.com/TheTropics/3791/vbtutor.html
http://www.geocities.com/TimesSquare/Battlefield/8187/tutorial1.htm
COURSE CONTENT:
Week
1
2
3
4
5
Topic
Visual Basic Environment. Project Window,
Properties Window, Code Window. Changing
Form Properties. Opening the Code Window
and Writing VB Instructions.
Adding Controls and Event Procedures to
Form Modules. Setting Properties for a
Control. Controlling Naming Conventions.
The Dim Statement. The Assignment
statement. The Print Method. The Cls
Method. The Label and the Text Box.
The List Box and the Combo Box. Adding,
Sorting, and Removing Items from List and
Combo Boxes. Using Frame Controls to
Improve Interface. Option Button and Check
Box Controls. Creating a Menu Bar and
Writing Code for Menu Procedures. The
Menu Editor. Adding a Scroll Bar to a Design.
The Scroll Bar Properties.
Introduction to the Graphic Controls and
Graphic
Methods of Visual Basic.
Variable and Constant. The Six Types of
Numeric Variables: Integer, Long Integer,
Single Precision, Double Precision, Currency,
and Boolean. String Variables. Using
Variables of Type Date. The DateDiff
Function.
Source
VISUAL BASIC 6:
Environment, Properties,
and Application, pp. 1 – 50
Ibid., pp. 51 – 72
Ibid., pp. 73 – 97
Ibid., pp. 99 – 121
Ibid., pp. 125 – 150
6
7
8
9
10
11
12
13
14
15
16
Math Operators and Formulas. The Seven
Types of Operators. A Counter Variable.
Converting Strings to Numbers and Numbers
to Strings.
If … Then … Else Logic and the Select Case
Statement. Understanding the Logical
Operators.
The Midterm Examination.
Inputting Values and Formatting Output.
Understanding the Uses of an Input Box and a
Message Box. Using Named and UserDefined Formats.
Understanding the Differences in Scope
Among Local, Module, and Global Variables.
Understanding the Scoping of Procedures.
Working with Loops. Converting For-Next
Loops to Do Loops. Adding the Timer Control
to a Project.
Lists and Arrays. Selecting an Element from
List Box and Combo Box. Working with
Control and a Variable Array.
Designing Multi-Column List. Using the
MSFlexGrid Control. A User-Defined
Variable Array.
Numeric Functions. String Functions.
Manipulating and Modifying Strings.
Comparing, Constructing, and Sorting Strings.
File Processing Controls. Writing Text to a
File. Reading Data from a File. Adding a Kill
File Procedure.
Review of Entire Course.
The Final Examination.
Ibid., pp. 151 – 166
Ibid., pp. 167 – 196
Ibid., pp. 197 – 218
Ibid., pp. 219 –247
Ibid., pp. 249 – 278
Ibid., pp. 313 – 337
Ibid., pp. 339 – 356
Ibid., pp. 357 – 405
Ibid., pp. 407 – 440
COURSE PROJECT:
The integrated project is the Visual Basic multiple document interface (MDI) application.
It is a test having hierarchical structure that includes three different levels of problem. To
complete such an application, the students must demonstrate the knowledge of modular
design, private and public variables, randomization procedure, decision-making,
repetition structure, and input and output procedures. The flowchart of the integrated
project is presented below.
BANK OF PROBLEM
ERR
3rd LEVEL
>1
RND
ERR > 4
2nd LEVEL
RND
ERR > 1
1st LEVEL
ERR
>1
RND
IDENTIFICATION
C
INTERRUPTION
START
The Flowchart of the Integrated Project
B
REPORT
A
Download