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 (For loops) Sum of odd numbers - CSEdPad This program sums up the odd number from 1 to 50 AnnEx for loop
16 Calculating the Average of Input Integers Construct a program that reads a series of integers from the user, sums them up, and calculates their average. The... PCEX
17 Calculating the Average of the Input Integers that are an Even Number Construct a program that reads a series of integer values from the user, sums up the integers that are an... PCEX
18 Calculating the Average of Floating-Point Numbers Construct a program that reads a series of non-negative floating-point numbers from the user, sums them up, and calculate their... PCEX
19 Calculating the Average of Input Integers Construct a program that reads a series of integers from the user, sums them up, and calculates their average. The... PCEX
20 Calculating the Average of the Input Integers that are an Even Number Construct a program that reads a series of integer values from the user, sums up the integers that are an... PCEX
21 Calculating the Average of Floating-Point Numbers. Construct a program that reads a series of non-negative floating-point numbers from the user, sums them up, and calculate their... PCEX
22 Calculating the Average of Input Integers Construct a program that reads a series of integers from the user, sums them up, and calculates their average. The... PCEX
23 Calculating the Average of the Input Integers that are an Even Number Construct a program that reads a series of integer values from the user, sums up the integers that are an... PCEX
24 Calculating the Average of Floating-Point Numbers Construct a program that reads a series of non-negative floating-point numbers from the user, sums them up, and calculate their... PCEX
25 Calculating the Average of Input Integers Construct a program that reads a series of integers from the user, sums them up, and calculates their average. The... PCEX
26 Calculating the Average of the Input Integers that are an Even Number Construct a program that reads a series of integer values from the user, sums up the integers that are an... PCEX
27 Calculating the Average of Floating-Point Numbers Construct a program that reads a series of non-negative floating-point numbers from the user, sums them up, and calculate their... PCEX
28 Regular Expression Exercise: Strings of 2 b's and c's RegEx Writing Exercise User writes an regular expression for the language of strings where the number of b's and c's sums to 2. OpenDSA Regular Expression
29 Printing Sum of Integers from 1 to i, Where i Ranges from 1 to N Construct a program that receives an integer N and then prints the sum of integers from 1 to i, where... PCEX
30 substring Python PredictingFinalResult for demonstrating substring QuizPET strings
31 Sum and Average Using Loops Python BehaviorExample for demonstrating Sum and Average Using Loops WebEx while loop
32 Sum of all two-digit even numbers This example includes a method calculateSumOfEvenNumbers within a class named EvenNumberSumCalculator. The method iterates through all two-digit numbers, checks if... PCEX
33 Sum using While Sum using While AnnEx loops, while loop
34 Substring Substring AnnEx strings
35 General List Summary Questions Question, Battery Summary self-practice questions on lists. OpenDSA List
36 Summation of the first N integers visualization Presentation Slideshow showing how to calculate the closed form for the summation of the first N integers. OpenDSA Summation
37 Geometric Summation Proof Presentation Slideshow showing how to calculate the closed form for the geometric series. OpenDSA Summation
38 IS12:: sumarfunc.c (10.2) C BehaviorExample for demonstrating IS12:: sumarfunc.c (10.2) WebEx
39 Array sum calculator demonstrates the use of a for loop to calculate the sum of all members of an array of integers. PCEX
40 strings.substring PCEX Set of activities for strings.substring PCEX
41 strings.substring PCEX Set of activities for strings.substring PCEX
42 DEPRECATED_Substring Java BehaviorExample for demonstrating DEPRECATED_Substring AnnEx
43 Recursion Sum Python CodeVisualization for demonstrating Recursion Sum JSVEE recursion
44 Recursion Sum2 Python CodeVisualization for demonstrating Recursion Sum2 JSVEE recursion
45 q_py_substring1_es Python PredictingFinalResult for demonstrating q_py_substring1_es QuizPET strings
46 while loop with summation Python PredictingFinalResult for demonstrating while loop with summation QuizPET loops, while loop
47 Calculating the Sum of the Values in an Array Construct a program that computes the sum of all the values in an array. PCEX
48 Calculating the Sum of the Values in an Array Construct a program that computes the sum of all the values in an array. PCEX
49 c_funkcija_suma_kolicnika Napisati funkciju sa prototipom double suma_kolicnika(int a, int b) koja računa i vraća sumu: S=a/1+a/2+a/3+...+a/b. U glavnom programu unijeti a... PCEX
50 The Digit Sum of an Integer Construct a program that calculates the sum of the digits of an integer. PCEX
51 Calculating the Sum of the Values in the List Construct a program that has a function that receives a list and calculates the sum of the values in that... PCEX
52 The Digit Sum of an Integer Construct a program that calculates the sum of the digits of an integer. PCEX
53 The Digit Sum of an Integer Construct a program that calculates the sum of the digits of an integer. PCEX
54 Checks whether the sum of two integers are equal as the third integer Construct a function which determines whether one of the paraters is the sum of the two other parameters. jsParsons
55 Verificar si la suma de dos enteros es igual al tercer entero Construye una funcion que determine si uno de los parametros es la suma de los otros dos parametros. jsParsons conditionals
56 Checks whether the sum of two integers are equal as the third integer Construct a program which determines whether the value of one of variables x, y, and z is the sum of... jsParsons
57 Verificar si la suma de dos enteros es igual al tercer entero Construye un programa que determine si el valor de una de las variables x, y o z es la suma... jsParsons
58 Algorithm Analysis Chapter Summary Questions: CS2 Question, Battery Battery of self-assessment questions on Algorithm Analysis. Suitable for a CS2 course. OpenDSA Algorithm Analysis
59 Algorithm Analysis Chapter Summary Questions: CS3 Question, Battery Battery of self-assessment questions on Algorithm Analysis. Suitable for a post-CS2 Data Structures and Algorithms course. OpenDSA Algorithm Analysis
60 Binary Tree Chapter Summary Questions Question, Battery Self-practice questions for the full Binary Tree chapter. OpenDSA Binary Tree, Binary Search Tree, Heap, Huffman Coding Tree
61 Binary Search Tree Summary Questions Question, Battery Self-practice questions about Binary Search Trees. OpenDSA Binary Search Tree
62 Binary Tree Traversal Summary Questions Question, Battery Self-practice questions about binary tree traversals. OpenDSA Binary Tree Traversal
63 Hash Cost Analysis Summary Practice Questions Question, Battery A collection of self-practice questions on hashing cost analysis. OpenDSA Hashing Cost Analysis
64 Hashing Chapter Summary Practice Questions Question, Battery A collection of self-practice questions for the entire Hashing chapter. OpenDSA Hashing
65 Hash Deletion Summary Practice Questions Question, Battery A collection of self-practice questions on hash table deletion. OpenDSA Hashing
66 Hash Functions Summary Practice Questions Question, Battery A collection of self-practice questions on hash functions. OpenDSA Hash Function
67 Inheritance and Polymorphism: Chapter Summary Review Question, Battery Inheritance and Polymorphism battery of self-assessment questions: Chapter review summary. OpenDSA Inheritance, Polymorphism
68 Linear Structures Chapter Summary Questions Question, Battery Self-practice questions related to all aspects of lists, stacks, and queues. OpenDSA List, Stack, Queue
69 Linear Data Structures Summary Questions Question, Battery Self-practice questions comparing uses of linear structures. OpenDSA List, Stack, Queue
70 Linked List Summary Questions Question, Battery Self-practice questions about linked list costs. OpenDSA Linked List
71 Stack and Queue Summary Questions Question, Battery Self-practice questions about stacks and queues. OpenDSA Stack, Queue
72 Recursive Tree Processing: Value Summation Tracing Exercise A question related to tree processing in a functional programming language: Value summation. OpenDSA Functional Programming
73 Recursive Tree Processing: Substitution Question A question related to tree processing in a functional programming language: Substitution. OpenDSA Functional Programming
74 Recursive Tree Processing: Substitution 2 Question A question related to tree processing in a functional programming language: Substitution 2. OpenDSA Functional Programming
75 Lambda Calculus: Substitution 1 Tracing Exercise, Battery A collection of self-practice questions related to substitution in the Lambda Calculus expression. OpenDSA Lambda Calculus
76 Lambda Calculus: Substitution 2 Tracing Exercise, Battery A second collection of self-practice questions related to substitution in the Lambda Calculus expression. OpenDSA Lambda Calculus
77 Lambda Calculus: Substitution Subcases 1 Question, Battery A collection of self-practice questions related to substitution subcases in the Lambda Calculus expression. OpenDSA Lambda Calculus
78 Lambda Calculus: Substitution Subcases 2 Question, Battery A second collection of self-practice questions related to substitution subcases in the Lambda Calculus expression. OpenDSA Lambda Calculus
79 Lambda Calculus: Substitution Subcases 3 Question, Battery A third collection of self-practice questions related to substitution subcases in the Lambda Calculus expression. OpenDSA Lambda Calculus
80 Recursion Tutor: Chapter Summary Question, Battery Recursion tutorial chapter summary practice question set. OpenDSA Recursion
81 Sort Comparison Summary Exercise Question, Battery Battery of self-assessment questions where user selects which sort is the best to use in a particular situation. OpenDSA Radix Sort
82 Sorting Lower Bound Summary Questions Question, Battery Battery of self-assessment questions related to the lower bounds proof for the general sorting problem. OpenDSA Sorting Problem Lower Bound
83 Sorting Chapter Summary Questions Question, Battery Battery of self-assessment questions for the entire Sorting chapter. OpenDSA Sorting
84 Sorting Introduction: Summary Questions Question, Battery Sorting introduction battery of self-assessment multiple choice questions. OpenDSA Sorting Notation
85 Functional Programming List Processing: Summation Algorithm Visualization, Code Tracing Presentation Slideshow visualizing basic list processing in a functional programming language: Summation of list values. OpenDSA Functional Programming
86 Functional Programming List Processing: Substitution Algorithm Visualization, Code Tracing Presentation Slideshow visualizing basic list processing in a functional programming language: substitution function. OpenDSA Functional Programming
87 Functional Programming Recursion: Summing Elements in a Tree Algorithm Visualization, Code Tracing Presentation Slideshow visualizing list-of-list (tree) processing in a functional programming language: sum all values. OpenDSA Functional Programming
88 Tracing Recursive Code: Summation Code Tracing Presentation Slideshow demonstrating code tracing, using a simple summation function as an example. OpenDSA Recursion
89 Crear una clase y usar sus métodos Construye una clase Punto que tenga un metodo para calcular la distancia desde otra instancia de Punto. jsParsons classes, objects
90 Practicar la manipulación de variables y verificar sus tipos Construye un programa que calcule el modulo de dos variables y verifique el tipo del resultado. jsParsons operators, variables
91 Crear una función que reciba un número, le sume dos y lo devuelva Construye un programa que imprima 3 jsParsons
92 Given two integers x and y, print their sum, but if it is more than 100 or less than 0, print "out of range". Code Completion Given two integers x and y, print their sum, but if it is more than 100 or less than 0,... CodeCheck Branches, Branches Without Functions
93 Given a list of integers, return the largest sum of consecutive elements. Code Completion Given a list of integers, return the largest sum of consecutive elements. CodeCheck Lists - Simple Exercises, Double Loops
94 Given a string, find the sum of all integers inside. Code Completion Given a string, find the sum of all integers inside. Return 0 if there is no integer inside. CodeCheck Strings, Numbers in Strings
95 Given a list of integers, return the position of the longest subsequence of consecutive integers a, a + 1, a + 2, . Code Completion Given a list of integers, return the position of the longest subsequence of consecutive integers a, a + 1, a... CodeCheck Lists - Simple Exercises, Double Loops
96 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
97 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
98 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
99 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
100 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
101 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
102 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
103 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
104 Given three numbers x, y, z, determine if one of them is the sum of the two others, and then print out the equation. Code Completion Given three numbers x, y, z, determine if one of them is the sum of the two others, and then... CodeCheck Branches, Branches Without Functions
105 Given three integers x, y, z, print the sum of the odd integers. Code Completion Given three integers x, y, z, print the sum of the odd integers. CodeCheck Branches, Branches Without Functions
106 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
107 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
108 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
109 Given strings s and t, return a list of all positions in which t occurs in s. Code Completion Given strings s and t, return a list of all positions in which t occurs in s. CodeCheck Strings, Finding Substrings
110 Given strings s and t, return a string in which all occurrences of t are removed from s. Code Completion Given strings s and t, return a string in which all occurrences of t are removed from s. CodeCheck Strings, Finding Substrings
111 Given strings s and t, return a string in which all characters in t are removed from s. Code Completion Given strings s and t, return a string in which all characters in t are removed from s. CodeCheck Strings, Finding Substrings
112 Given a string s, return the longest prefix that is repeated somewhere else in the string. Code Completion Given a string s, return the longest prefix that is repeated somewhere else in the string. CodeCheck Strings, Finding Substrings
113 Given a string s, find the longest prefix that also occurs at the end (so that s = p + t + p), and return t, the string without the beginning and the end. Code Completion Given a string s, find the longest prefix that also occurs at the end (so that s = p +... CodeCheck Strings, Finding Substrings
114 Practicar el manejo de excepciones Construye una funcion que sume dos numeros y maneje entradas no numericas. jsParsons exceptions
115 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
116 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
117 Creando un Diccionario de Pares Estudiante-Puntajes (Caso 1) Supongamos que tenemos una lista de estudiantes y una lista de sus correspondientes puntajes de exámenes. Construya un programa que... PCEX
118 Creando un Diccionario de Pares Estudiante-Puntajes (Caso 2) Supongamos que tenemos una lista de estudiantes y una lista de sus correspondientes puntajes de exámenes. Construya un programa que... PCEX
119 Simple String Hash Calculator Calculation, User Supplied Data Calculator for computing value of hashing a string by simple summation of its characters' ASCII values. OpenDSA Hash Function
120 Turing Machine Exercise: Replace aba with aca Automata Construction Exercise User creates a Turing machine that replaces every substring aba with aca. OpenDSA Turing Machine
121 Crear y llamar a una función Define una funcion que devuelva el segundo valor multiplicado por dos y sumado al primer valor. El programa debe imprimir... jsParsons functions
122 Letter frequency Construct a program which counts the frequency of each character in string 'Summer' and stores it in a dictionary. Finally,... jsParsons dictionaries
123 Frecuencia de letras Construye un programa que cuente la frecuencia de cada caracter en la cadena 'Summer' y la almacene en un diccionario.... jsParsons
124 Writing a Recursive Function: Variations Code Tracing Presentation Slideshow showing multiple examples of how to write a recursive function to do summation. OpenDSA Recursion
125 String Folding Method activity Calculation, User Supplied Data Calculator for computing value of hashing a string by 'folding'. A better method than character value summing. OpenDSA Hash Function
126 c_formatirane_datoteke_citanje_broja_i_stringa Neka svaki red u datoteci datoteka.txt sadrži jedan broj i jedan string, razdvojeni razmakom. Napisati program koji će ispisati na... PCEX
127 PANDAS Stats 2 You're provided a dataframe of used cars using pandas. Select the 'type' and 'mileage' columns and use describe() to display... jsParsons pandas, statistics
128 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
129 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
130 csedpad.09.WhileLoops.whileloops_1 Assume you have a list of 1,000 people in alphabetical order and you are assigned to collect from the first... PCEX
131 Printing Table of Medal Winner Counts with Row and Column Totals Assume that we have a 7x4 matrix that stores the number of medals that seven countries won in the skating... PCEX
132 Imprimir Tabla de Conteo de Medallas con Totales por Fila y por Columna Supongamos que tenemos una matriz de 7x4 que almacena el número de medallas que siete países ganaron en las competencias... PCEX
133 Assigning a Reference to an Object Code Tracing Presentation Slideshow demonstrating assigning a reference to an object. OpenDSA Pointer, Reference, Object
134 Changing the Reference to an Object Code Tracing Presentation Slideshow demonstrating changing the reference to an object. OpenDSA Pointer, Reference, Object
135 Garbage Disposal Algorithm Visualization, Code Tracing Presentation Slideshow introducing the concept of garbage collection. OpenDSA Garbage Collection, Heap Memory
136 A Heap Example Code Tracing Presentation Slideshow demonstrating the memory allocation and deallocation. OpenDSA Memory Allocation
137 Consequences of Dereferencing a Null Pointer Presentation Slideshow demonstrating the consequence of dereferencing a null pointer. OpenDSA Pointer, Reference, Object
138 Java Data Types Presentation Slideshow showing primitive data types in Java and the concept of object and reference. OpenDSA Pointer, Reference, Data Type, Object