Skip to main content

01 | Assignment 01

The goal of assignment_01 is for you to actually code and documentwith # Comments ALL THE BASICS.

The first part of assignment_01 will require you set up a GitHub account.

Important
  1. All of your assignments will be uploaded to a private repository on your GitHub account.
  2. You will also need to provide me with access to your private repository.
  3. Submit your GitHub account name in the For the larger projects, there is no need to submit in Canvas. If you don't like to see Canvas late notices, simply enter "uploaded to GitHub" done in the assignment submission text box.
  4. I will demonstrate in class all GitHub setup steps.

Even if you are familiar with GitHub, please follow my in-class demo by downloading the repository via your web browserdon't clone it or fork it from the command line. Here is a link to the GitHub repository: lblakej_INLS_560.

Basic GitHub drag-and-drop

We will work on several different items in the session. Ultimately, you will need to put them in your assignment_01 space on GitHub. We will not start out with command line GitHub commands, so you will just use drag-and-drop via web, tonight. By the end of the course you will learn how to use some Git commands in Visual Studio Code and a terminal, but that is not the goal for this first class.

be kind to yourself!

It is common for beginners to end up with mismatched files, the point of version control is for this not to happen; but, it is okay to make this mistake at first.

danger

. Sometimes a student will have to delete either the local or GitHub files to start fresh. Important: be careful not to delete everything locally and on GitHub simultaneously!**

lblakej is my UNC onyen and also my GitHub user name. You do not have to name your GitHub account/username to be the same as your onyen, but you do need to rename your downloaded repository name to match your onyen and not mine.

Please keep your onyen and directory name lowercase. Not following file naming conventions will be considered an error that must be fixed. I understand that it is a hard habit to break because english grammar has demanded that you capitalize proper names. In this case I made a mistake on purpose and did not capitalize "english" in the previous sentence. And this is an error because the context of this paragraph is documentation. But in code you would inded name your variable as such:

english = 'cat'
spanish = 'gato'
arabic = 'قطة'
chinese = '猫'

Examples:

Accountrepository
https://github.com/lukeskywalkerlukesky_INLS_560
https://github.com/darthvaderdarthv_INLS_560
https://github.com/hansolohansolo_INLS_560

You will need to email me your GitHub user account name, not your repository name.

You will include your in-class Assignment_01 files in the assignment_01 folder and upload them to your GitHub account. If you do not already have a GitHub account, then I will help you get that set up in our first class.

File Name.                       # What you need to demonstrate:
----------------------------------------------------------------------------------------------
01_input.py # well-named variables, input() and print() functions
02_input_conversion.py # all of the above, plus casting with int() and simple addition
03_expressions.py # all of the above, plus order of operations
04_readable_code.py # TBA
05_print_commas.py
06_print_sep.py
07_print_end.py
08_print_output_various.py
09_multi_line_f_string.py
10_future_value_easy.py # more complex math with exponents and fiance calculation

Rubric

  1. Create GitHub account. Name as you wish. If you already have a GitHub account, you do not need to create a second account, but you may create a separate account if you wish.
  2. Create a new directory
  3. Download the sample directory to your computer.
  4. Rename the directory from my onyen to local: lblakej_INLS_560 > local_INLS_560. this will be
  5. Follow along in class and complete the 10 exercises.
  6. Make the exercises unique. Non-unique submissions which are simply a copy of my demonstration will need to be resubmitted.