CS 161 quiz 4

CS 161 quiz 4 - INTRO TO COMPUTER SCIENCE I...

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

View Full Document Right Arrow Icon
INTRO TO COMPUTER SCIENCE I (CS_161_001_W2010) (CS_161_001_W2010) > ASSIGNMENTS > REVIEW ASSESSMENT: BLACKBOARD QUIZ/WORKSHEET 4
Background image of page 1

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

View Full DocumentRight Arrow Icon
Review Assessment: Blackboard Quiz/Worksheet 4 Matthew T Cook 1/26/10 11:53 AM Blackboard Quiz/Worksheet 4 Completed 70 out of 75 points Question 1 5 out of 5 points Read the beginning of Chapter 3 so that you understand the BankAccount class. What is a mutator (also known as a setter) method? Give an example in the BankAccount class (setter methods usually, but not always, start with set ) Selected Answer: Question 2 5 out of 5 points Which method in the BankAccount class is an accessor (also known as a getter) method? Selected Answer: Question 3 5 out of 5 points Check all the valid ways to instantiate a BankAccount object according to the BankAccount class.
Background image of page 2
Question 3 5 out of 5 points Selected Answers: Question 4 5 out of 5 points Assume that we have instantiated a BankAccount object named bobsSavings (this code is outside the BankAccount class). Check all the ways we could wipe out the
Background image of page 3

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

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

Page1 / 7

CS 161 quiz 4 - INTRO TO COMPUTER SCIENCE I...

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

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