CSE 1530
Introduction to Computer Use II: Programming
Winter 2006

Supplemental Course Website for Section M


Course Information

News and Announcements

Sunday, May 7 2006
  • The Departmentally organised Deferred Exams for exams missed in the W06 session will take place on May 10, 2006, in Vari Hall (VH)  D (note room change!), from 9:00am to 12:00pm.
Saturday, April 1 2006
Wednesday, April 19 2006
Saturday, April 1 2006
  • Monday (April 3) is our last lecture.  The entire lecture will be dedicated to a review for the final exam - bring any questions you may have!
  • Office hours during exam period are from 12-1 between April 17-21, MTW in CSE 3050 (with John Amanatides) and RF in CSE 2015 (with Bill Kapralos).   Regardless of the section you are enrolled in, you may attend any office hours.
Wednesday, March 29 2006
  • The "Read File" example (code) we covered during today's lecture is available.  The "Write File" example to be covered during Friday's lecture is also available (click on links)..
Tuesday, March 28 2006
  • Test Grade Annulment Form is now available.  You can complete the form (follow the link) and submit it to the Computer Science and Engineering office before April 21 2006 before 4:00pm. The annulment form is to be completed only for tests that you have written and wish to drop (e.g., if you have not written a test then its weight will be automatically transferred to the final).
Thursday, March 23 2006
  • A portion of tomorrow's lecture (March 24) will be dedicated to Exercise 6-8. 
Sunday, March 19 2006
  • For those that have not picked up their Test 2 or any previous exercises (up to exercises 6-3), you can do so after the lecture on Monday (March 20).
Friday, March 17 2006
Wednesday, March 15 2006
  • Test 2 will be returned during Friday's (March 17) lecture.  In the meantime, I would suggest you do not worry about how you did on the test and jump to conclusions until the tests are returned and we go over the solutions.
Monday, March 13 2006
  • There is no exercise due March 20 therefore, no explicit exercise you should be working on this week.  You should however take a look at some of the exercises in Chapter 6 and work on them.
  • Typo on outline: the next assignment will be 6.8 (not 6.9) and is due on March 27th.
Friday, March 10 2006
  • Solutions for Test 1 are available online for a short period (e.g., one day) only.
  • Test 2 (Wednesday, March 15 2006) will cover the material from February 6 (e.g., Control Arrays etc.) to the end of today's (Friday, March 10) lecture.  The material includes the lecture notes,  course textbook and exercises that you submitted.
Wednesday, March 8 2006
  • Just a reminder that the deadline to withdraw from the course is Friday, March 10 2006.
  • During Friday's lecture we will discuss Ex. 6-3 and review/discuss the solutions to Test 1.
Sunday, March 5 2006
  • Just a reminder that the deadline to withdraw from the course is Friday, March 10 2006.
Thursday, March 2 2006
  • The Winter 2006 exam schedule is now available from the registrars office website.  The exam for this course (common exam for all three sections) is as follows:
    • Saturday, April 22 2006 7:00pm - 10:00pm in the Tait McKenzie Student Fieldhouse (East).
Wednesday, March 1 2006
  • A solution (VB code) to Ex. 5-5 is available. Keep in mind that the purpose of the exercise is to allow you to practice using loops and strings and therefore, therefore, there may be cases where the output is not necessarily grammatically correct!  Go over the solution and if there is anything you do not understand, we will discuss it further during Friday's lecture.  This exercise may not necessarily be easy for you to complete however, it is recommended that you do make an attempt to complete it.
Monday, February 27 2006
  • Just a reminder that although you do not need to submit Ex. 5-4 and 5-5, you should at least make an attempt to work on them - at the very least, it will prepare you for completing Ex. 5-9 that is to be submitted next Monday.
  • Another reminder that Test 2 is Wednesday, March 15.
Thursday, February 23 2006
  • A reminder regarding Exercise 5-3: ensure proper use of spacing (indentation) of statements within a loop so that the "loop structure" is evident.  The same applied to "If" statements as well - indent statements that follow an "If", "ElseIf" or "Else" statement to ensure the structure is evident.  Grades may be deducted if you fail to do this!
Thursday, February 23 2006
  • Friday's lecture (Feb. 24) will primarily deal with issues relevant to Exercise 5-3 - see the lecture slides for further information relevant to the completion of Exercise 5-3..
  • I will be in the Glade Lab after Friday's lecture for a short period.
Monday, February 20 2006
  • Test 1 was distributed during today's lecture.  Anyone who has not picked up their test may do so after Wednesday's lecture.  In addition, if there are any questions/issues with respect to the grading of your test, see me during office hours .
  • Just a reminder that Wednesday's office hours will be held in the Glade lab from 2:30pm-3:330pm.
Sunday, February 19 2006
  • Test 1 and Exercise 4-4 has been graded and will both be distributed after the lecture on Monday (Feb. 20).  We will discuss the solutions to Test 1 at a later time.
Friday, February 10 2006
  • We will discuss Exercise 4-8 during today's lecture and in the process, discuss Control Arrays etc. 
  • Next week is Reading Week (no lectures) and therefore Exercise 4-8 is due the following week e.g., Monday, Feb. 20.
  • Test 1 will be returned Monday, Feb. 20.
Tuesday, February 7 2006
  • Just a reminder that next week is reading week (e.g., no classes next week) and therefore, Exercise 4-8 (the exercise you are working on this week) is due Monday, February 20.  It is a good idea to work on Exercise 4-6 for your own knowledge since it does cover many of the concepts relevant to Exercise 4-8.  We will examine Exercise 4-6 and 4-8 in greater detail during Friday's lecture.
  • Test 1 tomorrow from 1:30pm - 2:15pm - be there on time!  Just a reminder that you are responsible for material up to and including Friday's (Feb. 3) lecture.
Thursday, February 2 2006
  • Exercise 3-3 will be distributed back to you after tomorrow's lecture (for those who didn't pick them up on Wednesday).
  • I will be in the Glade lab for a short time on Friday after the lecture (until about 3:00pm).
  • Some time will be put aside during Friday's lecture for discussing Test 1.
Tuesday, January 31 2006
  • Exercise 3-3 has been graded and will be distributed back to you after Wednesday's lecture.
  • Wednesday's office hours will be held in the Glade lab (2:30-3:30pm).
  • During Wednesday's lecture, we will continue experimenting with Exercise 4-1 that we started during Monday's lecture.  We will also start discussing Ex 4-2 - this exercise actually forms the basis of Ex 4-4. 
Sunday, January 29 2006
  • Just a reminder that as far as the tests/final exam goes, you are responsible for any material included in the appropriate course textbook sections, the lecture notes and any material/information presented in the lectures not necessarily included in the lecture notes or the textbook - it is therefore recommended that you attend the lectures!
Tuesday, January 24 2006
  • Lab exercise 2-3 has been graded.  It will be distributed back to you either on Wednesday or Friday.
  • TA lab schedule is now available via the "main" course web page.  The TA will be in the lab to assist you with the exercises and Visual Basic in general.
  • Reminder: tomorrow's office hours will be held in the Glade Lab as opposed to CSE 2015.
Sunday, January 22 2006
  • When printing the necessary Exercise documents from the Glade Lab, there may be a problem with the "Form Image" printout.  In particular, at times the textboxes and command buttons  may appear colored black and the caption of the buttons may therefore not appear on the printout. Do not worry about this as this is probably a CNS related problem.  You may submit your assignment with these "blacked-out" textboxes and buttons and no grades will be deducted.
  • This week you should be working on Exercise 3-4. 
  • Wednesday's office hours will be held in the Glade lab (2:30-3:30) as opposed to my office (CSE 2015).  Feel free to seek help regarding Exercise 3-4!
Thursday, January 19 2006
  • No lecture notes for Friday's (Jan. 20) lecture.  The lecture will consist on "live" demos and examples of several concepts relevant to Exercise 3-3.  It is recommended you attend this lecture!
Tuesday, January 17 2006
  • I will be in the Glade Lab Friday after the lecture to assist you with Exercise 3-3 or other course/Visual Basic related matters.
Thursday, January 12 2006
  • Several of you have asked about any "student" or "lite" versions of VB 6.0. This should be available in various VB 6.0 related textbooks including the suggested reference (Programming in Visual Basic 6.0 (2nd edition), by J.C. Bradley and A.C. Millspaugh (McGraw Hill, 2004)).  Unfortunately, the Bradley & Millspaugh book is not available in the book store or library but you should be able to find it elsewhere (e.g., amazon.ca but it may take a few weeks to ship it out or you can visit other book stores.)  As far as other VB books go, no specific ones just try finding one that covers VB 6.0 and includes a version of VB 6.0.  Of course, keep in mind that the lab does have VB 6.0 installed and you can use the lab machines (e.g., there is no requirement to own a copy of VB 6.0)!
  • I will drop by the Glade lab after Friday's lecture to provide some assistance with any exercises 2-3 related problems/questions you may have.
Monday, January 9 2006
Friday, January 6 2006
  • Although you should have a Glade Lab account already after completing CSE 1520, for those that currently do not have a Glade Lab account, you can obtain one by visiting the Computing Commons Lab located in the William Small Center (the building opposite the Chemistry building where Tim Horton's is located) and speaking to the lab attendant.   Here are the hours of operation for this lab.
  • Your course textbook (course notes: Visual Basic: Programming for Literacy by Peter Cribb) just arrived at the bookstore and should be available for purchase on or before Monday (according to the person I spoke to at the bookstore).  In the meantime, if you do not have a copy, refer to the web version of the book.
Wednesday, January 3 2006
  • In this supplemental course website, all course lecture notes will be made available in addition to any announcements specific to Section M (e.g., lecture cancellations should one arise etc.).  I will aim to post the presentation (in pdf format) about one day prior to the lecture although there will be no guarantee.  Lecture notes posted prior to the lecture will be preliminary however, after the lecture, an updated presentation will be posted (depending on the lecture, I may modify the preliminary version slightly and although I will do my best to eliminate them,preliminary notes may contain minor errors).  This website is not intended to replace the official course website (see link above).
  • Office is located in the Computer Science and Engineering (CSE) Building 2015.

Lecture Notes


Week Thirteen (Topic F: Files and Databases - Using Classes and Functions)
Monday, March 27 2006
Wednesday, March 29 2006 Friday, March 31 2006
Final notes
   3 slides per sheet
   6 slides per sheet
Final notes
   3 slides per sheet
   6 slides per sheet
   Read file example covered in class
   Write file example (to be covered on Friday)
Final notes
   3 slides per sheet
   6 slides per sheet
   Read file example covered in class
   Write file example
Notes:
This week we we will continue our discussion on Topic (Topic F) that deals with files and databases.  This week you should be working on Exercise 7-6.  We will discuss Ex. 7-6 during Friday's lecture.


Week Twelve (Topic F: Files and Databases - Using Classes and Functions)
Monday, March 20 2006
Wednesday, March 22 2006 Friday, March 24 2006
Final notes
   3 slides per sheet
   6 slides per sheet
Final notes
   3 slides per sheet
   6 slides per sheet
Final notes (no changes made to Prelim notes).
   3 slides per sheet
   6 slides per sheet
Notes:
This week we we will begin a new Topic (Topic F) that deals with files and databases.  In the process, we will learn various object oriented programming concepts and in particular, creating and using "new" classes.  This week you should be working on Exercise 6-8.  We will discuss Ex. 6-3 during Friday's lecture.


Week Eleven (Topic E: Subprograms - Functions and Procedures)
Monday, March 13 2006
Wednesday, March 15 2006 Friday, March 17 2006
Final notes
   3 slides per sheet
   6 slides per sheet
Test 2 - 1:30pm - 2:15pm in our regular lecture hall. No lecture notes for this lecture. We will discuss the solutions to test 2.  It is strongly recommended you attend this lecture!
Notes:
This week we we will continue with Topic (Topic E) that deals with Subprograms (functions and procedures).  There is no exercise to be submitted March 20.


Week Ten (Topic E: Subprograms - Functions and Procedures)
Monday, March 6 2006
Wednesday, March 8 2006 Friday, March 10 2006
Final notes
   3 slides per sheet
   6 slides per sheet
Final notes
   3 slides per sheet
   6 slides per sheet
No lecture notes for this lecture. We will discuss Ex. 6-3 (the exercise due Monday) and will also review/discuss the solutions to Test 1.
Notes:
This week we we will begin a new Topic (Topic E) that deals with Subprograms (functions and procedures).  This week you should be working on Exercise 6-3.  We will be looking at examples throughout the week to help you complete the exercise and will discuss Ex. 6-3 during Friday's lecture.


Week Nine(Topic D: Control Structures - Iteration)
Monday, February 27 2006
Wednesday, March 1 2006 Friday, March 3 2006
Final notes
   3 slides per sheet
   6 slides per sheet
Final notes
   3 slides per sheet
   6 slides per sheet
   Solution (VB code) to Exercise 5-5
No lecture notes for this lecture. We will continue discussing the solution to Ex. 5-5 and then discuss Ex. 5-9 (the exercise due Monday).  Time permitting, we will also discuss the solutions to Test 1.
Notes:
This week we we will continue with Topic D (Iteration).  Focus will be placed on the manipulation of strings but keep in mind that loops are typically used when working with strings given that a string is nothing more than a sequence of characters and we can iterate through all the characters one at a time in a loop.  This week you should be working on Ex. 5-9.



Week Eight (Topic D: Control Structures - Iteration)
Monday, February 20 2006
Wednesday, February 22 2006 Friday, February 24 2006
Final notes
   3 slides per sheet
   6 slides per sheet
Final notes
   3 slides per sheet
   6 slides per sheet
Final notes
   3 slides per sheet
   6 slides per sheet
Notes:
This week we we will begin a new Topic (Topic D) that deals with Iteration or the repeated execution of a set of statements.  This week you should be working on Exercise 5-3.  We will be looking at examples throughout the week to help you complete the exercise and will discuss Ex. 5-3 during Friday's lecture.



Week Six (Topic C: Control Structures - Selection)
Monday, February 6 2006
Wednesday, February 8 2006 Friday, February 10 2006
Final notes
   3 slides per sheet
   6 slides per sheet
Test 1 - 1:30pm - 2:15pm in our regular lecture hall.
No lecture notes for this lecture.  The lecture will consist of "live" demos and examples of Visual Basic with an emphasis on the material relevant to Ex. 4-8.
Notes:
We will continue our discussion on on Topic C that we started last week.  This week CheckBox and Option  controls will be introduced and discussed.  You should be working Exercise 4-8 this week and we will discuss the exercise further during Friday's lecture. 




Week Five (Topic C: Control Structures - Selection)
Monday, January 30 2006
Wednesday, February 1 2006 Friday, February 3 2006
Final notes
   3 slides per sheet
   6 slides per sheet
Final notes
   3 slides per sheet
   6 slides per sheet
Final notes
   3 slides per sheet
   6 slides per sheet
Notes:
This week's lectures will include "live" Visual Basic demos/examples to complement the lecture notes.  We will look at some of the examples from your textbook (in particular, Ex. 4-1 and 4-2 followed by a brief discussion regarding Ex. 4-4 - the exercise to be submitted)..



Week Four (Topic B: Variables, Data Types and Expressions)
Monday, January 23 2006
Wednesday, January 25 2006 Friday, January 27 2006
Final notes
   3 slides per sheet
   6 slides per sheet
Final notes
   3 slides per sheet
   6 slides per sheet
No lecture notes for this lecture.  The lecture will consist of "live" demos and examples of Visual Basic.  Exercise 3-4 will also be discussed.
Notes:
This week we will continue our discussion of Topic B.  We will look at variable types and declarations in greater detail. 


Week Three (Topic B: Variables, Data Types and Expressions)
Monday, January 16 2006
Wednesday, January 18 2006 Friday, January 20 2006
Final Notes
   3 slides per sheet
   6 slides per sheet
Final notes
   3 slides per sheet
   6 slides per sheet
No lecture notes for this lecture.  The lecture will consist of "live" demos and examples of Visual Basic with an emphasis on the material relevant to Ex. 3-3.
Notes:
The lectures will include "live" demos of working with VB that will serve to familiarize you with the VB environment and to get you started.  We will also go through some examples in Chapter 3 in detail.  You should be working on Lab Exercise 3-3 during this week.


Week Two (Topic A: Introduction to Problem Solving and Visual Basic)
Monday, January 9 2006
Wednesday, January 11 2006 Friday, January 13 2006
Final notes (only one typo corrected so don't print out if you have already printed the "Prelim" notes)
   3 slides per sheet
   6 slides per sheet
Final notes (no changes from preliminary notes)
   3 slides per sheet
   6 slides per sheet
Final notes (only one typo corrected)
   3 slides per sheet
   6 slides per sheet
Notes:
In this week's lecture we will continue our introduction to computer programming and Visual Basic 6.0.  The lectures will include "live" demos of working with VB that will serve to familiarize you with the VB environment and to get you started.  We will also go through the examples in Chapter 2 in detail.  You should be working on Lab Exercise 2-3 during this week.


Week One (Topic A: Introduction to Problem Solving and Visual Basic)
Monday, January 2 2006
Wednesday, January 4 2006 Friday, January 6 2006
No lecture (holiday)
Final notes
   3 slides per sheet
   6 slides per sheet
Final notes
   3 slides per sheet
   6 slides per sheet



This page is maintained by Bill Kapralos
Last modified: Wednesday, April 26  2006
Send any comments or questions to: billkATcse.yorku.ca (replace "AT" with "@")