CSCI 159: Labs

CSCI 159 Fall 2024: Labs

Note: You can print in the labs using the following command(s):
lpr foo.bar
or
lpr -o prettyprint foo.bar
The latter command does a nicer job of fonts and such for printing out code. The printer is the one in 315/102 lab (it is called "csci-first").

For the labs, if git works for us (fingers crossed) you won't need to hand in hardcopies.

For instructions on how to log in from home, see the technotes links at the bottom of this page.

Code standards for C++ (at VIU).

Labs

  1. Sept 10, 11: Lab 1 and the Addendum regarding the makefile and how to make your code pretty.
  2. Sept 17, 18: Lab2
  3. Sept 24, 25: Lab3
  4. Oct 8, 9 and 15, 16: Lab4
  5. Nov 5,6: lab5

To log in from home:

If on Windows, go to Microsoft Store and install Windows Terminal by Microsoft. Open it. Use Windows Terminal instead of Command Prompt for nicer features.

On Mac, open a Terminal (runs linux).

In terminal, type "ssh $USER@csci.viu.ca" where $USER is your actual login id.

This connects you to otter. Use otter as a jumping point to tuxworld -- our new virtual lab cluster -- using the command "ssh tuxworld"

Note: If at any time you are prompted to accept any keys, the answer is yes.

Note: If you "fail-to-ban" -- first is 1/2 hour till can log in again, then after another ban, it's a month long ban.

Other tech advice, including if you have a month long "fail-to-ban"


To contact CSCI technicians, email csciTechHelp@viu.ca Include your public IPv4 address. Google "what's my public IPv4 address" and click on one of the results.

Or -- quick questions -- go to Discord (you will receive an invitation on Sept 17). go to help centre channel or wizard's corner channe.

Or go to 315/212, where the wizard resides (Merlin, I mean).

Other, more detailed tech notes:

How to log in from home

Tech notes for CSCI students