Showing 0-0 of 0 results
# Exercise Title Features Description Platform Keywords
1 Simple Math: Multiplication Free Coding Problem, coding problem Coding Question CodeWorkout product, arithmetic operators, multiplication, coding problem
2 Given a list of integers, return the product of all non-zero elements. Code Completion Given a list of integers, return the product of all non-zero elements. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
3 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
4 Given a list of integers, return the sum of all positive elements. Code Completion Given a list of integers, return the sum of all positive elements. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
5 Given a list of integers, find the largest sum of two different elements in the list. Code Completion Given a list of integers, find the largest sum of two different elements in the list. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
6 Given a list of floating-point numbers, return a list of the averages of consecutive element pairs of the original list. Code Completion Given a list of floating-point numbers, return a list of the averages of consecutive element pairs of the original list. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
7 Given a list of integers and an integer n, return a list of the averages of n consecutive elements of the original list. Code Completion Given a list of integers and an integer n, return a list of the averages of n consecutive elements of... CodeCheck Lists - Simple Exercises, Sums, Averages, Products
8 Given a list of integers, return the average of all elements that are not the maximum or minimum. Code Completion Given a list of integers, return the average of all elements that are not the maximum or minimum. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
9 Given a list of integers, replace each element with the average of its neighbors. Code Completion Given a list of integers, replace each element with the average of its neighbors. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
10 Given a list of integers, return the sum of all odd elements. Code Completion Given a list of integers, return the sum of all odd elements. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
11 Given a list of integers and two values a and b, return the sum of all elements that are at least a and at most b. Code Completion Given a list of integers and two values a and b, return the sum of all elements that are at... CodeCheck Lists - Simple Exercises, Sums, Averages, Products
12 Given a list of integers, return the average of all positive elements. Code Completion Given a list of integers, return the average of all positive elements. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
13 Given a list of strings and a string s, return the average length of all strings containing s. Code Completion Given a list of strings and a string s, return the average length of all strings containing s. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
14 Given a list of integers, give the largest n so that the sum of the first n elements equals the sum of the remaining elements. Code Completion Given a list of integers, give the largest n so that the sum of the first n elements equals the... CodeCheck Lists - Simple Exercises, Sums, Averages, Products
15 Given a list of integers, give the largest n ≤ length / 2 so that the sum of the first n elements equals the sum of the last n elements. Code Completion Given a list of integers, give the largest n ≤ length / 2 so that the sum of the first... CodeCheck Lists - Simple Exercises, Sums, Averages, Products
16 Given a list of integers, give the largest sum of n consecutive elements. Code Completion Given a list of integers, give the largest sum of n consecutive elements. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
17 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
18 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
19 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
20 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
21 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
22 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
23 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
24 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
25 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
26 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
27 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
28 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
29 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
30 Polynomial Product Algorithm Visualization Visualization of the process for muliplying to polynomials. OpenDSA Polynomial Multiplication
31 Debugging Scope- Calculating Product Free Coding Problem, code writing Coding Question CodeWorkout CS1114, scope, Java, code writing
32 Counting the Number of Valid and Banned Product Codes (Case 1) Suppose a hypothetical company uses codes to represent its various products. A product code includes, among other information, a character... PCEX exception handling, exceptions
33 Counting the Number of Valid and Banned Product Codes (Case 2) Suppose a hypothetical company uses codes to represent its various products. A product code includes, among other information, a character... PCEX exception handling, exceptions
34 Counting the Number of Valid and Banned Product Codes Suppose a hypothetical company uses codes to represent its various products. A product code includes, among other information, a character... PCEX exception handling, exceptions
35 Counting the Number of Valid and Banned Product Codes Suppose a hypothetical company uses codes to represent its various products. A product code includes, among other information, a character... PCEX exception handling, exceptions, while loop
36 Counting the Number of Valid and Banned Product Codes (Case 2) Suppose a hypothetical company uses codes to represent its various products. A product code includes, among other information, a character... PCEX exception handling, exceptions
37 Counting the Number of Valid and Banned Product Codes Suppose a hypothetical company uses codes to represent its various products. A product code includes, among other information, a character... PCEX exception handling
38 Contando el Numero de Codigos de Producto Validos y Prohibidos (Caso 1) Supongamos que una empresa hipotética utiliza códigos para representar sus diversos productos. Un código de producto incluye, entre otra información,... PCEX exceptions
39 Contando el Numero de Codigos de Producto Validos y Prohibidos (Caso 2) Supongamos que una empresa hipotética utiliza códigos para representar sus diversos productos. Un código de producto incluye, entre otra información,... PCEX exceptions
40 Context-Free Grammar Transformation: Remove Lambda Productions Frameset Programmed Instruction Programmed Instruction Frameset discussing removing lambda productions from Context-Free Grammars. OpenDSA Context-Free Grammar
41 Context-Free Grammar Transformation: Remove Unit Productions Frameset Programmed Instruction Programmed Instruction Frameset discussing removing unit productions from Context-Free Grammars. OpenDSA Context-Free Grammar
42 Context-Free Grammar Transformation: Useless Productions Frameset Programmed Instruction Programmed Instruction Frameset discussing removing useless productions from Context-Free Grammars. OpenDSA Context-Free Grammar
43 Multiplication as recursive addition Code Completion Complete the multiply method in the MyMethods class so that it returns the product of the non-negative integer n multipled... CodeCheck Recursion
44 CFG Transformation Exercise 1 Grammar Construction Exercise User creates an equivalent CFG with no usless, lambda, or unit productions: Exercise 1. OpenDSA Context-Free Grammar
45 CFG Transformation Exercise 2 Grammar Construction Exercise User creates an equivalent CFG with no usless, lambda, or unit productions: Exercise 2. OpenDSA Context-Free Grammar
46 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
47 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
48 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
49 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
50 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
51 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
52 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
53 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
54 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
55 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
56 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
57 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
58 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
59 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
60 Arrays - Verify Produce Free Coding Problem Coding Question CodeWorkout review, array, for loop, conditional
61 Letter frequency map Code Completion Your task is to produce a map of the frequencies of all letters in a string. Letters are represented as... CodeCheck Tree Structures
62 Letter set Code Completion Your task is to produce a set of all letters in a string. Letters are represented as strings of length... CodeCheck Tree Structures
63 Extend ASCII art rectangle to tiled rectangle Code Completion You are given a class Rectangle that produces ASCII art rectangles such as the following: CodeCheck Inheritance
64 Extend ASCII art rectangle to filled rectangle Code Completion You are given a class Rectangle that produces ASCII art rectangles such as the following: CodeCheck Inheritance
65 Picture of Colored Boxes Code Completion Your task is to write a method that produces images from strings describing color values. CodeCheck Loops
66 Animal Class Hierarchy (Case 1) Suppose we have a class Animal and we want to extend it to produce class Dog. An animal has a... PCEX inheritance
67 Animal Class Hierarchy (Case 2) Suppose we have a class Animal and we want to extend it to produce class Dog. An animal has a... PCEX inheritance
68 Point Class Hierarchy (Case 1) Suppose we have a class Point and we want to extend it to produce class Point3D. The class Point has... PCEX inheritance
69 Point Class Hierarchy (Case 2) Suppose we have a class Point and we want to extend it to produce class Point3D. The class Point has... PCEX inheritance
70 Animal Class Hierarchy Suppose we have a class Animal and we want to extend it to produce class Dog. An animal has a... PCEX inheritance
71 Point Class Hierarchy Suppose we have a class Point and we want to extend it to produce class Point3D. The class Point has... PCEX inheritance, object
72 Animal Class Hierarchy (Case 2) Suppose we have a class Animal and we want to extend it to produce class Dog. An animal has a... PCEX inheritance
73 Point Class Hierarchy (Case 2) Suppose we have a class Point and we want to extend it to produce class Point3D. The class Point has... PCEX constructors, inheritance, overloading
74 Using an Abstract Class Code Completion Light bulbs can be identified by type and can be measured by the amount of lumens produced per watt of... CodeCheck Inheritance
75 ZipperWordGenerator Code Completion You are given two strings of equal length. Your task is to generate all zipper words that can be produced... CodeCheck Recursion
76 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