https://pollev.com/slade You may also download the app to your phone. Use the "slade" poll id.
Click for today's quiz. Note: to reward attendance, in-class quizzes are now worth 5 homework points.
There are hundreds of Python modules. Going forward, I invite students to present their own selected Python module of the day, along with some sample code. Send me an email. Students whose submissions are selected will present their modules in class and earn 5 extra homework points.
As stated in the release email, here are the statistics.
Minimum: xx Maximum: xx Mean: xx Median: xx Standard Deviation: xx
At the end of the semester, I add up all the raw scores (problem sets, quizzes, exams, etc.). I then weigh the scores, with homeworks and quizzes worth 1/3, and exams worth 2/3. (Each midterm is 25% and the final is 50% of the exam grade.) I then sort the scores and apply a curve such that over half the class gets an A or A-. Note: this is consistent with the published grade distributions for the computer science department, which surprisingly, is pretty GPA friendly, unlike, say, economics.
Also, if your final exam grade is higher than your lower midterm grade, that lower grade will be replaced by your final exam grade. The quality of mercy is not strained.
Before you ask, you cannot replace your final grade with your higher midterm grade. Otherwise, you would not have to take the final exam.
Review hw3. configurations.
Try in Python Tutor
class stack:
def __init__(self, items = []):
''' Constructor for a stack. Initialize the list of items and the size. '''
## Why not say: self.items = items ?
self.items = items
self.size = len(items)
def push(self, item):
''' add an item to the end of the stack. '''
self.items.append(item)
self.size += 1
x = stack()
y = stack()
x.push(1)
y.push(2)