{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

hw4_orig - CS8 F09 UCSB H04(Based on Miller/Ranum Chapter 4...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CS8, F09, UCSB H04: (Based on Miller/Ranum, Chapter 4 to p. 128) Total Points: 50 Accepted: on paper, at the *beginning* of lecture (11am-12:15pm, TD-W 1701) on Thursday, October 1. Place on the front desk as you walk in, before getting seated. Print out this assignment and write the answers on it. No email submission allowed. Name: (2 pts)______________________________ UCSBNetID (2 pts) _____________________ To answer the questions on this homework, it will be very helpful to have a computer system running Python 3.0 or Python 3.1 available to you. To find such as system, you can either: * log on to one of the computers in the CSIL computer lab, and access Python 3.0 there * download Python 3.0 to your PC or Mac, and access Python 3.0 there Review p. 83-94 from Chapter 3 in your textbook, and then pages 117-128 from Chapter 4 p. 128. Please note that there is a typo on p. 125: the third example of the list function should look like this, i.e. double quotes: >>> list("the quick fox") Not like this (two single quotes together): >>> list(''the quick fox'') Then answer these questions: 1. (3 pts) Fill in the blank: In Python, a "sequential collection of
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern