Skip to content
Snippets Groups Projects
Commit 8e05e684 authored by Ashwin Maran's avatar Ashwin Maran
Browse files

update links

parent f08bb10e
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
Welcome to your first lab! This semester, you're going to learn how to write your own Python code. But for this lab, you're just going to practice running some Python programs we give you. Welcome to your first lab! This semester, you're going to learn how to write your own Python code. But for this lab, you're just going to practice running some Python programs we give you.
**Important:** Before going to the lab, install Anaconda with Python 3.11 on your laptop. We've created videos showing how to do this on [Windows](https://youtu.be/jUGTRDXJBtI) and [Mac](https://youtu.be/tL8reqOXwjE). Please make sure that **all** checkboxes are checked during the Windows installation. **Important:** Before going to the lab, install Anaconda with Python 3.11 on your laptop. We've created videos showing how to do this on [Windows](https://www.youtube.com/watch?v=IQYhK9BKl1w) and [Mac](https://www.youtube.com/watch?v=6HJaG9kN8Z4). Please make sure that **all** checkboxes are checked during the Windows installation.
**If you have already installed Python or Anaconda before this semester, please uninstall and reinstall, following the instructions in these videos. Please do not upgrade your Python version anytime during the semester. We expect you to retain Python 3.11 throughout this semester.** **If you have already installed Python or Anaconda before this semester, please uninstall and reinstall, following the instructions in these videos. Please do not upgrade your Python version anytime during the semester. We expect you to retain Python 3.11 throughout this semester.**
...@@ -436,4 +436,4 @@ When you see the word `Traceback`, **it means the program crashed**. The `doubl ...@@ -436,4 +436,4 @@ When you see the word `Traceback`, **it means the program crashed**. The `doubl
Congrats on finishing your first CS220 lab! You do not need to submit anything for the labs. The labs are designed to prepare you for the project and help you engage in the lab sessions run by TAs and peer mentors. Your TA will come around to check that you finished and enter your lab attendance points on Canvas. Congrats on finishing your first CS220 lab! You do not need to submit anything for the labs. The labs are designed to prepare you for the project and help you engage in the lab sessions run by TAs and peer mentors. Your TA will come around to check that you finished and enter your lab attendance points on Canvas.
It is recommended that you try to finish P1 right away during lab hours, so you can fix any installation issues with the help of your TA and peer mentor. Good luck with [P1](https://git.doit.wisc.edu/cdis/cs/courses/cs220/cs220-s23-projects/-/tree/main/p1)! It is recommended that you try to finish P1 right away during lab hours, so you can fix any installation issues with the help of your TA and peer mentor. Good luck with [P1](https://git.doit.wisc.edu/cdis/cs/courses/cs220/cs220-f23-projects/-/tree/main/p1)!
...@@ -7,6 +7,7 @@ None yet. ...@@ -7,6 +7,7 @@ None yet.
**Find any issues?** Report to us: **Find any issues?** Report to us:
- Ashwin Maran <amaran@wisc.edu> - Ashwin Maran <amaran@wisc.edu>
- Kincannon Wilson <kgwilson2@wisc.edu>
## Learning Objectives ## Learning Objectives
......
%% Cell type:code id:cd1ab159 tags: %% Cell type:code id:46565f80 tags:
``` python ``` python
# import and initialize otter # import and initialize otter
import otter import otter
grader = otter.Notebook("p1.ipynb") grader = otter.Notebook("p1.ipynb")
``` ```
%% Cell type:code id:f901a05b tags: %% Cell type:code id:2d41a342 tags:
``` python ``` python
import public_tests import public_tests
``` ```
%% Cell type:code id:c0083a39 tags: %% Cell type:code id:ace5a27b tags:
``` python ``` python
# PLEASE FILL IN THE DETAILS # PLEASE FILL IN THE DETAILS
# project: p1 # project: p1
# submitter: NETID1 # submitter: NETID1
# hours: ???? # hours: ????
``` ```
%% Cell type:markdown id:be473d6f tags: %% Cell type:markdown id:4195bd59 tags:
## Project 1: Introduction ## Project 1: Introduction
%% Cell type:markdown id:0e6ee915 tags: %% Cell type:markdown id:bfa2ea29 tags:
**Question 1:** "Hello, World!" program. **Question 1:** "Hello, World!" program.
%% Cell type:code id:cd1e26be tags: %% Cell type:code id:01d22ad1 tags:
``` python ``` python
name = "World" name = "World"
greeting = "Hello, " + name + "!" greeting = "Hello, " + name + "!"
greeting greeting
``` ```
%% Cell type:code id:57f63f1b tags: %% Cell type:code id:ae733300 tags:
``` python ``` python
grader.check("q1") grader.check("q1")
``` ```
%% Cell type:markdown id:ba62cb46 tags: %% Cell type:markdown id:69e9a61e tags:
**Question 2:** Compute the current year. **Question 2:** Compute the current year.
%% Cell type:code id:533150fa tags: %% Cell type:code id:9625e543 tags:
``` python ``` python
curr_year = 45 * 45 - 2 curr_year = 45 * 45 - 2
curr_year curr_year
``` ```
%% Cell type:code id:37ca9934 tags: %% Cell type:code id:6edd04c9 tags:
``` python ``` python
grader.check("q2") grader.check("q2")
``` ```
%% Cell type:markdown id:1fb3279b tags: %% Cell type:markdown id:42c3baae tags:
## Submission ## Submission
Make sure you have run all cells in your notebook in order before running the cell below, so that all images/graphs appear in the output. The cell below will generate a zip file for you to submit. **Please save before exporting!** Make sure you have run all cells in your notebook in order before running the cell below, so that all images/graphs appear in the output. The cell below will generate a zip file for you to submit. **Please save before exporting!**
**SUBMISSION INSTRUCTIONS**: **SUBMISSION INSTRUCTIONS**:
1. **Upload** the zipfile to Gradescope. 1. **Upload** the zipfile to Gradescope.
2. Check **Gradescope** results as soon as the auto-grader execution gets completed. 2. Check **Gradescope** results as soon as the auto-grader execution gets completed.
3. Your **final score** for this project is the score that you see on **Gradescope**. 3. Your **final score** for this project is the score that you see on **Gradescope**.
4. You are **allowed** to resubmit on Gradescope as many times as you want to. 4. You are **allowed** to resubmit on Gradescope as many times as you want to.
5. **Contact** a TA/PM if you lose any points on Gradescope for any **reasons**. 5. **Contact** a TA/PM if you lose any points on Gradescope for any **reasons**.
%% Cell type:code id:00aaa876 tags: %% Cell type:code id:1e4cdaf9 tags:
``` python ``` python
# Save your notebook first, then run this cell to export your submission. # Save your notebook first, then run this cell to export your submission.
grader.export(pdf=False, run_tests=True) grader.export(pdf=False, run_tests=True)
``` ```
%% Cell type:markdown id:1b6a6563 tags: %% Cell type:markdown id:6eb897bb tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment