Showing 0–0 of 0 results
# Exercise Title Features Description Platform Keywords
1 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
2 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
3 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
4 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
5 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
6 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
7 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
8 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
9 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
10 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
11 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
12 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
13 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
14 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
15 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
16 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
17 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
18 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
19 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
20 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
21 Polynomial Product Algorithm Visualization Visualization of the process for muliplying to polynomials. OpenDSA Polynomial Multiplication
22 py_check_product_code PCEX Set of activities for py_check_product_code PCEX
23 py_check_product_code_es PCEX Set of activities for py_check_product_code_es PCEX
24 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
25 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
26 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
27 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
28 Context-Free Grammar Transformation: Useless Productions Frameset Programmed Instruction Programmed Instruction Frameset discussing removing useless productions from Context-Free Grammars. OpenDSA Context-Free Grammar
29 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
30 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