Attention WWW students : Read WWW BASIC FAQs before you do anything else on this page !!


Announcements:

 

General info. about assignments:

Activities Schedule for Visual Basic Students 

Week start date
Topic Covered
and
Supplemental Links
 Activities Projects (VB Book) or programming activities (direct link)
Assignments and Tests
 

(homework is due on  Friday of the given week)

 
8/25 Introduction to VB

Orientation
No assignments due
 
 Building a Simple Application
Introduction,
Project 1
No assignments due
9/1
Simulating console IO
Types, Assignment statements, Expressions, Formatting

 

Console Simulation
Activity
VB Conversion Assignment 1 (Simple Output) (4%)
Additional requirements:
Hint: Create a console application with following input fileds: 
Name, Experience and CS Major
and  one command button : Create Report
When you click on Create Report, your console ouput should create a report equivalent to the one given in Simple  Output assignments. In other words, this assignment (unlike the original) is interactive
What are conversion assignments?
9/8
Intrinsic and ActiveX Controls
 

Project 2
Equivalency Application (VB1.64)  (4%)
9/15
Decision statements
Decision Statement Activity
VB Conversion Assignment 2 (Bill of Sales) (5%)

Hints:

  • Instead of using statements like: xxx.text="$"&price, try xxx.text=Format(price,"currency")
  • Make sure that you have input box for every item's quantity; however the item prices are constant and should not be entered by the user
  • Report needs to be generated in ouput box just like we do it in console activitivities.
 

9/22

Forms, Dialogs, Executable files, Debugging


 
 
 
Project 3 
(You do not need to create executable version of the project)
Changing properties at runtime with checkbox control (VB2.63) (5%)
Additional notes /requirements : 
1.When a box is checked the result has to show below the appropriate label, for example (numbers 3,7):
Addition
10 
2. When the checkbox is unchecked, the label has to revert to original title,   without result, for example:
Addition
3. If division by 0 is attempted, error message needs to appear, for example:
Division
Error! 
Hint: To accomplish this use if...then...else structure and label
generation similar to what you have on page 2.53
9/29
Loop statements
Loop Activity
No assignments due
10/6
Menus, Controls, Dialogs, For Loops, Procedures
 

 
Project 4
Creating and using a future value calculator (VB3.76) (6%)
Additional notes /requirements : 
1. Replace Compute command button with About command button, which should produce a form very similar to one from the previous project
2. Calculate future value in "real time" – new future value should show as soon as you slide years or rate slide bar (therefore you don't need the Compute button) 
Hint 1 : look at your inches and centimeters project
Hint 2:for calculating future value : instead PMT function that you used in the project, you will need FV function. FV is  very similar to PMT ; if you don't have VBasic help files available, look it up under Excel help (Excel uses exact same PMT and FV functions). Test it on example given on figure 3-111
 
10/13 midterm  

 Midterm (25%) 

10/20
Sub-programs
 
Sub-program Activity
VB Conversion Assignment 3 (Grades) (5%)
10/27
Drag and Drop Events and Coding

Project 5
Writing a General Procedure (VB4.58) (5%) 
(Notice that you need to do 
Creating an Application Menu first (VB4.56) 
11/3
Arrays
Array1 Activity
No assignments due
11/10
More Array Algorithms
Array 2  (sorting) Activity
VB Conversion Assignment 4 (Credit 1)   (5%)
This should be an easy assignment - much more suited for visual then "standard" programming language. You need a couple of input boxes, one command button and the output box that will read either "Approved" or "Not approved". No validity check for your input data is necessary.
11/17
Records and Strings
Records Activity
VB Conversion Assignment 5 (Credit 2)   (5%)
You will need a loop in this program only if you use "pop-up" window approach (see Loop activities). If you use a form with input boxes for all input data (that are cleared after you click on "Approve" button), the  only extra output is the "running" percentage of approved applications (that changes every time you approve/disprove another application. Make sure that you check the validity of data, before processing it.
11/24
Files
Files Activity
No assignments due
12/1 Study for final  
VB Conversion Assignment 6 (Grades 2)   (6%)
In this assignment, you need two input boxes (for input and output file names - full directory path) and one command button (to create the file). You  do not need an output box - I will check it by looking at output file that it produces. It is important that you do not "hardwire" the files (i.e. the user has to be able to enter something like this in input boxes : "c:\temp\myfile.txt").
Make sure that you use a separate subroutines for reading the file, sorting, assigning letter grade and writing the file.
12/8-12/10 take final
--

Final (25%)