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 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
16 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
17 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
18 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
19 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
20 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
21 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
22 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
23 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
24 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
25 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
26 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
27 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
28 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
29 (For loops) Sum of odd numbers - CSEdPad This program sums up the odd number from 1 to 50 AnnEx for loop
30 Calculating the Average of Input Integers Construct a program that reads a series of integers from the user, sums them up, and calculates their average. The... PCEX while loop
31 Calculating the Average of the Input Integers that are an Even Number Construct a program that reads a series of integer values from the user, sums up the integers that are an... PCEX while loop
32 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 while loop
33 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
34 Calculating the Average of the Input Numbers Construct a program that reads a series of integers from the user, sums them up, and calculates their average. The... PCEX while loop
35 Calculating the Average of the Input Numbers Construct a program that reads a series of integers from the user, sums them up, and calculates their average. The... PCEX loops, while loop
36 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 while loop
37 Calculating the Average of the Input Integers that are an Even Number Construct a program that reads a series of integer values from the user, sums up the integers that are an... PCEX while loop
38 Calculating the Average of the Input Numbers (Case2) Construct a program that reads a series of integer values from the user, sums up the integers that are an... PCEX while loop
39 Calculating the Average of the Input Numbers (Case 3) Construct a program that reads a series of non-negative floating-point numbers from the user, sums them up, and calculate their... PCEX while loop
40 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
41 Geometric Summation Proof Presentation Slideshow showing how to calculate the closed form for the geometric series. OpenDSA Summation
42 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
43 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
44 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
45 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
46 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
47 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
48 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
49 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
50 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
51 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
52 Sum using While Sum using While AnnEx loops, while loop
53 Substring Substring AnnEx strings
54 substring Python PredictingFinalResult for demonstrating substring QuizPET strings
55 Sum and Average Using Loops Python BehaviorExample for demonstrating Sum and Average Using Loops WebEx while loop
56 General List Summary Questions Question, Battery Summary self-practice questions on lists. OpenDSA List
57 DEPRECATED_Substring Java BehaviorExample for demonstrating DEPRECATED_Substring AnnEx
58 Recursion Sum Python CodeVisualization for demonstrating Recursion Sum JSVEE recursion
59 Recursion Sum2 Python CodeVisualization for demonstrating Recursion Sum2 JSVEE recursion
60 IS12:: sumarfunc.c (10.2) C BehaviorExample for demonstrating IS12:: sumarfunc.c (10.2) WebEx
61 Calculating Sum/Average of the Array Values Construct a program that computes the sum of all the values in an array. PCEX arrays
62 Calculating Sum/Average of the List Values Construct a program that has a function that receives a list and calculates the sum of the values in that... PCEX list
63 Calculating Sum/Average of the List Values Construct a program that has a function that receives a list and calculates the average of the values in that... PCEX list
64 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
65 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
66 The Digit Sum of an Integer Construct a program that calculates the sum of the digits of an integer. PCEX while loop
67 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
68 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
69 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
70 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
71 q_py_substring1_es Python PredictingFinalResult for demonstrating q_py_substring1_es QuizPET strings
72 while loop with summation Python PredictingFinalResult for demonstrating while loop with summation QuizPET loops, while loop
73 Algorithm Analysis Chapter Summary Questions: CS2 Question, Battery Battery of self-assessment questions on Algorithm Analysis. Suitable for a CS2 course. OpenDSA Algorithm Analysis
74 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
75 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
76 Binary Search Tree Summary Questions Question, Battery Self-practice questions about Binary Search Trees. OpenDSA Binary Search Tree
77 Binary Tree Traversal Summary Questions Question, Battery Self-practice questions about binary tree traversals. OpenDSA Binary Tree Traversal
78 Hash Cost Analysis Summary Practice Questions Question, Battery A collection of self-practice questions on hashing cost analysis. OpenDSA Hashing Cost Analysis
79 Hashing Chapter Summary Practice Questions Question, Battery A collection of self-practice questions for the entire Hashing chapter. OpenDSA Hashing
80 Hash Deletion Summary Practice Questions Question, Battery A collection of self-practice questions on hash table deletion. OpenDSA Hashing
81 Hash Functions Summary Practice Questions Question, Battery A collection of self-practice questions on hash functions. OpenDSA Hash Function
82 Inheritance and Polymorphism: Chapter Summary Review Question, Battery Inheritance and Polymorphism battery of self-assessment questions: Chapter review summary. OpenDSA Inheritance, Polymorphism
83 Linear Structures Chapter Summary Questions Question, Battery Self-practice questions related to all aspects of lists, stacks, and queues. OpenDSA List, Stack, Queue
84 Linear Data Structures Summary Questions Question, Battery Self-practice questions comparing uses of linear structures. OpenDSA List, Stack, Queue
85 Linked List Summary Questions Question, Battery Self-practice questions about linked list costs. OpenDSA Linked List
86 Stack and Queue Summary Questions Question, Battery Self-practice questions about stacks and queues. OpenDSA Stack, Queue
87 Recursive Tree Processing: Value Summation Tracing Exercise A question related to tree processing in a functional programming language: Value summation. OpenDSA Functional Programming
88 Recursive Tree Processing: Substitution Question A question related to tree processing in a functional programming language: Substitution. OpenDSA Functional Programming
89 Recursive Tree Processing: Substitution 2 Question A question related to tree processing in a functional programming language: Substitution 2. OpenDSA Functional Programming
90 Lambda Calculus: Substitution 1 Tracing Exercise, Battery A collection of self-practice questions related to substitution in the Lambda Calculus expression. OpenDSA Lambda Calculus
91 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
92 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
93 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
94 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
95 Recursion Tutor: Chapter Summary Question, Battery Recursion tutorial chapter summary practice question set. OpenDSA Recursion
96 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
97 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
98 Sorting Chapter Summary Questions Question, Battery Battery of self-assessment questions for the entire Sorting chapter. OpenDSA Sorting
99 Sorting Introduction: Summary Questions Question, Battery Sorting introduction battery of self-assessment multiple choice questions. OpenDSA Sorting Notation
100 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
101 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
102 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
103 Tracing Recursive Code: Summation Code Tracing Presentation Slideshow demonstrating code tracing, using a simple summation function as an example. OpenDSA Recursion
104 Recursively calculate the sum of all numbers from 1 to n Using recursion, complete the sum1toN method so that it returns the total sum of all numbers from 1 to N.... PCEX
105 Recursively calculate the sum of all numbers from 1 to n Challenge Using recursion, complete the sum1toN method so that it returns the total sum of all numbers from 1 to N.... PCEX
106 The Digit Sum of an Integer Construct a program that calculates the sum of the digits of an integer. PCEX do-while loop, while loop
107 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
108 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
109 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
110 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
111 Use Recursion to calculate total sum of all numbers from 1 to N. Using recursion, complete the sum1toN method so that it returns the total sum of all numbers from 1 to N.... PCEX
112 Crear una función que reciba un número, le sume dos y lo devuelva Construye un programa que imprima 3 jsParsons
113 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
114 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
115 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
116 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
117 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
118 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
119 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
120 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
121 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
122 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
123 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
124 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
125 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
126 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
127 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
128 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
129 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
130 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
131 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
132 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
133 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
134 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
135 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
136 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
137 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
138 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
139 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
140 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
141 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
142 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
143 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
144 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
145 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
146 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
147 Practicar el manejo de excepciones Construye una funcion que sume dos numeros y maneje entradas no numericas. jsParsons exceptions
148 Processing the Digits of an Integer (Case 2) Construct a program that calculates the sum of the digits of an integer. PCEX while loop
149 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
150 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
151 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 dictionaries
152 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 dictionaries
153 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
154 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
155 EvenSum Code Completion Your task is to write a method evenSum that computes the sum of all even numbers between two given numbers.... CodeCheck Loops
156 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
157 Letter frequency Construct a program which counts the frequency of each character in string 'Summer' and stores it in a dictionary. Finally,... jsParsons dictionaries
158 Frecuencia de letras Construye un programa que cuente la frecuencia de cada caracter en la cadena 'Summer' y la almacene en un diccionario.... jsParsons
159 Writing a Recursive Function: Variations Code Tracing Presentation Slideshow showing multiple examples of how to write a recursive function to do summation. OpenDSA Recursion
160 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
161 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
162 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
163 Average word length Code Completion Complete the following program to compute the average length of the words. Invoke the appropriate method to compute the length... CodeCheck Objects
164 HyperCaesar cipher Code Completion The HyperCaesar cipher is just like the Caesar cipher, except that the key for each step is the initial key... CodeCheck Advanced Input and Output
165 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
166 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 2d list
167 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
168 Printing Table of Medal Counts with Row/Column Total Assume that we have a 7x4 matrix that stores the number of medals that seven countries won in the skating... PCEX 2d list, for loop
169 Insertion Sort Java CodeConstruction&CompletionBundle for demonstrating Insertion Sort PCEX
170 Insertion Sort reads in Strings and uses insertion sort to print them out in sorted order PCEX
171 Assigning a Reference to an Object Code Tracing Presentation Slideshow demonstrating assigning a reference to an object. OpenDSA Pointer, Reference, Object
172 Changing the Reference to an Object Code Tracing Presentation Slideshow demonstrating changing the reference to an object. OpenDSA Pointer, Reference, Object
173 Garbage Disposal Algorithm Visualization, Code Tracing Presentation Slideshow introducing the concept of garbage collection. OpenDSA Garbage Collection, Heap Memory
174 A Heap Example Code Tracing Presentation Slideshow demonstrating the memory allocation and deallocation. OpenDSA Memory Allocation
175 Consequences of Dereferencing a Null Pointer Presentation Slideshow demonstrating the consequence of dereferencing a null pointer. OpenDSA Pointer, Reference, Object
176 Java Data Types Presentation Slideshow showing primitive data types in Java and the concept of object and reference. OpenDSA Pointer, Reference, Data Type, Object