L01

Due by the end of Tuesday, September 12


SUBMIT   /   CHECK

Today's Activities

Activity #1: Signing Up

You can't pass in any assignments or labs until you've signed up to the course Web site.

People who registered for the course on September 5th or later might not be allowed to log in. See your lab instructor and they'll add you to the list of permitted IDs.

Be sure to use a capital A when you type in your A-number!

Sign up here. Fill in all the required information correctly, because you'll be tested on it later!

Please use the family/last name that you gave to SMU when you registered. For the given/first name, use the name that you use most often.

Activity #2: Following Instructions
Your next step is to create some folders for this course -- if you have not already done so. You are going to create a lot of files for this course, and they need to be kept organized.

Create a CSCI1226 folder in your preferred location. Name it exactly CSCI1226. (All capital letters; no spaces.) Put all of your work for this course in that folder. It'll help you find it later.

Create a text file inside your CSCI1226 folder.

You will edit this file with a text editor, such as Notepad on Windows or textedit on the Mac. Do not use MS Word or any other "word processor" program. Word processors are not text editors. It's possible to use them to edit text files, but it's also very easy to change a text file to a non-text file when you're using them.
Name the file exactly Lab01.txt (that's CAPITAL L, little a, little b, zero, one, dot, little t, little x, little t).
Note that Windows may lie to you about the file name. It may hide the .txt extension. Thus if you're using Windows, you should just name the file Lab01 and Windows will automatically add the .txt part. Of course it may not show you the .txt part, but you'll know it's there when you double-click the file and it opens in Notepad.

If it doesn't open in Notepad, then add the .txt part.

Now for Macintosh computers the problem is slightly different. Your Mac may create what's called a Rich Text Format (or .rtf) file. That is also a problem. What you want to do is to open the file with TextEdit, then go to the Format menu. In there should be a command that's named something like Make Plain Text. Use that command to make sure there's no rich text markup in the file.

If you submit your file and it has lots of stuff like {\fonttbl}\f0\fswiss ... in it, then you've submitted a .rtf file!
Add content to your text file. Make sure you provide exactly what I ask for. (Remember, this activity is about following instructions.) Do not indent any lines unless I tell you to.

  1. The first line of your text file should have only your student number (the A00000000 number) on it.
  2. The second line should have only your family/last name on it. Use the same name you gave when you registered for the course website!
  3. The third line should have your given/first name on it. Use the same name you gave when you registered for the course website!
  4. The fourth line should have the lab instructor's given name on it -- no family name or punctuation. Write the name in ALL CAPITALS.
  5. The fifth line should contain the exact text "I have the following hobbies:" Do NOT include the quotation marks.
  6. The sixth and subsequent lines should contain a list of your hobbies -- one hobby per line, each one indented four spaces. Do not put any blank lines at the end of the file.
Activity #3: Submitting and "Debugging"
Click the Submit link above or below (they both do the same thing, so it doesn't matter which one you click). It'll take you to the submission page for this lab. Type your A-number into the box provided. Click the Browse buttons/links and navigate to the file you just created (Lab01.txt). Click the Submit button on that page.

The system will automatically grade your submission.

That's not what will happen for later labs and assignments. This first activity is special.
You should see a page that looks something like this:
  • Uploading Lab01.txt as L01/myoung/Lab01.txt

L01 files for myoung

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Check the size and names of the following files carefully:

File Size Contents
Original Passed In
Lab01.txt n/a 89 bytes ASCII text, with CRLF line terminators

Remember to check if those are the proper files!

Feedback

  1. [1] File name starts with Lab01
  2. [1] File name ends with .txt
  3. [1] No extra extension in file name
  4. [1] File has six or more lines
  5. [1] First line has your A-number on it
  6. [1] Second line is your family name -- matching what you told the sign-up page
  7. [1] Third line is your given name -- matching what you told the sign-up page
  8. [1] Fourth line is your lab instructor's given name -- matching the lab section you gave on the sign-up page
  9. [1] Fourth lines is in ALL CAPITALS
  10. [1] Fifth line is exactly what I told you to make it
  11. [1] No lines before the sixth are indented
  12. [1] All hobbies are indented
  13. [1] Only spaces used for indentation
  14. [1] All hobbies indented with four spaces

Total: 14 / 14

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Name: Young, Mark
UserID: myoung
E-mail: myoung@cs.smu.ca

Lecture: B
Lab: LE

Faculty: Science	Major: Computer Science
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Of course it'll have your A-number and profile instead of mine. The sizes of your files will probably be different, too.

Check your feedback to see that everything is correct. If there's a problem with your submission, there will be a line written in red. If there's a mistake in your Lab01 file, you'll see a "[0]" instead of a "[1]" (and the line will be in red).

If your work is not correct, figure out what you did wrong then go back and fix it. Then re-submit the file. Keep going until it's all correct.

Like any other lab, this lab is graded out of 14. You should keep trying until you get it up to 14. If you can't figure out why you lost a point, ask your instructor.

Later labs will (probably) not be auto-graded. You will submit your file(s) and you'll get your grades after the instructor has looked them over. But we will show you the grading scheme in the lab description. You should try to grade yourself. Check to make sure you did every thing that's mentioned in the grading scheme. If you don't understand what a grading scheme item means, ask your instructor.

Don't ask your instructor to grade your lab before you submit it. You grade your lab. Your instructor will grade it after the due date.

SUBMIT   /   CHECK