Showing 0-0 of 0 results
# Exercise Title Features Description Platform Keywords
1 Inheritance and Polymorphism: Review Questions 4 Question, Battery Inheritance and Polymorphism battery of self-assessment questions: Writing methods. OpenDSA Method
2 Method Overriding Review Quiz Question, Battery CS1 review questions: Method overriding. OpenDSA Method
3 Understanding Method Signatures Review Questions Question, Battery Understanding method signatures self-assessment questions. OpenDSA Method, Signature
4 Methods with Parameters Review Questions Question, Battery Understanding methods with parameters self-assessment questions. OpenDSA Method, Parameter
5 Methods and Return Statements Review Quiz Question, Battery Methods and return statement for CS1 self-assessment questions. OpenDSA Method, Return Statement
6 (Methods) Adding numbers - CSEdPad The program will create a method that will add two given exam numbers of a student. The program will declare... AnnEx methods
7 3-19_MoreMethods Java BehaviorExample for demonstrating 3-19_MoreMethods AnnEx methods
8 3-19_PizzaPrices Java BehaviorExample for demonstrating 3-19_PizzaPrices AnnEx methods
9 3-21_ParamPassing Java BehaviorExample for demonstrating 3-21_ParamPassing AnnEx methods
10 SwapExample Java BehaviorExample for demonstrating SwapExample AnnEx methods
11 Is Accessible Free Coding Problem, coding problem Coding Question CodeWorkout methods, access modifiers, 1212, boolean, cci, coding problem
12 LinkedBagAdd Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
13 LinkedBag ToString Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
14 LinkedBagRemoveAll Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
15 LinkedBagSetAdd Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
16 LinkedStackToString Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
17 LinkedStackToArray Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
18 LinkedStackFindBase Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
19 LinkedQueueEnqueue Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
20 LinkedQueueDequeue Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
21 LinkedQueuePriorityEnqueue Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
22 LinkedQueueAlmostPriorityEnqueue Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
23 ArrayQueueBadEnqueue1 Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
24 ArrayQueueBadEnqueue2 Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
25 ArrayQueueManipulate1 Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
26 ArrayQueueManipulate2 Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
27 LinkedListInsertionSortSplitInTwo Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
28 LinkedListInsertionSortFindNodeBefore Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
29 LinkedListInsertionSortInsertAfterNode Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
30 LinkedListInsertionSort Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
31 Write A Comparator 2 Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
32 Comparing Comparators 2 Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
33 Write A Comparator 1 Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
34 Comparing Comparators 1 Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
35 Conditionals Practice 1 Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
36 Conditionals Practice 2 Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
37 Conditionals Practice 3 Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
38 Conditionals Practice 4 Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
39 Null Pointer Exception Practice 1 Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
40 Null Pointer Exception Practice 2 Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
41 Null Pointer Exception Practice 3 Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
42 Null Pointer Exception Practice 4 Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, code writing
43 Fundamentals 5 Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, fundamentals, variables, code writing
44 Fundamentals 6 Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, fundamentals, variables, code writing
45 Cloning 1 Shallow Copy Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, cloning, code writing
46 Cloning 2 Deep Copy Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, cloning, code writing
47 Cloning 3 Complex Deep Copy Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, CS2114, cloning, code writing
48 While Loop Practice Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, while, CS5004, code writing
49 For Loop Practice Free Coding Problem, code writing Coding Question CodeWorkout methods, logic, while, CS5004, code writing
50 Buddy Method Memory Manager Visualization Algorithm Visualization, User Supplied Data Algorithm Visualization for the buddy method memory manager. User can select data for the visualization. OpenDSA Buddy Method Memory Manager
51 Main Method Review Questions Question, Battery CS1-level review questions on the main method in Java. OpenDSA Main Method
52 LightBot Method Calls 1 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, LightBot, methods, Java, code writing
53 LightBot Method Calls 2 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, LightBot, methods, Java, code writing
54 LightBot Method Calls 3 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, LightBot, methods, Java, code writing
55 LightBot Method Calls 4 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, LightBot, methods, Java, code writing
56 LightBot Method Calls 5 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, LightBot, methods, Java, code writing
57 LightBot Method Calls 6 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, LightBot, methods, Java, code writing
58 LightBot Method Calls 7 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, LightBot, methods, Java, code writing
59 LightBot Method Calls 8 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, LightBot, methods, Java, code writing
60 LightBot Method Calls 10 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, LightBot, methods, Java, code writing
61 LightBot Method Calls 9 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, LightBot, methods, Java, code writing
62 Jeroo method sequencing Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, methods, syntax practice, code writing
63 LightBot Writing Method Calls 1 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, LightBot, methods, Java, code writing
64 LightBot Writing Method Calls 2 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, LightBot, methods, Java, code writing
65 LightBot Writing Method Calls 3 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, LightBot, methods, Java, code writing
66 LightBot Writing Method Calls 4 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, LightBot, methods, Java, code writing
67 LightBot Writing Method Calls 5 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, LightBot, methods, Java, code writing
68 Writing a Method 1 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, parameters, methods, Java, code writing
69 Writing a Method 2 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, parameters, methods, Java, code writing
70 Jeroo turn() method Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, methods, syntax practice, code writing
71 Writing a Method 1 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, Java, method, boolean, code writing
72 Writing a Method 2 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, parameters, methods, Java, code writing
73 Writing a Method 3 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, parameters, methods, Java, code writing
74 Using Setter Methods 2 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, parameters, methods, Java, code writing
75 Jeroo plantThree() Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, method, code writing
76 Jeroo turnAroundLeft() Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, method, code writing
77 Jeroo plantThreeRowsOfThree() Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, method, syntax practice, code writing
78 Objects of a Class Exercise 2 Question, multiple choice, single answer Multiple Choice Question CodeWorkout objects, methods, multiple choice, single answer
79 Objects of a Class Exercise 3 Question, multiple choice, single answer Multiple Choice Question CodeWorkout objects, methods, multiple choice, single answer
80 Jeroo turnAround() Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, methods, syntax practice, code writing
81 Jeroo multiple hops Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, methods, syntax practice, code writing
82 Jeroo Create and Place Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, methods, syntax practice, constructors, code writing
83 Jeroo disables net Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, methods, syntax practice, code writing
84 Jeroo high jump Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, methods, conditionals, syntax practice, code writing
85 Jeroo wakes up Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, methods, conditionals, syntax practice, code writing
86 Jeroo party Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, methods, conditionals, syntax practice, code writing
87 BackpackClassPython Free Coding Problem, code writing Coding Question CodeWorkout classes, methods, code writing
88 Parameter Practice 1 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, parameters, methods, Java, code writing
89 Parameter Practice 2 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, parameters, methods, Java, code writing
90 Parameter Practice 3 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, parameters, methods, Java, code writing
91 Calling Super Practice 1 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, parameters, methods, Java, code writing
92 Calling Super Practice 2 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, parameters, methods, Java, code writing
93 Using Parameters 1 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, parameters, methods, Java, code writing
94 Using Paramters 2 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, parameters, methods, Java, code writing
95 Parameter Practice 4 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, parameters, methods, Java, code writing
96 Parameter Practice 5 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, parameters, methods, Java, code writing
97 Parameter Practice 6 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, parameters, methods, Java, code writing
98 Calling Super With Parameters Free Coding Problem, code writing Coding Question CodeWorkout CS1114, parameters, methods, Java, code writing
99 changeTo10By4 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, parameters, methods, Java, code writing
100 Jeroo Conditionals 1 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, Jeroo, methods, Java, conditionals, code writing
101 More Jeroo Conditionals 1 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, Jeroo, methods, Java, conditionals, code writing
102 More Jeroo Conditionals 2 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, Jeroo, methods, Java, conditionals, code writing
103 More Jeroo Conditionals 3 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, Jeroo, methods, Java, code writing
104 More Jeroo Conditionals 4 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, Jeroo, methods, Java, conditional, code writing
105 More Jeroo While Loops 1 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, Jeroo, methods, Java, loops, conditionals, code writing
106 More Jeroo While Loops 2 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, Jeroo, methods, Java, loops, conditionals, code writing
107 More Jeroo While Loops 3 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, Jeroo, methods, Java, loops, conditionals, code writing
108 More Jeroo While Loops 4 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, Jeroo, methods, Java, loops, conditionals, code writing
109 Jeroo lookForFlower() Free Coding Problem, code writing Coding Question CodeWorkout CS1114, Jeroo, methods, Java, conditionals, code writing
110 Jeroo turnOrHop() Free Coding Problem, code writing Coding Question CodeWorkout CS1114, Jeroo, methods, Java, conditionals, code writing
111 Jeroo turnNorth() Free Coding Problem, code writing Coding Question CodeWorkout CS1114, Jeroo, methods, Java, conditionals, code writing
112 Jeroo pickAll() Free Coding Problem, code writing Coding Question CodeWorkout CS1114, Jeroo, methods, Java, conditionals, code writing
113 Jeroo giveUpAllFlowers() Free Coding Problem, code writing Coding Question CodeWorkout CS1114, Jeroo, methods, Java, conditionals, code writing
114 The Class for Representing a Point in the Euclidean Plane (Case 2) Construct a class that represents a point in the Euclidean plane. The class should contain data that represents the point’s... PCEX classes, constructors, exceptions, file i/o, inheritance, methods, objects, overloading
115 Determining Whether One is a Teenager (Case 2) Construct a program that asks the user to enter a string that has the user name and age separated by... PCEX classes, exception handling, exceptions, file i/o, if-else statement, loops, methods, objects
116 Reporting File Information (Case 2) Construct a program that receives the full path to an input file from the user, reads that file and reports... PCEX classes, exceptions, file i/o, methods, objects
117 Class 2 (BankAccount) Java PredictingFinalResult for demonstrating Class 2 (BankAccount) QuizJET classes, exceptions, file i/o, methods, objects
118 Class (Cash Register) Java PredictingFinalResult for demonstrating Class (Cash Register) QuizJET classes, constructors, exceptions, file i/o, methods, objects, overloading
119 Class 5 (Point) Java PredictingFinalResult for demonstrating Class 5 (Point) QuizJET classes, exceptions, file i/o, methods, objects
120 noTeenSum Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, methods, code writing
121 Encapsulated Class Design Free Coding Problem Coding Question CodeWorkout class design, encapsulation, fields, methods, private, public
122 Jeroo turns north Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, loops, conditionals, CS1, methods, code writing
123 changeTo10By4 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, parameters, Java, methods, code writing
124 Method Demo Java BehaviorExample for demonstrating Method Demo AnnEx classes, objects
125 Method Demo Java CodeVisualization for demonstrating Method Demo JSVEE classes, objects
126 Static Method Java BehaviorExample for demonstrating Static Method AnnEx
127 Static method for counting the number of times a character appears in a string Code Completion Supply a static method that counts the number of times that a specific character appears in a given string. For... CodeCheck Designing Classes
128 Static method for computing number of binary digits in n Code Completion Supply a static method that computes the number of binary digits in a given integer. For example, CodeCheck Designing Classes
129 Generic method for filling an array Code Completion The class below has a static method which sets all elements of an array to a value. The method is... CodeCheck Generic Types
130 Writing Methods With Parameters Free Coding Problem, code writing Coding Question CodeWorkout CS1114, Jeroo, Attribute, code writing
131 Object Creation and Method Calls Object Creation and Method Calls AnnEx boolean expressions, classes, objects
132 Equality Comparison Method Construct a program with two classes, where each class has a comparison method. Test whether instances of each class is... PCEX
133 Greater Than Comparison Method Challenge Construct a program with two classes, where each class has a comparison method. Test whether the value of the first... PCEX
134 Write a method that undoes the effect of the preceding exercise. Code Completion Write a method that undoes the effect of the preceding exercise. CodeCheck Strings, Other String Operations
135 Mid-square Method Calculator Calculation Exercise Calculator for computing value of the middle digits of a squared number. OpenDSA Hash Function
136 String Folding Method activity Calculation, User Supplied Data Calculator for computing value of hashing a string by 'folding'. A better method than character value summing. OpenDSA Hash Function
137 Choosing the Best Indexing Method Question, Battery Self-test question battery on which is the best indexing choice for a given scenario. OpenDSA Tree-Based Indexing
138 Doubly Linked List Prev Method Slideshow Algorithm Visualization, Code Tracing Presentation Slideshow showing how to move to the previous element in a doubly linked list. OpenDSA Doubly Linked List
139 Zipper words with helper method Code Completion Two strings of equal length can be interlaced like the teeth of a zipper to form a new word. For... CodeCheck Recursion
140 Recursive string reversal with helper method Code Completion Complete the static reverseHelper method so that the reverse method returns a String that is the reverse of the parameter... CodeCheck Recursion
141 Overriding the equals Method Code Completion All vehicles used for transportation in the U.S. must have identification, which varies according to the type of vehicle. For... CodeCheck Inheritance
142 Introduce class to implement method that mutates value Code Completion A Java method cannot update primitive type parameters. For example, the following program cannot work as intended: CodeCheck Designing Classes
143 Generic pair with min method Code Completion CodeCheck Generic Types
144 Pair class with compareTo method Code Completion We sometimes want to compare two Pair objects, for example, when using pairs as keys in a tree map. CodeCheck Generic Types
145 Generic replicate method Code Completion Implement the generic replicate method. It should return a list containing multiple copies of the given value. CodeCheck Generic Types
146 Write a method that undoes the effect of the preceding exercise. Code Completion Write a method that undoes the effect of the preceding exercise. CodeCheck Strings, Other String Operations
147 Generics - Generic Method 2 Free Coding Problem, code writing Coding Question CodeWorkout generic, char, int, String, code writing
148 Generics - Generic Method Free Coding Problem, code writing Coding Question CodeWorkout generic, char, int, String, code writing
149 Recursion - Mystery Method Question Multiple Choice Question CodeWorkout recursion
150 Writing a toString Method Free Coding Problem, code writing Coding Question CodeWorkout CS1114, arraylist, Java, String, code writing
151 Overriding Object Methods Java BehaviorExample for demonstrating Overriding Object Methods AnnEx inheritance
152 Linked List Miscillaneous Methods Slideshow Algorithm Visualization, Code Tracing Presentation Slideshow demonstrating some miscillaneous methods for a linked list implementation. OpenDSA Linked List
153 Find vowels in string with recursive helper method Code Completion Complete the MyMethods class so that the static vowels method returns a string of the vowels of the string parameter.... CodeCheck Recursion
154 Reverse an integer with helper method Code Completion We want to implement a method that reverses the digits in an integer. For example, reverseDigits(3456) should yield 6543. CodeCheck Recursion
155 Parameter Passing Comparison of Five Methods Tracing Exercise A collection of self-practice questions to compare parameter passing by five methods. OpenDSA Parameter Passing
156 Unique words in two string sets Code Completion Implement a method that receives two arrays of strings and determines which words are unique to each. CodeCheck Tree Structures
157 Hash code for LabeledPoint Code Completion Implement the hashCode method for the LabeledPoint class so that equal objects have the same hash code and that unequal... CodeCheck Tree Structures
158 Letter frequency (count) Code Completion Write a method that computes how often each letter A-Z or a-z occurs in a string. Don't distinguish between upper-... CodeCheck Arrays and Array Lists
159 Letter frequency (percentage) Code Completion Write a method that computes the frequency (as a percentage between 0.0 and 1.0) of each letter A-Z or a-z... CodeCheck Arrays and Array Lists
160 BankAccount with Service Charge Code Completion Change the withdraw method of the BankAccount class so that a charge of $1.00 is deducted for each withdrawal. CodeCheck Classes
161 Reverse toString for array Code Completion Complete the static toStringInReverse method in the MyMethods class so that it formats an array of int values in reverse... CodeCheck Recursion
162 Recursive toString for array Code Completion Complete the static mkString method in the MyMethods class so that it formats an array of int values, with the... CodeCheck Recursion
163 Multiplication as recursive addition Code Completion Complete the multiply method in the MyMethods class so that it returns the product of the non-negative integer n multipled... CodeCheck Recursion
164 Remove all but first two elements from linked list Code Completion Write a method that removes all but the first two elements from a linked list, using an iterator. You may... CodeCheck Linear Data Structures
165 Implement addLast using raw nodes Code Completion Implement the addLast method in this simplified LinkedList class. CodeCheck Linear Data Structures
166 Add an element to the front and back of a linked list Code Completion Implement a method that adds an element to the beginning of a linked list and another at the end. CodeCheck Linear Data Structures
167 Add an element after the first and before the last Code Completion Write a method that adds an element after the first and another before the last element of a nonempty linked... CodeCheck Linear Data Structures
168 Add throws clause to web reader Code Completion The checkURL method below checks whether a web site contains data. Checked exceptions can be thrown in the code. Your... CodeCheck Input and Output
169 Last n Characters Code Completion Write a method that gets the last n characters from a string. For example, last("Hello, World!", 5) should return the... CodeCheck Fundamental Data Types
170 Swap first and last name Code Completion Write a method getLastFirst whose parameter is a string containing a name such as "Harry Smith" and that returns a... CodeCheck Fundamental Data Types
171 Initials Code Completion Complete the initials method in the class below. For example, the call initials("Harry", "Joseph", "Hacker") should return the string "HJH". CodeCheck Fundamental Data Types
172 Middle Letter Code Completion Complete the getMiddle method that gets the middle character from a word if the word length is odd, or the... CodeCheck Branches
173 All the same sign Code Completion Write a method to test whether three numbers have the same sign (positive, zero, or negative). For example, CodeCheck Branches
174 All different Code Completion Write a method to test whether three numbers are all different. For example, CodeCheck Branches
175 All the same Code Completion Write a method to test whether four numbers are all the same. For example, CodeCheck Branches
176 Swap values by using an array Code Completion A Java method cannot update primitive type parameters. For example, the following method does not work as intended: CodeCheck Designing Classes
177 Rotating the Array Values to the Left by One Position Construct a program that has a method that receives an array of values and returns the array rotated to the... PCEX arrays
178 Rotating the Array Values to the Left by Two Position Construct a program that has a method that receives an array of values and returns the array rotated to the... PCEX arrays
179 Rotating the Array Values to the Right by One Position Construct a program that has a method that receives an array of values and returns the array rotated to the... PCEX arrays
180 Printing Common Elements in Two Arrays Construct a program that has a method that receives two arrays and prints the values in the 2nd array that... PCEX arrays
181 Printing the Total Number of Times Elements of One Array Appear in Another Array Construct a program that has a method that receives two arrays and prints the total number of times the elements... PCEX arrays
182 Class Point Construct a class Point which has a method to tell distance from another instance of Point. jsParsons classes, data structures, objects, stacks
183 Bucket Hashing Slideshow Algorithm Visualization Slideshow showing the basic hash method of hashing to any free position within a computed bucket. OpenDSA Bucket Hashing
184 Rotating the Array Values Construct a program that has a method that receives an array of values and returns the array rotated to the... PCEX arrays
185 Searching Values of an Array in Another Array Construct a program that has a method that receives two arrays and prints the values in the 2nd array that... PCEX arrays
186 Rotating the Array Values to the Left by Two Position Construct a program that has a method that receives an array of values and returns the array rotated to the... PCEX arrays
187 Rotating the Array Values to the Right by One Position Construct a program that has a method that receives an array of values and returns the array rotated to the... PCEX arrays
188 Searching Arrays (Case 2) Construct a program that has a method that receives two arrays and prints the total number of times the elements... PCEX arrays
189 Reversing a string with StringBuilder Code Completion StringBuilder is another class that provides methods to manipulate strings. Look in the StringBuilder class API for information on the... CodeCheck Objects
190 Swap adjacent elements in array Code Completion Your task is to complete a method that swaps adjacent values in an array of integers. For example, if the... CodeCheck Arrays and Array Lists
191 Swap first and second half of array Code Completion Your task is to complete a method that swaps the first and second half of an array of integers. For... CodeCheck Arrays and Array Lists
192 Reverse an integer Code Completion We want to implement a method that reverses the digits in an integer. For example, reverseInt(3456) should yield 6543. CodeCheck Recursion
193 Extract uppercase letters from string Code Completion Modify the static return upperCase method in the MyMethods class so that it returns a string of the upper case... CodeCheck Recursion
194 Rotate linked list by manipulating nodes Code Completion Your task is to add a rotate method to the LinkedList class of Section 15.2 that rotates the elements of... CodeCheck Linear Data Structures
195 Stutter Code Completion Your task is to write a method stutter that repeats all letters t in a string. For example, the call... CodeCheck Loops
196 EvenSum Code Completion Your task is to write a method evenSum that computes the sum of all even numbers between two given numbers.... CodeCheck Loops
197 Picture of Colored Boxes Code Completion Your task is to write a method that produces images from strings describing color values. CodeCheck Loops
198 GetVowels Code Completion Your task is to write a method getVowels that gets the vowels in a string. For example, the call getVowels("Hello,... CodeCheck Loops
199 Count perfect squares Code Completion Your task is to write a method countPerfectSquares that counts all perfect squares in a given range. For example, the... CodeCheck Loops
200 Count Sevens Code Completion Your task is to write a method countSevens that counts the number of digits equal to 7 in a given... CodeCheck Loops
201 Finding all matches for a predicate Code Completion Recall that a predicate is a method with a Boolean return value. The Predicate interface can be used to test... CodeCheck Generic Types
202 Finding the first match for a predicate Code Completion Recall that a predicate is a method with a Boolean return value. The Predicate interface can be used to test... CodeCheck Generic Types
203 BankAccount with Transaction Count Code Completion Change the deposit and withdraw methods of the BankAccount class so that a count of transactions is updated. For example,... CodeCheck Classes
204 Linear Probing Bad Performance Slideshow Algorithm Visualization Slideshow showing why linear probing is a poor method of collision resolution. OpenDSA Collision Resolution
205 Math class 1 (Memphis) Simple example of how to use Java Math methods. This program shows that the trig identity sin^2(x) + cos^2(x) =... AnnEx math
206 Creating the Movement Interface Code Completion Create the Movement interface below and the abstract methods move and getPosition, which are implemented by the Ship and Auto... CodeCheck Interfaces
207 Linked List Operations - Contains In this example, we will implement the contains() method that accepts a value and returns True if the value is... PCEX
208 Recursively calculate the power of a number Using recursion, complete the power method so that it returns the value of a to the power of b. Examples:... PCEX
209 Recursively calculate the sum of all numbers from 1 to n Using recursion, complete the sum1toN method so that it returns the total sum of all numbers from 1 to N.... PCEX
210 Use Recursion to calculate power Using recursion, complete the power method so that it returns the value of a to the power of b. Examples:... PCEX
211 Recursively calculate the power of a number Challenge Using recursion, complete the power method so that it returns the value of a to the power of b. Examples:... PCEX
212 Use Recursion to calculate total sum of all numbers from 1 to N. Using recursion, complete the sum1toN method so that it returns the total sum of all numbers from 1 to N.... PCEX
213 Recursively calculate the sum of all numbers from 1 to n Challenge Using recursion, complete the sum1toN method so that it returns the total sum of all numbers from 1 to N.... PCEX
214 Add user interface for balance transfer Code Completion In this assignment, a transfer method has been added to the ATM class of section 12.5: CodeCheck Object-Oriented Design
215 Uppercase international letters Code Completion Your task is to find out what happens when you call the toUpperCase method on strings that contain accented characters... CodeCheck Objects
216 Palindrome testing with stack and queue Code Completion Using a queue and a stack, implement a method that tests whether a sequence of numbers is a palindrome, that... CodeCheck Linear Data Structures
217 Doubly Linked List Create the necessary classes for a Doubly Linked List, containing the method insert_at_start(data) to add a new item to the... PCEX doubly linked list, linked list
218 Singly Linked List Create the necessary classes for a Singly Linked List, containing the method append(item) to add a new item to the... PCEX linked list
219 Doubly Linked List Challenge Create the necessary classes for a Doubly Linked List, containing the method insert_at_start(data) to add a new item to the... PCEX
220 Singly Linked List Challenge Create the necessary classes for a Singly Linked List, containing the method add(item) to add a new item to the... PCEX
221 Average word length Code Completion Complete the following program to compute the average length of the words. Invoke the appropriate method to compute the length... CodeCheck Objects
222 An enum type describing chemical elements Code Completion Enumerated types in Java are quite powerful, in that they can contain methods and instance variables. An enum type class... CodeCheck Inheritance
223 Using Aggegation Code Completion A team has players. Use aggregation to complete the class constructor and the listTeam and addPlayer methods of the Team... CodeCheck Object-Oriented Design
224 The Class for Representing a Point in the Euclidean Plane (Case 1) Construct a class that represents a point in the Euclidean plane. The class should contain data that represents the point’s... PCEX
225 The Class for Representing a Point in the Euclidean Plane (Case 2) Construct a class that represents a point in the Euclidean plane. The class should contain data that represents the point’s... PCEX classes, objects
226 Queue Class - Check if Element Exists In this example, you will use Queue class from queue provided by python. This class contains methods for adding a... PCEX
227 Queue Class - Check if Element Exists In this example, you will use Queue class from queue provided by python. This class contains methods for adding a... PCEX
228 Inserting binary tree In a BinaryTree, adding new nodes to the tree is an important capability to have. Construct a simple implementation of... PCEX binary search, recursion, trees
229 Inserting binary tree Challenge In a BinaryTree, adding new nodes to the tree is an important capability to have.\nConstruct a simple implementation of a... PCEX recursion, trees
230 The Class for Representing a Point in the Euclidean Plane Construct a class that represents a point in the Euclidean plane. The class should contain data that represents the point’s... PCEX classes, object, objects
231 The Class for Representing a Point in the Euclidean Plane Construct a class that represents a point in the Euclidean plane. The class should contain data that represents the point’s... PCEX classes, data structures, objects, stacks
232 The Class for Representing a Point in the Euclidean Plane Construct a class that represents a point in the Euclidean plane. The class should contain data that represents the point’s... PCEX classes, objects
233 Drawing with fill3DRect Code Completion Complete the ThreeButtonComponent class to draw three boxes that look like push buttons. Each box is a Rectangle drawn in... CodeCheck Objects
234 XML Map Labels Code Completion The latitude, longitude and place name are used to label a map. Implement a class with latitude and longitude as... CodeCheck Classes
235 Normalizing Angles Code Completion When you work with angle measurements, you often want them normalized or converted into the range between 0 . .... CodeCheck Fundamental Data Types
236 Timer Code Completion The following timer class measures the total time that has elapsed after timing a number of events. Your job is... CodeCheck Fundamental Data Types
237 Using an Abstract Class Code Completion Light bulbs can be identified by type and can be measured by the amount of lumens produced per watt of... CodeCheck Inheritance
238 Implement Tile.translate Code Completion A Tile class extends Rectangle. It is to be used for non-overlapping tilings. Your task is to override the translate... CodeCheck Inheritance
239 Static field to maintain the total value of Coin objects created Code Completion Add a private static variable to the Coin class that maintains the total value of all coins that were constructed.... CodeCheck Designing Classes
240 Static field to count number of objects Code Completion Add a private static variable to the Coin class that counts the total number of coins that were constructed. Also... CodeCheck Designing Classes
241 Make a measurer for words Code Completion In this exercise, we use the Word class from chapter 6 (with the bugs fixed). You should not change the... CodeCheck Interfaces
242 Using instanceof for Converting Between Animal Types Code Completion The Cat and Dog class below implement the Animal interface. All animals have names, but only dogs do tricks. Implement... CodeCheck Interfaces
243 The Class for Representing a TV (Case 1) Construct a class that represents a TV. The class should contain data that represents the TV's state (power on or... PCEX classes, objects
244 The Class for Representing a TV (Case 2) Construct a class that represents a TV. The class should contain data that represents the TV's state (power on or... PCEX classes, objects
245 The Class for Representing a TV Construct a class that represents a TV. The class should contain data that represents the TV's state (power on or... PCEX classes, objects
246 The Class for Representing a TV Construct a class that represents a TV. The class should contain data that represents the TV's state (power on or... PCEX classes, data structures, objects, stacks
247 The Class for Representing a TV (Case 2) Construct a class that represents a TV. The class should contain data that represents the TV's state (power on or... PCEX classes, objects
248 The Class for Representing a TV Construct a class that represents a TV. The class should contain data that represents the TV's state (power on or... PCEX classes, objects
249 Hash code for Person class Code Completion When you add instances of the given Person class in a HashSet, the resulting hash set is too large. Evidently,... CodeCheck Tree Structures
250 ClassSchedule with getDays and set times Code Completion Your task is to write a tester class for the ClassSchedule class given below. You should test the getTime and... CodeCheck Classes
251 ClassSchedule with setDays and set times Code Completion A ClassSchedule class has been designed to represent a class that is scheduled at given days and times. Sometimes class... CodeCheck Classes
252 Animal Class Hierarchy (Case 2) Suppose we have a class Animal and we want to extend it to produce class Dog. An animal has a... PCEX inheritance
253 Point Class Hierarchy (Case 2) Suppose we have a class Point and we want to extend it to produce class Point3D. The class Point has... PCEX inheritance
254 The Class for Representing a Loan (Case 1) Construct a class that represents a loan. This class should contain data representing the interest rate, loan amount, and the... PCEX classes, objects
255 The Class for Representing a Loan (Case 2) Construct a class that represents a loan. This class should contain data representing the interest rate, loan amount, and the... PCEX classes, objects
256 The Class for Representing a Loan Construct a class that represents a loan. This class should contain data representing the interest rate, loan amount, and the... PCEX classes, object, objects
257 The Class for Representing a Loan Construct a class that represents a loan. This class should contain data representing the interest rate, loan amount, and the... PCEX classes, objects
258 Animal Class Hierarchy (Case 2) Suppose we have a class Animal and we want to extend it to produce class Dog. An animal has a... PCEX inheritance
259 Point Class Hierarchy (Case 2) Suppose we have a class Point and we want to extend it to produce class Point3D. The class Point has... PCEX constructors, inheritance, overloading
260 The Class for Representing a Loan (Case 2) Construct a class that represents a loan. This class should contain data representing the interest rate, loan amount, and the... PCEX classes, objects
261 Change Firstname Lastname to Lastname, Firstname Code Completion Fred fills out his time sheet at work, but he needs to provide the number of minutes worked. He only... CodeCheck Fundamental Data Types
262 Animal Class Hierarchy (Case 1) Suppose we have a class Animal and we want to extend it to produce class Dog. An animal has a... PCEX inheritance
263 Point Class Hierarchy (Case 1) Suppose we have a class Point and we want to extend it to produce class Point3D. The class Point has... PCEX inheritance
264 The Class for Representing a Bank Account (Case 1) Construct a class that represents a basic bank account. This class should contain data representing the name of the account’s... PCEX classes, objects
265 The Class for Representing a Bank Account (Case 2) Construct a class that represents a basic bank account. This class should contain data representing the name of the account’s... PCEX classes, objects
266 Animal Class Hierarchy Suppose we have a class Animal and we want to extend it to produce class Dog. An animal has a... PCEX inheritance
267 Point Class Hierarchy Suppose we have a class Point and we want to extend it to produce class Point3D. The class Point has... PCEX inheritance, object
268 The Class for Representing a Bank Account Construct a class that represents a basic bank account. This class should contain data representing the name of the account’s... PCEX classes, object, objects
269 The Class for Representing a Bank Account Construct a class that represents a basic bank account. This class should contain data representing the name of the account’s... PCEX classes, data structures, objects, stacks
270 The Class for Representing a Bank Account (Case 2) Construct a class that represents a basic bank account. This class should contain data representing the name of the account’s... PCEX classes, objects
271 The Class for Representing a Bank Account Construct a class that represents a basic bank account. This class should contain data representing the name of the account’s... PCEX classes, objects
272 The Class for Representing a Loan Construct a class that represents a loan. This class should contain data representing the interest rate, loan amount, and the... PCEX classes, objects
273 Rectangle with 3D effect Code Completion Complete the ThreeDButtonComponent class to draw a button with shading. The button is a Rectangle, with very thin rectangles on... CodeCheck Objects
274 XML Map Labels convert to decimal degrees Code Completion The latitude, longitude and place name are used to label a map. Implement a class with latitude and longitude as... CodeCheck Classes
275 Practicar métodos de cadenas Construye un programa que imprima una oracion a partir de una lista dada de palabras. jsParsons list, strings
276 Crear una clase y usar sus métodos Construye una clase Punto que tenga un metodo para calcular la distancia desde otra instancia de Punto. jsParsons classes, objects
277 La Clase para Representar un Prestamo (Caso 1) Construya una clase que represente un préstamo. Esta clase debe contener datos que representen la tasa de interés, el monto... PCEX classes, objects
278 La Clase para Representar un Prestamo (Caso 2) Construya una clase que represente un préstamo. Esta clase debe contener datos que representen la tasa de interés, el monto... PCEX classes, objects