1. Each of the following statements claims to be a policy, procedure, good advice, or other characteristic of ICS 31, but each is inaccurate, misguided, or wrongheaded in some way. Please change the statement (as little as necessary) to make it an accurate statement on the same topic.
We expect students in ICS 31 to have at least two years' experience writing software.
The best and fastest way to get answers to questions about the course material is to send Email to the instructor and TAs.
In pair programming, two programmers split up the work so they can finish twice as fast.
In pair programming, it's best to find the most experienced partner you can, so your partner can do all the hard parts.
This is college; attending class and lab are optional, so missing them has no bad consequences.
2. Reflecting our discussion in class last week:
List three application areas of information technology. That is,
list three specific tasks or activity categories that we use IT for.
List three characteristics of computers that make them particularly good at the tasks listed above.
3. What is the value of each of the Python expressions below? Use these values where appropriate:
r = 17
s = 'download'
10 * r
(20 * 4) / (r - 7)
'pine' + 'cone'
'pinecone'
len(s)
s[2] # Remember zero-based indexing
'w'
r == (34 / 2)
4. For each of these sequences of statements, what does Python print?
a = 5
b = a * 10
print(a, b)
5 50
c = 'Hello'
print(c)
c = c + ' again'
print(c)
Hello
Hello again
make = 'Toyota'
model = 'Camry'
year = 1998
print('She drives a', year, model)
This early in the quarter, we might not be sticklers for the precise
spacing, but eventually it will matter. The print function
automatically adds one space between the items it prints out; this is
reflected above.