Skip to content

Latest commit

 

History

113 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IT 140 Module Two Assignment

  • Course: IT 140 - Introduction to Scripting
  • Activity: 2-3 Module Two Assignment
  • Activity Type: Required, graded, with two submissions
    • Part A: Name and Age Program (name_age.py)
    • Part B: IDE Features Reflection (ide_features.md)

Table of Contents

Complete the following tasks in order to complete the Module Two assignment. Each task is described in detail below.

0. Meet the Prerequisites

  • Required. To start this assignment, you must have completed the GitHub and Codio sections of the Module One Setup Tasks. If you have not done so, please complete those tasks now. Return here after completing those tasks.

  • Recommended. Complete all Module One and Two zyBooks activities (Participation and Lab) in D2L Brightspace. These activities introduce you to the skills you will use in this assignment.

1. Setup the Assignment

We strongly recommend that you complete this first assignment using the Codio Virtual Desktop (CVD). The CVD provides a consistent user experience regardless of your local computer's operating system. If you do choose to use your local computer, start at Step 2 below.

  1. Launch the CVD now and carry out the remaining instructions from within the CVD.

    • If you bookmarked the CVD, open that link.
    • If not, open the CVD from within D2L Brightspace. Follow the Launch the CVD instructions if you need a refresher.
  2. Click the browser icon on the taskbar to open a browser. Then, point the browser to the https://github.com/GC-STEM/it140-m2-assignment. Arrange the browser window on one side of your screen.

  3. Click the terminal icon on the taskbar to open a terminal window. Arrange it on the other side of your screen from the browser window.

    Terminal and browser window in split screen

  4. In the CVD terminal window, type update_it140.sh and press Enter. This will update the course IDE to the latest version. Be patient. It may take a few minutes to complete. If using a local computer, use the appropriate script extension for your operating system:

    • Windows: update_it140.ps1
    • macOS : update_it140.zsh
    • Linux : update_it140.sh
  5. Review the output of the update script. You are mainly interested in Failures: 0 and the Restart required: message.

    • If Failures is greater than 0, review the Get Help and Support section.
    • If Restart required: No, type exit and press Enter to close the terminal window.
    • If Restart required: Yes, click the RESTART VM button on the Codio taskbar and wait for the CVD to restart.

    Update summary in split screen

  6. Open a new terminal window and copy the following command block and paste it into the new terminal window. If prompted about a "Potentially Unsafe Paste", click the Paste button. Press Enter to run the commands.

    cd ~/Repos
    gh auth setup-git
    gh api --method PUT /user/starred/GC-STEM/it140-m2-assignment
    gh repo create it140-m2-assignment --template GC-STEM/it140-m2-assignment --private --clone
    cd it140-m2-assignment
    git remote -v

    Note. The above commands only work the first time you run them successfully. If you want to update your repository later or start over, see the Get Help and Support section.

  7. Review the output of the last command. You should see output similar to the what is shown below, except with your GitHub username in place of petey-penmen.

    Git remote output

  8. Determine if you want to continue to Part A or if you want to stop for now and continue later.

    • If you want to continue to Part A now, type code . and press Enter. Skip to Step 3 in 2. Complete Part A.
    • If done for now, type exit and press Enter to close the terminal window. Bookmark the CVD page in your local browser so you can return to it later without going through D2L Brightspace.

2. Complete Part A

  1. Launch the CVD and carry out the remaining instructions from within the CVD.

  2. Open a terminal window. Copy and paste the following command to open the assignment repository in VS Code. Press Enter to run.

    code ~/Repos/it140-m2-assignment
  3. If the Chat pane opens in VS Code, click the X in the upper right corner for that pane to close it. Do NOT click the X to close the entire VS Code window right above it.

    Close Chat pane in VS Code

  4. In the Explorer pane of VS Code"

    • Click > it140-m2-assignment to expand the folder, if needed.
    • Click > Part-A to expand the folder, if needed.

    Expand Part-A folder in VS Code

  5. Right-click on the Part-A/README.md file and select Open to the Side.

    Open Part-A README to the Side in VS Code

  6. You will now follow instructions in the Part-A/README.md file. When ready, maximize the VS Code window by clicking the Maximize button in the upper right corner of the VS Code window. Look for the green box in the previous screenshot.

3. Complete Part B

  1. If not already running, launch the CVD and carry out the remaining instructions from within the CVD.

  2. Open a terminal window. Copy and paste the following command to open the assignment repository in VS Code. Press Enter to run.

    code ~/Repos/it140-m2-assignment
  3. If the Chat pane opens in VS Code, click the X in the upper right corner for that pane to close it. Do NOT click the X to close the entire VS Code window.

    Close Chat pane in VS Code

  4. In the Explorer pane of VS Code"

    • Click > it140-m2-assignment to expand the folder, if needed.
    • Click > Part-B to expand the folder, if needed.

    Expand Part-B folder in VS Code

  5. Right-click on the Part-B/README.md file and select Open to the Side.

    Open Part-B README to the Side in VS Code

  6. You will now follow instructions in the Part-B/README.md file. When ready, maximize the VS Code window by clicking the Maximize button in the upper right corner of the VS Code window right above it. Look for the green box in the previous screenshot.

4. Submit Your Assignment

In your IT 140 course in D2L Brightspace, go to the Course Menu and select Assignments. Click on the 2-3 Assignment: Software Development Introduction link. Follow the instructions to submit your assignment. Submit the following files in Brightspace as one submission:

Get Help and Support

About

IT 140 Module Two assignment for developing a beginner Python name-and-age program while practicing the Software Development Life Cycle (SDLC), including analysis, design, construction, testing, and debugging.

Topics

Resources

Stars

6 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages