sepehr-alipour / OOP-Workshops

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Computer preparation and Getting Workshop files

IPC144 Review Session for OOP244 Students

The review session on IPC144/BTP100 was held on Sunday Jan 16th.
This session was open to all the students who needed to review the 144 concepts before starting 244 subjects.

Sample codes done in class

Review Recording

(Thanks to Armando Villavona for the time stamps)

  • Part 1
    • 00:20 Intro
    • 00:40 Discord
    • 06:00 Submitter / Matrix
    • 27:30 IPC
    • 31:20 Memory
    • 36:20 Compilers
    • 40:20 Types
    • 1:05:30 Simple Calculations
    • 1:24:30 Expressions
    • 1:45:00 How to Better understand Your Code
  • Part 2
    • 2:00 Logic
    • 1:02:00 Style Guidelines
    • 1:10:00 Testing and Debugging Techniques
    • 1:21:00 Pointers
    • 1:44:00 Arrays
    • 1:54:00 Pointers and Arrays
    • 2:00:00 Structs
    • 2:11:00 Array of Structs
    • 2:23:00 Text Files
  • Part 3
    • 8:00 Character Strings
    • 10:00 String Library
    • 15:00 2D Arrays
    • 23:00 Algorithms
    • 24:00 Portability
    • 25:00 Q/A

Setting up your computers for OOP244

Installation guides for preparing your computer for the subject can be found in this playlist on YouTube:
Seneca-SDDS "how to" videos for C/C++ Core subjects
OR:
Go to this url: https://tinyurl.com/244setup

Getting Workshop files

(if you have not followed the Installation guides to prepare your computer go to Using Download Zip)

Using Git

If the window is titled “Clone with SSH” then click on “Use HTTPS”:
Use https

  • Copy the https URL by clicking on the button on the right side of the URL:
    Copy URL
  • Open File Explorer on your computer and select or create a directory for your workshops.
  • Right click on the selected directory and select “Git Clone":
    Git Clone
    -This will open the “Git Clone” window with the URL already pasted in the “URL” text box; if not, paste the URL manually:
    Git Clone Dialog
  • Click on ok
    This will create on your computer a clone (identical directory structure) of the directory on Github. Once you have cloned the directory, you can open the workshop directory OOP-Workshops/WS?? and start doing your workshop. Note that you will repeat this process for all workshops and milestones of your project in this subject.

If your professor makes any changes to the workshop or a new workshop is released, you can right click on the cloned repository directory and select Tortoise Git/pull to update and sync your local workshops repositoryy to the one on Github with-out having to download it again. Note that this will only apply the changes made and will not affect any work that you have done on your workshop.

Using Command line

  • Open the git command line on your computer.
  • Change the directory to your workshops directory.
  • Issue the following command at the command prompt in your workshops directory:
git clone https://github.com/Seneca-244200/OOP-Workshops.git<ENTER>

The URL for all the workshops are the same throughout the semester. The only thing that changes, is the workshop number.

This will create a clone (that is an identical directory structure and content to the one Github) of the OOP-Workshops repository on your computer. Once you have cloned the directory, you can open the subdirectory the workshop and start doing your work. Note that you will repeat this process for all workshops and milestones of your project in this subject.

If your professor makes any changes to the workshop, you can issue the command

git pull<ENTER>

in the cloned repository directory to update and sync your local workshop to the one on Github without having to download it again. Note that this will only apply the changes made and will not affect any work that you have done on your workshop.

Using Download ZIP

  • Open https://github.com/Seneca-244200/OOP-Workshops and click on “Code” button and click on “Download ZIP”.
    Download Zip
  • This will download a zipped file copy of the workshop repository from Github to your computer. You can extract this file to where you want to do your workshop.

Note that, if your professor makes any changes to the workshop, to get them you have to separately download another copy of the workshop and manually apply the changes to your working directory to make sure nothing of your work is overwritten by mistake.

Improtant Notes

  • Install GlobalProtect on your computer to have access to internal services of Seneca and the Matrix Linux cluster.
  • When transferring program files to Matrix using an SFTP or SSH client, make sure your transfer mode is always set to TEXT

About


Languages

Language:C++ 97.5%Language:HTML 2.0%Language:Haskell 0.5%