hw1_orig

hw1_orig - CS8, F09, UCSB H01: (Based on Miller/Ranum,...

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

View Full Document Right Arrow Icon
CS8, F09, UCSB H01: (Based on Miller/Ranum, Chapter 1) 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 1. Review pages 10-17, then answer these questions: at the Python prompt: a. (3 pts) What can you type to compute 100 divided by 11, and get back an exact result (i.e. a result with decimals?) b. (3 pts) If you type that, what answer do you get back? (Write
Background image of page 1

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

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

This note was uploaded on 12/27/2011 for the course CMPSC 8 taught by Professor Franklin during the Fall '09 term at UCSB.

Page1 / 2

hw1_orig - CS8, F09, UCSB H01: (Based on Miller/Ranum,...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online