CIS 56 INTRODUCTION TO VISUAL BASIC

 

Evening School

Assignment #3

Week of February 10, 2003 due by February 24, 2003

 

PROGRAMMING ASSIGNMENT 3:

To reinforce what weve covered in the first four chapters, I want you to do assignment 3 on page 170, VIDEO BONANZA.

 

DIRECTIVES:

Follow the directions that are in the book with two changes.

 

In the last paragraph of the assignment, where it says The Summary button displays the number of customers etc. Instead of using the message box, I want you to use the Summary command button to display the results in EITHER a text box using the multiline property and scroll bars with the Space function OR a picture box using the print method and the Tab function. Try to get things to line-up and use blank lines where appropriate for looks sake. Except for the display part, I want you to use the message box in the other areas of the assignment as directed in the book.

 

The display should have a title at the top.

 

The other change is, that I want you to include the current date both on the forms top left corner and in your display. After Mondays lecture, you will know how to do this.

 

SUGGESTIONS:

n        When you do this assignment, brainstorm with yourself.

n        Ask yourself, what do I ultimately want?

n        What should my results be?

n        Use Pseudocode, especially in developing your logic for your conditions.

n        Utilize the properties you know to make your form as professional looking as you can.

n        Be sure to name the form and NAME the project when you save it. Dont just leave it as project1. When prompted to save the project, give it a name.

 

WHERE YOU WILL LOSE POINTS:

        Failure to use documentation or ambiguous documentation

        Leaving the heading documentation out

        Not providing an over-all summation in the heading about the program

        Improperly naming controls you reference in code and/or not using prefixes

        Improper form design or not naming the form

        MESSY/AMBIGUOUS IF STATEMENTS auto 25 pts

        Badly declared variables or variables with convoluted identifiers (improperly named) Follow naming conventions as suggested in the book.

        Bad logic and/or syntax

        Disorganized code (Keep code well organized. Indent when needed keep uniform where applicable. Note how they code the programs in the book.

        Not following the assignment directions in the book or those otherwise specified by myself. (those I specified above)

 

WARNING!

QUIZ # 1 NOTICE PREPARE THYSELF:

 

I will ask Mrs. Grocer to post your first quiz on the 17th. Anything and everything in the first four chapters and lecture material is fair game for the quiz. It will not be a program so you should be able to complete it in a week. You will be asked to answer the questions using WORD. If you dont have WORD on your system, please find access to it.

 

Also, it will be open book, note, diskette, cd and internet. It should not, however, be open person. That is, you need to find your own answers by referencing them yourself. You dont know what I might have in store for you in the future and having someone else do the work for you may very well come to surface and do you in. To be forewarned is to be forearmed!

 

BE AWARE THAT A QUIZ, UNLIKE A PROGRAM, WILL NOT BE ACCEPTED LATE. IT WILL BE DUE BY 10:00 P.M. ON FEBRUARY 24th AND NO LATER. THIS WILL BE ADHERED TO IN ORDER TO KEEP THINGS FAIR TO ALL STUDENTS.

 

This quiz should also help to reinforce what you have learned.