Could another constructor be created for the BankAccount class with
- public BankAccount ( Association other )
Also, work Problems 2.2, 2.3, and 2.10. (0.5 pts. each for 2.2 and 2.3, 1 pt. for 2.10)
#14 (due Friday, February 16)
Read Chapter 3 (Vectors) of Java Structures and write a synopsis of Chapter 3.
Work Problem 3.12 on page 48 (5 points for problem, 5 points for synopsis).
#15 (due Wednesday, February 21)
Read Chapter 4 (Design Fundamentals) of Java Structures and write a synopsis of Chapter 4. (8 pts.)
Work Problem 4.2 on page 73 (2 points). You should clearly describe the situations which cause the best-case time and the worst-case time.
#16 (due Friday, February 23)
Work problem 4.3 on page 73 (2 pts.)
#17 (due Monday, February 26)
Read chapter 5 (Sorting) of Java Structures and write a synopsis of Chapter 5.
Work Problem 5.6 on page 96. (problem 3 points, synopsis 7 points)
#18 (due Wednesday, February 28)
A sort is said to be stable if the order of equal values is maintained
throughout the sort. Determine which of the following sorts are stable:
Bubble, Insertion, Selection, Merge, Quick
Give your reasoning for each. (1 pt. for each correct designation as
stable or not stable. 1 pt. for presentation of justification -- for a
total of 10 pts.)
#19 (due Friday, March 2)
Prepare and turn in a 1-page spreadsheet (10 pts.) containing the following
information:
Your name
CPSC 210, Section 2
A list of grades for daily quizzes (1-13), showing quiz number
and date of quiz, the quiz average, and the quiz average
if 3 grades are dropped before computing average.
A list of reading grades (assignments 1-7, 9-12, and 16),
listing the assignment number by each grade, and the
average of these reading grades (your sum / maximum possible).
Your grade on the first hour quiz, labelled.
The grade you would receive if the final grade were based on these
three components and their relative percentage allocation.
All information must be typed.
#20 (due Monday, March 12)
Read Chapter 7 (Linear Structures, including Stacks and Queues) of
Java Structures. Write a synopsis of Chapter 7 (4 pts.)
Work Problems 7.1 (1 pt.), 7.2 (1 pt.), 7.3 (2 pts.), and 7.4 (2 pts.) on page 152.
#21 (due Wednesday, March 14)
Work problem 7.5 ( 2 pts.), 7.6 (2 pts.) and 7.12 (6 pts.)
#22 (due Monday, April 16)
Read Chapter 9 (Ordered Structures) of Java Structures and write a
synopsis of Chapter 9 (8 pts.). Answer questions 9.3 and 9.4 on
on page 185 ( 1 pt. each).
************************************************************************
********* PAGE UNDER CONSTRUCTION FROM THIS POINT ON
************************************************************************
#16 (due Monday, October 30)
Read Chapter 8 (Iterators) of Java Structures and write a synopsis of Chapter 8.
Work Problem 8.2 on page 165 (10 pts.). You will want to write an implementation of the iterator including instance variables, constructor, and the 4 methods listed on page 157. You do not need to compile and run your code, but your code is more likely to be correct if you do so.
The synopsis is 10 pts. and Problem 8.2 is an additional 10 pts., making this reading assignment total 20 points (double assignment).
#17 (due Wednesday, November 8) .
Read Chapter 9 (Comparable Objects) of Java Structures and write a synopsis of Chapter 9.
#18 (due Monday, November 13)
Read Chapter 10 (Trees) of Java Structures and write a synopsis of Chapter 10.
#19 (due Monday, November 20)
Read pages 249-257 of Chapter 12 (Search Trees) and write a synopsis of these pages.