Lab pages will be password protected prior to the lab meetings. Your TA will provide each week's lab password at the start of your lab session. Solutions will be accessible each week after all labs have finished. It is a very good idea to review the solutions to prepare for your homework. If you do not finish the entire lab during your session, you should complete the work on your own before starting the next homework set.
Comments on the labs: The labs will be a continuation of each week's lecture. To prepare for each lab you are expected to have completed the weekly reading assignment and to have reviewed the class notes. On some occasions formal or informal prelab work will be assigned. The labs are not meant to be a test or a competition, they are designed to demonstrate concepts discussed in the lectures and to allow you to construct working code examples that you can reference when writing your homework solutions.
TIP: If the fonts on the class webpages look small when viewed in the lab, just hit the Alt key and the plus key (Alt +) in the Firefox browser. Each time you enter this key combination, your fonts will increase in size. Use Alt - to shrink them back down. Note: If Alt + doesn't work on your computer (e.g. Windows), try Control + instead.
A word on lab participation:
Labs are not tests or assignments. Good participation = actively working on/discussing the projects. If sometimes that includes working with a less (more) experienced partner and thinking about how to explain what you may already be familiar with (or asking for such an explanation), that's well and good too. If you never finish any labs in the allotted time that's bad, but if once in a while you don't, that's not an issue. Playing video games, emailing, etc. would also (not surprisingly!) be considered poor participation.
You should copy the program files you developed to your partner's account at the end of a lab, there are several methods for doing this. The following is recommended.
Secure copy, scp Let's say your are working from Alice's account and want to copy the files from the lab to Bob's area. Also let's assume that all the files are in a directory called lab01.
Make sure you are one directory above the directory called lab01 in Alice's area. Then type:
scp -r lab01 bob@localhost:.
Substitute your username above. Bob will be prompted for his password. Then the whole directory lab01 (and any subdirectories inside lab01) will be copied to Bob's home directory.
Explanation of Syntax:
1 2 3 4 scp -r lab01 bob@localhost:. 1) -r Recursively copy entire directories 2) directory name to copy 3) username@host: (note the ":") You could copy the files anywhere you have an account. 4) . this is the directory on the remote host where the files are copied "." stands for the home directory (/home/bob in this case)
localhost just means this machine.