Showing 0-0 of 0 results
# Exercise Title Features Description Platform Keywords
1 For Loop: Add First Five Free Coding Problem Coding Question CodeWorkout int, conditional, for loop
2 Arrays - Find the Last Number Free Coding Problem Coding Question CodeWorkout int, looping, array
3 Sum all integer Free Coding Problem, coding problem Coding Question CodeWorkout int, arrays, cci, coding problem
4 First Integer Larger Than Free Coding Problem, coding problem Coding Question CodeWorkout int, array, cci, coding problem
5 Nth Integer Larger Than Free Coding Problem, coding problem Coding Question CodeWorkout int, array, cci, coding problem
6 Odd Values Free Coding Problem, coding problem Coding Question CodeWorkout int, array, cci, coding problem
7 Create an array and initialize Free Coding Problem, coding problem Coding Question CodeWorkout int, array, cci, coding problem
8 Sum 2 integers Free Coding Problem, coding problem Coding Question CodeWorkout int, cci, coding problem
9 Converting between Class and Interface Types Java BehaviorExample for demonstrating Converting between Class and Interface Types AnnEx interfaces
10 Interface Polymorphism Java BehaviorExample for demonstrating Interface Polymorphism AnnEx interfaces
11 Interface Interface AnnEx interfaces
12 Measure Java BehaviorExample for demonstrating Measure AnnEx interfaces
13 Interface Java CodeVisualization for demonstrating Interface JSVEE interfaces
14 Measure Java CodeVisualization for demonstrating Measure JSVEE interfaces
15 Interfaces Review Quiz Question, Battery Introduction to interfaces for CS1 review questions. OpenDSA Interface
16 Interfaces 1 Java PredictingFinalResult for demonstrating Interfaces 1 QuizJET interfaces, object-oriented programming
17 Interfaces 2 Java PredictingFinalResult for demonstrating Interfaces 2 QuizJET interfaces, object-oriented programming
18 Interfaces 3 Java PredictingFinalResult for demonstrating Interfaces 3 QuizJET interfaces
19 Interfaces 4 Java PredictingFinalResult for demonstrating Interfaces 4 QuizJET interfaces, object-oriented programming
20 Interfaces 5 Java PredictingFinalResult for demonstrating Interfaces 5 QuizJET interfaces
21 Question 9 Java PredictingFinalResult for demonstrating Question 9 QuizJET interfaces
22 Implement the Doublable interface Code Completion Some objects can be doubled, for example a bank account. The result would be a bank account with twice the... CodeCheck Interfaces
23 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
24 Implement an Interface to Change Rectangle Dimensions Code Completion Complete the RectangleManager class below so that it implements the given Adjuster interface. The implementation should use the h and... CodeCheck Interfaces
25 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
26 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
27 Implement an Interface to Provide Museum's Car Count Code Completion Complete the CarMuseum class below so that it implements the given Measurable interface. Your tasks are as follows: CodeCheck Interfaces
28 Make Sentence implement Measurable Code Completion Complete the Sentence class below so that it implements the Measurable interface. The measure of a sentence should be the... CodeCheck Interfaces
29 Provide a RectangleDoubler class that implements the Doubler interface Code Completion Some objects can be doubled, for example a bank account. The result would be a bank account with twice the... CodeCheck Interfaces
30 Using Anonymous Objects Code Completion Modify the PolygonTester class below so that it uses anonymous objects where possible. Objects that are only used once should... CodeCheck Interfaces
31 Inheritance - Interface Understanding Question, forced choice Multiple Choice Question CodeWorkout interface, inheritance, forced choice
32 Set Intersection Free Coding Problem, code writing Coding Question CodeWorkout CS1114, set, Java, sets, intersection, code writing
33 Binary Search (int) Free Coding Problem Coding Question CodeWorkout binary search, search, array, int, cci
34 Evaluation and Interpolation Algorithm Visualization Slideshow demonstrating the relationships of evaluation and interpolation of a polynomial. OpenDSA Polynomial Multiplication, Polynomial Evaluation, Polynomial Interpolation
35 Count the digits of an integer Free Coding Problem Coding Question CodeWorkout recursion, int, cci
36 Graphs - Add Edges (Adjacency Matrix) Free Coding Problem, code writing Coding Question CodeWorkout array, int, matrix, graph, code writing
37 Graphs - Breadth First Traversal Free Coding Problem, code writing Coding Question CodeWorkout array, int, matrix, graph, unweighted, directed, traversal, code writing
38 Graphs - Create Matrix Free Coding Problem, code writing Coding Question CodeWorkout array, int, matrix, graph, code writing
39 Graphs - Depth First Traversal Free Coding Problem, code writing Coding Question CodeWorkout array, int, matrix, graph, unweighted, directed, traversal, code writing
40 Arrays - Expand Capacity Free Coding Problem Coding Question CodeWorkout array, int
41 Review - Fibonacci Free Coding Problem Coding Question CodeWorkout review, int, recursion
42 halfInt Free Coding Problem, code writing Coding Question CodeWorkout review, int, double, casting, code writing
43 Sorting - Insertion Sort Free Coding Problem, code writing Coding Question CodeWorkout array, int, sorting, insertion sort, code writing
44 Hashmap - Java's HashMap 1 Free Coding Problem, code writing Coding Question CodeWorkout hashmap, int, String, code writing
45 Hashmap - Java's HashMap 2 Free Coding Problem, code writing Coding Question CodeWorkout hashmap, int, String, code writing
46 Arrays - Perfect Array Free Coding Problem, code writing Coding Question CodeWorkout array, int, perfect, imperfect, code writing
47 Graphs - Remove Vertex (Adjacency Matrix) Free Coding Problem, code writing Coding Question CodeWorkout array, int, matrix, graph, code writing
48 Graphs - Remove Vertex 2 (Adjacency Matrix) Free Coding Problem, code writing Coding Question CodeWorkout array, int, matrix, graph, code writing
49 Review - Same Ends Free Coding Problem, code writing Coding Question CodeWorkout review, int, array, boolean, code writing
50 Sum the digits Free Coding Problem Coding Question CodeWorkout recursion, int, cci
51 MultiInterfaces MultiInterfaces AnnEx arithmetic operations, interfaces
52 ArrayList - Understanding Implementation Question, forced choice, fill in the blank Multiple Choice Question CodeWorkout arraylist, interface, forced choice, fill in the blank
53 evaluator Free Coding Problem, code writing Coding Question CodeWorkout stack, Integer, code writing
54 Literals Exercise 3 Question, multiple choice, single answer Multiple Choice Question CodeWorkout literals, integers, multiple choice, single answer
55 Recursive Add Digits C++ Free Coding Problem, code writing Coding Question CodeWorkout recursion, Integer, math, code writing
56 Recursive Half Left C++ Free Coding Problem, code writing Coding Question CodeWorkout recursion, Integer, math, code writing
57 Recursive Is Increasing Vector C++ Free Coding Problem, code writing Coding Question CodeWorkout recursion, Integer, vector, code writing
58 Arrays - Double Array Free Coding Problem Coding Question CodeWorkout for loop, looping, int, math, multiplication, array
59 Sorting - Fix Selection Sort Free Coding Problem Coding Question CodeWorkout sorting, array, int, selection sort
60 Generics - Generic Method 2 Free Coding Problem, code writing Coding Question CodeWorkout generic, char, int, String, code writing
61 Generics - Generic Method Free Coding Problem, code writing Coding Question CodeWorkout generic, char, int, String, code writing
62 Make Perfect Array Free Coding Problem, code writing Coding Question CodeWorkout review, array, int, code writing
63 Review - Plus Two Free Coding Problem, code writing Coding Question CodeWorkout review, array, int, code writing
64 Review - Sum 67 Free Coding Problem, code writing Coding Question CodeWorkout review, array, int, sum, code writing
65 Review - Sum Three Free Coding Problem, code writing Coding Question CodeWorkout review, array, int, code writing
66 Review - Without Ten Free Coding Problem, code writing Coding Question CodeWorkout review, array, int, code writing
67 Average Speed Free Coding Problem, code writing Coding Question CodeWorkout math, variables, integerDivision, code writing
68 Binary Search (non-recursive) Free Coding Problem Coding Question CodeWorkout binary search, search, array, int
69 Sorting - Create Bubble Sort Free Coding Problem Coding Question CodeWorkout bubble sort, sorting, array, int
70 Declare variable Free Coding Problem, coding problem Coding Question CodeWorkout variable, declaration, assignment, value, int, coding problem
71 Linear Search Return Index Free Coding Problem Coding Question CodeWorkout linear search, search, array, int, cci
72 Contains (with linear search) Free Coding Problem Coding Question CodeWorkout linear search, search, array, int, cci
73 Linear Search in Ordered Array Free Coding Problem Coding Question CodeWorkout linear search, search, array, int, cci
74 int reference Python PredictingFinalResult for demonstrating int reference QuizPET aliasing, value vs reference
75 int Variables 4 Java PredictingFinalResult for demonstrating int Variables 4 QuizJET arithmetic operators, variables
76 int Variables 3 Java PredictingFinalResult for demonstrating int Variables 3 QuizJET arithmetic operators, data types, operators, primitive data types, variables
77 int Variable 1 Java PredictingFinalResult for demonstrating int Variable 1 QuizJET data types, primitive data types, variables
78 int Variables 4 Java PredictingFinalResult for demonstrating int Variables 4 QuizJET data types, operators, primitive data types, variables
79 int Variables 1 Java PredictingFinalResult for demonstrating int Variables 1 QuizJET arithmetic operators, data types, operators, primitive data types, variables
80 int Variables 2 Java PredictingFinalResult for demonstrating int Variables 2 QuizJET arithmetic operators, data types, operators, primitive data types, variables
81 Interest Capital and Interest Python BehaviorExample for demonstrating Interest Capital and Interest WebEx if-else statement
82 Bintree Interactive Visualization Algorithm Visualization, User Supplied Data Interactive Algorithm Visualization for the Bintree data structure. User can click to indicate where a point should be inserted or... OpenDSA Bintree
83 Introduction to Data Structures and Algorithms Review Questions Question, Battery Data Structures introduction battery of self-assessment questions. OpenDSA Data Structures
84 Introduction Chapter for CS1: Review Questions 1 Question, Battery Intro to Software Design Week 1 battery of self-assessment questions: Micro-Worlds OpenDSA Software Design
85 Introduction Chapter for CS1: Review Questions 2 Question, Battery Intro to Software Design Week 1 battery of self-assessment questions: Turning micro-worlds into code. OpenDSA Software Design
86 Introduction Chapter for CS1: Week 1 Reading Quiz Question, Battery Intro to Software Design Week 1 battery of self-assessment questions: Programming Concepts. OpenDSA Software Design
87 Introduction to Lists Module Review Quiz Question, Battery Introduction to lists and nested for loops for CS1 review questions. OpenDSA List, For Loop
88 Introduction to Hashing Slideshow Algorithm Visualization Slideshow showing the simplest of hashing approaches: Just put a key into that array position. OpenDSA Hashing
89 Introduction to the Circuit Satisfiability Problem Presentation Slideshow demonstrating the circuit satisfiability problem. OpenDSA Circuit Satisfiability Problem
90 Introduction to the Clique Problem Presentation Slideshow demonstrating the Clique problem. OpenDSA Clique Problem
91 Introduction to the Hamiltonian Cycle Problem Presentation Slideshow demonstrating the Hamiltonian cycle problem. OpenDSA Hamiltonian Cycle Problem
92 Introduction to the Independent Set Problem Presentation Slideshow demonstrating the independent set problem. OpenDSA Independent Set Problem
93 Introduction to the CNF Satisfiability Problem Presentation Slideshow demonstrating the CNF satisfiability problem. OpenDSA Satisfiability Problem
94 Introduction to the 3-CNF Satisfiability Problem Presentation Slideshow demonstrating the 3-CNF satisfiability problem. OpenDSA Satisfiability Problem
95 Introduction to the Traveling Salesman Problem Presentation Slideshow demonstrating the Traveling Salesman problem. OpenDSA Traveling Salesman Problem
96 Introduction to the Vertex Cover Problem Presentation Slideshow demonstrating the vertex cover problem. OpenDSA Vertex Cover Problem
97 Introduction to the Concept of a Grammar Programmed Instruction Programmed Instruction slideshow introducing the concept of a grammar. OpenDSA Grammar
98 Introduction to the Concept of a Language Programmed Instruction Programmed Instruction slideshow introducing the concept of a language. OpenDSA Language
99 Introduction to the Concept of a Non-Regular Language Programmed Instruction Programmed Instruction slideshow introducing the concept of a non-regular language and ideas for how to recognize one. OpenDSA Non-Regular Language
100 Introduction to the Concept of the Pumping Lemma Programmed Instruction Programmed Instruction slideshow introducing the concept of a the pumping lemma for regular languages. OpenDSA Non-Regular Language
101 Introduction to the Pumping Lemma Proof Visualization Introduction to the Pumping Lemma for regular languages. Includes a visualization for how this works. OpenDSA Pumping Lemma, Non-Regular Language
102 Intersecting Lines Code Completion A non-vertical line in the plane can be described by the slope/y intercept equation CodeCheck Branches
103 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
104 Internal nodes in a binary tree Question, forced choice Multiple Choice Question CodeWorkout cci, Java, binary tree, 2214, forced choice
105 Internal nodes in a binary tree Question, forced choice Multiple Choice Question CodeWorkout cci, binary tree, forced choice
106 Using int Java PredictingFinalResult for demonstrating Using int QuizJET arithmetic operators, operators, primitive data types, variables
107 IS17_interface1 Java BehaviorExample for demonstrating IS17_interface1 AnnEx
108 IS17_interface1_1 Java BehaviorExample for demonstrating IS17_interface1_1 AnnEx
109 IS17_interface1_2 Java BehaviorExample for demonstrating IS17_interface1_2 AnnEx
110 IS17_interface1_3 Java BehaviorExample for demonstrating IS17_interface1_3 AnnEx
111 IS17_interface1_4 Java BehaviorExample for demonstrating IS17_interface1_4 AnnEx
112 IS17_interface1_5 Java BehaviorExample for demonstrating IS17_interface1_5 AnnEx
113 IS17_interface1_6 Java BehaviorExample for demonstrating IS17_interface1_6 AnnEx
114 IS17_interface1_7 Java BehaviorExample for demonstrating IS17_interface1_7 AnnEx
115 IS17_interface2 Java BehaviorExample for demonstrating IS17_interface2 AnnEx
116 IS17_interface2_1 Java BehaviorExample for demonstrating IS17_interface2_1 AnnEx
117 IS17_interface2_2 Java BehaviorExample for demonstrating IS17_interface2_2 AnnEx
118 IS17_interface2_3 Java BehaviorExample for demonstrating IS17_interface2_3 AnnEx
119 IS17_interface2_4 Java BehaviorExample for demonstrating IS17_interface2_4 AnnEx
120 IS17_interface2_5 Java BehaviorExample for demonstrating IS17_interface2_5 AnnEx
121 IS17_interface2_6 Java BehaviorExample for demonstrating IS17_interface2_6 AnnEx
122 IS17_interface2_7 Java BehaviorExample for demonstrating IS17_interface2_7 AnnEx
123 IS17_interface3 Java BehaviorExample for demonstrating IS17_interface3 AnnEx
124 IS17_interface3_1 Java BehaviorExample for demonstrating IS17_interface3_1 AnnEx
125 IS17_interface3_2 Java BehaviorExample for demonstrating IS17_interface3_2 AnnEx
126 IS17_interface3_3 Java BehaviorExample for demonstrating IS17_interface3_3 AnnEx
127 IS17_interface3_4 Java BehaviorExample for demonstrating IS17_interface3_4 AnnEx
128 IS17_interface3_5 Java BehaviorExample for demonstrating IS17_interface3_5 AnnEx
129 IS17_interface3_6 Java BehaviorExample for demonstrating IS17_interface3_6 AnnEx
130 IS17_interface3_7 Java BehaviorExample for demonstrating IS17_interface3_7 AnnEx
131 IS17_interface3_8 Java BehaviorExample for demonstrating IS17_interface3_8 AnnEx
132 DEPRECATED_Interface Java BehaviorExample for demonstrating DEPRECATED_Interface AnnEx
133 Functions Introduction Python BehaviorExample for demonstrating Functions Introduction WebEx functions
134 Calculating Interest Over Years Python BehaviorExample for demonstrating Calculating Interest Over Years WebEx
135 Given integers n and k, return a list of length n containing 0 1 2 . Code Completion Given integers n and k, return a list of length n containing 0 1 2 ... k-1 0 1 2... CodeCheck Lists - Simple Exercises, Filling
136 Given integers a and b, return a list containing a, a + 1, a + 2, . Code Completion Given integers a and b, return a list containing a, a + 1, a + 2, ..., b. CodeCheck Lists - Simple Exercises, Filling
137 Given integers a and b, return a list containing all even numbers that are at least a and at most b. Code Completion Given integers a and b, return a list containing all even numbers that are at least a and at most... CodeCheck Lists - Simple Exercises, Filling
138 ADT Introduction Review Questions Question, Battery Self-assessment question battery about data types. OpenDSA Data Type, Abstract Data Type
139 Graph Introductory Practice Questions Question, Battery Self-practice questions related to graph terminology and representation. OpenDSA Graph Representation
140 Arrays Introduction Review Questions Question, Battery CS1-level introduction to arrays review questions. OpenDSA Array
141 Sorting Introduction: Summary Questions Question, Battery Sorting introduction battery of self-assessment multiple choice questions. OpenDSA Sorting Notation
142 LRU Introduction Slideshow Algorithm Visualization Slideshow illustrating the Least Recently Used replacement heuristic. OpenDSA Buffer Pool, Least Recently Used
143 Turing Machines Introduction Frameset Programmed Instruction Slideshow introducing the concept of a Turing machine and its formal definition. OpenDSA Collision Resolution
144 Recursion Introduction Slideshow: Details of Recursion Algorithm Visualization Slideshow demonstrating the concept of recusion showing the detials of recursive multiplication. OpenDSA Recursion
145 Recursion Introduction Slideshow: Delegation Code Tracing Presentation Slideshow demonstrating the basic concepts of base cases and recursive calls in a function. OpenDSA Recursion
146 Draw intersection of rectangles Code Completion Draw two intersecting rectangles and color their intersection black. CodeCheck Objects
147 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
148 Given integers a and b, fill an array with a, a + 1, a + 2, . Code Completion Given integers a and b, fill an array with a, a + 1, a + 2, ..., b. CodeCheck Arrays - Simple Exercises, Filling
149 Given integers a and b, fill an array containing all even numbers that are at least a and at most b. Code Completion Given integers a and b, fill an array containing all even numbers that are at least a and at most... CodeCheck Arrays - Simple Exercises, Filling
150 Given integers n and k, fill an array of length n with 0 1 2 . Code Completion Given integers n and k, fill an array of length n with 0 1 2 ... k-1 0 1 2... CodeCheck Arrays - Simple Exercises, Filling
151 Largest integer Free Coding Problem, coding problem Coding Question CodeWorkout cci, array, coding problem
152 c_vrijednosti_u_pokazivacima_int Napisati program u kojem se deklarišu dvije cjelobrojne varijable i dva pokazivača na int. Postaviti pokazivač p da pokazuje na... PCEX
153 c_pokazivaci_dereferenciranje_int Napisati program koji deklariše cjelobrojnu varijablu i dodjeljuje njenu adresu odgovarajućem pokazivaču p. Zatim ispisati adresu varijable a i vrijednosti... PCEX
154 q_py_int_ref1_es Python PredictingFinalResult for demonstrating q_py_int_ref1_es QuizPET functions
155 q_py_list_int_ref1_es Python PredictingFinalResult for demonstrating q_py_list_int_ref1_es QuizPET list
156 list reference (int) Python PredictingFinalResult for demonstrating list reference (int) QuizPET aliasing, value vs reference
157 Converting String to int Java PredictingFinalResult for demonstrating Converting String to int QuizJET primitive data types, strings
158 Operations with int Java PredictingFinalResult for demonstrating Operations with int QuizJET arithmetic operations, operators, variables
159 Determining Whether an Integer is Even or Odd Construct a program that determines whether an integer is even or odd. PCEX control flow, if-else statement
160 Receiving Input Integers Until a Certain Condition is Met (Case 1) Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... PCEX while loop
161 Receiving Input Integers Until a Certain Condition is Met (Case 2) Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... PCEX while loop
162 Receiving Input Integers Until a Certain Condition is Met (Case 3) Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... PCEX while loop
163 Receiving Input Integers Until a Certain Condition is Met (Case 4) Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... PCEX while loop
164 Printing Digits of an Integer from Right to Left Construct a program that prints the digits of an integer from right to left. PCEX while loop
165 string_to_integer C++ BehaviorExample for demonstrating string_to_integer AnnEx
166 ae_python_intro Python CodeVisualization for demonstrating ae_python_intro JSVEE operators, variables
167 q_py_interest_if_elif1_es Python PredictingFinalResult for demonstrating q_py_interest_if_elif1_es QuizPET conditionals
168 if-elif (interest) Python PredictingFinalResult for demonstrating if-elif (interest) QuizPET
169 q_py_interest_if_else1_es Python PredictingFinalResult for demonstrating q_py_interest_if_else1_es QuizPET conditionals
170 if-else (interest) Python PredictingFinalResult for demonstrating if-else (interest) QuizPET if-else statement
171 Variable to Integer Python BehaviorExample for demonstrating Variable to Integer WebEx numeric types
172 Given a list of integers of length ≥ 4, return the average of the first two and last two elements. Code Completion Given a list of integers of length ≥ 4, return the average of the first two and last two elements. CodeCheck Lists - Simple Exercises, No loops
173 Given a list of integers of length ≥ 3, return the average of the first, last, and middle element (or the two middle elements if the length is even). Code Completion Given a list of integers of length ≥ 3, return the average of the first, last, and middle element (or... CodeCheck Lists - Simple Exercises, No loops
174 Given a list of integers, swap the first and last elements. Code Completion Given a list of integers, swap the first and last elements. CodeCheck Lists - Simple Exercises, No loops
175 Given a list of integers, swap the first two and the last two elements. Code Completion Given a list of integers, swap the first two and the last two elements. CodeCheck Lists - Simple Exercises, No loops
176 Given a point with integer coordinates (x, y) and a compass direction N, E, S, W, print the neigboring lattice point. Code Completion Given a point with integer coordinates (x, y) and a compass direction N, E, S, W, print the neigboring lattice... CodeCheck Branches, Branches Without Functions
177 Given two integers x and y, print their sum, but if it is more than 100 or less than 0, print "out of range". Code Completion Given two integers x and y, print their sum, but if it is more than 100 or less than 0,... CodeCheck Branches, Branches Without Functions
178 Given three integers x, y, z, print the sum of the odd integers. Code Completion Given three integers x, y, z, print the sum of the odd integers. CodeCheck Branches, Branches Without Functions
179 Given a list of integers, count how many elements are negative. Code Completion Given a list of integers, count how many elements are negative. CodeCheck Lists - Simple Exercises, Counting Elements
180 Given a list of integers and two values a and b, count how many elements are at least a and at most b. Code Completion Given a list of integers and two values a and b, count how many elements are at least a and... CodeCheck Lists - Simple Exercises, Counting Elements
181 Given a list of integers, return the most frequent element. Code Completion Given a list of integers, return the most frequent element. If there is more than one element with maximum frequency,... CodeCheck Lists - Simple Exercises, Counting Elements
182 Given a list of integers, return a list of all elements that occur with maximum frequency. Code Completion Given a list of integers, return a list of all elements that occur with maximum frequency. CodeCheck Lists - Simple Exercises, Counting Elements
183 Given a list of integers, return the position of the first element that occurs more than once, or -1 if all elements occur exactly once. Code Completion Given a list of integers, return the position of the first element that occurs more than once, or -1 if... CodeCheck Lists - Simple Exercises, Counting Elements
184 Given a list of integers, return a list of all elements that occur exactly once. Code Completion Given a list of integers, return a list of all elements that occur exactly once. CodeCheck Lists - Simple Exercises, Counting Elements
185 Given a list of integers, remove all elements that occur more than once, leaving the first occurrence. Code Completion Given a list of integers, remove all elements that occur more than once, leaving the first occurrence. CodeCheck Lists - Simple Exercises, Counting Elements
186 Given two lists of integers a and b of the same length, count the number of positions where the lists have the same elements. Code Completion Given two lists of integers a and b of the same length, count the number of positions where the lists... CodeCheck Lists - Simple Exercises, Counting Elements
187 Given two lists of integers a and b of the same length, count the number of positions where the list elements differ by at least 2. Code Completion Given two lists of integers a and b of the same length, count the number of positions where the list... CodeCheck Lists - Simple Exercises, Counting Elements
188 Given a list of integers, return the largest sum of consecutive elements. Code Completion Given a list of integers, return the largest sum of consecutive elements. CodeCheck Lists - Simple Exercises, Double Loops
189 Given a list of integers, return the largest sequence whose reverse also occurs somewhere in the list. Code Completion Given a list of integers, return the largest sequence whose reverse also occurs somewhere in the list. CodeCheck Lists - Simple Exercises, Double Loops
190 Given a list of integers, return a list of lists of length 2, containing each unique element together with its frequency. Code Completion Given a list of integers, return a list of lists of length 2, containing each unique element together with its... CodeCheck Lists - Simple Exercises, Double Loops
191 Given a list of integers, return the position of the longest subsequence of consecutive integers a, a + 1, a + 2, . Code Completion Given a list of integers, return the position of the longest subsequence of consecutive integers a, a + 1, a... CodeCheck Lists - Simple Exercises, Double Loops
192 Given an integer n, return a list of length n containing 1 -1 1 -1 . Code Completion Given an integer n, return a list of length n containing 1 -1 1 -1 ... CodeCheck Lists - Simple Exercises, Filling
193 Given an integer n, return a list containing 1 2 2 3 3 3 4 4 4 4 . Code Completion Given an integer n, return a list containing 1 2 2 3 3 3 4 4 4 4 ... and... CodeCheck Lists - Simple Exercises, Filling
194 Given a list of integers and a value, return the position of the last occurrence of the value in the list, or -1 if the value does not exist. Code Completion Given a list of integers and a value, return the position of the last occurrence of the value in the... CodeCheck Lists - Simple Exercises, Finding Elements
195 Given a list of integers and a value, return the difference between the last and first position of the value in the list, or -1 if the value does not exist. Code Completion Given a list of integers and a value, return the difference between the last and first position of the value... CodeCheck Lists - Simple Exercises, Finding Elements
196 Given a list of integers and a value, return a list of all positions of the value in the list. Code Completion Given a list of integers and a value, return a list of all positions of the value in the list. CodeCheck Lists - Simple Exercises, Finding Elements
197 Given a list of integers and a value, return the position of the element that is closest to the value. Code Completion Given a list of integers and a value, return the position of the element that is closest to the value.... CodeCheck Lists - Simple Exercises, Finding Elements
198 Given two lists of integers of the same length, return the first position where their elements are the same. Code Completion Given two lists of integers of the same length, return the first position where their elements are the same. CodeCheck Lists - Simple Exercises, Finding Elements
199 Given two lists of integers of the same length, return the first position where their elements differ. Code Completion Given two lists of integers of the same length, return the first position where their elements differ. CodeCheck Lists - Simple Exercises, Finding Elements
200 Given a list of integers, return the position of the first occurrence of the largest element. Code Completion Given a list of integers, return the position of the first occurrence of the largest element. CodeCheck Lists - Simple Exercises, Maximum and Minimum
201 Given a list of integers, return the position of the last occurrence of the largest element. Code Completion Given a list of integers, return the position of the last occurrence of the largest element. CodeCheck Lists - Simple Exercises, Maximum and Minimum
202 Given a list of integers, return the difference of the positions of the first and the last occurrence of the largest element. Code Completion Given a list of integers, return the difference of the positions of the first and the last occurrence of the... CodeCheck Lists - Simple Exercises, Maximum and Minimum
203 Given a list of integers, return the difference between the maximum and minimum. Code Completion Given a list of integers, return the difference between the maximum and minimum. CodeCheck Lists - Simple Exercises, Maximum and Minimum
204 Given a list of integers, swap the the maximum and minimum. Code Completion Given a list of integers, swap the the maximum and minimum. CodeCheck Lists - Simple Exercises, Maximum and Minimum
205 Given a list of integers, return the second-largest element. Code Completion Given a list of integers, return the second-largest element. CodeCheck Lists - Simple Exercises, Maximum and Minimum
206 Given a list of integers and an integer n, remove all elementts &gt; n or &lt; -n. Code Completion Given a list of integers and an integer n, remove all elementts > n or < -n. Shift all remaining... CodeCheck Lists - Simple Exercises, Moving or Removing Elements
207 Given a list of integers, move all zeroes to the back. Code Completion Given a list of integers, move all zeroes to the back. CodeCheck Lists - Simple Exercises, Moving or Removing Elements
208 Given a list of integers, move all zeroes to the front. Code Completion Given a list of integers, move all zeroes to the front. CodeCheck Lists - Simple Exercises, Moving or Removing Elements
209 Given a list of integers, move all negative numbers to the front and all positive numbers to the back, keeping their relative order. Code Completion Given a list of integers, move all negative numbers to the front and all positive numbers to the back, keeping... CodeCheck Lists - Simple Exercises, Moving or Removing Elements
210 Given a list of integers, remove all even elements that occur exactly twice. Code Completion Given a list of integers, remove all even elements that occur exactly twice. CodeCheck Lists - Simple Exercises, Moving or Removing Elements
211 Given a list of integers, remove all adjacent duplicates. Code Completion Given a list of integers, remove all adjacent duplicates. CodeCheck Lists - Simple Exercises, Moving or Removing Elements
212 Given an integer n, produce the array <pre>0 1 2 3 . Code Completion Given an integer n, produce the array
0 1 2 3 ... n 1 2 3 4 ... 0 ......
                    
                
CodeCheck Two-Dimensional Arrays, Producing 2D Arrays
213 Given a list of integers, return the sum of all positive elements. Code Completion Given a list of integers, return the sum of all positive elements. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
214 Given a list of integers, find the largest sum of two different elements in the list. Code Completion Given a list of integers, find the largest sum of two different elements in the list. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
215 Given a list of integers and an integer n, return a list of the averages of n consecutive elements of the original list. Code Completion Given a list of integers and an integer n, return a list of the averages of n consecutive elements of... CodeCheck Lists - Simple Exercises, Sums, Averages, Products
216 Given a list of integers, return the average of all elements that are not the maximum or minimum. Code Completion Given a list of integers, return the average of all elements that are not the maximum or minimum. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
217 Given a list of integers, replace each element with the average of its neighbors. Code Completion Given a list of integers, replace each element with the average of its neighbors. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
218 Given a list of integers, return the sum of all odd elements. Code Completion Given a list of integers, return the sum of all odd elements. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
219 Given a list of integers and two values a and b, return the sum of all elements that are at least a and at most b. Code Completion Given a list of integers and two values a and b, return the sum of all elements that are at... CodeCheck Lists - Simple Exercises, Sums, Averages, Products
220 Given a list of integers, return the average of all positive elements. Code Completion Given a list of integers, return the average of all positive elements. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
221 Given a list of integers, return the product of all non-zero elements. Code Completion Given a list of integers, return the product of all non-zero elements. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
222 Given a list of integers, give the largest n so that the sum of the first n elements equals the sum of the remaining elements. Code Completion Given a list of integers, give the largest n so that the sum of the first n elements equals the... CodeCheck Lists - Simple Exercises, Sums, Averages, Products
223 Given a list of integers, give the largest n ≤ length / 2 so that the sum of the first n elements equals the sum of the last n elements. Code Completion Given a list of integers, give the largest n ≤ length / 2 so that the sum of the first... CodeCheck Lists - Simple Exercises, Sums, Averages, Products
224 Given a list of integers, give the largest sum of n consecutive elements. Code Completion Given a list of integers, give the largest sum of n consecutive elements. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
225 Given a list of integers, return a list of length 2 containing the first and last element, in sorted order. Code Completion Given a list of integers, return a list of length 2 containing the first and last element, in sorted order. CodeCheck Lists - Simple Exercises, Two Answers
226 Given a list of integers, return a list of length 2 containing the minimum and the maximum. Code Completion Given a list of integers, return a list of length 2 containing the minimum and the maximum. CodeCheck Lists - Simple Exercises, Two Answers
227 Given a list of integers, return a list of length 2, with the number of positive and the number of negative elements in the list. Code Completion Given a list of integers, return a list of length 2, with the number of positive and the number of... CodeCheck Lists - Simple Exercises, Two Answers
228 Given a list of integers, return a list of length 2, each being a list. Code Completion Given a list of integers, return a list of length 2, each being a list. The first one holds the... CodeCheck Lists - Simple Exercises, Two Answers
229 Given a list of integers, return a list of length 2, each being a list. Code Completion Given a list of integers, return a list of length 2, each being a list. The first one holds the... CodeCheck Lists - Simple Exercises, Two Answers
230 PR Quadtree Interactive Visualization Algorithm Visualization, User Supplied Data PR Quadtree Visualization that allows the user to click on locations to insert points to be inserted into or deleted... OpenDSA PR Quadtree
231 Buffer Pool Introduction Slideshow Algorithm Visualization Slideshow showing an introduction to buffer pools. OpenDSA Buffer Pool
232 Binary Tree Serialization Slideshow: Internal Node Mark Bits Algorithm Visualization Slideshow how to reconstruct a binary tree from a serialized representation of its node values. Alternative representation using mark bits... OpenDSA Serialization, Binary Tree
233 Double Hashing Introduction Slideshow Algorithm Visualization Slideshow demonstrating double hashing collision resolution. OpenDSA Collision Resolution
234 Linear Probing Introduction Slideshow Algorithm Visualization Slideshow showing a basic linear probing collision resolution. OpenDSA Collision Resolution
235 Promote Key on Insertion into a 2-3 tree. Algorithm Visualization Slideshow showing how keys can be promoted on insertion into a 2-3 tree. OpenDSA Tree-Based Indexing, 2-3 Tree
236 Simple Insertion into a 2-3 tree. Algorithm Visualization Slideshow showing simple insertion into a 2-3 tree. OpenDSA Tree-Based Indexing, 2-3 Tree
237 Split on Insertion into a 2-3 tree. Algorithm Visualization Slideshow showing how node split on insertion is handled by a 2-3 tree. OpenDSA Tree-Based Indexing, 2-3 Tree
238 Array-based List Introduction Slideshow Presentation Slideshow presenting the array-based list implementation. OpenDSA Array-Based List
239 Programmed Instruction: Proof Techniques Introduction Programmed Instruction Programmed Instruction Frameset presentation of basic proofs review, including proof by contradiction review. OpenDSA Proof
240 Context-Free Language Introduction Frameset Programmed Instruction Programmed Instruction Frameset introducing Context-Free Languages and their formal definition. OpenDSA Context-Free Language
241 Context-Free Grammar Transformation Introduction Frameset Programmed Instruction Programmed Instruction Frameset discussing reasons for transforming Context-Free Grammars to simpler versions. OpenDSA Context-Free Grammar
242 Pushdown Automata Introduction Frameset Programmed Instruction Programmed Instruction Frameset introducing Pushdown Automata and their formal definition. OpenDSA Pushdown Automata
243 Regular Expressions Introduction Frameset Programmed Instruction Programmed Instruction Frameset introducing Regular Expressions their formal definition. OpenDSA Regular Expression
244 Regular Grammars Introduction Frameset Programmed Instruction Programmed Instruction Frameset presenting an introduction to regular grammars, their definitions and properties. OpenDSA Regular Grammar, Regular Language
245 Skip List Introduction Slideshow Algorithm Visualization Slideshow showing an idealized version of the Skip List as an introduction to the concepts. OpenDSA Skip List
246 Polynomial Multiplication Introduction Slideshow Algorithm Visualization Slideshow showing how the terms of a polynomial affect its geometric shape. OpenDSA Polynomial Multiplication
247 Receiving Input Integers Until a Certain Condition is Met Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... PCEX while loop
248 Receiving Input Integers Until a Certain Condition is Met Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... PCEX loops, while loop
249 Determining Whether an Integer is Even or Odd Construct a program that determines whether an integer is even or odd. PCEX control flow, if-else statement
250 Receiving Input Integers Until a Certain Condition is Met (Case 2) Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... PCEX while loop
251 Receiving Input Integers Until a Certain Condition is Met (Case 3) Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... PCEX while loop
252 Receiving Input Integers Until a Certain Condition is Met (Case 4) Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... PCEX while loop
253 Receiving Input Integers Until a Certain Condition is Met (Case 2) Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... PCEX while loop
254 Receiving Input Integers Until a Certain Condition is Met (Case 3) Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... PCEX while loop
255 Receiving Input Integers Until a Certain Condition is Met (Case 4) Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... PCEX while loop
256 Use Money interface in invoice program Code Completion The invoice program assumes that prices are given in dollar. Other currencies have different rules, and it makes sense to... CodeCheck Object-Oriented Design
257 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
258 Relationships between classes and interfaces Code Completion A stamp has a descriptive name, a face value, and an issuing country. Stamps have a measurable value (the face... CodeCheck Object-Oriented Design
259 Translate square so that intersection has area 10 Code Completion Your task is to translate the rectangle box2 in the program below so that the intersection of box and box2... CodeCheck Objects
260 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
261 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
262 Given an array of integers, return the position of the first occurrence of the largest element. Code Completion Given an array of integers, return the position of the first occurrence of the largest element. CodeCheck Arrays - Simple Exercises, Maximum and Minimum
263 Given an array of integers, return the difference of the positions of the first and the last occurrence of the largest element. Code Completion Given an array of integers, return the difference of the positions of the first and the last occurrence of the... CodeCheck Arrays - Simple Exercises, Maximum and Minimum
264 Given an array of integers, return the difference between the maximum and minimum. Code Completion Given an array of integers, return the difference between the maximum and minimum. CodeCheck Arrays - Simple Exercises, Maximum and Minimum
265 Given an array of integers, swap the the maximum and minimum. Code Completion Given an array of integers, swap the the maximum and minimum. CodeCheck Arrays - Simple Exercises, Maximum and Minimum
266 Given an array of integers, return the second-largest element. Code Completion Given an array of integers, return the second-largest element. CodeCheck Arrays - Simple Exercises, Maximum and Minimum
267 Given an array of integers, return the position of the last occurrence of the largest element. Code Completion Given an array of integers, return the position of the last occurrence of the largest element. CodeCheck Arrays - Simple Exercises, Maximum and Minimum
268 Given an array of integers of length ≥ 4, return the average of the first two and last two elements. Code Completion Given an array of integers of length ≥ 4, return the average of the first two and last two elements. CodeCheck Arrays - Simple Exercises, No loops
269 Given an array of integers, swap the first and last elements. Code Completion Given an array of integers, swap the first and last elements. CodeCheck Arrays - Simple Exercises, No loops
270 Given an array of integers, swap the first two and the last two elements. Code Completion Given an array of integers, swap the first two and the last two elements. CodeCheck Arrays - Simple Exercises, No loops
271 Given an array of integers of length ≥ 3, return the average of the first, last, and middle element (or the two middle elements if the length is even). Code Completion Given an array of integers of length ≥ 3, return the average of the first, last, and middle element (or... CodeCheck Arrays - Simple Exercises, No loops
272 Given an array of integers, replace each element with the average of its neighbors. Code Completion Given an array of integers, replace each element with the average of its neighbors. CodeCheck Arrays - Simple Exercises, Sums, Averages, Products
273 Given an array of integers and an integer n, return an array of the averages of n consecutive elements of the original array. Code Completion Given an array of integers and an integer n, return an array of the averages of n consecutive elements of... CodeCheck Arrays - Simple Exercises, Sums, Averages, Products
274 Given an array of integers, give the largest sum of n consecutive elements. Code Completion Given an array of integers, give the largest sum of n consecutive elements. CodeCheck Arrays - Simple Exercises, Sums, Averages, Products
275 Given an array of integers, return the sum of all positive elements. Code Completion Given an array of integers, return the sum of all positive elements. CodeCheck Arrays - Simple Exercises, Sums, Averages, Products
276 Given an array of integers and two values a and b, return the sum of all elements that are at least a and at most b. Code Completion Given an array of integers and two values a and b, return the sum of all elements that are at... CodeCheck Arrays - Simple Exercises, Sums, Averages, Products
277 Given an array of integers, return the average of all positive elements. Code Completion Given an array of integers, return the average of all positive elements. CodeCheck Arrays - Simple Exercises, Sums, Averages, Products
278 Given an array of integers, return the average of all elements that are not the maximum or minimum. Code Completion Given an array of integers, return the average of all elements that are not the maximum or minimum. CodeCheck Arrays - Simple Exercises, Sums, Averages, Products
279 Given an array of integers, return the product of all non-zero elements. Code Completion Given an array of integers, return the product of all non-zero elements. CodeCheck Arrays - Simple Exercises, Sums, Averages, Products
280 Given an array of integers, return the sum of all odd elements. Code Completion Given an array of integers, return the sum of all odd elements. CodeCheck Arrays - Simple Exercises, Sums, Averages, Products
281 Given an array of integers, find the largest sum of two different elements in the array. Code Completion Given an array of integers, find the largest sum of two different elements in the array. CodeCheck Arrays - Simple Exercises, Sums, Averages, Products
282 Given an array of integers, give the largest n ≤ length / 2 so that the sum of the first n elements equals the sum of the last n elements. Code Completion Given an array of integers, give the largest n ≤ length / 2 so that the sum of the first... CodeCheck Arrays - Simple Exercises, Sums, Averages, Products
283 Given an array of integers, give the smallest n so that the sum of the first n elements is at least as large as the sum of the remaining elements. Code Completion Given an array of integers, give the smallest n so that the sum of the first n elements is at... CodeCheck Arrays - Simple Exercises, Sums, Averages, Products
284 Given an integer n, produce the array <pre>0 1 2 3 . Code Completion Given an integer n, produce the array
0 1 2 3 ... n 1 2 3 4 ... 0 ......
                    
                
CodeCheck Two-Dimensional Arrays, Producing 2D Arrays
285 Given an array of integers, return an array of length 2 containing the first and last element, in sorted order. Code Completion Given an array of integers, return an array of length 2 containing the first and last element, in sorted order. CodeCheck Arrays - Simple Exercises, Two Answers
286 Given an array of integers, return an array of length 2, with the number of positive and the number of negative elements in the array. Code Completion Given an array of integers, return an array of length 2, with the number of positive and the number of... CodeCheck Arrays - Simple Exercises, Two Answers
287 Given an array of integers, return an array of length 2, each being an array. Code Completion Given an array of integers, return an array of length 2, each being an array. The first one holds the... CodeCheck Arrays - Simple Exercises, Two Answers
288 Given an array of integers, return an array of length 2, each being an array. Code Completion Given an array of integers, return an array of length 2, each being an array. The first one holds the... CodeCheck Arrays - Simple Exercises, Two Answers
289 Given an array of integers, return an array of length 2 containing the minimum and the maximum. Code Completion Given an array of integers, return an array of length 2 containing the minimum and the maximum. CodeCheck Arrays - Simple Exercises, Two Answers
290 Given an integer n, fill an array of length n with 1 -1 1 -1 . Code Completion Given an integer n, fill an array of length n with 1 -1 1 -1 ... CodeCheck Arrays - Simple Exercises, Filling
291 Given an integer n, fill an array with 1 2 2 3 3 3 4 4 4 4 . Code Completion Given an integer n, fill an array with 1 2 2 3 3 3 4 4 4 4 ... and... CodeCheck Arrays - Simple Exercises, Filling
292 Given a point with integer coordinates (x, y) and a compass direction N, E, S, W, print the neigboring lattice point. Code Completion Given a point with integer coordinates (x, y) and a compass direction N, E, S, W, print the neigboring lattice... CodeCheck Branches, Branches Without Functions
293 Given three integers x, y, z, print the sum of the odd integers. Code Completion Given three integers x, y, z, print the sum of the odd integers. CodeCheck Branches, Branches Without Functions
294 Given two integers x and y, print their sum, but if it is more than 100 or less than 0, print "out of range". Code Completion Given two integers x and y, print their sum, but if it is more than 100 or less than 0,... CodeCheck Branches, Branches Without Functions
295 Given an array of integers and an integer n, remove all elementts &gt; n or &lt; -n. Code Completion Given an array of integers and an integer n, remove all elementts > n or < -n. Shift all remaining... CodeCheck Arrays - Simple Exercises, Moving or Removing Elements
296 Given an array of integers, move all zeroes to the front. Code Completion Given an array of integers, move all zeroes to the front. CodeCheck Arrays - Simple Exercises, Moving or Removing Elements
297 Given an array of integers, move all negative numbers to the front and all positive numbers to the back, keeping their relative order. Code Completion Given an array of integers, move all negative numbers to the front and all positive numbers to the back, keeping... CodeCheck Arrays - Simple Exercises, Moving or Removing Elements
298 Given an array of integers, remove all even elements that occur exactly twice. Code Completion Given an array of integers, remove all even elements that occur exactly twice. CodeCheck Arrays - Simple Exercises, Moving or Removing Elements
299 Given an array of integers, remove all adjacent duplicates. Code Completion Given an array of integers, remove all adjacent duplicates. CodeCheck Arrays - Simple Exercises, Moving or Removing Elements
300 Given an array of integers, move all zeroes to the back. Code Completion Given an array of integers, move all zeroes to the back. CodeCheck Arrays - Simple Exercises, Moving or Removing Elements
301 Given an array of integers and a value, return the position of the last occurrence of the value in the array, or -1 if the value does not exist. Code Completion Given an array of integers and a value, return the position of the last occurrence of the value in the... CodeCheck Arrays - Simple Exercises, Finding Elements
302 Given an array of integers and a value, fill an array with all positions of the value in the array. Code Completion Given an array of integers and a value, fill an array with all positions of the value in the array. CodeCheck Arrays - Simple Exercises, Finding Elements
303 Given an array of integers and a value, return the position of the element that is closest to the value. Code Completion Given an array of integers and a value, return the position of the element that is closest to the value.... CodeCheck Arrays - Simple Exercises, Finding Elements
304 Given two arrays of integers of the same length, return the first position where their elements are the same. Code Completion Given two arrays of integers of the same length, return the first position where their elements are the same. CodeCheck Arrays - Simple Exercises, Finding Elements
305 Given two arrays of integers of the same length, return the first position where their elements differ. Code Completion Given two arrays of integers of the same length, return the first position where their elements differ. CodeCheck Arrays - Simple Exercises, Finding Elements
306 Given an array of integers and a value, return the difference between the last and first position of the value in the array, or -1 if the value does not exist. Code Completion Given an array of integers and a value, return the difference between the last and first position of the value... CodeCheck Arrays - Simple Exercises, Finding Elements
307 Given an array of integers, return the largest sum of consecutive elements. Code Completion Given an array of integers, return the largest sum of consecutive elements. CodeCheck Arrays - Simple Exercises, Double Loops
308 Given an array of integers, return the largest sequence whose reverse also occurs somewhere in the array. Code Completion Given an array of integers, return the largest sequence whose reverse also occurs somewhere in the array. CodeCheck Arrays - Simple Exercises, Double Loops
309 Given an array of integers, return the position of the longest subsequence of consecutive integers a, a + 1, a + 2, . Code Completion Given an array of integers, return the position of the longest subsequence of consecutive integers a, a + 1, a... CodeCheck Arrays - Simple Exercises, Double Loops
310 Given an array of integers, return an array of arrays of length 2, containing each unique element together with its frequency. Code Completion Given an array of integers, return an array of arrays of length 2, containing each unique element together with its... CodeCheck Arrays - Simple Exercises, Double Loops
311 Given two arrays of integers a and b of the same length, count the number of positions where the array elements differ by at least 2. Code Completion Given two arrays of integers a and b of the same length, count the number of positions where the array... CodeCheck Arrays - Simple Exercises, Counting Elements
312 Given an array of integers, count how many elements are negative. Code Completion Given an array of integers, count how many elements are negative. CodeCheck Arrays - Simple Exercises, Counting Elements
313 Given an array of integers, return the most frequent element. Code Completion Given an array of integers, return the most frequent element. If there is more than one element with maximum frequency,... CodeCheck Arrays - Simple Exercises, Counting Elements
314 Given an array of integers, return an array of all elements that occur with maximum frequency. Code Completion Given an array of integers, return an array of all elements that occur with maximum frequency. CodeCheck Arrays - Simple Exercises, Counting Elements
315 Given an array of integers, return the position of the first element that occurs more than once, or -1 if all elements occur exactly once. Code Completion Given an array of integers, return the position of the first element that occurs more than once, or -1 if... CodeCheck Arrays - Simple Exercises, Counting Elements
316 Given an array of integers, return an array of all elements that occur exactly once. Code Completion Given an array of integers, return an array of all elements that occur exactly once. CodeCheck Arrays - Simple Exercises, Counting Elements
317 Given an array of integers and two values a and b, count how many elements are at least a and at most b. Code Completion Given an array of integers and two values a and b, count how many elements are at least a and... CodeCheck Arrays - Simple Exercises, Counting Elements
318 Given two arrays of integers a and b of the same length, count the number of positions where the arrays have the same elements. Code Completion Given two arrays of integers a and b of the same length, count the number of positions where the arrays... CodeCheck Arrays - Simple Exercises, Counting Elements
319 Given an array of integers, remove all elements that occur more than once, leaving the first occurrence. Code Completion Given an array of integers, remove all elements that occur more than once, leaving the first occurrence. CodeCheck Arrays - Simple Exercises, Counting Elements
320 Sum 3 integers in array Free Coding Problem, code writing Coding Question CodeWorkout arrays, loops, code writing
321 Merging two integer arrays Free Coding Problem, coding problem Coding Question CodeWorkout array, loops. merge, 1213, cci, coding problem
322 Get smallest integer Free Coding Problem, coding problem Coding Question CodeWorkout array, cci, coding problem
323 Create an array of ints Free Coding Problem, code writing Coding Question CodeWorkout arrays, cci, 2214, code writing
324 Get position of smallest integer Free Coding Problem, coding problem Coding Question CodeWorkout array, cci, coding problem
325 Determining the Sign of an Integer Construct a program that determines whether an integer is positive, negative, or zero. PCEX control flow, if-else statement
326 Determining the Smallest of the Three Integers Construct a program that determines the smallest of the three integer values entered by the user. PCEX control flow, if-else statement
327 Determining the Largest of the Three Integers Construct a program that determines the largest of the three integer values entered by the user. PCEX control flow
328 Calculating the Average of Input Integers Construct a program that reads a series of integers from the user, sums them up, and calculates their average. The... PCEX while loop
329 Calculating the Average of the Input Integers that are an Even Number Construct a program that reads a series of integer values from the user, sums up the integers that are an... PCEX while loop
330 The Digit Sum of an Integer Construct a program that calculates the sum of the digits of an integer. PCEX while loop
331 Reversing the Digits of an Integer Construct a program that reverses the digits of an integer mathematically. PCEX while loop
332 Checks whether the sum of two integers are equal as the third integer Construct a function which determines whether one of the paraters is the sum of the two other parameters. jsParsons
333 Checks whether the sum of two integers are equal as the third integer Construct a program which determines whether the value of one of variables x, y, and z is the sum of... jsParsons
334 Given a two-dimensional array of integers, return the average of the four corner elements. Code Completion Given a two-dimensional array of integers, return the average of the four corner elements. CodeCheck Two-Dimensional Arrays, No Loops
335 Given a two-dimensional array of integers, return the middle element if both the row and column lenghts are odd, or the average of the two or four middle elements of one or both is even. Code Completion Given a two-dimensional array of integers, return the middle element if both the row and column lenghts are odd, or... CodeCheck Two-Dimensional Arrays, No Loops
336 Given a two-dimensional array of integers and a string N, E, S, W, give the middle element along the border in the given compass direction, or the average of the two middle ones if the border length is even. Code Completion Given a two-dimensional array of integers and a string N, E, S, W, give the middle element along the border... CodeCheck Two-Dimensional Arrays, No Loops
337 Given a two-dimensional array of integers and a string NW, NW, SW, SE, return the sum of the four elements in the given compass direction. Code Completion Given a two-dimensional array of integers and a string NW, NW, SW, SE, return the sum of the four elements... CodeCheck Two-Dimensional Arrays, No Loops
338 Given a two-dimensional array of integers, row/column indexes r, c, and a string N E S W, return the neighbor in that direction, or 0 if it doesn't exist. Code Completion Given a two-dimensional array of integers, row/column indexes r, c, and a string N E S W, return the neighbor... CodeCheck Two-Dimensional Arrays, No Loops
339 Given a two-dimensional array of integers and row/column indexes r, c, return the number of neighbors (not counting the element itself). Code Completion Given a two-dimensional array of integers and row/column indexes r, c, return the number of neighbors (not counting the element... CodeCheck Two-Dimensional Arrays, No Loops
340 Given a two-dimensional array of integers, return the number of distinct elements. Code Completion Given a two-dimensional array of integers, return the number of distinct elements. CodeCheck Two-Dimensional Arrays, Complex Loops
341 Given a two-dimensional array of integers, remove any adjacent duplicate rows by filling the duplicates with zeroes. Code Completion Given a two-dimensional array of integers, remove any adjacent duplicate rows by filling the duplicates with zeroes. CodeCheck Two-Dimensional Arrays, Complex Loops
342 Given a two-dimensional array of integers, return the index of the first row that is entirely filled with zeroes. Code Completion Given a two-dimensional array of integers, return the index of the first row that is entirely filled with zeroes. CodeCheck Two-Dimensional Arrays, Complex Loops
343 Given a two-dimensional array of integers, return the top left corner of the first subarray of the form <pre>0 0 0 0</pre> Code Completion Given a two-dimensional array of integers, return the top left corner of the first subarray of the form
0 0...
                    
                
CodeCheck Two-Dimensional Arrays, Complex Loops
344 Given a two-dimensional array of integers, return the position of the largest square subarray filled with zeroes, as a list of length 2. Code Completion Given a two-dimensional array of integers, return the position of the largest square subarray filled with zeroes, as a list... CodeCheck Two-Dimensional Arrays, Complex Loops
345 Given a list a of integers, return a list of all elements of a that occur exactly once. Code Completion Given a list a of integers, return a list of all elements of a that occur exactly once. CodeCheck Lists - Simple Exercises, Double Loops
346 Given a two-dimensional array of integers and row/column positions r, c, return the largest neighbor in the compass directions N E S W. Code Completion Given a two-dimensional array of integers and row/column positions r, c, return the largest neighbor in the compass directions N... CodeCheck Two-Dimensional Arrays, Looping over Neighbors
347 Given a two-dimensional array of integers and row/column positions r, c, return the largest neighbor in the compass directions N E S W NE NW SE SW. Code Completion Given a two-dimensional array of integers and row/column positions r, c, return the largest neighbor in the compass directions N... CodeCheck Two-Dimensional Arrays, Looping over Neighbors
348 Given a two-dimensional array of integers and row/column positions r, c, return the compass direction of the largest neighbor as a string N E S W NE NW SE SW. Code Completion Given a two-dimensional array of integers and row/column positions r, c, return the compass direction of the largest neighbor as... CodeCheck Two-Dimensional Arrays, Looping over Neighbors
349 Given a two-dimensional array of integers, row/column positions r, c, and a value x, fill the given element and its neighbors in the compass directions N E S W NE NW SE SW with x. Code Completion Given a two-dimensional array of integers, row/column positions r, c, and a value x, fill the given element and its... CodeCheck Two-Dimensional Arrays, Looping over Neighbors
350 Given a two-dimensional array a of integers and row/column positions r, c, return a 3x3 array whose middle element is a[r][c], and whose neighbors are copied from the original. Code Completion Given a two-dimensional array a of integers and row/column positions r, c, return a 3x3 array whose middle element is... CodeCheck Two-Dimensional Arrays, Looping over Neighbors
351 Given a two-dimensional array of integers, compute the sum of all positive elements. Code Completion Given a two-dimensional array of integers, compute the sum of all positive elements. CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
352 Given a two-dimensional array of integers, return the largest element in the array. Code Completion Given a two-dimensional array of integers, return the largest element in the array. CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
353 Given a two-dimensional array of integers, return the position of the smallest element in the array as a list of length 2. Code Completion Given a two-dimensional array of integers, return the position of the smallest element in the array as a list of... CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
354 Given a two-dimensional array of integers and a value x, return the position of the first match as a list of length 2. Code Completion Given a two-dimensional array of integers and a value x, return the position of the first match as a list... CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
355 Given a two-dimensional array of integers and a value x, return the positions of all matching elements, as a list of arrays of length 2. Code Completion Given a two-dimensional array of integers and a value x, return the positions of all matching elements, as a list... CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
356 Given a two-dimensional array of integers, compute the sum of all elements that are not one of the borders. Code Completion Given a two-dimensional array of integers, compute the sum of all elements that are not one of the borders. CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
357 Given a two-dimensional square array of integers, compute the sum of all elements that are not on one of the diagonals. Code Completion Given a two-dimensional square array of integers, compute the sum of all elements that are not on one of the... CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
358 Given a two-dimensional array of integers, replace all negative elements with zero. Code Completion Given a two-dimensional array of integers, replace all negative elements with zero. CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
359 Given a two-dimensional array of integers, reverse all rows. Code Completion Given a two-dimensional array of integers, reverse all rows. CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
360 Given a two-dimensional array of integers, shift each row by one to the right and put a 0 at the leftmost column. Code Completion Given a two-dimensional array of integers, shift each row by one to the right and put a 0 at the... CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
361 Given an r x c array of integers, return an (r + 2) x (c + 2) array whose borders are zero and whose interior is the original array. Code Completion Given an r x c array of integers, return an (r + 2) x (c + 2) array whose borders... CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
362 Given a two-dimensional array of integers, return a list of the largest element in each row. Code Completion Given a two-dimensional array of integers, return a list of the largest element in each row. CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
363 Given a two-dimensional array of integers, return a list of the number of negative elements in each row. Code Completion Given a two-dimensional array of integers, return a list of the number of negative elements in each row. CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
364 Given a two-dimensional array of integers and a row index, return the largest element in that row. Code Completion Given a two-dimensional array of integers and a row index, return the largest element in that row. CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
365 Given a two-dimensional array of integers and a row index r, reverse the given row. Code Completion Given a two-dimensional array of integers and a row index r, reverse the given row. CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
366 Given a two-dimensional square array of integers, reverse both diagonals. Code Completion Given a two-dimensional square array of integers, reverse both diagonals. CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
367 Given a two-dimensional array of integers and a column index, return the smallest element in that column. Code Completion Given a two-dimensional array of integers and a column index, return the smallest element in that column. CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
368 Given a two-dimensional array of integers, an index, and a string R or C, return the sum of the elements in that row or column. Code Completion Given a two-dimensional array of integers, an index, and a string R or C, return the sum of the elements... CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
369 Given a two-dimensional array of integers, a row index r, and a column index c, return the sum of all elements in the given row and column. Code Completion Given a two-dimensional array of integers, a row index r, and a column index c, return the sum of all... CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
370 Given a two-dimensional array of integers and a string N, E, S, W, return the sum of all elements of the border in the given compass direction. Code Completion Given a two-dimensional array of integers and a string N, E, S, W, return the sum of all elements of... CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
371 Given a two-dimensional array of integers, return the sum of all elements along the north and south border. Code Completion Given a two-dimensional array of integers, return the sum of all elements along the north and south border. CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
372 Given a two-dimensional array of integers, return the sum of all elements along all borders but not the corners. Code Completion Given a two-dimensional array of integers, return the sum of all elements along all borders but not the corners. CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
373 Given a two-dimensional array of integers, return the sum of all elements along all borders including the corners. Code Completion Given a two-dimensional array of integers, return the sum of all elements along all borders including the corners. CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
374 Given a two-dimensional square array of integers, return the sum of the elements along both diagonals. Code Completion Given a two-dimensional square array of integers, return the sum of the elements along both diagonals. Make sure not to... CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
375 Given a string s and an integer n, return a string in which each of the characters in s is repeated n times. Code Completion Given a string s and an integer n, return a string in which each of the characters in s is... CodeCheck Strings, Other String Operations
376 Given two two-dimensional arrays of integers with the same number of rows and columns, return the first position where they do not match, as a list of length 2. Code Completion Given two two-dimensional arrays of integers with the same number of rows and columns, return the first position where they... CodeCheck Two-Dimensional Arrays, Producing 2D Arrays
377 Summation of the first N integers visualization Presentation Slideshow showing how to calculate the closed form for the summation of the first N integers. OpenDSA Summation
378 The Min/Max of Three Integers Construct a program that determines the smallest of the three integer values entered by the user. PCEX control flow, if-else statement
379 Processing the Digits of an Integer Construct a program that prints the digits of an integer from right to left. PCEX do-while loop, while loop
380 Processing the Digits of an Integer Construct a program that prints the digits of an integer from right to left. PCEX algorithm analysis, loops, while loop
381 The Min/Max of Three Integers Construct a program that determines the smallest of the three integer values entered by the user. PCEX algorithm analysis, control flow, if statement, if-else statement, statistics
382 Determining the Largest of the Three Integers Construct a program that determines the largest of the three integer values entered by the user. PCEX conditionals, control flow, if-else statement
383 Calculating the Average of the Input Integers that are an Even Number Construct a program that reads a series of integer values from the user, sums up the integers that are an... PCEX while loop
384 Reversing the Digits of an Integer Construct a program that reverses the digits of an integer mathematically. PCEX do-while loop, while loop
385 The Digit Sum of an Integer Construct a program that calculates the sum of the digits of an integer. PCEX do-while loop, while loop
386 Processing the Digits of an Integer (Case 3) Construct a program that reverses the digits of an integer mathematically. PCEX while loop
387 Processing the Digits of an Integer (Case 2) Construct a program that calculates the sum of the digits of an integer. PCEX while loop
388 The Min/Max of Three Integers Construct a program that determines the largest of the three integer values entered by the user. PCEX if-else statement
389 Given a two-dimensional array of integers and a value x, return the position of the first match as an array of length 2. Code Completion Given a two-dimensional array of integers and a value x, return the position of the first match as an array... CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
390 Given a two-dimensional array of integers, return an array of the number of negative elements in each column. Code Completion Given a two-dimensional array of integers, return an array of the number of negative elements in each column. CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
391 Given a two-dimensional array of integers, compute the sum of all positive elements. Code Completion Given a two-dimensional array of integers, compute the sum of all positive elements. CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
392 Given a two-dimensional array of integers, return the position of the smallest element in the array as an array of length 2. Code Completion Given a two-dimensional array of integers, return the position of the smallest element in the array as an array of... CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
393 Given a two-dimensional square array of integers, compute the sum of all elements that are not on one of the diagonals. Code Completion Given a two-dimensional square array of integers, compute the sum of all elements that are not on one of the... CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
394 Given a two-dimensional array of integers, replace all negative elements with zero. Code Completion Given a two-dimensional array of integers, replace all negative elements with zero. CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
395 Given a two-dimensional array of integers, reverse all rows. Code Completion Given a two-dimensional array of integers, reverse all rows. CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
396 Given a two-dimensional array of integers and a value x, return the positions of all matching elements, as an array of arrays of length 2. Code Completion Given a two-dimensional array of integers and a value x, return the positions of all matching elements, as an array... CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
397 Given a two-dimensional array of integers, shift each row by one to the right and put a 0 at the leftmost column. Code Completion Given a two-dimensional array of integers, shift each row by one to the right and put a 0 at the... CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
398 Given a two-dimensional array of integers, compute the sum of all elements that are not one of the borders. Code Completion Given a two-dimensional array of integers, compute the sum of all elements that are not one of the borders. CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
399 Given a two-dimensional array of integers, return the largest element in the array. Code Completion Given a two-dimensional array of integers, return the largest element in the array. CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
400 Given a two-dimensional array of integers, return an array of the largest element in each row. Code Completion Given a two-dimensional array of integers, return an array of the largest element in each row. CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
401 Given an r x c array of integers, return an (r + 2) x (c + 2) array whose borders are zero and whose interior is the original array. Code Completion Given an r x c array of integers, return an (r + 2) x (c + 2) array whose borders... CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
402 Given a two-dimensional array of integers, return the number of distinct elements. Code Completion Given a two-dimensional array of integers, return the number of distinct elements. CodeCheck Two-Dimensional Arrays, Complex Loops
403 Given a two-dimensional array of integers, return the index of the first row that is entirely filled with zeroes. Code Completion Given a two-dimensional array of integers, return the index of the first row that is entirely filled with zeroes. CodeCheck Two-Dimensional Arrays, Complex Loops
404 Given a two-dimensional array of integers, return the index of the first row that is entirely filled with zeroes. Code Completion Given a two-dimensional array of integers, return the index of the first row that is entirely filled with zeroes. < CodeCheck Two-Dimensional Arrays, Complex Loops
405 Given a two-dimensional array of integers, return the position of the largest square subarray filled with zeroes, as an array of length 2. Code Completion Given a two-dimensional array of integers, return the position of the largest square subarray filled with zeroes, as an array... CodeCheck Two-Dimensional Arrays, Complex Loops
406 Given a two-dimensional array of integers, remove any adjacent duplicate rows by filling the duplicates with zeroes. Code Completion Given a two-dimensional array of integers, remove any adjacent duplicate rows by filling the duplicates with zeroes. CodeCheck Two-Dimensional Arrays, Complex Loops
407 Given a two-dimensional array of integers and row/column positions r, c, return the largest neighbor in the compass directions N E S W. Code Completion Given a two-dimensional array of integers and row/column positions r, c, return the largest neighbor in the compass directions N... CodeCheck Two-Dimensional Arrays, Looping over Neighbors
408 Given a two-dimensional array of integers and row/column positions r, c, return the compass direction of the largest neighbor as a string N E S W NE NW SE SW. Code Completion Given a two-dimensional array of integers and row/column positions r, c, return the compass direction of the largest neighbor as... CodeCheck Two-Dimensional Arrays, Looping over Neighbors
409 Given a two-dimensional array of integers, row/column positions r, c, and a value x, fill the given element and its neighbors in the compass directions N E S W NE NW SE SW with x. Code Completion Given a two-dimensional array of integers, row/column positions r, c, and a value x, fill the given element and its... CodeCheck Two-Dimensional Arrays, Looping over Neighbors
410 Given a two-dimensional array a of integers and row/column positions r, c, return a 3x3 array whose middle element is a[r][c], and whose neighbors are copied from the original. Code Completion Given a two-dimensional array a of integers and row/column positions r, c, return a 3x3 array whose middle element is... CodeCheck Two-Dimensional Arrays, Looping over Neighbors
411 Given a two-dimensional array of integers and row/column positions r, c, return the largest neighbor in the compass directions N E S W NE NW SE SW. Code Completion Given a two-dimensional array of integers and row/column positions r, c, return the largest neighbor in the compass directions N... CodeCheck Two-Dimensional Arrays, Looping over Neighbors
412 Generic matrix class as a map with integer keys Code Completion Your task is to complete the implementation of a generic Matrix class. A matrix is a two-dimensional arrangement of elements.... CodeCheck Generic Types
413 Generic matrix class as a map with integer pair keys Code Completion Your task is to complete the implementation of a generic Matrix class. A matrix is a two-dimensional arrangement of elements.... CodeCheck Generic Types
414 Given two two-dimensional arrays of integers with the same number of rows and columns, return the first position where they do not match, as an array of length 2. Code Completion Given two two-dimensional arrays of integers with the same number of rows and columns, return the first position where they... CodeCheck Two-Dimensional Arrays, Producing 2D Arrays
415 Given a string s and an integer n, return a string in which each of the characters in s is repeated n times. Code Completion Given a string s and an integer n, return a string in which each of the characters in s is... CodeCheck Strings, Other String Operations
416 Given a two-dimensional square array of integers, return the sum of the elements along both diagonals. Code Completion Given a two-dimensional square array of integers, return the sum of the elements along both diagonals. Make sure not to... CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
417 Given a two-dimensional array of integers and a row index, return the largest element in that row. Code Completion Given a two-dimensional array of integers and a row index, return the largest element in that row. CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
418 Given a two-dimensional square array of integers, reverse both diagonals. Code Completion Given a two-dimensional square array of integers, reverse both diagonals. CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
419 Given a two-dimensional array of integers, an index, and a string R or C, return the sum of the elements in that row or column. Code Completion Given a two-dimensional array of integers, an index, and a string R or C, return the sum of the elements... CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
420 Given a two-dimensional array of integers, a row index r, and a column index c, return the sum of all elements in the given row and column. Code Completion Given a two-dimensional array of integers, a row index r, and a column index c, return the sum of all... CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
421 Given a two-dimensional array of integers and a string N, E, S, W, return the sum of all elements of the border in the given compass direction. Code Completion Given a two-dimensional array of integers and a string N, E, S, W, return the sum of all elements of... CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
422 Given a two-dimensional array of integers, return the sum of all elements along the north and south border. Code Completion Given a two-dimensional array of integers, return the sum of all elements along the north and south border. CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
423 Given a two-dimensional array of integers and a column index, return the smallest element in that column. Code Completion Given a two-dimensional array of integers and a column index, return the smallest element in that column. CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
424 Given a two-dimensional array of integers and a row index r, reverse the given row. Code Completion Given a two-dimensional array of integers and a row index r, reverse the given row. CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
425 Given a two-dimensional array of integers, return the sum of all elements along all borders including the corners. Code Completion Given a two-dimensional array of integers, return the sum of all elements along all borders including the corners. CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
426 Given a two-dimensional array of integers, return the sum of all elements along all borders but not the corners. Code Completion Given a two-dimensional array of integers, return the sum of all elements along all borders but not the corners. CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
427 Given an array a of integers, return an array of all elements of a that occur exactly once. Code Completion Given an array a of integers, return an array of all elements of a that occur exactly once. CodeCheck Arrays - Simple Exercises, Double Loops
428 Given a two-dimensional array of integers, return the average of the four corner elements. Code Completion Given a two-dimensional array of integers, return the average of the four corner elements. CodeCheck Two-Dimensional Arrays, No Loops
429 Given a two-dimensional array of integers and a string N, E, S, W, give the middle element along the border in the given compass direction, or the average of the two middle ones if the border length is even. Code Completion Given a two-dimensional array of integers and a string N, E, S, W, give the middle element along the border... CodeCheck Two-Dimensional Arrays, No Loops
430 Given a two-dimensional array of integers and a string NW, NW, SW, SE, return the sum of the four elements in the given compass direction. Code Completion Given a two-dimensional array of integers and a string NW, NW, SW, SE, return the sum of the four elements... CodeCheck Two-Dimensional Arrays, No Loops
431 Given a two-dimensional array of integers, row/column indexes r, c, and a string N E S W, return the neighbor in that direction, or 0 if it doesn't exist. Code Completion Given a two-dimensional array of integers, row/column indexes r, c, and a string N E S W, return the neighbor... CodeCheck Two-Dimensional Arrays, No Loops
432 Given a two-dimensional array of integers, return the middle element if both the row and column lenghts are odd, or the average of the two or four middle elements of one or both is even. Code Completion Given a two-dimensional array of integers, return the middle element if both the row and column lenghts are odd, or... CodeCheck Two-Dimensional Arrays, No Loops
433 Given a two-dimensional array of integers and row/column indexes r, c, return the number of neighbors (not counting the element itself). Code Completion Given a two-dimensional array of integers and row/column indexes r, c, return the number of neighbors (not counting the element... CodeCheck Two-Dimensional Arrays, No Loops
434 Calculating and Rounding Up Body Mass Index (BMI) To the Nearest Integer BMI is a measure of body fat based on height and weight that applies to adult men and women. BMI... PCEX arithmetic operations
435 Finding Adjacent Consecutive Numbers in a Sequence of Integers Construct a program that checks whether a sequence of integers, entered one at a time, contains adjacent integers that are... PCEX while loop
436 Given two two-dimensional arrays a and b of integers with the same number of rows and columns, return a list of the same size where each element is the greater of the corresponding elements in the two arrays. Code Completion Given two two-dimensional arrays a and b of integers with the same number of rows and columns, return a list... CodeCheck Two-Dimensional Arrays, Producing 2D Arrays
437 Calculating and Rounding Up Body Mass Index (BMI) To the Nearest Integer BMI is a measure of body fat based on height and weight that applies to adult men and women. BMI... PCEX arithmetic operations, arithmetic operators, data types, operators, variables
438 Finding Adjacent Consecutive Numbers in a Sequence of Integers Construct a program that checks whether a sequence of integers, entered one at a time, contains adjacent integers that are... PCEX while loop
439 Given two two-dimensional arrays a and b of integers with the same number of rows and columns, return an array of the same size where each element is the greater of the corresponding elements in the two arrays. Code Completion Given two two-dimensional arrays a and b of integers with the same number of rows and columns, return an array... CodeCheck Two-Dimensional Arrays, Producing 2D Arrays
440 Given a string, find the first integer inside and return its value as an integer. Code Completion Given a string, find the first integer inside and return its value as an integer. Return 0 if there is... CodeCheck Strings, Numbers in Strings
441 Given a string, find the sum of all integers inside. Code Completion Given a string, find the sum of all integers inside. Return 0 if there is no integer inside. CodeCheck Strings, Numbers in Strings
442 Given a string, find all integers inside and return a string that separates them by commas. Code Completion Given a string, find all integers inside and return a string that separates them by commas. CodeCheck Strings, Numbers in Strings
443 Given a string, find the first integer inside and return its value as an integer. Code Completion Given a string, find the first integer inside and return its value as an integer. Return 0 if there is... CodeCheck Strings, Numbers in Strings
444 Given a string, find all integers inside and return a string that separates them by commas. Code Completion Given a string, find all integers inside and return a string that separates them by commas. CodeCheck Strings, Numbers in Strings
445 Given a string, find the sum of all integers inside. Code Completion Given a string, find the sum of all integers inside. Return 0 if there is no integer inside. CodeCheck Strings, Numbers in Strings
446 Given a string and two characters x and y (as strings of length 1), interchange all occurrences of x and y. Code Completion Given a string and two characters x and y (as strings of length 1), interchange all occurrences of x and... CodeCheck Strings, Other String Operations
447 Given a string and two characters x and y, interchange all occurrences of x and y. Code Completion Given a string and two characters x and y, interchange all occurrences of x and y. CodeCheck Strings, Other String Operations
448 Given a string in which words are separated by spaces, and two words a and b, interchange all occurrences of a and b. Code Completion Given a string in which words are separated by spaces, and two words a and b, interchange all occurrences of... CodeCheck Strings, Words
449 Given a string in which words are separated by spaces, and two words a and b, interchange all occurrences of a and b. Code Completion Given a string in which words are separated by spaces, and two words a and b, interchange all occurrences of... CodeCheck Strings, Words
450 Binary Search Tree Insert Proficiency Exercise Tracing Exercise Interactive exercise to demonstrate proficiency with BST insert. OpenDSA Binary Search Tree
451 Binary Search Tree Remove Proficiency Exercise Tracing Exercise Interactive exercise to demonstrate proficiency with BST remove. OpenDSA Binary Search Tree
452 Binary Search Tree Search Proficiency Exercise Tracing Exercise Interactive exercise to demonstrate proficiency with BST search. OpenDSA Binary Search Tree
453 Multiway Merge Proficiency Exercise Tracing Exercise Interactive algorithm proficiency exercise for multiway merge. User clicks on positions in the array to reproduce the behavior of multiway... OpenDSA File Processing, External Sorting, Multiway Merge
454 Replacement Selection Proficiency Exercise Tracing Exercise Interactive algorithm proficiency exercise for the replacement selection algorithm. User clicks on heap nodes to reproduce the behavior of replacement... OpenDSA File Processing, External Sorting, Replacement Selection
455 B+ Tree Insertion Proficiency Exercise Tracing Exercise Interactive proficiency exercise for insertion into a B+ Tree. User clicks on tree nodes to indicate how the insert process... OpenDSA B-Tree, Tree-Based Indexing
456 Linear Indexing Proficiency Exercise Tracing Exercise Interactive proficiency exercise for linear indexing. User clicks on array elements to indicate how the search process progresses from through... OpenDSA Linear Indexing
457 Parameter Passing by Name Exercise Tracing Exercise Interactive exercise to demonstrate proficiency with parameter passing by name. OpenDSA Parameter Passing
458 Parameter Passing by Reference Exercise Tracing Exercise Interactive exercise to demonstrate proficiency with parameter passing by reference. OpenDSA Parameter Passing
459 Parameter Passing by Value Exercise Tracing Exercise Interactive exercise to demonstrate proficiency with parameter passing by value. OpenDSA Parameter Passing
460 Parameter Passing by Copy-Restore Exercise Tracing Exercise Interactive exercise to demonstrate proficiency with parameter passing by copy-restore. OpenDSA Parameter Passing
461 Parameter Passing by Macro Exercise Tracing Exercise Interactive exercise to demonstrate proficiency with parameter passing by macro. OpenDSA Parameter Passing
462 Binary Search Proficency Exercise Tracing Exercise Interactive exercise where users indicate which elements of the array should be searched to reproduce the binary search algorithm's behavior. OpenDSA Binary Search
463 Insertion Sort Optimized with Shifting Proficiency Exercise Tracing Exercise Interactive algorithm proficiency exercise for optimized Insertion Sort. User clicks on array elements to reproduce the behavior of Insertion Sort... OpenDSA Insertion Sort, Code Tuning
464 Shellsort Performance Proficiency Exercise Calculation Exercise Interactive proficiency exercise for Shellsort that focuses on the best performing diminishing increments. User selects an increment series and is... OpenDSA Shellsort
465 Shellsort Proficiency Exercise Tracing Exercise Interactive proficiency exercise for Shellsort. User clicks on array cells to indicate the behavior of Shellsort. OpenDSA Shellsort
466 Bowling Score TestCase Exercise Code Testing Exercise Interactive exercise where user enters input values for a bowling game scoring function with the goal of getting complete code... OpenDSA Test Case, Code Coverage
467 Triangle Classification TestCase Exercise Code Testing Exercise Interactive exercise where user enters input values for a triangle classifier problem with the goal of getting complete code coverage.... OpenDSA Test Case, Code Coverage
468 Inheritance and Polymorphism: Course Grading Policy Question, Battery Intro to Software Design (CS1) course grading policy review questions OpenDSA Software Design
469 Lists and ArrayList Class Review Quiz Question, Battery Introduction to lists and the ArrayList class for CS1 review questions. OpenDSA ArrayList Class
470 Nested For Loops Review Quiz Question, Battery Introduction to using nested for loops for CS1 review questions. OpenDSA For Loop
471 Using aggregation for modeling Square class Code Completion Intuitively, every square is a rectangle, so it is tempting to use inheritance for implementing a square: CodeCheck Object-Oriented Design
472 Using inheritance for modeling Square class Code Completion Intuitively, every square is a rectangle, so it is tempting to use inheritance for implementing a square: CodeCheck Object-Oriented Design
473 Strings Review Quiz Question, Battery Strings introduction for CS1 review questions. OpenDSA String
474 Binary Insertion Sort Slideshow Algorithm Visualization Slideshow introducing the concept of using binary search to find the insert location of the next record during Insertion Sort.... OpenDSA Binary Insertion Sort
475 Garbage Disposal Algorithm Visualization, Code Tracing Presentation Slideshow introducing the concept of garbage collection. OpenDSA Garbage Collection, Heap Memory
476 Link Nodes Algorithm Visualization, Code Tracing Presentation Slideshow introducing the concept of Link Nodes. OpenDSA Link Node
477 Creating a Chain of Links Algorithm Visualization, Code Tracing Presentation Slideshow introducing the concept of chaining link nodes to form a linked list. OpenDSA Link Node, Linked List
478 Link Nodes: Iteration Algorithm Visualization, Code Tracing Presentation Slideshow introducing the concept of iterating through a linked list. OpenDSA Link Node, Iteration
479 Link Nodes: Delete Algorithm Visualization, Code Tracing Presentation Slideshow introducing the concept of deleting from a linked list. OpenDSA Link Node, Iteration
480 Link Nodes: Insertion Algorithm Visualization, Code Tracing Presentation Slideshow introducing the concept of inserting a new node into a linked list. OpenDSA Link Node, Iteration
481 Sorting Terminology and Notation Slideshow Presentation Slideshow introducing the sorting problem. OpenDSA Sorting Notation
482 c_funkcija_djeljiv_sa_3 Napisati funkciju int djeljivSaTri(int x) koja vraća 1 ako je broj x djeljiv sa 3, a 0 ako broj x... PCEX
483 c_funkcija_djeljiv_sa Napisati funkciju int djeljivSa(int x, int y) koja vraća 1 ako je x djeljiv sa y, a 0 ako nije.... PCEX
484 Practicar la asignación de variables Construye un programa que intercambie los valores de las variables x e y. jsParsons
485 Arrays Module Review Questions Question, Battery CS1-level introduction to arrays module review questions. OpenDSA Array, For-Each Loop
486 2D Arrays Review Questions Question, Battery CS1-level introduction to 2D arrays review questions. OpenDSA Array
487 Iterating with 2D Arrays Review Questions Question, Battery CS1-level interating with 2D arrays review questions. OpenDSA Array
488 Modulus Review Questions Question, Battery CS1-level introduction to modulus review questions. OpenDSA Modulus
489 Java Output Review Questions Question, Battery CS1-level introduction to output in Java review questions. OpenDSA File Processing
490 Java Input Review Questions Question, Battery CS1-level introduction to Java input review questions. OpenDSA File Processing, Scanner
491 Variable Scope Review Questions Question, Battery CS1-level introduction to variable scope review questions. OpenDSA Variable Scope
492 Array-Based List Insertion Proficiency Exercise Tracing Exercise Array-based list interactive proficiency exercise. Users click on values in an array to show how insertion takes place. OpenDSA Array-Based List
493 Array-Based List Remove Proficiency Exercise Tracing Exercise Array-based list interactive proficiency exercise. Users click on values in an array to show how remove takes place. OpenDSA Array-Based List
494 Linked List Insertion Proficiency Exercise Tracing Exercise Linked list insert interactive proficiency exercise. Users click on values in a linked list display to show how insertion takes... OpenDSA Linked List
495 Linked List Remove Proficiency Exercise Tracing Exercise Linked list remove interactive proficiency exercise. Users click on values in a linked list display to show how remove takes... OpenDSA Linked List
496 Bubble Sort Proficiency Exercise Tracing Exercise Bubble Sort interactive proficiency exercise. Users click on values in an array to move them around as Bubble Sort would. OpenDSA Bubble Sort
497 Insertion Sort proficiency exercise Tracing Exercise Insertion Sort interactive proficiency exercise. Users click on values in an array to move them around as Insertion Sort would. OpenDSA Insertion Sort
498 Selection Sort Sort Proficiency Exercise Tracing Exercise Selection Sort interactive proficiency exercise. Users click on values in an array to move them around as Selection Sort would. OpenDSA Selection Sort
499 Heap Insert Slideshow Algorithm Visualization, Code Tracing Presentation Slideshow visualizing insert into a heap. OpenDSA Heap
500 Doubly Linked List Insert Slideshow Algorithm Visualization, Code Tracing Presentation Slideshow presenting insertion into a doubly linked list. OpenDSA Doubly Linked List
501 Linked List Insertion Slideshow Algorithm Visualization, Code Tracing Presentation Slideshow demonstrating insertion into a linked list. OpenDSA Linked List
502 Programmed Instruction: Non-Deterministic Finite Automata Programmed Instruction Programmed Instruction Frameset introducing the concept of non-determinism and the NFA. OpenDSA Deterministic Finite Automata
503 Closure Properties to Show a Language Non-Regular Programmed Instruction, Proof Visualization Programmed Instruction slideshow introducing the concept of using closure properties to prove a language non-regular. OpenDSA Non-Regular Language, Closure Property
504 Pumping Lemma for Context-Free Languages Programmed Instruction Programmed Instruction slideshow introducing a pumping lemma for Context-Free Languages. OpenDSA Context-Free Language, Pumping Lemma
505 Overlapping sets Code Completion An open interval is the set of all numbers between a lower and upper bound. In mathematical notation, we write CodeCheck Branches
506 c_funkcija_suma_kolicnika Napisati funkciju sa prototipom double suma_kolicnika(int a, int b) koja računa i vraća sumu: S=a/1+a/2+a/3+...+a/b. U glavnom programu unijeti a... PCEX
507 Printing A Sequence of Repeated Numbers (Case 1) Construct a program that receives an integer N from the user and prints a sequence of space-separated numbers from 1... PCEX nested loops
508 Printing A Sequence of Repeated Numbers (Case 2) Construct a program that receives an integer N from the user and prints a sequence of space-separated numbers from 1... PCEX nested loops
509 Passing Values Construct a function that increases the original integer's value by 1 and return the increased value's memory address. PCEX functions, value vs reference
510 Building a 2-3+ Tree Slideshow Algorithm Visualization Slideshow showing a series of insertions into a 2-3+ tree. OpenDSA Tree-Based Indexing, 2-3 Tree
511 Skip List Insert Slideshow Algorithm Visualization Slideshow showing examples of insertion into a Skip List. OpenDSA Skip List, Randomized Algorithm
512 The Sign of a Number Construct a program that determines whether an integer is positive, negative, or zero. PCEX conditionals, control flow, if-else statement
513 Printing A Sequence of Repeated Numbers Construct a program that receives an integer N from the user and prints a sequence of space-separated numbers from 1... PCEX nested loops
514 The Sign of a Number Construct a program that determines whether an integer is positive, negative, or zero. PCEX control flow, if statement, if-else statement
515 Printing A Sequence of Repeated Numbers Construct a program that receives an integer N from the user and prints a sequence of space-separated numbers from 1... PCEX for loop, nested loops
516 Printing A Sequence of Repeated Numbers (Case 2) Construct a program that receives an integer N from the user and prints a sequence of space-separated numbers from 1... PCEX for loop, nested loops
517 The Sign of a Number Construct a program that determines whether an integer is even or odd. PCEX if-else statement
518 Printing A Sequence of Repeated Numbers Construct a program that receives an integer N from the user and prints a sequence of space-separated numbers from 1... PCEX for loop, nested loops
519 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
520 Zipper words Code Completion Two strings of equal length can be interlaced like the teeth of a zipper to form a new word. For... CodeCheck Recursion
521 Format Phone Number Code Completion When people enter their telephone numbers into a form they use many different formats. Some examples are: CodeCheck Loops
522 c_vrijednosti_u_pokazivacima Napisati program koji deklariše dvije varijable tipa long int i double, i dodjeljuje njihove adrese u odgovarajuće pokazivače. Zatim ispisati... PCEX
523 Updating an Element in the Array (Case 1) Construct a program that initializes an array with three integers, changes the first element in the array, and finally, prints... PCEX arrays
524 Printing the Squares of Numbers Within a Specified Range (Case 1) Construct a program to write out the squares of even positive integers less than or equal to 10. PCEX for loop
525 Printing the Squares of Numbers Within a Specified Range (Case 2) Construct a program to write out the squares of odd positive integers less than 10. PCEX for loop
526 Construct a program with multiple if-elif statements Construct a program which checks whether each of the integers in interval from 1 to 100 is divisible by 2,... jsParsons
527 Construct a program with multiple if-elif statements Construct a program which checks which of the integers in interval from 1 to 50 is divisible by only 2,... jsParsons
528 Construir un programa con múltiples sentencias if-elif Construye un programa que verifique cuales de los enteros en el intervalo del 1 al 50 son divisibles solo por... jsParsons
529 Construct a program with multiple if-elif statements Construct a program which checks whether each of the integers in interval from 1 to 100 is divisible by 2,... jsParsons for loop
530 Reorganize the list Construct a program which partition the original list of integers such that all even numbers come first and all odd... jsParsons
531 Reorganize the list Construct a function which partition the original list of integers such that all even numbers come first and all odd... jsParsons
532 Reorganize the list Construct a function which partition the list of integers given as a parameter such that all even numbers come first... jsParsons
533 Reorganize the list Construct a program which partition the original list of integers such that all even numbers come first and all odd... jsParsons
534 Recursive Factorial Define a function that returns the factorial of a given positive integer. jsParsons functions, recursion, search, search algorithms, sorting, sorting algorithms
535 Linked List Insertion Special Case Slideshow Algorithm Visualization, Code Tracing Presentation Slideshow demonstrating some special cases related to insertion into a linked list. OpenDSA Linked List
536 Updating an Element in the Array Construct a program that initializes an array with three integers, changes the first element in the array, and finally, prints... PCEX arrays
537 Printing the Squares of Numbers Within a Specified Range Construct a program to write out the squares of even positive integers less than or equal to 10. PCEX for loop
538 Calculating the Average of the Input Numbers Construct a program that reads a series of integers from the user, sums them up, and calculates their average. The... PCEX while loop
539 Calculating the Average of the Input Numbers Construct a program that reads a series of integers from the user, sums them up, and calculates their average. The... PCEX loops, while loop
540 Printing the Squares of Numbers Within a Specified Range Construct a program to write out the squares of even positive integers less than or equal to 10. PCEX for loop, loops
541 Printing the Squares of Numbers Within a Specified Range (Case 2) Construct a program to write out the squares of odd positive integers less than 10. PCEX for loop
542 Comparing Adjacent Numbers in a Sequence of Numbers (Case 2) Construct a program that checks whether a sequence of integers, entered one at a time, contains adjacent integers that are... PCEX while loop
543 Calculating the Average of the Input Numbers (Case2) Construct a program that reads a series of integer values from the user, sums up the integers that are an... PCEX while loop
544 Printing the Squares of Numbers Within a Specified Range (Case 2) Construct a program to write out the squares of odd positive integers less than 10. PCEX for loop
545 (Strings) Change case - CSEdPad Given a string, this program converts the string into uppercase and lowercase. present on those variable to either uppercase or... AnnEx string
546 Construir un programa con múltiples sentencias if-elif Construye un programa que verifique si cada uno de los enteros del intervalo del 1 al 100 es divisible por... jsParsons conditionals, for loop
547 Construir un programa con múltiples sentencias if-elif Construye un programa que verifique si cada uno de los enteros del intervalo del 1 al 100 es divisible por... jsParsons conditionals, for loop
548 Greatest Common Factor Construct a program that recursively finds and returns the great common factor between of two integers. PCEX recursion, search, search algorithms, sorting, sorting algorithms
549 Greatest Common Factor Challenge Construct a program that recursively finds and returns the great common factor between of two integers. This is a simple... PCEX recursion
550 Birthday Calculator Exercises Calculation Exercise User must use the birthday calculator to determine the smallest number of inserts into a hash table of a specified... OpenDSA Hashing, Collision Resolution
551 Number of even and odd elements Code Completion Count the number of even and odd elements in an array of integers. Since you must return two counts, place... CodeCheck Arrays and Array Lists
552 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
553 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
554 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
555 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
556 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
557 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
558 Switch (Memphis) Demonstrates how to use Java switch statement. This program determines whether an integer between 1 and 10 is prime. (Prime... AnnEx switch statement
559 Calculating power Construct a function which calculates the power of a number. The function takes two integers as parameters (the base number... jsParsons
560 Input Manipulation Challenge Construct a program that takes a user's inputs and calculate the division of the inputs.Then convert the division result into... PCEX functions
561 Birthday Calculator Calculation, User Supplied Data Simple calculator for computing the probability of a collision occuring given a specified number of inserts into a specified table... OpenDSA Hashing, Collision Resolution
562 Alternative Binary Tree Sequential Representation Proficiency Exercise Tracing Exercise User must show the sequential representation for a given binary tree. This representation marks internal nodes. OpenDSA Sequential Representation, Binary Tree
563 Practicing Pointers: Links Tracing Exercise Third pointer assignment proficiency exercise. Users click on objects to show how pointers link nodes together into a linked list. OpenDSA Pointer, Object
564 Megesort Merging Proficiency Exercise Tracing Exercise Proficiency exercise for the Mergesort merge step. User must indicate what values are merged into the results array. OpenDSA Mergesort
565 Basic Closure Properties of Regular Languages Programmed Instruction Programmed Instruction Frameset presenting some basic operations that are closed for regular languages, like intersection. OpenDSA Regular Language, Closure Property
566 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
567 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
568 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
569 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
570 Make Person class comparable Code Completion The program below will fail to run because the Person class does not implement the Comparable interface. Modify the class... CodeCheck Tree Structures
571 A fast priority queue Code Completion It is possible to provide a fast priority queue implementation if the inserted items have a bounded number of integer... CodeCheck Tree Structures
572 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
573 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
574 Catching a NumberFormatException Code Completion In the following code, catch the NumberFormatException that is thrown when the argument of Integer.parseInt does not represent a number. CodeCheck Input and Output
575 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
576 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
577 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
578 Math class 2 random (Memphis) Demonstrates how to use Math.random() to simulate dice rolling. Math.random() by itself gives a uniformly distributed random decimal in the... AnnEx math
579 Celsius To Fahrenheit Conversion Construct a program that computes the Fahrenheit equivalent of an input Celsius value using the formula F = (9/5)C +... PCEX operators, primitive data types, variables
580 Fahrenheit to Celsius Conversion Construct a program that computes the Celsius equivalent of an input Fahrenheit value using the formula C = (F -... PCEX primitive data types
581 Vending Machine With Dollars and Quarters Suppose we have a vending machine that gives change. A customer selects an item for purchase and inserts a bill... PCEX
582 Vending Machine With Quarters-Dimes- and Nickels Suppose we have a vending machine that gives change. A customer selects an item for purchase and inserts a bill... PCEX
583 Vending Machine With Dollars and Quarters Suppose we have a vending machine that gives change. A customer selects an item for purchase and inserts a bill... PCEX operators, primitive data types, variables
584 Vending Machine With Quarters-Dimes- and Nickels Suppose we have a vending machine that gives change. A customer selects an item for purchase and inserts a bill... PCEX operators, primitive data types, variables
585 Calculating the Employees Wage Based on the Hours That the Employee Has Worked and an Hourly Pay Rate Construct a program for the payment department of a company to calculate the wage of an employee based on the... PCEX control flow, if-else statement
586 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
587 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
588 c_pritisak Napisati program koji deklariše cjelobrojnu varijablu pritisak i dodjeljuje joj neku vrijednost. Ako je vrijednost pritiska u intervalu [90, 120],... PCEX
589 c_zamjena_svakog_drugog_znaka Napisati program u kojem se u unešenom stringu zamijeni svaki drugi znak znakom '*'. Kandidati za zamjenu su znakovi koji... PCEX
590 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
591 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
592 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
593 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
594 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
595 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
596 Concatenando Caracteres de Dos Strings (Caso 2). Construye un programa que tenga una función que reciba dos strings y devuelva un string formado a partir de las... PCEX strings
597 Vending Machine With Dollars and Quarters Suppose we have a vending machine that gives change. A customer selects an item for purchase and inserts a bill... PCEX
598 Vending Machine With Quarters-Dimes- and Nickels Suppose we have a vending machine that gives change. A customer selects an item for purchase and inserts a bill... PCEX
599 Casting data types (Memphis) The code below demonstrates how to swap the values of x and y, and perform some casting operations to convert... AnnEx
600 Practicing using nested while and for loops Construct a program to print a multiplication chart given the chart_size. Assume that chart_size is set to a positive integer. jsParsons algorithm analysis, for loop, nested loops
601 Nested Loops For 2 Construct a program to print a multiplication chart given the chart_size. Assume that chart_size is set to a positive integer. jsParsons nested loops
602 Practicing nested while loops Construct a program to print an upside-down right triangle. Assume that 'size' is defined, and holds an integer value. jsParsons algorithm analysis, nested loops, while loop
603 Creating a function that checks if the string is a palindrome or not. Construct a function which determines whether the string given as a paramter is a palindrome. The function should be case... jsParsons recursion, search algorithms, sorting algorithms, strings
604 Creating a function that checks if the string is a palindrome or not. Construct a program which determines whether the original string is a palindrome. The function should be case insensitive i.e. upper... jsParsons search algorithms
605 Creating a function that checks if the string is a palindrome or not. Construct a function which determines whether the string given as a paramter is a palindrome. The function should be case... jsParsons recursion, search algorithms
606 Construct a function which determines whether the string given as a paramter is a palindrome. Construct a function that checks if the string is a palindrome or not. The function should be case insensitive i.e.... jsParsons recursion
607 Recursive Binary Search Construct a function that uses recursive binary search to find if a specific value is in a list (known as... PCEX recursion, search, search algorithms, sorting
608 Recursive Binary Search Challenge Construct a function that uses recursive binary search to find if a specific value is in a list (known as... PCEX recursion, search algorithms
609 On a chessboard, positions are marked with a letter between a and h for the column and a number between 1 and 8 for the row. Code Completion On a chessboard, positions are marked with a letter between a and h for the column and a number between... CodeCheck Two-Dimensional Arrays, No Loops
610 Full Binary Tree Serialization Slideshow: Mark Bits Algorithm Visualization Slideshow how to reconstruct a full binary tree from a serialized representation of its node values. All that is needed... OpenDSA Serialization, Binary Tree
611 Unit Converter Construct a program that computes the Fahrenheit equivalent of an input Celsius value using the formula F = (9/5)C +... PCEX arithmetic operators, constants, operators, primitive data types, variables
612 Vending Machine Suppose we have a vending machine that gives change. A customer selects an item for purchase and inserts a bill... PCEX arithmetic operators, constants, operators, primitive data types, variables
613 The Wage of an Employee Construct a program for the payment department of a company to calculate the wage of an employee based on the... PCEX control flow, if-else statement
614 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
615 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
616 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
617 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
618 Unit Converter Construct a program that computes the Fahrenheit equivalent of an input Celsius value using the formula F = (9/5)C +... PCEX operators, variables
619 The Wage of an Employee Construct a program for the payment department of a company to calculate the wage of an employee based on the... PCEX control flow, if statement, if-else statement
620 Vending Machine Suppose we have a vending machine that gives change. A customer selects an item for purchase and inserts a bill... PCEX operators, variables
621 Fahrenheit to Celsius Conversion Construct a program that computes the Celsius equivalent of an input Fahrenheit value using the formula C = (F -... PCEX arithmetic operators, constants, data types, operators, primitive data types, variables
622 Vending Machine With Quarters, Dimes, and Nickels Suppose we have a vending machine that gives change. A customer selects an item for purchase and inserts a bill... PCEX arithmetic operators, constants, operators, primitive data types, variables
623 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
624 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
625 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
626 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
627 Unit Converter Construct a program that computes the Celsius equivalent of an input Fahrenheit value using the formula C = (F -... PCEX operators, variables
628 Vending Machine Suppose we have a vending machine that gives change. A customer selects an item for purchase and inserts a bill... PCEX operators, variables
629 ZipperWordGenerator Code Completion You are given two strings of equal length. Your task is to generate all zipper words that can be produced... CodeCheck Recursion
630 Reading a serialized array of objects Code Completion Your task is to read a serialized array of objects. You are given a FileInputStream, and you need to read... CodeCheck Advanced Input and Output
631 Throw IllegalArgumentException in SavingsAccount constructor Code Completion The SavingsAccount class given below is similar to that of Chapter 9. It should be illegal to construct savings accounts... CodeCheck Input and Output
632 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
633 Number guesser Code Completion Your task is to implement a number guesser that works on the principle of a binary search. In each step,... CodeCheck Sorting and Searching
634 On a chessboard, positions are marked with a letter between a and h for the column and a number between 1 and 8 for the row. Code Completion On a chessboard, positions are marked with a letter between a and h for the column and a number between... CodeCheck Two-Dimensional Arrays, No Loops
635 Counting the Number of Valid and Banned Product Codes (Case 2) Suppose a hypothetical company uses codes to represent its various products. A product code includes, among other information, a character... PCEX exception handling, exceptions
636 Calculating the Wage of an Employee at the Customer Service Call Center Construct a program for the payment department of a company to calculate the wage of an employee who works at... PCEX control flow, if-else statement
637 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
638 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
639 PANDAS GroupBy 1 From a class of 200 students, you have a dataset of students, their section, and grades. get the mean grade... PCEX json, pandas
640 Counting the Number of Valid and Banned Product Codes (Case 2) Suppose a hypothetical company uses codes to represent its various products. A product code includes, among other information, a character... PCEX exception handling, exceptions
641 Calculating the Wage of an Employee at the Customer Service Call Center Construct a program for the payment department of a company to calculate the wage of an employee who works at... PCEX control flow, if-else statement
642 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
643 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
644 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
645 BMI Calculator BMI is a measure of body fat based on height and weight that applies to adult men and women. BMI... PCEX operators, variables
646 Counting the Number of Valid and Banned Product Codes Suppose a hypothetical company uses codes to represent its various products. A product code includes, among other information, a character... PCEX exception handling
647 The Wage of an Employee Construct a program for the payment department of a company to calculate the wage of an employee who works at... PCEX if-else statement
648 Popular boys and girls names Code Completion The web sites http://www.census.gov/genealogy/names/dist.male.first and http://www.census.gov/genealogy/names/dist.female.first contain baby names sorted by popularity. The format is very simple: name, frequency, cumulative... CodeCheck Networking
649 Given strings s and t, return a string in which all characters in t are removed from s. Code Completion Given strings s and t, return a string in which all characters in t are removed from s. CodeCheck Strings, Finding Substrings
650 Given strings s and t, return a string in which all characters in t are removed from s. Code Completion Given strings s and t, return a string in which all characters in t are removed from s. CodeCheck Strings, Finding Substrings
651 Given a string s and a string t, return a string in which all the characters of s that occur in t have been replaced by a _ character. Code Completion Given a string s and a string t, return a string in which all the characters of s that occur... CodeCheck Strings, Other String Operations
652 Given a string s and a string t, return a string in which all the characters of s that occur in t have been replaced by a _ sign. Code Completion Given a string s and a string t, return a string in which all the characters of s that occur... CodeCheck Strings, Other String Operations