I&C SCI 31 Study Guide - Quiz Guide: Pair Programming, Perfectly Clear, Tasmania

69 views3 pages
Quiz 1
To get credit for this quiz, enter your answers, within the Sunday-to Tuesday quiz period on Canvas. Be sure to
submit the quiz fully at the end.
You’ll notice that some of the questions contain short reminders of what certain Python features mean. We won’t
always include those, but this week you haven’t had much time to learn those meanings.
Problem 1 (7 points) Topic: Course policies and advice
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.
(a) We expect students in ICS 31 to have at least two years’ experience writing software.
No previous programming experience is expected of ICS 31 students.
(b) The best and fastest way to get answers to questions about the course material is to send Email to the
instructor and TAs.
Posting on Piazza.com is best for questions about course material. Email is better for private correspondence.
(c) In pair programming, two programmers split up the work so they can
finish twice as fast.
In pair programming, two programmers work together, one "driving" at the keyboard and the other "navigating".
(In fact, studies show that this arrangement gets the work done faster.) Splitting up the work is not pair
programming and is not how labs in ICS 31 should be done.
(d) In pair programming, it’s best to find the most experienced partner you can, so your partner can do all the
hard parts.
If you let your partner carry the weight, you won't learn the material; it's like asking someone else to exercise for
you. Both partners need to discuss and understand the solutions. That can happen when one partner is much
more experienced than the other, but it's more of a give-and-take if the partners are more evenly matched.
(e) This is college; attending class and lab are optional, so missing them has no bad consequences.
Lab is where you do your lab work with your partner each week, and where the TA and lab tutors are available to
give you help. Lecture is where topics are introduced and explained, and where broader issues are covered;
even with lecture notes, you miss everything that's discussed, but not written down.
(f ) If you find some course concepts difficult or confusing, or if you see people in the lab who work a lot faster
than you do, you should give up and take another class.
We don’t expect everything to be perfectly clear and easy right away, and neither should you: Ask your TA or
instructor or lab tutor or Piazza for help. To succeed in this class and in ICS, you do not have to keep up with the
biggest hot-shots.
(g) Save your questions in lecture for the last five minutes of class.
We prefer that you ask questions as they occur to you and leave it to us to decide how and when to answer.
Problem 2 (4 points) Topic: Evaluating numeric and string expressions
What is the value of each of the Python expressions below? (In other words, what would Python display if you
printed each expression out?) Use these variables where appropriate:
r = 17
TAX_RATE = 0.1
s = 'downtown'
(a)
r * TAX_RATE
1.7
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document

This preview shows page 1 of the document.
Unlock all 3 pages and 3 million more documents.

Already have an account? Log in

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents