CSE1530 Computer Use: Programming - Winter term, 2010

Course Outline

Objectives

  • To build on the achievements of CSE1520.03 - to develop further understanding of computers and more advanced computer skills.
  • To develop elementary programming skills in the Visual Basic programming language.
  • To develop and strengthen general problem solving skills and logical thinking through the writing and understanding of well-structured computer programs

Laboratory Work

You will not learn much in this course by only attending lectures. Effective problem solving using a programming language requires a lot of practice - using Visual Basic either at home on your computer or in the Maxwell lab. It is unlikely that you will achieve even an average grade without doing the lab work and assignments conscientiously.

Sections, Lecture Times and Instructors

There is one section in the fall term and one in the winter term, with 3 hours of lectures per week as listed below. Please ensure that you are attending the section in which you are officially registered. Switching sections must be done through the Enrolment system.

Section Lecture Time Location Instructor Office e-mail (@cse.yorku.ca)
Fall Term: A MWF11:30 SLH-F L. Lowther CSE2008 lew
Winter Term: N TR11:30-13:00 Tues: CLH-K
Thurs: CLH-H
P. Cribb Lumbers 355J peterc

Course Material

The Visual Basic: Programming for Literacy (VB:PL) web book, which can also be bought in hardcopy from Northview Print & Copy (see below) is the only required reading for this course.

However, one good reason for buying another textbook is to obtain a version of the Visual Basic 2008 software. Do not buy a VB 6.0 or VB2005 book for the software - it will not match what is described in VB:PL.

You may also find it useful to refer to other books when/if you encounter problems or want to explore something further than is covered in VB:PL. The following are books you might want to use to supplement VB:PL ...

Recommended Textbooks: (Except for the first one these have not been ordered through the York Bookstore)

  • An Introduction to Programming using Visual Basic 2008 (7th edition), by David I. Schneider
    (Pearson/Prentice Hall, 2008)
  • Programming with Microsoft Visual Basic 2008, 4th Edition by Diane Zak
    (Course Technology, 2008)

In addition books such as these might be helpful ...

  • Computer Science Illuminated (2nd edition), by Nell Dale and John Lewis
    (Jones and Bartlett, 2004) - same as used in CSE1520
  • Any book on Windows XP (particularly if you are a novice user)

Laboratory:

  • Visual Basic: Programming for Literacy, 2009 edition
    available from Northview Print & Copy, Unit #1 - 2700 Steeles Ave. West
    (on the north side of Steeles across from the York campus)
    Store Hours: 9:00am - 5:00pm (Tel: 905-738-5353

Laboratory Work

You will be using the Maxwell Lab, a laboratory of workstation computers located in room CSE1002 in the Computer Science and Engineering Building (CSE). The lab work is an integral part of the course and you should plan on spending at least 3 hours per week in order to complete it, either using the Maxwell lab or using a computer at home (or elsewhere).

The Maxwell lab is available for your use from approximately 8:30am to 11pm each weekday, and also on weekends from roughly 10:30am to 6:30pm. Please visit here for the exact scheduling of hours.

The lab is also used by students in CSE1520 and CSE1550 as well as CSE majors. Use of the machines is on a first come first served basis. We do not have any method for you to reserve use of a machine. It is your responsibility to make sure that you can complete the course work. The lab will quite likely be very busy during the hours 11am to 3pm. So you may find that you have to come early in the morning or later in the afternoon in order to use the lab. The lab is also likely to be busy just before exercises and assignments need to be handed in. Congestion in the lab is NOT an acceptable excuse for handing in lab work late.

Available Help

If you are having problems there are various ways to obtain help:

  • The TA will hold office hours. Further information will be posted on the course web site.
  • Your instructor holds office hours. Please take advantage of the opportunity to approach him/her.
  • Your instructor will also respond to e-mail questions at times other than his/her office hours, although the reply will necessarily come after a short delayed. Please make use of e-mail.

Information from the Senate of York University

All students are expected to be familiar with information on the following topics:

  • York's Academic Honesty Policy and Procedures/Academic Integrity Website
  • Ethics Review Process for research involving human participants
  • Aaccommodation for students with disabilities, including physical, medical, systemic, learning and psychiatric disabilities
  • Student Conduct Standards
  • Religious Observance Accommodation

Information can be found at this website. (see Student Information Sheet under Course Outline Documents in right hand panel)

Appeal Procedures

The Department of Computer Science and Engineering expects a student's disagreement with the evaluation of an item of course work (assignment, report, class test, non-final examination, etc.) to be settled with the instructor informally, amicably and expeditiously. With respect to a formal appeal there are different procedures for course work and for final examinations and final grades. Of necessity a formal appeal must involve only written work.

Course Work

  • An appeal against a grade assigned to an item of course work must be made to your instructor within 7 days of the grade being made available.
  • When the instructor is not the course director, a second appeal may be made to the course director (P. Cribb, CSE2010) within 7 days of the above decision.

Final Exams and Final Grades

An appeal for reappraisal of a final exam or recalculation of the final grade must be made in writing on a standard departmental form to the Office of the Undergraduate Director (CSE1003) within 21 days of receiving official notification of the grade. Note that valid reasons pertaining to the marking of the final exam or calculation of the final grade must be presented.

  • The department Petitions Committee will consider the appeal. If the committee supports the appeal a second reader for the examination will be selected and the examination remarked. The mark may increase, decrease or remain the same.
  • The department Petitions Committee will consider the report of the second examiner and recommend a final grade, which might be lower, the same or higher than the original.

The student and the Office of Student Programmes will receive the report of the Petitions Committee. The decision can only be appealed to the Executive Committee of the Faculty on procedural grounds.

Winter Term Lecture Schedule

Week of Hour 1 Hour 2 Hour 3 Laboratory Due on
Jan. 4 Topic A Topic A Topic A -
Jan. 11 Topic A Topic A Topic B Ex. 2-3(2%) Jan. 18
Jan. 18 Topic B Topic B Topic B Ex. 3-3(1%) Jan. 25
Last day to enrol is Jan. 19
Jan. 25 Topic B Topic B Topic C Ex. 3-6(2%) Feb. 1
Feb. 1 Topic C Topic C Topic C Ex. 4-2(1%) Feb. 8
Feb. 8 Topic C Topic C Test 1 (15%) Ex. 4-7(2%) Feb. 15
Feb. 15 Reading Week Ex. 4-9(2%) Feb. 22
Feb. 22 Topic D Topic D Topic D Ex. 5-3(1%) Mar. 1
Mar. 1 Topic D Topic D Topic D Ex. 5-9(2%) Mar. 8
Mar. 8 Topic E Topic E Topic E Ex. 6-2(1%) Mar. 15
Last day to drop is Mar. 8
Mar. 15 Test 2 (20%) Topic E Topic E Ex. 6-5(1%)
Mar. 22
Mar. 22 Topic E Topic F Topic F Ex. 6-12(2%)
Mar. 29
Mar. 29 Topic F Topic F Topic F Ex. 7-4(1%) Apr. 5
Last day of classes for this course is Thurs. Apr. 1
Apr. 5 Examination period: Apr. 7 - Apr. 23
Do not make travel plans during this period.

Course Assessment and Grading

Tests and exams provide instructors with a measure of how well students are learning the course material and they provide the students themselves with that same feedback. Assignments and lab. exercises are activities that help you learn the course material - and are therefore formative as opposed to summative.

Test and exam assessment measures are relative to the expectations of the instructor and conceivably have little correlation with the amount of time a student spends doing the course work. The measures do correlate with the quality of the learning that the student has achieved - in fact they attempt to measure it. Individual students may take more or less time than other students to reach the same standard of learning. Individual students may feel they do not need feedback on their learning at certain stages of the course. Ultimately, students themselves bear sole responsibility for the standard of learning they achieve. Assessment has little effect on learning except in as much as the feedback may allow the student to take corrective action.

Weekly exercises and/or assignments are formative to your learning and are therefore required.

However, summative assessment is deliberately flexible. The only absolutely required measure of your learning achievement is the final exam. If you opt out of other assessment measures (i.e. the two tests) the final exam will then be worth 100% minus whatever the weekly lab exercises are worth. The weighting of the final exam will be reduced by the weighting of whichever other tests you write.

Even if you participate in the tests you may feel that because the feedback has allowed you to improve you do not want the earlier measures included in the calculation of your final grade (because you have improved, the earlier "bad" marks do not represent the state of your learning). You may choose to ask that either or both of your test marks be ignored and the percentage transferred to the final exam. You must ask for by submitting a Test Grade Annulment form available (from CSE1003) before the date of the final exam. This will not apply to lab exercises.

Make-up tests for the purpose of contributing to the final grade will not be held. You will be deemed to have opted out of any tests you miss, for whatever reason (i.e. the weight will be transferred to the final exam). However, if you wish to receive the feedback from the missed test arrangements will be made for you to write the test and it will be marked. The mark will not contribute to your final grade, and it will constitute valid feedback only if you have not discussed the test with other students who have already written it. Such arrangements will be made only with valid documentation (e.g. medical note) of the reason for missing the test.

Tests - Total 35%

Test 1 is worth 15%, and test 2 is worth 20%. Each test is based on the lecture topics and lab work preceding it in the schedule given above.

Labs (18%)

Lab exercises are generally worth either 1% or 2%. The lab exercises consist of certain exercises chosen from Visual Basic: Programming for Literacy. The schedule given above specifies which exercises are to be handed in for marking. They should be left in the drop box labeled CSE1530 3.0M in the main corridor of the CSE Building. The drop box will be cleared on a Tuesday morning. Late exercises will not be accepted.–

Final Exam

The final exam will be weighted between 82% and 47% depending on participation in the tests. The final exam is held during the University examination period. The date of the final exam is not known until the official University examination schedule is published and in principle it could be as late as the end of the exam period (as noted in the schedule above). It is your responsibility to be present at the exam. No agreement will be given for deferred standing for reasons of travel plans.

Course Content

The lectures are organised on a modular basis (each section meets for 3 lecture hours per week), with material to be covered specified in the lecture schedule above and the topics outline below.

Your instructor will not necessarily discuss each and every part of the readings specified below in lectures. The purpose of lectures is to guide you as you explore the material and to elaborate on the most important and central ideas, particularly if those ideas are complex. It is your responsibility to prepare yourself for examinations by thoroughly reading and thinking about the material. You should certainly not hesitate to ask your instructor questions about the things you have been reading that have not been covered in lectures, and also about topics that have been covered in lectures and which you would like further explanation.

Topic A: Introduction to Problem Solving and Visual Basic

Description
Computer based problem solving, algorithms, introduction to Visual Basic and programming – the IDE (Integrated Development Environment); forms and controls; basic concepts of classes and objects (object properties); events and programming responses to events; types of programming errors (syntax, runtime, logic)

Readings

  • Dale and Lewis - Chapter 6.1, 6.2
  • Schneider - Ch.s 1 and 2
  • Zak - Ch.s 1 and 2
  • Visual Basic: Programming for Literacy - Ch.s 1 and 2

Topic B: Variables, Data Types and Expressions

Description
Using the computer’s memory; representing data and program instructions; machine language and assembly language; high-level programming languages and translation; declaring variables and constants; operators, expressions, and assignment; use of Visual Basic functions (data type conversion functions, date functions); controlling focus.

Readings

  • Dale and Lewis - Chapters 7, 8
  • Schneider - Ch. 3
  • Zak - Ch. 3
  • Visual Basic: Programming for Literacy - Ch. 3

Topic C: Control Structures - Selection

Description
Control structures; Boolean values; conditions and comparison operators; if statements; Boolean operators; nested if statements; using CheckBox and Option controls; using a MessageBox; validation of input using the Validating event.

Readings

  • Dale and Lewis - Chapter 8
  • Schneider - Ch. 4
  • Zak - Ch.s 4 and 5
  • Visual Basic: Programming for Literacy - Ch. 4

Topic D: Control Structures - Iteration

Description
Repetition – initialization, repeated statements (body), termination; counted and conditional loops; manipulating string data using iteration; string functions; the List Box control.

Readings

  • Dale and Lewis - Chapter 8
  • Schneider - Ch. 6
  • Zak - Ch.s 6 and 8
  • Visual Basic: Programming for Literacy - Ch. 5

Topic E: Subprograms - Functions and Procedures

Description
Information hiding and abstraction; Modular design; coupling and cohesion; communicating data – global data versus arguments; parameter passing – ByVal and ByRef; scope of variables; the ComboBox control.

Readings

  • Dale and Lewis - Chapter 8
  • Schneider - Ch. 5
  • Zak - Ch. 7
  • Visual Basic: Programming for Literacy - Ch. 6

Topic F: External Files and Databases - using Classes and Objects

Description
Files, records and fields; Reading and writing files; the Common Dialog control; the FileSystemObject and TextStream classes; simple error handling; using multiple forms; creating a database from a text file; creating our own class to act as a DataSource class; the RecordSet class; the BindingCollection, Binding and DataBinding classes; creating objects of a class.

Readings

  • Dale and Lewis - Chapter 11.1, 11.2
  • Schneider - Ch. 8
  • Zak - Ch. 10
  • Visual Basic: Programming for Literacy - Ch. 7