compsci1 Mr. Farrell
Millburn High School Computer Science Teacher
http://www.millburn.org
 
Computer Science 1
Visual Basic 6.0


This course is intended for beginners without prior knowledge of programming, but some logical thinking skills are expected.  This course will give students a flavor of what computer programming is, let them decide whether they want to continue next year with the computer science 2 course.

Objectives

* Understanding the basic elements of computer hardware and software and their roles in a computer system.

* Understanding the concepts of syntax in a programming language and the importance of readability, conventional style, and documentation in programs.

* Understanding the importance of structured approach to problem solving.

* Understanding the concepts of variables and constants, data types, and control flow in a program.

* Learning the basics of VB syntax for declaring constants and variables, programming conditional and iterative statements, implementing events.

* Acquiring some skills in designing software solutions to problems from various application areas.

Organization

The course will consist of class lecture followed by ample hands on exercises, labs and case studies.  The intended ratio of class lecture to actual development efforts will be 2:3 three days of exercises to two days of lecture.  Chapter powerpoint presentations will be used for each unit, however it is highly recommended that students take copious notes during each lecture.

At the conclusion of the chapter lecture, there will be extensive lab time to work on the unit questions
and programming problems.  

There will be exercises identified, for each chapter, that will be required to be handed in for grading.

Text

Programming with Microsoft Visual Basic 6.0, Diane Zak

Supplemental Sources

An Introduction to Programming Using Microsoft Visual Basic versions 5 and 6, Brown and Presley

Visual Basic Developers Journal

Microsoft online

MSDN


Course Outline


1.   An introduction to software

Brief history of Visual Basic as well as other programming languages.



PART A:
Answer Questions 1 – 11 TXTBK p.34-36
Do Exersizes 1 – 5 TXTBK p.37-38

PART B:
Answer Questions 1 – 9 TXTBK p.52
Do Exercises 1-5 TXTBK p.52-56

PART C:
Answer Questions 1 – 20 TXTBK p.81
Do Exercises 1,2,3,6,7,9,10 TXTBK p.83-87
Debugging Exercises 1,2,3,4 TXTBK p. 87-88

1.A.  Discussion of the professional application development environment

The real world of IT is a dynamic, heterogeneous environment that rarely relies on a single technology
to deliver a systems solution to meet a business need.  A technologist’s value is in his/her ability to provide technological solutions that utilize different platforms, communication protocols and development tools.


2.   An Introduction to Visual Basic

Learning the Visual Basic development environment.  The form and other objects of a VB application.  Creating and saving projects.  Working with controls.  MSDN.  Writing simple code.

PART A:
Answer Questions 1- 17 TXTBK p.105-107
Do Exercises 3 TXTBK p.108  (1 and 2 are optional)

PART B:
Answer Questions 1- 18 TXTBK p.125-127
Do Exercises 1,2,3 TXTBK p.127-128

PART C:
Answer Questions 1- 11 TXTBK p.150-151
Do Exercises 1,2,3,5,6,7,8,9,11 TXTBK p.153-157
Discovery exercises (OPTIONAL) 12-19 TXTBK p.157-159
OPTIONALY:
exercises to do from Brown and Presley book
p.3-24 to 3-27




3. Designing Applications

Procedure Oriented VS Object Oriented/Event Driven approaches.  Approach to designing, developing and testing an application.  The Skate-Away application.

Questions and exercises to be determined.

4.   Using Variables and Constants

Creating variables and constants.  Scope.  Concatenation.  Input box.  Object Browser.  Dialog boxes.  

Questions and exercises to be determined.


5.   The Selection Structure

If…Then…Else and Select Case statements.  Using VB icons.  Call Statement.  Option buttons.  Static variables.  Getfocus event.  The checkbox.

Questions and exercises to be determined.


6. The Repetition Structure

For Next loop.  Do While Loop.  Using Control Arrays.  Enabled property and the getfocus event.  Coding the checkbox array.  The Messagebox.  

Questions and exercises to be determined.


7.   Sequential Access Files, Menues, Reports

Creating a listbox.  Data files.  Sequential access data files.  Opening, reading, writing and closing files.   Printing.  Menus.  String manipulation.

Questions and exercises to be determined.


8.   Dialog Boxes and Error trapping

Working with dialog boxes.   The text editor.  Form unload event.

Questions and exercises to be determined.


9. Random Accss Files

Random access VS sequential access. Opening, reading, writing and closing random access files.

Questions and exercises to be determined.




10. Database Access

Using VB’s data manager.  Database concepts and terminology.  ADO data control.  CRUD.

Questions and exercises to be determined.


11. Variable Arrays

Sorting Data in variable arrays.  Data Grid control.  Arrays.  

Questions and exercises to be determined.


Grading

Grading will consist of a combination of assigned labs (projects), a midterm exam or a midterm project (not decided at this point which it will be) and a final project.  Each graded assignment (project, test) will be assigned a point value.  Grades will be a function of the sum of the students accumulated points divided by the sum of the individual point values for each assignment.  

For the projects, value is given to coding style and structure and not just the result.  

Adjustments to the grade will be made based on preparation, classroom participation and demeanor.
Useful links
Last updated  2008/09/28 07:44:16 PDTHits  170