BYU logo Computer Science

Lab 0 — Getting Started

Welcome to CS 110! This lab will help you get started in the class.

Getting to know each other

10 minutes

The lab should be a place where you make friends and learn to program together. The TA will lead an exercise where we get to know everybody. For example, maybe you will all share your name, where you are from, a favorite food, and a hobby.

This lab is prone to technical difficulties. Please assist the people around you if you are ahead. For this lab, it will be best if you are near people with the same kind of device (Mac or Windows).

Setting Permissions (Windows)

5 minutes

We would like to run terminal commands inside of Pycharm during this class, as well as run python scripts from the terminal. Windows does not allow that by default, so we will need to change a setting.

Follow the guide entry on Configuring Powershell.

Installing Python using Miniconda

5 minutes

Follow the guide entry on Installing Python using Miniconda. There are separate sections for computers with Windows and MacOS.

Creating a Conda Environment

5 minutes

Follow the guide entry on Creating a conda environment.

Installing PyCharm

5 minutes

Follow the guide entry on Installing PyCharm.

Creating a PyCharm Project

5 minutes

Follow the guide entry on Creating a PyCharm project. Your project should be a folder called cs110 that is inside your Documents folder.

If you are new to how files are organized on your computer, review the guide entry on the file system.

Downloading a zip file

5 minutes

For homeworks you will need to download a zip file and put its contents into your CS 110 project. To learn how to do this, follow the guide on Downloading a zip file.

Running a Python program

10 minutes

Follow the guide for running a Python program.

Grading

To finish this lab and receive a grade, take the canvas quiz.