Practice It

 

Home
Up

http://practiceit.cs.washington.edu
Building Java Programs, 3rd Edition

NOTE: Use the user name and password you were given in class.

Chapter

Number

Problems

Title

Chapter 1

1

Self-Check 1.1

Binary Numbers

 

2

Self-Check 1.2

Binary1

 

3

Self-Check 1.3

Binary2

Chapter 2

4

Self-Check 1.7

Output Syntax

 

5

Self-Check 1.18

MyProgram - errors

 

6

Self-Check 1.19

SecretMessage - errors

 

7

Self-Check 1.31

GiveAdvice

Chapter 3

8

Self-Check 1.6

Legal Identifiers

 

9

Self-Check 2.2

Expressions1

 

10

Self-Check 2.4

Expressions3

 

11

Self-Check 2.6

fitnessVariables

 

12

Self-Check 2.8

lastDigitExpression

 

13

Self-Check 2.11

values of A,B, C

 

14

Self-Check 2.12

firstSecond

 

15

Self-Check 2.17

computePay

 

16

Exercise 2.1

displacement

Chapter 4

17

Self-Check 2.21

oddStuff

 

18

Self-Check 2.24

howManyLines

 

19

Exercise 2.2

loopSquares

 

20

Self-Check 4.2

logicExpressions1

 

21

Self-Check 4.3

ifStatementSyntax

 

22

Self-Check 4.7

evenOdd

 

23

Self-Check 4.10

javaIsAwesome

 

24

Self-Check 5.1

whileLoops

 

25

Self-Check 5.5

randomRangeABCDE

 

26

Self-Check 5.6

randomInteger0to10

 

27

Self-Check 5.11

randomOver900

 

28

Self-Check 5.13

sentinelMinMax

Chapter 6

29

Self-Check 2.26

multiplication

 

30

Self-Check 2.28

starExclamation1

 

31

Exercise 2.6

numberTriangle

 

32

Exercise 2.7

spacedNumbers

 

33

Self-Check 5.14

logicExpressions2

 

34

Self-Check 5.16

isPrime

 

35

Self-Check 5.22

deMorgansExpressions

Chapter 5

36

Exercise 1.12

Fight Song

 

37

Self-Check 8.1

What is OOP?

 

38

Self-Check 8.2

What is an Object?

 

39

Self-Check 8.3

String Object

 

40

Self-Check 8.5

Calculator Object

 

41

Self-Check 8.7

Name

 

42

Self-Check 8.8

Accessor Mutator

 

43

Self-Check 8.9

Method Call Syntax

 

44

Self-Check 8.11

getNormalReverseOrderName

 

45

Self-Check 8.12

printableObjects

 

46

Self-Check 8.13

printingObjects

 

47

Self-Check 8.15

toString Name

 

48

Self-Check 8.17

What is a constructor?

 

49

Self-Check 8.18

Constructor Point Errors

 

50

Self-Check 8.19

Constructor Name

 

51

Self-Check 8.20

this Keyword

 

52

Self-Check 8.23

Public vs private

 

53

Self-Check 8.24

Access Private Fields

 

54

Self-Check 8.26

Encapsulated Name

 

55

Self-Check 8.27

Mutators Name

 

56

Self-Check 8.28

Change Implementation

 

57

Exercise 8.7

addTimeSpan

 

58

Exercise 8.8

subtractTimeSpan

Magpie

59

Self-Check 3.19

stringExpressions

 

60

Self-Check 3.20

string Expressions

 

61

Self-Check 3.21

fourScore

 

62

Exercise 3.17

padString

 

63

Exercise 3.18

vertical

 

64

Exercise 3.19

printReverse

 

Chapter 7

65

Exercise 8.12

toString BankAccount

 

 

66

Self-Check 5.18

 

 

 

 

startEndSame 

Here is an example of "Boolean Zen" according to Practice It
Use:
if (isPrime)
instead of
if (isPrime == true)

 

67

Self-Check 5.19

hasPennies

Chapter 9

68

Self-Check 7.1

arrayDeclarationSyntax

 

69

Self-Check 7.2

numbersElements

 

70

Self-Check 7.8

arrayDeclarationSyntax2

 

71

Self-Check 7.9

declareArray

 

72

Self-Check 7.10

max

 

73

Self-Check 7.13

printElements

 

74

Self-Check 7.14

arrayCodeTracing2

 

75

Self-Check 7.15

printBackwards

 

76

Self-Check 7.17

allLess

 

77

Exercise 7.1

lastIndexOf

 

78

Exercise 7.3

countInRange

 

79

Exercise 7.4

isSorted

 

80

Exercise 7.9

minGap

 

81

Exercise 7.16

append

 

82

Self-Check 7.32

rectangularArray

 

83

Self-Check 7.33

fiveByTenArray

 

84

Self-Check 7.34

copyColumn

 

85

Exercise 7.19

matrixAdd

Chapter 12 (Recursion)

86

Self-Check 12.3

mystery1

 

87

Exercise 12.1

starString

if (supply boolean condition)
 throw new IllegalArgumentException();

 

88

Exercise 12.2

writeNums

 

89

Exercise 12.6

writeSquares

 

90

Self-Check 13.30

mergeSortTracing1

Chapter 10

91

Self-Check 9.3

subclassSyntax

 

92

Self-Check 9.4

inheritanceVariableSyntax

 

93

Self-Check 9.9

CarTruck

 

94

Self-Check 9.10

CarTruck2

 

95

Exercise 9.4

MonsterTruck

 

96

Exercise 9.9

MinMaxAccount

 

97

Exercise 9.11

FilteredAccount

Chapter 11
ArrayLists
98 Self-Check 10.2 ArrayListSyntax
  99 Self-Check 10.8 maxLength
  100 Self-Check 10.15 ArrayListMystery1
  101 Self-Check 10.17 ArrayListMystery3
  102 Exercise 10.3 removeEvenLength
  103 Exercise 10.6 minToFront
  104 Exercise 10.7 removeDuplicates
  105 Exercise 10.18 ComparablePoint (Extra Credit)
  106    
  107    
  108    
       
       
       
       
       
       
       
       
       

 

 

Back to Mr. Dave Clausen's Homepage