CSE1530 3.0 Computer Use: Programming

Winter 2010 Course Web Site

News/Announcements

  • Wed. Apr. 14
    Here is the solution to the sample exam. (Sorry its late!)

  • Fri. Apr. 9
    There is now a form available from the main office of the Computer Science Department (CSE1003) which you can fill out requesting to transfer the weight of one or both tests to the final exam. If you didn't write a test there is no need to submit the form - the weight transfer will happen automatically. This must be done before the final exam.

  • Fri. Apr. 2
    Here is a sample exam from a couple of years ago.

  • Thurs. Apr. 1
    Here is the document I will give you at the final exam - a "cheat sheet" if you like - so you don't have to memorise a lot of stuff. Please let me know if you would like to see more things added to it.

  • Tues. Mar. 30
    The example from class today illustrating reading and writing to a file with records stored in a listbox and separated as fields is available here. The file is Sixteen.zip. The zip file also contains a sample data file.

  • Sat. Mar. 20
    The example from the last couple of classes illustrating use of functions and subs - the Lotto simulation - is available here. The file is Thirteen.zip.

    We'll finish discussing it on Thursday 25th. There are questions in the comments asking about how to modify it. You should pay particular attention to these!

  • Sat. Mar. 20
    I have to cancel my office hours next Tues. 23rd and Wed. 24th (I'll reschedule them later). The TA will give the lecture on Tues.

  • Mon. Mar. 15
    The exam in this course is scheduled for April 15 at 9:00am in CLH-F. Please check the exam schedule closer to the date in case there has been a change. ( here )

  • Thurs. Mar. 11
    Course and instructor evaluations will be carried out in class (paper forms, not online) on Thursday March 18. Please be sure to come to class because I very much value your feedback.

  • Thurs. Mar. 11
    The example from class today illustrating a function to calculate the square root using a conditional loop is available here. The file is Fourteen.zip.

  • Wed. Mar. 10
    The examples from class on Tuesday illustrating a more flexible approach to choosing the nth word from some text, and the first example of defining and using a function - are available here.

    The files are Eleven_D.zip and FirstFunction.zip.

  • Mon. Mar. 8
    Here is a sample test 2 to give you practice and an idea of the format of the test.

  • Thurs. Mar. 4
    The examples from class today illustrating a iteration in string processing - choosing the nth word from some text - are available here.

    The files are ExtractWord_1.zip (which does not fix the boundary problem of when n is th elast word in the string) and ExtractWord_2.zip (which does solve that boundary problem).

    The programs are still wrong in that they fail when multiple spaces or other whitespace is in the string and because they include punctuation in the word that is extracted.

  • Thurs. Feb. 25
    The example from class on Tuesday illustrating a conditional loop is available here. The file is Ten.zip.

  • Wed. Feb. 24
    Sorry for the late notice but I have to cancel my office hours for tomorrow (Thurs. 25th, 10-11am) I can reschedule to Friday 26th 11:00-12:00.

  • Fri. Feb. 12
    I'll accept Ex. 4-7 by email if you're not on campus during Reading Week. But please don't send the whole VB solution - just the code (which I guess you'll have to copy and then paste into a txt doc), the form images pasted into a doc - plus the cover page of course.

  • Fri. Feb. 12
    I am noticing that some students seem to be unclear on the notion of what constitutes plagiarism. Therefore some Do's and Don'ts ...

    Do discuss the basic algorithmic approach to solving a problem.
    Do separately write the code trying to implement the approach.
    Do assist someone else in debugging their code.

    Don't share your code, particularly ....
    Don't send a file to someone else.
    Don't sit together writing the code jointly

  • Fri. Feb. 12
    The example from class on Tuesday/Thursday is available here. The file is Eight.zip.

  • Sun. Feb. 7
    The example from class on Thursday is available here. The file is Six.zip.

  • Tues. Feb. 2
    Here is a sample test 1 to give you practice and an idea of the format of tests.

  • Mon. Feb. 1
    TA office hours are now posted (see below). Note that the TA is available for office hours by appointment only within the hours specified.

  • Sat. Jan. 30
    The example from class on Thursday is available here. The file is Five.zip.

  • Tues. Jan. 26
    The example from class on Tuesday is available here. The file is Four.zip.

    Please Note: I forgot to say in class but I must cancel my office hour tomorrow from 11:00-12:00. I'll reschedule it to 1:30-2:30 - please come then. Sorry for the late notice.

  • Wed. Jan. 20
    The example from class on Tuesday is available here. The file is Three.zip.

  • Sat. Jan. 17
    Various students have told me they don't come onto campus on Mondays so I have decided to change the due date and deadline of the weekly exercises to Tuesdays by 11:30 am (i.e. before class)

  • Fri. Jan. 15
    I've made some notes on data representation as discussed in class on Thurs. available here.

  • Tues. Jan. 12
    The example from class today is available here. The file is Two.zip.

  • Tues. Jan. 12
    Don't forget - if you use Facebook a lot there is also a Facebook page for CSE1530. You can use the Discussions to ask questions etc. by starting a new discussion thread.

  • Thurs. Jan. 7
    The example from class today is available here. The file is One_B.zip.

    You'll need to unzip after downloading the file - so if you do not have the WinRAR application on your computer you can instead download the free software 7-Zip. You'll download the exe file I expect. Double click the downloaded file to install the software on your computer.

Instructor and Contact Information

  • Office: Lumbers 355J (ask at the reception desk)
  • Office Hours: T10:00-11:00, W11:00-12:00, Th1:30-2:30
  • E-mail: peterc at(@) cse.yorku.ca

Main links for course materials and administration:

  • Lab. Handbook - Visual Basic: Programming for Literacy

  • Course Outline, schedule and assessment - here

  • Here is a link for a simple machine simulator that illustrates assembly and machine language and the execution of instructions by the CPU. HERE

  • Access your marks -- HERE

The computer lab: Maxwell

The lab is located in room CSE1002 in the Computer Science and Engineering building. The schedule of its open hours is here.

You do not need a special account to use the computers in the lab but you MUST activate Glade services first, using Manage My services.

TA Advising Schedule

NOTE: by appointment - email chris@cse.yorku.ca
Day TimeLocation
Monday Feb. 8 3-4pmPetrie 021A
Wednesday Feb. 10 3-5pmPetrie 021A
Wednesday Mar. 10 4-5pmPetrie 021A
Thursday Mar. 11 3-4pmPetrie 021A
Monday Mar. 15 3-5pmPetrie 021A
Wednesday Mar. 31 4-5pmPetrie 021A
Thursday Apr. 1 3-4pmPetrie 021A
Monday Apr. 5 4-5pmPetrie 021A
Wednesday Apr. 7 3-4pmPetrie 021A

also ...

  • Please make use of my office hours and e-mail (given above under Instructor and Contact Information.

Submitting Exercises

  • What to Print:
    1. A cover page:
      Nothing fancy - just name, student number, and exercise (eg. Ex 2-2) - all centered in the middle of the page.
    2. The code:
      In the VB 2008 environment the File/Print menu selection is only active when the Code Window is selected. The code is one thing you should print. Important: Put your name and student id in a comment at the very top of your code.
    3. The Form (actually running):
      Start Debugging the application, i.e. your program is running. Interact with your program in some appropriate way to demonstrate how it works. Press the Alt key (hold it down) and then the Print Screen key. This captures an image of the current window (i.e. your program running) to the clipboard which you can then paste into a document. E.g. open Microsoft Word, and paste the clipboard (just choose Edit/Paste). You can then print this Word document.
  • Where to Hand it in:
    Place in the correct drop box labelled CSE1530, Instructor: P. Cribb. Assignment drop boxes are located across from the elevators in the main hallway of the Computer Science and Engineering Building.
  • When to Hand it in:
    The drop box will be cleared every Tuesday morning. Hand it in on Monday some time because it may be cleared very early on the Tuesday. Any submissions for a previously-due exercise will not be marked.