Available online as http://www.cs.ucsb.edu/~pconrad/cs8/10F/homework/H13—printable PDF
Name: (4 pts)  Umail Address: (4 pts)  @umail.ucsb.edu 
Lab Section (2 pts)—circle one:  9am  10am  11am  noon  unknown  crashing 
You may collaborate with at most ONE other person on this homework assignment. If you do, please enter his/her name here:  
(He/she should also enter your name on her/his assignment.) 
This assignment is due in
Lecture on Thursday, 11.18.
It may ONLY be submitted in
Lecture, at 2pm on Thursday.
You must come IN PERSON to turn it in during
your assigned Lecture section.
The flipside of this homework continues the reading in chapter 5, picking up where the previous homework assignment left off. Please read section 5.2.5 (pp. 166171).
Note that Section 5.2.5 refers back to the measures of central tendency from Section 4.5 (mean, median, mode), and the Frequency Distribution code in Section 4.6 (pp. 146149). Both of these, in turn use the Python concept of a "dictionary", which is a Python feature we have not studied so far in this course. Although you are welcome to read those if you want, it is not necessary to refer to these concepts to complete this homework.
This side of this homework has some more exercises related to the not
operator and DeMorgan's laws (covered in lecture).
(20 pts) Please fill in the table below. The first column contains a Python expression involving the not operator
under each expression, fill in an equivalent expression that doesn't use not 
Value of expression when w='ucsb'; x=6; y=2; z=[3,5] 

type(z) == str 
False 









Please turn over for more...
...continued from other side
Section 5.2.5 describes using the techniques covered previously in Section 5.2 (which you may want to review) to compute some statistics with a real data file.
maglist.append(float(vlist[0]))
maglist.append(vlist[0])
.append()
method?"mag.txt"
, one per line. (You may want to review Section 5.2.2 before answering.)End of H13