Visual Basic                 Course Outline                            Spring 2001

 CISY 220                                                                         Milt Reiss

 

Objectives:

  1. Understand terms and concepts used in object oriented programming

      such as controls, objects, properties, methods, and events.

  2. Create and execute Windows applications using many Visual Basic

      tools, statements, properties, methods, and events.

  3. Understand basic concepts of file access and create and execute

      applications that can open, read from, save to, and close files.

  4. Understand what databases are, how they are designed, and how to

      use Visual Basic to access them. ***

Instructor Information:

      Office:  N313 (Hunterdon Hall),   Phone 526-1200 ext. 8473

                    e-mail:  mreiss@raritanval.edu 

      Office Hours:  Tues 3:30 - 4:30 pm, Wed. 4:30 - 5:30 pm, Thurs 3:30 - 4:30 pm

                                Fri 12:30 – 1:15,  Other times by appointment (except Mondays)

Required Materials:

     Two 3.5 inch (HD) diskettes, externally labeled with your name, course and section. Two two-pocketed folders for handing in labs with a  special compartment for a diskette or just a plastic envelope to hold both labs and diskette. Label your folders with your name and VB section. Please, no interoffice or paper envelopes.

Student Evaluation:

Student performance in the course will be evaluated as follows:

A.  Lab Assignments. There are eight Visual Basic programming lab

 assignments. There will also be about three exercises.

     These assignments are due on time with proper documentation.

     Five points is lost on a lab for each week a lab is late; no credit is given

     for labs more than two weeks late.

B. Quizzes. There will be two tests which will consist of T/F, 

     multiple choice, short answer, and problem solving questions.

C. Homework. Typically, homework consists of  questions that I hand out for each

     chapter in the text. I will collect each of these homeworks. You must type your  

     answers and hand them in with the questions (either staple the original questions

     to your answers or retype the questions with your answers). These answers

     should be direct, correctly spelled, and in good style. Homework is due the week

     after the chapter is covered in class.

D. Final Exam. The final exam is comprehensive and includes all the material

     covered during the semester. It is at least 80% multiple choice and T/F.

 


The final grade is based on the following weights:

                        Labs 40%, Tests 30%,

                        H.W. 6%, Final Exam 24%

A (89.5-100%), B+ (86.5-89), B (79.5-86), C+ (76.5-79),

C (69.5-76), D (59.5-69), F (< 59.5)

Visual Basic                 Course Outline                            Spring 2001

 CISY 220                                                                         Milt Reiss

 


Class policies:

       Attendance.

   1. Students are required to attend all classes. You are responsible for

       material missed due to absence(s).

   2. Students who miss three classes in evening courses (for day courses,

       three lectures) may be withdrawn from the class at the discretion of

       the instructor. This is official school policy.

          3.  I do not routinely give make-up quizzes. If you cannot be present for

              an exam and you are going to want to make it up, you must inform me

       (in person, phone, or e-mail) before you miss the regular exam.

 

       Labs.

          1. No eating or drinking in computer labs. This is official school policy.

          2. Copying on labs will not be tolerated and will result in a zero (0) for that

               lab. Although I encourage you to work together, labs must be done

              individually and should reflect your own logic and style.   

          3. Each lab that you hand in must be stapled; if not, you will lose points. 

          4. Each lab (project) handed in must start with an introductory comment  

              within the code of the project! We will discuss other aspects of writing

              clear code in class.

          5. Labs are due on time; labs will not be accepted more than 2 weeks late.

              Five points a week may be lost for late labs.

 

       Late Policy.

               You are expected to be in class on time. Coming late is disruptive to me

       and to your classmates.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Visual Basic                            Lecture Outline                                   Spring 2001

 

Text Used: The Visual Basic 6 Coursebook by Forest Lin, Scott/Jones Inc., 1999

 

Week

                        Topic(s)

       Reading Chapter(s)

   1

Introduction to Visual Basic Programming                       

          Sequential vs.Event-Driven Programming

The Visual Basic Environment

          The Toolbox(Controls),  Properties window,

          Toolbar,  Menu  bar, Project window

Sample Program

          Saving and Opening a Project

          Printing Form and Code of a project

 1

   2

The Code Window

          Object Browser 

          Editing

          Debugging

Sample Projects

          Printing Output on the printer

          Opening Text Files for Input/Output

  2,  Omit topic F

   3

Forms;

          Their Properties, Events, and Methods                        

 

  3

 

   4

Controls - Properties and Events

            Introduction to Input And Message Boxes           

  4               

Lab 1 Due

   5

Test 1,   Chapters 1-4                                                        

Lab 2 Due

   6

The Basic Language

          Variables, Data Types, Operators,

          Constants, Scope of Variables   

  5

   7

The Basic Language                                                         

          Decisions   

          Looping

 6,  Omit Topics G, I

      Lab 3 Due

   8

Built-In Functions                                                     ,.

         Arithmetic, String, Format  Functions

         The Timer Control

 7, Omit Topics Ad., B, C, Dc

     Lab 4  Due

   9

Procedures and Functions                            

         Passing ByVal or ByRef                                

8,  Read Topics A-F  

    

10

Debugging and Error Trapping                   

Scope of Procedures and Functions

Custom Controls  

8,  Read Topics I,  J, K, L

     Lab 5 Due

 


 

Visual Basic                      Lecture Outline  (con’t)                         Spring 2000

 

 

Week

                        Topic(s)

       Reading Chapter(s)

 11

Test 2,  Chapters  5 – 8                  

 

Lab 6 Due

 12

Arrays                                                          

        Declaring Arrays                                                

        Dynamic Arrays

        Passing Arrays

        Sorting With Arrays

        Records  (Structures)  

        Control Arrays    

9,  Omit Topics J, L, M, O

 13

Files and Data                                             

         Sequential Files                                       

         List Box and Combo Box    

                                                            

 

10, Omit Topics D- F, H

 Lab7 Due

14

Designing Custom Menus                            

          Keyboard and Mouse Events                       

          Data Control and Data Bases                       

12 pp 822 – 830

12 pp 807 – 820

12 pp 869 - 888

 15

Review

Lab 8 Due

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Visual Basic                 Course Outline                            Spring 2001

 CISY 220                                                                         Milt Reiss

 

Laboratory Assignments

 

Lab No.                                 Project                          Page no. in text

    

      1                                      2CALC2.VBP                          99  

                                              2REMINDR.VBP                99 - 100

 

      2                                      3FORMS.VBP                168

                                         ***3PRFONTS.VBP    or            170

                                         ***3PRMIDDLE3.VBP       172

 

      3                                4ADD.VBP                            239

                                          ***4GROWTH.VBP                  241

                                           

 

      4                                      6TEST.VBP                      363

                                              6CALC.VBP                     365

 

      5                                     7WORDS.VBP                 443

                                             7ENCRYPT.VBP                 446

                                        ***7PALIN.VBP                          447

                                       

 

      6                                      8INVEST.VBP                    538

 

      7                                9CALC2.VBP                      626 - 627

                                         ***9ADD.VBP                          632

 

      8                                      10PHONE.VBP                  714 - 715

 

      9                                ***Create a Database               880 - 888

                                                  with the Visual

                                                Data Manager                                  

                                                   & Design a Data Form     

 

*** extra credit – each extra credit counts for 1 point on your lab average.

                             The or above means either the first or the second – not both