about | help | code help+videos | done | prefs |
cse160-staff@cs.washington.edu cse160_20sp_checkin03
Two of the practice problems for this week will require you to read the HW3 writeup in order to understand what the question is asking.
If you got credit in canvas for any of the problems from checkin 1, then you have successfully created an account and shared your answers with us and should just need to be sure you are logged on to the same account for this checkin. Otherwise, please see "To Use CodingBat" below.
Note: Since CodingBat is used for practicing Java as well as Python, there are a few slightly ugly things it does. 1) It uses the term "array" to refer to lists (e.g. [3, 5, 9]). 2) It uses the name "str" to refer to a variable that is a string. This is a bad name to use for a variable since we know we can also use str() to convert things to strings.
Please do these THREE problems by Monday February 3, 2020 11:59pm:
- BE SURE YOU ARE SIGNED IN before you attempt any problems! Otherwise you will have to log in and re-do them in order to get any credit
- You must share your answers with teacher cse160-staff@cs.washington.edu under prefs in order to receive credit
first_last6 H
get_last_pixel H (Hint: READ the HW3 writeup before attempting this!)
sum_grid H (Hint: READ the HW3 writeup before attempting this!)
---------------------------------
To use CodingBat and get credit for the participation assignments we will use it for, you NEED TO CREATE AN ACCOUNT. Do this in the upper right hand corner of this page. In order to receive credit you MUST SIGN UP with your UWnetID email address (e.g. rea2000@uw.edu). After creating your account, in order to get credit for the exercises you do, you should select prefs from the upper right hand corner of this page and then select "Teacher Share" at the bottom of the page and enter this email address, followed by clicking the "Share" button:
cse160-staff@cs.washington.eduYou should also add your name into the memo field as: Last Name, First Name and hit the "Update Memo" button.
---------------------------------
Here are a few suggested practice problems. Do as many of these as you like!
Note: Many of the operations we learned about for lists also apply to strings and vice versa. (e.g. [ ] for indexing and slices, + for concatenating)
Warmups:
missing_char H
front_back H
not_string H
front3 H
front_times H
string_bits H
string_splosion H
last2 H
array_front9 H
array123 H
string_match H
Strings:
make_out_word
extra_end
first_two
first_half
without_end
non_start
left2
count_hi H
Lists:
rotate_left3
reverse3
sum2
middle_way
make_ends
has22
Copyright Nick Parlante 2017 - privacy