Final exams:
Dec. 18, Monday, 8:00-9:50 am, room 125 7E12 (7 East 12th Street)
- bring a calculator (you should know how to use it)
- bring three double sided pages of your own notes
Thu, Dec 7
Problem solving / Review session
We will be working on whatever problems you want to see solved. Let us know ahead of time if there are particular problems you want to see solutions to.
Wed, Dec 13
Q&A
- review all sample problems for the first two exams
- review problems from the slides
Tue, Dec 12
Legislative day = we have Monday on Tuesday
Student presentations:
- geometric patters in art
- statistics of the black Friday madness
- how does S&P 500 works
Mon, Dec 11
Student presentations:
- hotel ratings
- homelessness problem
- bitcoin and cryptocurrencies phenomenon
- gerrymandering and how it effects election outcomes
Thu, Dec 7
Lab 11 (due Dec. 13 at 11:55pm)
Make sure that you read instructions carefully - they will save you time in a long run!
Part 1: paper worksheet
- Answer questions on a worksheet distributed by your instructor.
- You should work in groups of 2-3 students.
- Hand in the completed worksheet before the end of the session (you should hand in ONE worksheet per group).
- (You will get credit for this part of the lab only if you attended the recitation session.)
Part 2: programming problems
- If you are using the lab machine, you should be working with
your
PythonAnywhereaccount (use a separate tab in the browser so that you can switch back and forth between this page and thePythonAnywherepage). -
If you are using your own computer, you can either use
PythonAnywhereor Canopy to solve the problems in this lab. -
For the purpose of the Turtle graphics programs you may need to work with Trinket.io website
- Complete the following problems (the instructions are in each of the problems):
Submitting your work:
Once you are done with all the problems, you will need to upload them to NYU Classes. Use lab10 link under the Assignments link.
Wed, Dec 6
Student presentations:
- statistics on illegal substance use among college students and what universities do about it
- which numbers are important to become famous on instagram (and other social media platforms)
- code poetry
Continue with probability distribution and expected values.
Class # 23
Mon, Dec 4
Student presentations:
- smart cities
- analyzing patterns in music that result in a hit song
- mathematics of music
- using Python and data analysis for detecting politycal bots on Twitter
Thu, Nov. 30
Lab 10 (due Dec. 6 at 11:55pm)
Make sure that you read instructions carefully - they will save you time in a long run!
Part 1: paper worksheet
- Answer questions on a worksheet distributed by your instructor.
- You should work in groups of 2-3 students.
- Hand in the completed worksheet before the end of the session (you should hand in ONE worksheet per group).
- (You will get credit for this part of the lab only if you attended the recitation session.)
Part 2: programming problems
- If you are using the lab machine, you should be working with
your
PythonAnywhereaccount (use a separate tab in the browser so that you can switch back and forth between this page and thePythonAnywherepage). -
If you are using your own computer, you can either use
PythonAnywhereor Canopy to solve the problems in this lab. -
For the purpose of the Turtle graphics programs you may need to work with Trinket.io website
- Complete the following problems (the instructions are in each of the problems):
Submitting your work:
Once you are done with all the problems, you will need to upload them to NYU Classes. Use lab10 link under the Assignments link.
Wed, Nov. 29
Student presentations:
- DNA strand matching
Counting and probability, continued.
Thu, Nov. 23
No classes
Wed, Nov. 22
No classes
Thu, Nov. 16
Processing texts (due Nov. 29 at 11:55pm)
Make sure that you read instructions carefully - they will save you time in a long run!
Part 1: paper worksheet
- Answer questions on a worksheet distributed by your instructor.
- You should work in groups of 2-3 students.
- Hand in the completed worksheet before the end of the session (you should hand in ONE worksheet per group).
- (You will get credit for this part of the lab only if you attended the recitation session.)
Part 2: programming problems
- If you are using the lab machine, you should be working with
your
PythonAnywhereaccount (use a separate tab in the browser so that you can switch back and forth between this page and thePythonAnywherepage). -
If you are using your own computer, you can either use
PythonAnywhereor Canopy to solve the problems in this lab. - Complete the following problems (the instructions are in each of the problems):
Submitting your work:
Once you are done with all the problems, you will need to upload them to NYU Classes. Use lab09 link under the Assignments link.
Class # 20
Wed, Nov. 15
calculating reading levels of different texts
Class # 19
Mon, Nov. 13
Read before next class:
-
This Surprising Reading Level Analysis Will Change the Way You Write by Shane Snow
-
Who is reading your writing?, The Ohio State University Medical Center
Thu, Nov. 9
Exam #2.
Class # 18
Wed, Nov. 8
Q&A before the exam.
Come with questions that you would like to discuss.
Class # 17
Mon, Nov. 6
practice problems for the second exam
come with questions that you want to review
Lab # 8
Thu, Nov. 2
Repeating things with while loops and using lists(due Nov. 8 at 11:55pm)
Make sure that you read instructions carefully - they will save you time in a long run!
Part 1: paper worksheet
- Answer questions on a worksheet distributed by your instructor.
- You should work in groups of 2-3 students.
- Hand in the completed worksheet before the end of the session (you should hand in ONE worksheet per group).
- (You will get credit for this part of the lab only if you attended the recitation session.)
Part 2: programming problems
- If you are using the lab machine, you should be working with
your
PythonAnywhereaccount (use a separate tab in the browser so that you can switch back and forth between this page and thePythonAnywherepage). -
If you are using your own computer, you can either use
PythonAnywhereor Canopy to solve the problems in this lab. - Complete the following problems (the instructions are in each of the problems):
Submitting your work:
Once you are done with all the problems, you will need to upload them to NYU Classes. Use lab08 link under the Assignments link.
Lab # 7
Thu, Oct. 26
Repeating things with while loops and using lists(due Nov. 1 at 11:55pm)
Make sure that you read instructions carefully - they will save you time in a long run!
Part 1: paper worksheet
- Answer questions on a worksheet distributed by your instructor.
- You should work in groups of 2-3 students.
- Hand in the completed worksheet before the end of the session (you should hand in ONE worksheet per group).
- (You will get credit for this part of the lab only if you attended the recitation session.)
Part 2: programming problems
- If you are using the lab machine, you should be working with
your
PythonAnywhereaccount (use a separate tab in the browser so that you can switch back and forth between this page and thePythonAnywherepage). -
If you are using your own computer, you can either use
PythonAnywhereor Canopy to solve the problems in this lab. - Complete the following problems (the instructions are in each of the problems):
Submitting your work:
Once you are done with all the problems, you will need to upload them to NYU Classes. Use lab07 link under the Assignments link.
Class # 14
Wed, Oct. 25
writing code by hand exercises - solving three problems requiring the use of loops, input validation and lists
Class # 13
Mon, Oct. 23
lists in python - slides
Lab # 6
Thu, Oct. 19
Repeating things with while loops (due Oct. 25 at 11:55pm)
Make sure that you read instructions carefully - they will save you time in a long run!
Part 1: paper worksheet
- Answer questions on a worksheet distributed by your instructor.
- You should work in groups of 2-3 students.
- Hand in the completed worksheet before the end of the session (you should hand in ONE worksheet per group).
- (You will get credit for this part of the lab only if you attended the recitation session.)
Part 2: programming problems
- If you are using the lab machine, you should be working with
your
PythonAnywhereaccount (use a separate tab in the browser so that you can switch back and forth between this page and thePythonAnywherepage). -
If you are using your own computer, you can either use
PythonAnywhereor Canopy to solve the problems in this lab. - Complete the following problems (the instructions are in each of the problems):
Submitting your work:
Once you are done with all the problems, you will need to upload them to NYU Classes. Use Lab06 link under the Assignments link.
Class # 12
Wed, Oct. 18
analyzing exam scores - slides
average/median, mode, range, standard deviation - what do they tell us
about the data
Thu, Oct. 12
Exam #1.
Class # 10
Wed, Oct. 11
Q&A before the exam.
Come with questions that you would like to discuss.
Mon, Oct. 9
Fall break - no classes
Lab # 5
Thu, Oct. 5
Class # 8
Mon, Oct. 2
- work on programming challenges questions from this week and last week slides
- review material in modules and quizzes that you completed previously
Lab # 4
Thu, Sep 28
Writing Your Own Python Code (due Oct. 4 at 11:55pm)
Make sure that you read instructions carefully - they will save you time in a long run!
Part 1: paper worksheet
- Answer questions on a worksheet distributed by your instructor.
- You should work in groups of 2-3 students.
- Hand in the completed worksheet before the end of the session (you should hand in ONE worksheet per group).
- (You will get credit for this part of the lab only if you attended the recitation session.)
Part 2: programming problems
- If you are using the lab machine, you should be working with
your
PythonAnywhereaccount (use a separate tab in the browser so that you can switch back and forth between this page and thePythonAnywherepage). -
If you are using your own computer, you can either use
PythonAnywhereor Canopy to solve the problems in this lab. - Complete the following problems (the instructions are in each of the problems):
Submitting your work:
Once you are done with all the problems, you will need to upload them to NYU Classes. Use Lab04 link under the Assignments link.
Class # 7
Wed, Sep 20
-
finish with for loops: slides, for printing
-
problem solving: raises and discounts slides, for printing
- start reviewing material and work on problems from the end of chapters (the first exam is in approximately two weeks)
Class # 6
Mon, Sep 25
- repeating things in Python: slides, for printing
- work on programming challenges questions from this week and last week slides
Lab # 3
Thu, Sep 21
Writing Your Own Python Code (due Sept. 27 at 11:55pm)
Make sure that you read instructions carefully - they will save you time in a long run!
Part 1: paper worksheet
- Answer questions on a worksheet distributed by your instructor.
- You should work in groups of 2-3 students.
- Hand in the completed worksheet before the end of the session (you should hand in ONE worksheet per group).
- (You will get credit for this part of the lab only if you attended the recitation session.)
Part 2: programming problems
- If you are using the lab machine, you should be working with
your
PythonAnywhereaccount (use a separate tab in the browser so that you can switch back and forth between this page and thePythonAnywherepage). -
If you are using your own computer, you can either use
PythonAnywhereor Canopy to solve the problems in this lab. - Complete the following problems (the instructions are in each of the problems):
Submitting your work:
Once you are done with all the problems, you will need to upload them to NYU Classes. Use Lab03 link under the Assignments link.
Class # 5
Wed, Sep 20
- conditional execution : slides, for printing
- keep working on modules 4 and 5 and the corresponding quizzes
Class # 4
Mon, Sep 18
-
more on basic Python: slides, for printing
-
code mangler exercise: rearrange the lines of code and comments so that they form a proper Python program
Lab # 2
Thu, Sep 14
Writing Your Own Python Code (due Sept. 20 at 11:55pm)
Make sure that you read instructions carefully - they will save you time in a long run!
Part 1: paper worksheet
- Answer questions on a worksheet distributed by your instructor.
- You should work in groups of 2-3 students.
- You can use an online calculator (just type the calculation as a google search) if you wish.
- Hand in the completed worksheet before the end of the session.
- (You will get credit for this part of the lab only if you attended the recitation session.)
Part 2: programming problems
- If you are using the lab machine, you should be working with
your
PythonAnywhereaccount (use a separate tab in the browser so that you can switch back and forth between this page and thePythonAnywherepage). - If you are using your own computer, you can either use
PythonAnywhereor Canopy to solve the problems in this lab. - If you need help installing or running Canopy, speak to one of the instructors during the lab.
- Complete the following problems (the instructions are in each of the problems):
Submitting your work:
Once you are done with all the problems, you will need to upload them to NYU Classes. Use Lab02 link under the Assignments link.
Class # 3
Wed, Sep 13
- continue with starting with Python (from variables) : slides, for printing
-
Study module 3 (due Sept. 18 before the lecture)
-
Complete the quiz 3 for module 3 on NYU Classes (due Sept. 18 before the lecture)
Class # 2
Mon, Sep 11
- Python tools: slides, for printing (4 slides per page)
- starting with Python: slides, for printing
Lab # 1
Thu, Sep 7
Starting with Python (due Sept. 13 at 11:55pm)
Note: if you joined the class late or if you did not , follow the steps to create your account on PythonAnywhere (see the assignments for class #1).
The exercises that you complete in this lab will give you a taste of programming. You will read and write programs in Python - the programming language that we will be learning this semester. You do not need to install any software to complete this lab assignment. You need a computer with Internet access (either your personal computer or any NYU public lab computer).
- Login to your
PythonAnywhereaccount (use a separate tab in the browser so that you can switch back and forth between this page and thePythonAnywherepage). - Switch to the
Filestab and underDirectoriescreate a new directory calledlab01. This creates a new directory and switches to that directory. - Under the
Filescreate a new file calledproblem1.py. This creates a new file and brings you to the code editor. - Use the
problem1.pylink below. Copy the entire text of the problem and paste it in the editor onPythonAnywhere. Complete the tasks in problem 1 and answer the questions. Once finished, make sure you save your changes and then runexit()in the console below the code editor (the area on the black background). - Repeat the last step for all five problems.
Problems for this lab:
Submitting your work:
Once you are done with all the problems, you will need to first download them
to your own computer and then upload them to NYU Classes.
Next to each file in the lab01 directory, there is a download icon (an
arrow pointing down). When you have all the files on your own computer, you
can upload them to NYU Classes. Use Lab01 link under the Assignments link.
Class # 1
Wed, Sep 6
Introduction to the class: syllabus, what is this class about? why are we here? is this a class for you?
'Not a Math Person': How to Remove Obstacles to Learning Math
by Katrina Schwartz
There are three task for you to complete after today's class:
1. Sign up for PythonAnywhere account and join the class (due Sept. 6 at 11:55pm):
- Go to the the website PythonAnywhere.com
- Click the big green button that states: Start running Python online in less than a minute!
- … and on the next page click Create a Beginner account
- Complete the information
-
Once you have an account, log in and join the class. When you log in, you should be looking at a screen similar to this one
- Click on the Account link in the upper right corner, switch to the Teacher tab and enter the username of your teacher: joannakl
2. Study module 1 (due Sept. 11 before the class)
- Start at the section titled Functions & Function Calls and use
PythonAnywhereinstead of IDLE. - (We will use a different IDE than IDLE. You'll get a chance to install it on your own computer next week.)
3. Complete the quiz 1 for module 1 on NYU Classes (due Sept. 11 before the class)
