Showing 0-0 of 0 results
| # | Exercise Title | Features | Description | Platform | Keywords |
|---|---|---|---|---|---|
| 1 | 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 | |
| 2 | Updating an Element in the Array (Case 2) | Construct a program that initializes an array with five floating-point numbers, changes the second element in the array, and finally,... | PCEX | arrays | |
| 3 | Updating an Element in the Array (Case 3) | Construct a program that initializes an array with four strings, changes the last element in the array, and finally, prints... | PCEX | arrays | |
| 4 | Modifying an Array (Case 1) | Construct a program that increments all elements of the array by 1. | PCEX | arrays | |
| 5 | Modifying an Array (Case 2) | Construct a program that swaps pairs of adjacent elements of the array. For example, if the array is {1, 2,... | PCEX | arrays | |
| 6 | Creating an Array of Odd Numbers | Construct a program that creates an array of first ten positive odd numbers. | PCEX | arrays | |
| 7 | Creating an Array of User Inputs | Construct a program that creates an array of eight string values received from the user. | PCEX | arrays | |
| 8 | Finding the Maximum Value in an Array | Write a program that finds the maximum value in an array. | PCEX | arrays | |
| 9 | Finding the Minimum Value in an Array | Write a program that finds the minimum value in an array. | PCEX | arrays | |
| 10 | Calculating the Sum of the Values in an Array | Construct a program that computes the sum of all the values in an array. | PCEX | arrays | |
| 11 | Calculating the Average of the Values in the Array | Construct a program that calculates the average of all the values in an array. The program should handle arrays with... | PCEX | arrays | |
| 12 | Rotating the Array Values to the Left by One Position | Construct a program that has a method that receives an array of values and returns the array rotated to the... | PCEX | arrays | |
| 13 | Rotating the Array Values to the Left by Two Position | Construct a program that has a method that receives an array of values and returns the array rotated to the... | PCEX | arrays | |
| 14 | Rotating the Array Values to the Right by One Position | Construct a program that has a method that receives an array of values and returns the array rotated to the... | PCEX | arrays | |
| 15 | Rotating the List Values to the Right by Two Position | Construct a program that has a function that receives a list of values and returns the list rotated to the... | PCEX | arrays | |
| 16 | Printing Common Elements in Two Arrays | Construct a program that has a method that receives two arrays and prints the values in the 2nd array that... | PCEX | arrays | |
| 17 | Printing the Total Number of Times Elements of One Array Appear in Another Array | Construct a program that has a method that receives two arrays and prints the total number of times the elements... | PCEX | arrays | |
| 18 | Creating an array that Contains the Numbers of Times Each Element of One Array Appears in Another Array | Construct a program that has a function that receives two arrays and creates an array that contains the number of... | PCEX | arrays | |
| 19 | Finding the Number of Days Above the Average Temperature | Construct a program that reads a series of temperatures and reports the average temperature and the number of the days... | PCEX | arrays | |
| 20 | Displaying the Days That are Above 32 Degrees Fahrenheit | Construct a program that reads a series of temperatures and reports the days that are above 32 degrees Fahrenheit. Assume... | PCEX | arrays | |
| 21 | 3-19_ArrayDemos | Java BehaviorExample for demonstrating 3-19_ArrayDemos | AnnEx | arrays | |
| 22 | 3-19_ShowBackwards | Java BehaviorExample for demonstrating 3-19_ShowBackwards | AnnEx | arrays | |
| 23 | (Arrays) Grade scores - CSEdPad | This program stores the grades of 10 students in the Natural Language Processing class. Then, the program calculates the highest... | AnnEx | arrays | |
| 24 | 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 | |
| 25 | Modifying an Array | Construct a program that increments all elements of the array by 1. | PCEX | arrays | |
| 26 | Creating an Array of Numbers/Strings | Construct a program that creates an array of first ten positive odd numbers. | PCEX | arrays | |
| 27 | Finding the Max/Min Value in an Array | Write a program that finds the maximum value in an array. | PCEX | arrays | |
| 28 | Calculating Sum/Average of the Array Values | Construct a program that computes the sum of all the values in an array. | PCEX | arrays | |
| 29 | Rotating the Array Values | Construct a program that has a method that receives an array of values and returns the array rotated to the... | PCEX | arrays | |
| 30 | Searching Values of an Array in Another Array | Construct a program that has a method that receives two arrays and prints the values in the 2nd array that... | PCEX | arrays | |
| 31 | Processing a List of Temperature Values | Construct a program that reads a series of temperatures and reports the average temperature and the number of the days... | PCEX | arrays | |
| 32 | Updating an Element in the Array (Case 2) | Construct a program that initializes an array with five floating-point numbers, changes the second element in the array, and finally,... | PCEX | arrays | |
| 33 | Updating an Element in the Array (Case 3) | Construct a program that initializes an array with four strings, changes the last element in the array, and finally, prints... | PCEX | arrays | |
| 34 | Modifying an Array (Case 2) | Construct a program that swaps pairs of adjacent elements of the array. For example, if the array is {1, 2,... | PCEX | arrays | |
| 35 | Creating an Array of User Inputs | Construct a program that creates an array of eight string values received from the user. | PCEX | arrays | |
| 36 | Finding the Minimum Value in an Array | Write a program that finds the minimum value in an array. | PCEX | arrays | |
| 37 | Calculating the Average of the Values in the Array | Construct a program that calculates the average of all the values in an array. The program should handle arrays with... | PCEX | arrays | |
| 38 | Rotating the Array Values to the Left by Two Position | Construct a program that has a method that receives an array of values and returns the array rotated to the... | PCEX | arrays | |
| 39 | Rotating the Array Values to the Right by One Position | Construct a program that has a method that receives an array of values and returns the array rotated to the... | PCEX | arrays | |
| 40 | Rotating the List Values to the Right by Two Position | Construct a program that has a function that receives a list of values and returns the list rotated to the... | PCEX | arrays | |
| 41 | Searching Arrays (Case 3) | Construct a program that has a function that receives two arrays and creates an array that contains the number of... | PCEX | arrays | |
| 42 | Searching Arrays (Case 2) | Construct a program that has a method that receives two arrays and prints the total number of times the elements... | PCEX | arrays | |
| 43 | Displaying the Days That are Above 32 Degrees Fahrenheit | Construct a program that reads a series of temperatures and reports the days that are above 32 degrees Fahrenheit. Assume... | PCEX | arrays | |
| 44 | Loop Array | Java PredictingFinalResult for demonstrating Loop Array | QuizJET | arrays | |
| 45 | Question 7 | Java PredictingFinalResult for demonstrating Question 7 | QuizJET | arrays | |
| 46 | Arrays 3 | Java PredictingFinalResult for demonstrating Arrays 3 | QuizJET | 2d arrays, arrays, classes, objects | |
| 47 | Arrays 4 | Java PredictingFinalResult for demonstrating Arrays 4 | QuizJET | 2d arrays, arraylist, arrays, loops, overloading | |
| 48 | Arrays 5 | Java PredictingFinalResult for demonstrating Arrays 5 | QuizJET | 2d arrays, arrays, classes, objects | |
| 49 | Select a short word | Code Completion | You want to pick a particular “short” word in an array of words, that is, words with at most three... | CodeCheck | Arrays and Array Lists |
| 50 | Short words | Code Completion | You want to collect all “short” words in an array of words, that is, words with at most three characters.... | CodeCheck | Arrays and Array Lists |
| 51 | Run lengths | Code Completion | A run is a sequence of adjacent repeated values. For example, the array with elements | CodeCheck | Arrays and Array Lists |
| 52 | Letter frequency (count) | Code Completion | Write a method that computes how often each letter A-Z or a-z occurs in a string. Don't distinguish between upper-... | CodeCheck | Arrays and Array Lists |
| 53 | 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 |
| 54 | 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 |
| 55 | Same beginning and end sequence | Code Completion | Your task is to determine whether an array has the same sequence of numbers at the beginning and the end,... | CodeCheck | Arrays and Array Lists |
| 56 | List of numbers | Code Completion | When printing the elements in an array, you want commas between the elements, such as | CodeCheck | Arrays and Array Lists |
| 57 | Diagonals on board | Code Completion | You are given a class similar to the TicTacToe board in Section 7.6, but the board can have more than... | CodeCheck | Arrays and Array Lists |
| 58 | Border on board | Code Completion | You are given a class similar to the TicTacToe board in Section 7.6, but the board can have more than... | CodeCheck | Arrays and Array Lists |
| 59 | Remove short words | Code Completion | Remove all short words (that is, words of length at most 3) from an array. Move down the remaining array... | CodeCheck | Arrays and Array Lists |
| 60 | Railfence cypher | Code Completion | A simple way of encoding a message is the railfence cypher. The message is written downwards and diagonally on rails... | CodeCheck | Arrays and Array Lists |
| 61 | 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 |
| 62 | Letter frequency (percentage) | Code Completion | Write a method that computes the frequency (as a percentage between 0.0 and 1.0) of each letter A-Z or a-z... | CodeCheck | Arrays and Array Lists |
| 63 | 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 |
| 64 | 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 |
| 65 | 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 |
| 66 | 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 |
| 67 | 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 |
| 68 | 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 |
| 69 | Given an array of element, find the shortest distance between two consecutive elements. | Code Completion | Given an array of element, find the shortest distance between two consecutive elements. | CodeCheck | Arrays - Simple Exercises, Maximum and Minimum |
| 70 | 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 |
| 71 | 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 |
| 72 | 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 |
| 73 | 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 |
| 74 | 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 |
| 75 | 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 |
| 76 | 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 |
| 77 | 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 |
| 78 | Given an array of floating-point numbers, return an array of the averages of consecutive element pairs of the original array. | Code Completion | Given an array of floating-point numbers, return an array of the averages of consecutive element pairs of the original array. | CodeCheck | Arrays - Simple Exercises, Sums, Averages, Products |
| 79 | 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 |
| 80 | 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 |
| 81 | Given an array of strings and a string s, return the average length of all strings containing s. | Code Completion | Given an array of strings and a string s, return the average length of all strings containing s. | CodeCheck | Arrays - Simple Exercises, Sums, Averages, Products |
| 82 | 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 |
| 83 | 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 |
| 84 | 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 |
| 85 | 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 |
| 86 | 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 |
| 87 | 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 |
| 88 | 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 |
| 89 | 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 |
| 90 | 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 |
| 91 | 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 |
| 92 | 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 |
| 93 | 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 |
| 94 | 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 |
| 95 | 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 |
| 96 | 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 |
| 97 | 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 |
| 98 | Given an array of integers and an integer n, remove all elementts > n or < -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 |
| 99 | 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 |
| 100 | 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 |
| 101 | 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 |
| 102 | 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 |
| 103 | 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 |
| 104 | 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 |
| 105 | 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 |
| 106 | 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 |
| 107 | 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 |
| 108 | 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 |
| 109 | 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 |
| 110 | Given two arrays a and b, remove all elements of b from a. | Code Completion | Given two arrays a and b, remove all elements of b from a. | CodeCheck | Arrays - Simple Exercises, Double Loops |
| 111 | Given an array a, return the longest n so that the first n elements equal the last n elements. | Code Completion | Given an array a, return the longest n so that the first n elements equal the last n elements. | CodeCheck | Arrays - Simple Exercises, Double Loops |
| 112 | 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 |
| 113 | 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 |
| 114 | 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 |
| 115 | Given two arrays a and b, return an array that contains all elements occurring in a but not in b. | Code Completion | Given two arrays a and b, return an array that contains all elements occurring in a but not in b. | CodeCheck | Arrays - Simple Exercises, Double Loops |
| 116 | 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 |
| 117 | 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 |
| 118 | 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 |
| 119 | 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 |
| 120 | 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 |
| 121 | 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 |
| 122 | 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 |
| 123 | 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 |
| 124 | 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 |
| 125 | Given an array a, count how many times the ith element from the front equals the ith element from the back. | Code Completion | Given an array a, count how many times the ith element from the front equals the ith element from the... | CodeCheck | Arrays - Simple Exercises, Counting Elements |
| 126 | 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 |
| 127 | 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 |
| 128 | Updating Two-Dimensional Array (Case 1) | Construct a program that initializes a 3x4 two-dimensional matrix that has the numbers 1 through 12 for entries, sets the... | PCEX | 2d arrays | |
| 129 | Updating Two-Dimensional Array (Case 2) | Construct a program that initializes a 3x3 two-dimensional matrix that has the numbers 1 through 9 for entries, sets the... | PCEX | 2d arrays | |
| 130 | Updating Two-Dimensional Array (Case 3) | Construct a program that initializes a 2x4 two-dimensional matrix that has multiples of 10 from 10 to 80 for entries,... | PCEX | 2d arrays | |
| 131 | Printing Table of Medal Winner Counts with Row Totals | Assume that we have an array of countries that stores the names of the seven countries that participated in the... | PCEX | 2d arrays | |
| 132 | Printing Table of Medal Winner Counts with Row and Column Totals | Assume that we have an array of countries that stores the names of the seven countries that participated in the... | PCEX | 2d arrays | |
| 133 | Determining the Maximum Rating for Each Soda in The Survey | Suppose a soda manufacturer held a taste test for four new flavors to determine if people liked them. The manufacturer... | PCEX | 2d arrays | |
| 134 | Determining the Average Rating for Each Soda in The Survey | Suppose a soda manufacturer held a taste test for four new flavors to determine if people liked them. The manufacturer... | PCEX | 2d arrays | |
| 135 | Determining the Average Ratings of each Respondent and Average Ratings Given to Each Soda in the Survey | Suppose a soda manufacturer held a taste test for four new flavors to determine if people liked them. The manufacturer... | PCEX | 2d arrays | |
| 136 | 4-02_Arrays2D | Java BehaviorExample for demonstrating 4-02_Arrays2D | AnnEx | 2d arrays | |
| 137 | 4-02_TicTacToe | Java BehaviorExample for demonstrating 4-02_TicTacToe | AnnEx | 2d arrays | |
| 138 | Array Declaration | Array Declaration | AnnEx | 2d arrays, arrays | |
| 139 | Create 2D Array | Create 2D Array | AnnEx | 2d arrays, arrays, variables | |
| 140 | (Two-dim arrays) Matrix multiply - CSEdPad | This program demonstrates the multiplication of two matrices using a two-dimensional array | AnnEx | 2d arrays | |
| 141 | Enhanced For Loop Demo | Java BehaviorExample for demonstrating Enhanced For Loop Demo | AnnEx | 2d arrays, arrays | |
| 142 | For-Each 2 | For-Each 2 | AnnEx | 2d arrays, arrays | |
| 143 | For-Each | For-Each | AnnEx | 2d arrays, arrays | |
| 144 | For-each with char array | For-each with char array | AnnEx | 2d arrays, arrays | |
| 145 | Multidimensional Array Iteration | Multidimensional Array Iteration | AnnEx | 2d arrays, arrays | |
| 146 | For-each with break | For-each with break | AnnEx | 2d arrays, arrays | |
| 147 | Tic-Tac-Toe | Java BehaviorExample for demonstrating Tic-Tac-Toe | AnnEx | 2d arrays, arrays | |
| 148 | Use 2D Array | Use 2D Array | AnnEx | 2d arrays, arithmetic operations, arrays, variables | |
| 149 | Using an Array2 | Using an Array2 | AnnEx | 2d arrays, arrays | |
| 150 | Using an Array1 | Using an Array1 | AnnEx | 2d arrays, arrays | |
| 151 | Array Demo | Java CodeVisualization for demonstrating Array Demo | JSVEE | 2d arrays, arrays | |
| 152 | Enhanced For Loop Demo | Java CodeVisualization for demonstrating Enhanced For Loop Demo | JSVEE | 2d arrays, arraylist, arrays, for loop | |
| 153 | For-Each | Java CodeVisualization for demonstrating For-Each | JSVEE | 2d arrays, arraylist, arrays, loops | |
| 154 | For-each with break | Java CodeVisualization for demonstrating For-each with break | JSVEE | 2d arrays, arraylist, arrays, loops | |
| 155 | 2D array Demo | Java CodeVisualization for demonstrating 2D array Demo | JSVEE | 2d arrays, arrays | |
| 156 | Use 2D Array | Java CodeVisualization for demonstrating Use 2D Array | JSVEE | 2d arrays, arrays | |
| 157 | Using an Array2 | Java CodeVisualization for demonstrating Using an Array2 | JSVEE | 2d arrays, arrays | |
| 158 | Updating an Element in the 2D Array | Construct a program that initializes a 3x4 two-dimensional matrix that has the numbers 1 through 12 for entries, sets the... | PCEX | 2d arrays, arrays | |
| 159 | Printing Table of Medal Counts with Row/Column Total | Assume that we have an array of countries that stores the names of the seven countries that participated in the... | PCEX | 2d arrays | |
| 160 | Processing the Results of a Soda Survey | Suppose a soda manufacturer held a taste test for four new flavors to determine if people liked them. The manufacturer... | PCEX | 2d arrays | |
| 161 | Updating Two-Dimensional Array (Case 2) | Construct a program that initializes a 3x3 two-dimensional matrix that has the numbers 1 through 9 for entries, sets the... | PCEX | 2d arrays, arrays | |
| 162 | Updating Two-Dimensional Array (Case 3) | Construct a program that initializes a 2x4 two-dimensional matrix that has multiples of 10 from 10 to 80 for entries,... | PCEX | 2d arrays, arrays | |
| 163 | Printing Table of Medal Winner Counts with Row and Column Totals | Assume that we have an array of countries that stores the names of the seven countries that participated in the... | PCEX | 2d arrays | |
| 164 | Processing Soda Survery (Case 2) | Suppose a soda manufacturer held a taste test for four new flavors to determine if people liked them. The manufacturer... | PCEX | 2d arrays | |
| 165 | Processing Soda Survery (Case 3) | Suppose a soda manufacturer held a taste test for four new flavors to determine if people liked them. The manufacturer... | PCEX | 2d arrays | |
| 166 | 2D Arrays 1 | Java PredictingFinalResult for demonstrating 2D Arrays 1 | QuizJET | 2d arrays, arrays | |
| 167 | 2D Arrays 2 | Java PredictingFinalResult for demonstrating 2D Arrays 2 | QuizJET | 2d arrays, arrays | |
| 168 | Problem 7 | Java PredictingFinalResult for demonstrating Problem 7 | QuizJET | 2d arrays, arrays | |
| 169 | 2D Arrays 4 | Java PredictingFinalResult for demonstrating 2D Arrays 4 | QuizJET | 2d arrays, arrays | |
| 170 | Problem 5 | Java PredictingFinalResult for demonstrating Problem 5 | QuizJET | 2d arrays, arrays | |
| 171 | Problem 6 | Java PredictingFinalResult for demonstrating Problem 6 | QuizJET | 2d arrays, arrays | |
| 172 | Enhanced For Loop | Java PredictingFinalResult for demonstrating Enhanced For Loop | QuizJET | 2d arrays, arrays, loops | |
| 173 | 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 |
| 174 | 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 |
| 175 | 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 |
| 176 | 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 |
| 177 | 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 |
| 178 | Repeat with NW NE SW SE. | Code Completion | Repeat with NW NE SW SE. | CodeCheck | Two-Dimensional Arrays, No Loops |
| 179 | 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 |
| 180 | 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 |
| 181 | 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 |
| 182 | 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 |
| 183 | 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 |
| 184 | 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 |
| 185 | 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 |
| 186 | Repeat the previous exercise with subarrays that are not necessarily square. | Code Completion | Repeat the previous exercise with subarrays that are not necessarily square. | CodeCheck | Two-Dimensional Arrays, Complex Loops |
| 187 | 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 |
| 188 | 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 |
| 189 | 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 |
| 190 | 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 |
| 191 | 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 |
| 192 | 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 |
| 193 | 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 |
| 194 | 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 |
| 195 | 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 |
| 196 | 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 |
| 197 | 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 |
| 198 | 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 |
| 199 | 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 |
| 200 | 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 |
| 201 | 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 |
| 202 | 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 |
| 203 | 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 |
| 204 | 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 |
| 205 | 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 |
| 206 | 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 |
| 207 | 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 |
| 208 | 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 |
| 209 | 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 |
| 210 | 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 |
| 211 | 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 |
| 212 | 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 |
| 213 | 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 |
| 214 | 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 |
| 215 | 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 |
| 216 | 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 |
| 217 | 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 |
| 218 | Repeat the preceding exercise where the array dimensions need not match, filling positions that exist in neither array with 0. | Code Completion | Repeat the preceding exercise where the array dimensions need not match, filling positions that exist in neither array with 0. | CodeCheck | Two-Dimensional Arrays, Producing 2D Arrays |
| 219 | 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 |
| 220 | Given two two-dimensional arrays with the same number of rows, return a list that places them side by side. | Code Completion | Given two two-dimensional arrays with the same number of rows, return a list that places them side by side. | CodeCheck | Two-Dimensional Arrays, Producing 2D Arrays |
| 221 | Repeat where the row lengths don't have to match. | Code Completion | Repeat where the row lengths don't have to match. Fill the shorter array with zeroes. | CodeCheck | Two-Dimensional Arrays, Producing 2D Arrays |
| 222 | Given a two-dimensional array a, return a list whose [i][j] element is the average of the neighbors of a[i][j] in the N, E, S, W direction. | Code Completion | Given a two-dimensional array a, return a list whose [i][j] element is the average of the neighbors of a[i][j] in... | CodeCheck | Two-Dimensional Arrays, Producing 2D Arrays |
| 223 | 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 |
| 224 | 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 |
| 225 | 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 |
| 226 | 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 |
| 227 | 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 |
| 228 | 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 |
| 229 | 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 |
| 230 | 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 |
| 231 | 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 |
| 232 | 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 |
| 233 | 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 |
| 234 | 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 |
| 235 | 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 |
| 236 | 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 |
| 237 | 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 |
| 238 | 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 |
| 239 | 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 |
| 240 | Repeat the previous exercise with subarrays that are not necessarily square. | Code Completion | Repeat the previous exercise with subarrays that are not necessarily square. | CodeCheck | Two-Dimensional Arrays, Complex Loops |
| 241 | 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 |
| 242 | 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 |
| 243 | 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 |
| 244 | 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 |
| 245 | 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 |
| 246 | 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 |
| 247 | 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 |
| 248 | Repeat the preceding exercise where the array dimensions need not match, filling positions that exist in neither array with 0. | Code Completion | Repeat the preceding exercise where the array dimensions need not match, filling positions that exist in neither array with 0. | CodeCheck | Two-Dimensional Arrays, Producing 2D Arrays |
| 249 | 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 |
| 250 | Given two two-dimensional arrays with the same number of rows, return an array that places them side by side. | Code Completion | Given two two-dimensional arrays with the same number of rows, return an array that places them side by side. | CodeCheck | Two-Dimensional Arrays, Producing 2D Arrays |
| 251 | Repeat where the row lengths don't have to match. | Code Completion | Repeat where the row lengths don't have to match. Fill the shorter array with zeroes. | CodeCheck | Two-Dimensional Arrays, Producing 2D Arrays |
| 252 | 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 |
| 253 | Given a two-dimensional array a, return an array whose [i][j] element is the average of the neighbors of a[i][j] in the N, E, S, W direction. | Code Completion | Given a two-dimensional array a, return an array whose [i][j] element is the average of the neighbors of a[i][j] in... | CodeCheck | Two-Dimensional Arrays, Producing 2D Arrays |
| 254 | 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 |
| 255 | 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 |
| 256 | 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 |
| 257 | 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 |
| 258 | 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 |
| 259 | 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 |
| 260 | 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 |
| 261 | 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 |
| 262 | 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 |
| 263 | 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 |
| 264 | 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 |
| 265 | 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 |
| 266 | 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 |
| 267 | 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 |
| 268 | 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 |
| 269 | Repeat with NW NE SW SE. | Code Completion | Repeat with NW NE SW SE. | CodeCheck | Two-Dimensional Arrays, No Loops |
| 270 | 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 |
| 271 | 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 |
| 272 | 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 |
| 273 | jLabArray1 | Java PredictingFinalResult for demonstrating jLabArray1 | QuizJET | arraylist, arrays, loops, overloading | |
| 274 | Arrays Introduction Review Questions | Question, Battery | CS1-level introduction to arrays review questions. | OpenDSA | Array |
| 275 | Arrays Module Review Questions | Question, Battery | CS1-level introduction to arrays module review questions. | OpenDSA | Array, For-Each Loop |
| 276 | ArraysSubscript | C++ BehaviorExample for demonstrating ArraysSubscript | AnnEx | ||
| 277 | Static Arrays | C++ BehaviorExample for demonstrating Static Arrays | AnnEx | ||
| 278 | Using Arrays | C++ BehaviorExample for demonstrating Using Arrays | AnnEx | ||
| 279 | 2D Arrays Review Questions | Question, Battery | CS1-level introduction to 2D arrays review questions. | OpenDSA | Array |
| 280 | IS12:: arraysum.c (9.1) | C BehaviorExample for demonstrating IS12:: arraysum.c (9.1) | WebEx | ||
| 281 | Using 2D Arrays | C++ BehaviorExample for demonstrating Using 2D Arrays | AnnEx | ||
| 282 | One Dim Arrays | C++ BehaviorExample for demonstrating One Dim Arrays | AnnEx | ||
| 283 | Iterating with Arrays Review Questions | Question, Battery | CS1-level iterating over arrays review questions. | OpenDSA | Array, For-Each Loop |
| 284 | Iterating with 2D Arrays Review Questions | Question, Battery | CS1-level interating with 2D arrays review questions. | OpenDSA | Array |
| 285 | q_py_2d_arrays1_es | Python PredictingFinalResult for demonstrating q_py_2d_arrays1_es | QuizPET | 2d list | |
| 286 | q_py_2d_arrays2_es | Python PredictingFinalResult for demonstrating q_py_2d_arrays2_es | QuizPET | 2d list | |
| 287 | q_py_2d_arrays3_es | Python PredictingFinalResult for demonstrating q_py_2d_arrays3_es | QuizPET | 2d list | |
| 288 | q_py_2d_arrays4_es | Python PredictingFinalResult for demonstrating q_py_2d_arrays4_es | QuizPET | 2d list | |
| 289 | Generic matrix class as array of arrays | 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 |
| 290 | Unique words in two string sets | Code Completion | Implement a method that receives two arrays of strings and determines which words are unique to each. | CodeCheck | Tree Structures |
| 291 | Radix Sort Visualization: Array Implementation | Algorithm Visualization, User Supplied Data | Algorithm Visualization for Radix Sort, implemented using arrays. User can select data for the visualization. | OpenDSA | Radix Sort |
| 292 | Generic method for filling an array | Code Completion | The class below has a static method which sets all elements of an array to a value. The method is... | CodeCheck | Generic Types |
| 293 | Create ArrayList | Create ArrayList | AnnEx | arraylist | |
| 294 | ArrayList Demo | ArrayList Demo | AnnEx | arraylist | |
| 295 | ArrayList Tester | Java BehaviorExample for demonstrating ArrayList Tester | AnnEx | arraylist | |
| 296 | Bank | Java BehaviorExample for demonstrating Bank | AnnEx | arraylist | |
| 297 | (Arraylists) Ex1 - CsEdPad | This program shows a person original travel list and creating new travel list from original and making some changes on... | AnnEx | arraylist | |
| 298 | Grade Book | Java BehaviorExample for demonstrating Grade Book | AnnEx | arraylist | |
| 299 | For-Each with ArrayList | For-Each with ArrayList | AnnEx | arraylist | |
| 300 | ArrayList Demo | Java CodeVisualization for demonstrating ArrayList Demo | JSVEE | arraylist, list | |
| 301 | For-Each with ArrayList | Java CodeVisualization for demonstrating For-Each with ArrayList | JSVEE | arraylist, list | |
| 302 | Switch Demo 2 | Java CodeVisualization for demonstrating Switch Demo 2 | JSVEE | arraylist, conditionals, switch statement | |
| 303 | Lists and ArrayList Class Review Quiz | Question, Battery | Introduction to lists and the ArrayList class for CS1 review questions. | OpenDSA | ArrayList Class |
| 304 | 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 |
| 305 | 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 |
| 306 | Array-Based List Review Questions | Question, Battery | Array-based list battery of self-assessment questions. | OpenDSA | Array-Based List |
| 307 | Circular Array-Based Queue Dequeue Proficiency Exercise | Tracing Exercise | Array-based queue dequeue proficiency exercise. Users click on values in a circular array display to show how dequeue takes place. | OpenDSA | Array-Based Queue |
| 308 | Circular Array-Based Queue Enqueue Proficiency Exercise | Tracing Exercise | Array-based queue enqueue proficiency exercise. Users click on values in a circular array display to show how enqueue takes place. | OpenDSA | Array-Based Queue |
| 309 | Array-Based Stacks Pop Proficiency Exercise | Tracing Exercise | Array-based stack pop proficiency exercise. Users click on values in a linked list display to show how pop takes place. | OpenDSA | Array-Based Stack |
| 310 | Array-Based Stack Push Proficiency Exercise | Tracing Exercise | Array-based stack push proficiency exercise. Users click on values in a linked list display to show how push takes place. | OpenDSA | Array-Based Stack |
| 311 | Recursive Operations in a Binary Tree | Presentation | Slideshow discussing recursive operations on a binary tree. | OpenDSA | Array-Based Stack |
| 312 | Array-based List Append Slideshow | Algorithm Visualization, Code Tracing Presentation | Slideshow demonstrating the array-based list append operation. | OpenDSA | Array-Based List |
| 313 | Array-based List Insertion Slideshow | Algorithm Visualization, Code Tracing Presentation | Slideshow demonstrating array-based list insertion. | OpenDSA | Array-Based List |
| 314 | Array-based List Introduction Slideshow | Presentation | Slideshow presenting the array-based list implementation. | OpenDSA | Array-Based List |
| 315 | Array-based List Remove Slideshow | Algorithm Visualization, Code Tracing Presentation | Slideshow demonstrating array-based list remove. | OpenDSA | Array-Based List |
| 316 | Array-based List Private Data Members | Code Tracing Presentation | Slideshow presenting the private data members from an array-based list implementation. | OpenDSA | Array-Based List |
| 317 | Array-Based Queue Design Problem Slideshow | Algorithm Visualization | Slideshow presenting the problem that elements in an array-based queue will eventually run out of space. | OpenDSA | Array-Based Queue |
| 318 | Circular Array-Based Queue Design Slideshow: Concepts | Algorithm Visualization | Slideshow presenting the concept of a circular array-based queue. | OpenDSA | Array-Based Queue |
| 319 | Array-Based Queue Drift Slideshow | Algorithm Visualization | Slideshow presenting the a design that allows elements in an array-based queue to drift. | OpenDSA | Array-Based Queue |
| 320 | Circular Array-Based Queue Empty Representation Slideshow | Algorithm Visualization | Slideshow presenting design options for recognizing when an array-based queue is empty or full. | OpenDSA | Array-Based Queue |
| 321 | Array-Based Queue Positions Slideshow | Algorithm Visualization | Slideshow presenting an initial design for storing a queue in an array. | OpenDSA | Array-Based Queue |
| 322 | Circular Array-Based Queue Design Slideshow: Data Members | Code Tracing Presentation | Slideshow presenting the data members for a circular array-based queue implementation. | OpenDSA | Array-Based Queue |
| 323 | Array-Based Stack Pop Slideshow | Algorithm Visualization, Code Tracing Presentation | Slideshow discussing the implementation for the pop operation in an array-based stack. | OpenDSA | Array-Based Stack |
| 324 | Array-Based Stack Push Slideshow | Algorithm Visualization, Code Tracing Presentation | Slideshow discussing the implementation for the push operation in an array-based stack. | OpenDSA | Array-Based Stack |
| 325 | Array-Based Stack Top Slideshow | Code Tracing Presentation | Slideshow discussing the implementation for the top position in an array-based stack. | OpenDSA | Array-Based Stack |
| 326 | Array-Based Stack Data Members Slideshow | Code Tracing Presentation | Slideshow presenting the data members for an array-based stack implementation. | OpenDSA | Array-Based Stack |
| 327 | Creating a List of Words from File(s) | Construct a program that reads a text file and creates a list of the words that the file contains, ignoring... | PCEX | arraylist, file i/o, list | |
| 328 | Comparing the List of Words from Two Files | Construct a program that reads two text files and creates a list of the words that each of these files... | PCEX | arraylist, file i/o | |
| 329 | ArrayList 1 | Java PredictingFinalResult for demonstrating ArrayList 1 | QuizJET | arraylist, linked list, list | |
| 330 | ArrayList 2 | Java PredictingFinalResult for demonstrating ArrayList 2 | QuizJET | arraylist | |
| 331 | ArrayList 3 | Java PredictingFinalResult for demonstrating ArrayList 3 | QuizJET | arraylist, list | |
| 332 | ArrayList 4 | Java PredictingFinalResult for demonstrating ArrayList 4 | QuizJET | arraylist, list | |
| 333 | ArrayList 5 | Java PredictingFinalResult for demonstrating ArrayList 5 | QuizJET | arraylist | |
| 334 | Question 8 | Java PredictingFinalResult for demonstrating Question 8 | QuizJET | arraylist | |
| 335 | List Implementation Overhead Exercise | Calculation Exercise, Battery | User provides overhead computations for specified implementations. | OpenDSA | Linked List, Array-Based List, Overhead, List Implementation Comparison |
| 336 | ArrayAddresses | C++ BehaviorExample for demonstrating ArrayAddresses | AnnEx | ||
| 337 | ArrayPointers | C++ BehaviorExample for demonstrating ArrayPointers | AnnEx | ||
| 338 | Array of Char | C++ BehaviorExample for demonstrating Array of Char | AnnEx | ||
| 339 | DEPRECATED_Array Declaration | Java BehaviorExample for demonstrating DEPRECATED_Array Declaration | AnnEx | ||
| 340 | DEPRECATED_ArrayList Demo | Java BehaviorExample for demonstrating DEPRECATED_ArrayList Demo | AnnEx | ||
| 341 | HKC array testing 1 | testing authoring tool and course authoring | AnnEx | ||
| 342 | IS17_ArrayList1 | Java BehaviorExample for demonstrating IS17_ArrayList1 | AnnEx | ||
| 343 | IS17_ArrayList1_1 | Java BehaviorExample for demonstrating IS17_ArrayList1_1 | AnnEx | ||
| 344 | IS17_ArrayList1_2 | Java BehaviorExample for demonstrating IS17_ArrayList1_2 | AnnEx | ||
| 345 | IS17_ArrayList1_3 | Java BehaviorExample for demonstrating IS17_ArrayList1_3 | AnnEx | ||
| 346 | IS17_ArrayList1_4 | Java BehaviorExample for demonstrating IS17_ArrayList1_4 | AnnEx | ||
| 347 | IS17_ArrayList1_5 | Java BehaviorExample for demonstrating IS17_ArrayList1_5 | AnnEx | ||
| 348 | IS17_ArrayList1_6 | Java BehaviorExample for demonstrating IS17_ArrayList1_6 | AnnEx | ||
| 349 | IS17_ArrayList1_7 | Java BehaviorExample for demonstrating IS17_ArrayList1_7 | AnnEx | ||
| 350 | IS17_ArrayList2 | Java BehaviorExample for demonstrating IS17_ArrayList2 | AnnEx | ||
| 351 | IS17_ArrayList2_1 | Java BehaviorExample for demonstrating IS17_ArrayList2_1 | AnnEx | ||
| 352 | IS17_ArrayList2_2 | Java BehaviorExample for demonstrating IS17_ArrayList2_2 | AnnEx | ||
| 353 | IS17_ArrayList2_3 | Java BehaviorExample for demonstrating IS17_ArrayList2_3 | AnnEx | ||
| 354 | IS17_ArrayList2_4 | Java BehaviorExample for demonstrating IS17_ArrayList2_4 | AnnEx | ||
| 355 | IS17_ArrayList2_5 | Java BehaviorExample for demonstrating IS17_ArrayList2_5 | AnnEx | ||
| 356 | IS17_ArrayList2_6 | Java BehaviorExample for demonstrating IS17_ArrayList2_6 | AnnEx | ||
| 357 | IS17_ArrayList2_7 | Java BehaviorExample for demonstrating IS17_ArrayList2_7 | AnnEx | ||
| 358 | IS17_ArrayList3 | Java BehaviorExample for demonstrating IS17_ArrayList3 | AnnEx | ||
| 359 | IS17_ArrayList3_1 | Java BehaviorExample for demonstrating IS17_ArrayList3_1 | AnnEx | ||
| 360 | IS17_ArrayList3_2 | Java BehaviorExample for demonstrating IS17_ArrayList3_2 | AnnEx | ||
| 361 | IS17_ArrayList3_3 | Java BehaviorExample for demonstrating IS17_ArrayList3_3 | AnnEx | ||
| 362 | IS17_ArrayList3_4 | Java BehaviorExample for demonstrating IS17_ArrayList3_4 | AnnEx | ||
| 363 | IS17_ArrayList3_5 | Java BehaviorExample for demonstrating IS17_ArrayList3_5 | AnnEx | ||
| 364 | IS17_ArrayList3_6 | Java BehaviorExample for demonstrating IS17_ArrayList3_6 | AnnEx | ||
| 365 | IS17_ArrayList3_7 | Java BehaviorExample for demonstrating IS17_ArrayList3_7 | AnnEx | ||
| 366 | IS17_ArrayList3_8 | Java BehaviorExample for demonstrating IS17_ArrayList3_8 | AnnEx | ||
| 367 | IS12:: arrayio.c (119.1) | C BehaviorExample for demonstrating IS12:: arrayio.c (119.1) | WebEx | ||
| 368 | IS12:: arrayiofor.c (119.2) | C BehaviorExample for demonstrating IS12:: arrayiofor.c (119.2) | WebEx | ||
| 369 | IS12:: arraymax.c (9.2) | C BehaviorExample for demonstrating IS12:: arraymax.c (9.2) | WebEx | ||
| 370 | IS12:: arraymin.c (9.3) | C BehaviorExample for demonstrating IS12:: arraymin.c (9.3) | WebEx | ||
| 371 | c_min_array | Napisati program koji traži unos niza 10 cijelih brojeva sa tastature i zatim ispisuje najmanji element u nizu. | PCEX | ||
| 372 | c_max_array | Napisati program koji traži unos niza 10 cijelih brojeva sa tastature i zatim ispisuje najveći element u nizu. | PCEX | ||
| 373 | DEPRECATED_Create ArrayList | Java BehaviorExample for demonstrating DEPRECATED_Create ArrayList | AnnEx | ||
| 374 | DEPRECATED_Create 2D Array | Java BehaviorExample for demonstrating DEPRECATED_Create 2D Array | AnnEx | ||
| 375 | DEPRECATED_Use 2D Array | Java BehaviorExample for demonstrating DEPRECATED_Use 2D Array | AnnEx | ||
| 376 | DEPRECATED_Using an Array2 | Java BehaviorExample for demonstrating DEPRECATED_Using an Array2 | AnnEx | ||
| 377 | DEPRECATED_Using an Array1 | Java BehaviorExample for demonstrating DEPRECATED_Using an Array1 | AnnEx | ||
| 378 | q_java_Array 6 | Java PredictingFinalResult for demonstrating q_java_Array 6 | QuizJET | ||
| 379 | q_java_ArrayList 6 | Java PredictingFinalResult for demonstrating q_java_ArrayList 6 | QuizJET | ||
| 380 | 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 |
| 381 | 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 |
| 382 | 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 |
| 383 | Construct a function that sorts a numeric array using Merge Sort. |
Construct a merge function that recursively splits a numeric array and takes a list as a parameter called data. Consider that... |
jsParsons | recursion, search algorithms, sorting, sorting algorithms | |
| 384 | 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 |
| 385 | Generic matrix class as linear array | 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 |
| 386 | (Sorting) Bubble sort - CSEdPad | Sort a given unsorted array using bubble sort in ascending order | AnnEx | sorting algorithms | |
| 387 | Map words to their lengths | Code Completion | Given an array of strings, create a tree map with each string as a key and its corresponding value the... | CodeCheck | Tree Structures |
| 388 | Map word lengths to words | Code Completion | Given an array of strings, create a tree map whose keys are the string lengths and whose values are the... | CodeCheck | Tree Structures |
| 389 | Binary Search - 1 | Construct a function that receives an array and a target element to be searched in the given array. If the... | PCEX | ||
| 390 | Binary Search - 1 | Construct a function that receives an array and a target element to be searched in the given array. If the... | PCEX | ||
| 391 | Binary search | Binary Search operates by dividing an array in half, and then determining whether or not the target value would be... | PCEX | binary search, recursion, search, search algorithms, sorting, trees | |
| 392 | Binary search Challenge | Binary Search operates by dividing an array in half, and then determining whether or not the target value would be... | PCEX | search algorithms | |
| 393 | A slow sorting algorithm with two threads | Code Completion | Consider the following algorithm to sort an array of strings and remove duplicates, using two threads. | CodeCheck | Concurrency |
| 394 | Sort real data | Code Completion | Your task is to sort an array list of path names such as | CodeCheck | Sorting and Searching |
| 395 | 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 |
| 396 | Count Inversions Proficiency Exercise | Calculation Exercise | Proficiency exercise to count the number of inversions in an array. | OpenDSA | Exchange Sort, Inversion |
| 397 | Mergsort Implementation Slideshow: Final Pass | Algorithm Visualization | Slideshow showing the details of implementing Mergesort using an array. This is the first of a two-part series, showing the... | OpenDSA | Mergesort |
| 398 | Mergsort Implementation Slideshow: Optimized Final Pass | Algorithm Visualization | Slideshow showing the details of implementing Mergesort using an array. This is the second of a two-part series, showing an... | OpenDSA | Mergesort |
| 399 | Selection sort modification placing even before odd | Code Completion | Implement a modification of the SelectionSorter class that reorders the array to have even elements followed by odd ones. Follow... | CodeCheck | Sorting and Searching |
| 400 | Selection sort | Ascending-order Selection sort operates by finding the minimum element of an array and moving it to the “beginning” of the... | PCEX | recursion, search algorithms, sorting, sorting algorithms | |
| 401 | Selection sort Challenge | Descending-order Selection sort operates by finding the maximum element of an array and moving it to the “beginning” of the... | PCEX | ||
| 402 | Shellsort Proficiency Exercise | Tracing Exercise | Interactive proficiency exercise for Shellsort. User clicks on array cells to indicate the behavior of Shellsort. | OpenDSA | Shellsort |
| 403 | Complete Binary Tree Calculation Questions | Calculation Exercise, Battery | Self-practice questions requiring user to calcuate node positions and values in an array representation for a complete binary tree. | OpenDSA | Linked List |
| 404 | Shellsort Proficiency Exercises | Tracing Exercise | Shellsort proficiency exercises. User clicks on array cells to reproduce the behavior of Shellsort. | OpenDSA | Shellsort |
| 405 | Introduction to Hashing Slideshow | Algorithm Visualization | Slideshow showing the simplest of hashing approaches: Just put a key into that array position. | OpenDSA | Hashing |
| 406 | Using conditions for completion count | Code Completion | We will divide the work of computing the maximum of all values in an array over multiple threads. Each thread... | CodeCheck | Concurrency |
| 407 | Synchronizing multiple summation threads | Code Completion | We will divide the work of computing the sum of all values in an array over multiple threads. Each thread... | CodeCheck | Concurrency |
| 408 | Launching multiple summation threads and using yield | Code Completion | We will divide the work of computing the sum of all values in an array over multiple threads. Each thread... | CodeCheck | Concurrency |
| 409 | 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 |
| 410 | 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 |
| 411 | Heapsort Profiency Exercise | Tracing Exercise | Heapsort proficiency exercise. User must show all of the steps for updating the array during Heapsort. | OpenDSA | Heapsort |
| 412 | 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 |
| 413 | Mergesort Profiency Exercise | Tracing Exercise | Mergesort proficiency exercise. User must show all of the merge steps for all values in the array. | OpenDSA | Mergesort |
| 414 | Quicksort Proficiency Exercise | Tracing Exercise | Proficiency exercise for Quicksort. User must show the complete sequence of steps for sorting an array. | OpenDSA | Quicksort |
| 415 | 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 |
| 416 | Heapsort Remove Max Proficiency Exercise | Tracing Exercise | Proficiency exercise for Heapsort. User must indicate how the array is updated when removing the maximum value during Heapsort. | OpenDSA | Heapsort |
| 417 | 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 |
| 418 | Quicksort Pivot Proficiency Exercise | Tracing Exercise | Proficiency exercise for the Quicksort pivot. User must indicate which value in the array is used as the pivot. | OpenDSA | Quicksort |
| 419 | 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 |
| 420 | JLinkedListUtil | This LinkedListUtil class tests various usages of the LinkedList class. The single param is an array of string. You will... | PCEX | ||
| 421 | JLinkedListUtil Challenge | This LinkedListUtil class tests various usages of the LinkedList class. The single param is an array of string. You will... | PCEX | ||
| 422 | Count visits in selection sort | Code Completion | In section 14.5, we approximated a count of the array visits in merge sort. Your task is to provide an... | CodeCheck | Sorting and Searching |
| 423 | Count visits in selection sort | Code Completion | In section 14.3, we approximated a count of the array visits in selection sort. Your task is to provide an... | CodeCheck | Sorting and Searching |
| 424 | Merge sort modification placing even before odd | Code Completion | Modify the merge sort algorithm so that, instead of sorting an array, it rearranges places all even elements before the... | CodeCheck | Sorting and Searching |
| 425 | (Searching) Binary search - CSEdPad | This program uses binary search algorithm to search the index, where "index will be the rank of prizes you get... | AnnEx | search algorithms | |
| 426 | Insertion Sort | Insertion sort works similarly to how one would sort a hand of cards: by choosing an element and searching through... | PCEX | recursion, search algorithms, sorting, sorting algorithms | |
| 427 | Insertion Sort Challenge | Insertion sort works similarly to how one would sort a hand of cards: by choosing an element and searching through... | PCEX | ||
| 428 | Bucket Hashing Proficiency Exercise | Tracing Exercise | User must give the result from a series of inserts using bucket hashing. The user clicks on an array to... | OpenDSA | Bucket Hashing |
| 429 | Linear Probing Proficiency Exercise | Tracing Exercise | User must give the result from a series of inserts using linear probing collision resolution. The user clicks on an... | OpenDSA | Linear Probing |
| 430 | 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 |
| 431 | Radix Sort Profiency Exercise | Tracing Exercise | Proficiency exercise for a pass of the Radix Sort algorithm. User must indicate how values in one array are moved... | OpenDSA | Quicksort |
| 432 | An enum type describing chemical elements | Code Completion | Enumerated types in Java are quite powerful, in that they can contain methods and instance variables. An enum type class... | CodeCheck | Inheritance |
| 433 | Selection sort modification placing only min and max | Code Completion | Your task is to modify the selection sort algorithm so that you find the largest element and swap it to... | CodeCheck | Sorting and Searching |
| 434 | Alternate Form Bucket Hashing Proficiency Exercise | Tracing Exercise | User must give the result from a series of inserts using bucket hashing. This version uses a variation on bucket... | OpenDSA | Bucket Hashing |