Project 3: Ants Vs. SomeBees ants.zip
The bees are coming!
Create a better soldier
With inherit-ants.
Introduction
Important submission note: For full credit,
Submit with Phas...
Project 2: CS 61A Autocorrected Typing Software cats.zip
Programmers dream of
Abstraction, recursion, and
Typing really fast.
Introduction
Important submission note: For full c...
Lab 8: Midterm Review lab08.zip
Due by 11:59pm on Wednesday, March 16.
Starter Files
Download lab08.zip. Inside the archive, you will find starter files for the questions in this l...
Lab 7: Linked Lists, Trees / Tree Mutation lab07.zip
What Would Python Display?
Q1: WWPD: Linked Lists
Read over the Link class in lab07.py. Make sure you understand the doctests.
...
Homework 5: Trees, Linked Lists hw05.zip
Mid-Semester Feedback
Q1: Mid-Semester Feedback
As part of this week’s homework, please fill out the Mid-Semester Feedback form.
This surve...
Lab 6: Object-Oriented Programming lab06.zip
What Would Python Do?
These questions use inheritance. For an overview of inheritance, see the inheritance portion of Composing Program...
Homework 4: Python Lists, Object-Oriented Programming hw04.zip
Parsons Problems
To work on these problems, open the Parsons editor:
1python3 parsons
Q1: Remove Odd Indices
Complete...
What Would Python Do?
Q1: WWPD: List-Mutation
Use Ok to test your knowledge with the following “What Would Python Display?” questions:
1python3 ok -q list-mutation -u✂️
Important:...
Lab 4: Recursion, Tree Recursion lab04.zip
What Would Python Do?
Q1: Squared Virahanka Fibonacci
Use Ok to test your knowledge with the following “What Would Python Display?” ques...
Rules
In Hog, two players alternate turns trying to be the first to end a turn with at least 100 total points. On each turn, the current player chooses some number of dice to roll,...
Currying
We can transform multiple-argument functions into a chain of single-argument, higher order functions. For example, we can write a function f(x, y) as a different function ...
Lab 1: Variables & Functions, Control lab01.zip
What Would Python Display? (WWPD)
Q1: WWPD: Control
Use Ok to test your knowledge with the following “What Would Python Display...
Homework 1: Variables & Functions, Control hw01.zip
Parsons Problems
Q2: k in Num
Write a function k_in_num which takes in two integers, k and num. k_in_num returns True if num...