This lab introduces essential tools and processes for programming and submission in a modern computer science environment. You will learn to set up and use Visual Studio Code (VSC), an Integrated Development Environment (IDE), to run and test programs. Additionally, you will practice submitting your work using CodeGrade, a platform designed for automated and manual grading of programming assignments. These skills are critical for both academic and professional success, ensuring you can efficiently develop, test, and submit code. The lab also introduces key concepts like IDE usage, file submission protocols, and debugging through test feedback, which are foundational in real-world software development workflows.
For this lab you will need to download this file to submit.
This lab consists of two main tasks:
Setting Up and Running a Program in Visual Studio Code:
Download and install Visual Studio Code (VSC) and a compiler on your computer. See the provided tutorials for steps to download/install.
Download main.cpp
from here, and compile/run it in VSC.
Take a screenshot showing the program and its output in the terminal, name the screenshot vsc.png -or- vsc.jpg whichever file type you prefer.
Submitting a Program to CodeGrade:
Download main.cpp
from here (may already be downloaded from previous task).
Open the file to review its content, which contains a "Hello CodeGrade!"
program.
Use CodeGrade via Canvas to upload, test, and submit the file:
Install and set up Visual Studio Code and a compiler.
Download and run the main.cpp
file from the lab page which contains the "Hello CodeGrade"
program.
Take and save a screenshot of the running program and its output.
Open Lab 0 via Canvas and upload the screenshot file for submission.
Open Lab 0 CodeGrade via Canvas and upload the main.cpp
file via CodeGrade for submission.
Pass all automated tests in CodeGrade by debugging locally in VSC if necessary and resubmitting.
To successfully complete this lab, follow the checklist below:
Setting Up and Running Visual Studio Code:
"Hello CodeGrade"
program without errors.Submitting Through CodeGrade:
Submission Guidelines:
main.cpp
file to CodeGrade before the deadline.Code Quality:
Deadline Adherence:
Save: Save your screen shot for the lab as vsc.png -or- vsc.jpg. Make sure the downloaded program is saved as main.cpp
. Do not ignore this step or save the file(s) with different names. If CANVAS adds a -# to the file name it is because CANVAS saves all submissions, this is normal.
Submit: You have until 11:59p on the due date to complete this lab. There will be no extensions for any reason. Your screen shot/program must be submitted before the due day/time via the submission link(s) on CANVAS. No emailed submissions will be accepted.