Software Tools
CSE-2031
Winter 2010
York University


Semester: Winter 2010
Course/Sect#: CSE-2031
Time: Lectures: Tue & Thu 10:30am-11:30am
Lab1: Tue 12:30pm-2:30pm
Lab2: Thu 4:30pm-6:30pm
Location: Lectures: R N203
Labs: CSE 1006
Instructor: Aijun An
Office: CSB 2048
Office Hours: Thursdays and Fridays: 12:00-1:00pm
Phone #: 416-736-2100 x44298
e-mail: aan@cse.yorku.ca


Welcome to the Software Tools course, CSE-2031, for Winter 2010. Materials, instructions, and notices for the course will accumulate here over the semester.


Message Board

April 30, 2010
Grades and final marks are posted. You can check yours using ePost. The testcases that we use to check your final labtest programs are posted here. The differences between the output of your program and the correct output on each test file have been emailed to you. Note that in marking this lab test, a small partial mark is given for a submitted program that did not pass any test. Also, please note that no re-marking will be given for this labtest if your program failed due to a misspelling error (as was made clear before). This is fair to the students who paid attention to spelling of the output during the labtest.
April 19, 2010
A3 marks are posted. You can check yours using ePost. The test cases that we used to test your programs can be found here. The differences between the output of your program and the correct output on each test file have been emailed to you. If you see something like the following lines in the feedback:

#### Failed test 13. Output of diff follows.
10d9
< Yes Jose Married 95 YES
11a11
> Yes Jose Married 95 YES

your program does not rank the records with the same income correctly. For example, in 13.out there are two records with income 95 and they should be ordered as follows:

Yes Jonathan Married 95 No
Yes Jose Married 95 YES

But your program print them out in the following order:

Yes Jose Married 95 YES
Yes Jonathan Married 95 No

Your program should rank them in the alphabetic order of their names (that is, the first sorting key is income and the second is name).
April 9, 2010
Solutions to sample questions are posted. Click here to download.
April 8, 2010
A sample solution for Assignment 3 is posted. Click here to download.
April 7, 2010
Please be reminded that our final exam will take place on Saturday April 10 from 9am to 12:30pm. The following is the exam schedule:
  • Written exam: 9:00am - 10:30am in CLH A (Curtis Lecture Hall)
  • Lab test: 10:40am - 12:30pm pm in CSE 1006 and CSE 1002
For sample questions from previous exams, click here. Solutions will be posted on Friday. I have just sent you an email with more information on the exam. Please check your email.
April 6, 2010
Lab 10 marks are posted. You can check yours using ePost. Feedbacks to your program have been emailed to your cse account. Sample solutions to the Lab 10 questions and their testcases are posted. See the link to Lab 10 below in the Labs section. The readme.txt file under Testcases explains the testcase files.
April 6, 2010
A2 marks are posted. You can check yours by using ePost. The test cases that we used to test your program can be downloaded here. There are 8 test cases described in the readme.txt file . Your mark is determined by the number of test cases your program has passed, your code readability and the testing strategy you described in your written document. The differences between the output of your program and the correct output on each test file have been emailed to you. A sample solution can be found here.
March 31, 2010
Lab 9 marks are posted. You can check yours using ePost. Feedbacks to your program have been emailed to your cse account. Sample solutions to the Lab 9 questions and their testcases are posted. See the link to Lab 9 below in the Labs section. The readme.txt file under Testcases explains the testcase files.
March 30, 2010
An FAQ page is set up to answer frequently-asked questions about A3. Please click here.
March 28, 2010
Assignment 3 is posted. See the link below in the "Assignments" section. The access to the assignment is password-protected. The user name and password are the same as the one for downloading A1 and A2.
March 26, 2010
A3 will be posted this weekend (either Saturday or Sunday).
March 24, 2010
Lab 8 marks are posted. You can check yours using ePost. Feedbacks to your program have been emailed to your cse account. Sample solutions to the Lab 8 questions and their testcases are posted. See the link to Lab 8 below in the Labs section. The readme.txt file under Testcases explains the testcase files.
March 17, 2010
An FAQ page is set up to answer frequently-asked questions about A2. Please click here.
March 17, 2010
Lab 7 marks are posted. You can check yours using ePost. Feedbacks to your programs have been emailed to your cse account. Testcases that were used to mark your programs are posted. See the link to Lab 7 below in the Labs section. Please note that for Question 2, we did a memory check that checks if your program has freed all the dynamically allocated memory. The result of the memory check (memcheck) was included in the feedback that was emailed to you. Note that for this lab exercise, we did not deduct your mark if your program failed the memory check. But for Assignment 2, you will get a deduction if your program has memory leaks (that is, failing to free all the memory dynamically allocated before exit).
March 14, 2010
Sample solutions to the Lab 7 questions are posted. See the link to Lab 7 below in the Labs section. I will mark your Lab 7 programs on Tuesday.
March 10, 2010
Assignment 2 is posted. See the link below in the "Assignments" section. The access to the assignment is password-protected. The user name and password are the same as the one for downloading other materials.
March 7, 2010
Lab 6 marks are posted. You can check yours using ePost. Feedbacks to your programs have been emailed to your cse account. Sample solutions to the Lab 6 questions and their testcases are posted. See the link to Lab 6 below in the Labs section.
March 4, 2010
Midterm written test marks are posted. You can check yours by using ePost. For solutions to the written test, click here to download.
March 3, 2010
Midterm labtest marks are posted. You can check yours by using ePost. Feedbacks to your programs have been emailed to your cse account. Sample solutions to the Labtest questions and their testcases are posted. See the links to Midterm labtests below in the Labs section.
March 1, 2010
A1 marks are posted. You can check yours by using ePost. The test cases that we used to test your program can be downloaded here. There are 10 test files in total. Your mark is determined by the number of files your program has passed, your code readability and your written document. The differences between the output of your program and the correct output on each test file have been emailed to you. A sample solution can be found here. Please note that to check your mark with ePost, you need to enter your cse login and password. To download the test files and sample solution, you need to use the group username and password that we have been using for downloading A1.
February 22, 2010
Solutions to the midterm sample questions are posted. Click here to download.
February 20, 2010
Some sample questions from previous midterms are posted. Click here to download the file. I will post their solutions in a couple of days. Also, the Lab5 solutions and test cases are posted. The username and password for downloading the materials are the same as before.
February 16, 2010
Please be remined that the midterm tests consist of both written test and lab test. The midterm written test will take place on Tuesday February 23 at 10:30am-11:20am in CSE C (Lecture Hall C in CSE). It is a closed book exam. The coverage of the exam is what we have talked about until last lecture (including the materials in the last lecture). In the K&R book, the coverage is from Chapter 1 to Chapter 4. The time for the midterm lab test is as follows:

  • Tuesday February 23 at 12:30-2:20pm in CSE 1006 for students who cannot do the lab test on Thursday.
  • Thursday February 25 at 4:30-6:20pm in CSE 1006 and CSE 1002 for Thursday lab students and the those Tuesday lab students who can do the test on Thursday.
February 11, 2010
The due time for submitting assignment 1 is extended to midnight of Friday Feb 12. This applies to both the submission of the program and the submission of the documentation.
February 7, 2010
Lab 4 marks are posted. You can check yours using ePost. Feedbacks to your programs have been emailed to your cse account. Sample solutions to the Lab 4 questions and their testcases are posted. See the link to Lab 4 below in the Labs section.
February 3, 2010
An FAQ page for A1 is set up. Please see A1 Frequently Asked Questions. I also added a few sentences in the A1 description page. The addition is regarding when and how to round the BMI values. Please see the Assignment 1 page. The newly added sentences are displayed in red. Don't forget to use the "refresh" button on your browser.
January 31, 2010
Lab 3 marks are posted. You can check yours using ePost. Feedbacks to your programs have been emailed to your cse account. Sample solutions to the Lab 3 questions and their testcases are posted. See the link to Lab 3 below in the Labs section.
January 29, 2010
Assignment 1 is posted. See the link below in the "Assignments" section. The access to the assignment is password-protected. The username and password are the same as the ones for accessing the lab materials.
January 24, 2010
Lab 2 marks are posted. You can check yours using ePost. Feedbacks to your programs have been emailed to your cse account. Sample solutions to the Lab 2 questions and their testcases are posted. See the link to Lab 2 below in the Labs section.
January 17, 2010
Lab 1 marks are posted. You can check yours using ePost. Feedbacks to your programs have been emailed to your cse account.
January 17, 2010
Sample solutions for Lab 1 have been posted. See the link below for "Lab 1" in the "Labs" section. The access to the page is password-protected. I have sent the username and password to your cse email account. Feedback to your submitted programs will be sent to you later today.
January 4, 2010
Lectures start tomorrow at 10:30am-11:30am. Labs will start next week.
January 3, 2010
The web site is set up. Welcome to the course!


Description

This course introduces software tools that are used for building applications and in the software development process. Furthermore, the students will be exposed to the layers between a programming language and the operating system and the CPU. The course covers the following topics:
  • ANSI-C (C Basics, stdio, pointers, memory management, overview of ANSI-C libraries)
  • Shell programming under Unix (Bourne shell, filters and pipes)
  • Testing and debugging
All the above topics will be applied in practical programming assignments.


Textbooks

The following are the official texts for the course. They are available in the bookstore:
  • Kernighan, Brian W. and Ritchie, Dennis M., The C Programming Language, 2nd Ed., Prentice Hall, 1988.
  • Practical Programming in the Unix Environment, Edited by W. Stürzlinger, Pearson, ISBN 053674996-5, 2003.


Grading Scheme

Tentative grading scheme:
  • Assignments (15%)
  • Labs (10%)
  • Midterm (30%)
    • Written test (20%)
    • Labtest (10%)
  • Final (45%)
    • Written test (35%)
    • Labtest (10%)


Lecture Notes


Schedule


Assignments


Labs


TAs

  • Tim Oleskiw (email: oleskiw@cse)
  • Elliott Tsung-Hsun Tsai (email: elliott@cse)
  • Ehsan Fazl (email: efazl@cse)


Course Policies

  • Click here to see course policies.