Showing 0-0 of 0 results
# Exercise Title Features Description Platform Keywords
1 Calculate and Display Average Test Score Free Coding Problem, coding problem Coding Question CodeWorkout average, conditional, if-else, coding problem
2 Insertion Sort Average Case Slideshow Code Tracing Presentation, Algorithm Analysis Presentation Slideshow showing an analysis of Insertion Sort's average-case behavior and cost. OpenDSA Insertion Sort, Average Case
3 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
4 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
5 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
6 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
7 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
8 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
9 Bubble Sort Analysis Slideshow Algorithm Analysis Presentation Slideshow showing an analysis of Bubble Sort's cost in worst, average, and best cases. OpenDSA Bubble Sort, Worst Case, Average Case, Best Case
10 Exchange Sort Analysis Slideshow Algorithm Analysis Presentation Slideshow showing an analysis of Echange Sorting cost. OpenDSA Bubble Sort, Worst Case, Average Case, Best Case
11 Selection Sort Analysis Slideshow Algorithm Analysis Presentation Slideshow showing an analysis of Selection Sort's cost analysis. OpenDSA Selection Sort, Worst Case, Average Case, Best Case
12 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
13 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
14 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
15 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
16 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
17 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
18 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
19 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
20 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
21 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
22 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
23 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
24 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
25 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
26 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
27 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
28 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
29 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
30 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
31 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
32 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
33 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
34 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
35 Average numbers Free Coding Problem, coding problem Coding Question CodeWorkout double, arrays, cci, coding problem
36 Average Speed Free Coding Problem, code writing Coding Question CodeWorkout math, variables, integerDivision, code writing
37 averageArray Free Coding Problem, code writing Coding Question CodeWorkout arrays, loops, conditionals, code writing
38 (Preliminary)AverageSpeedInMarathon-CSEdPad Construct a program that calculates the average speed in miles per hour using the values stored in variables given and... AnnEx
39 Quicksort Average Case Analysis Slideshow Algorithm Visualization Slideshow showing a visual proof for the average-case cost of Quicksort. OpenDSA Quicksort
40 Find Average of Three Numbers C++ Free Coding Problem, code writing Coding Question CodeWorkout arithmetic, code writing
41 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
42 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
43 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
44 testing_um2_student_average_arun_ch Calculate the student average grade (challenge) PCEX
45 testing_um2_student_average_arun_ex Calculate the Student Average Grade (example) PCEX
46 testing_um2_student_average_arun_ch Calculate the student average grade (challenge) PCEX
47 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
48 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
49 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
50 Sum and Average Using Loops Python BehaviorExample for demonstrating Sum and Average Using Loops WebEx while loop
51 Calculating Sum/Average of the Array Values Construct a program that computes the sum of all the values in an array. PCEX arrays
52 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
53 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
54 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
55 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
56 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
57 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
58 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
59 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
60 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
61 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
62 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
63 Given a list of integers of length ≥ 4, return the average of the first two and last two elements. Code Completion Given a list of integers of length ≥ 4, return the average of the first two and last two elements. CodeCheck Lists - Simple Exercises, No loops
64 Given a list 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 a list of integers of length ≥ 3, return the average of the first, last, and middle element (or... CodeCheck Lists - Simple Exercises, No loops
65 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
66 Best, Worst, and Average cases slideshow Presentation Slideshow illustrating analysis when there are different inputs of a given size. OpenDSA Problem, Algorithm, Program
67 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
68 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
69 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
70 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
71 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
72 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
73 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
74 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
75 JSON Aggregate 3 Compute and display the average (mean) age jsParsons json, json-aggregate
76 Dictionary calculations Construct a program that calculates each student’s average score by using `studentdict` dictionary that is already defined as follows: jsParsons classes, data structures, dictionaries, dictionary, stacks
77 Mergesort Analysis Slideshow Algorithm Visualization Slideshow showing a visual analysis of Mergesort best, average, and worst case performance. OpenDSA Mergesort
78 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
79 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 list
80 Converting temperatures Code Completion Your task is to read an input file containing a month name followed by the average maximum temperature for that... CodeCheck Input and Output
81 Determining When a Student Fails a Course (Case 3) Construct a program that determines whether a student fails the course based on the inputs that it receives from the... PCEX boolean expressions
82 PANDAS GroupBy 1 You're provided a dataframe of used cars using pandas. Group the data by 'type' and calculate the average mileage for... jsParsons json, pandas
83 PANDAS Stats 1 You're provided a dataframe of used cars using pandas. Display the first 5 rows and calculate the average mileage of... jsParsons json, pandas, statistics
84 Determining When a Student Fails a Course (Case 3) Construct a program that determines whether a student fails the course based on the inputs that it receives from the... PCEX boolean expressions
85 Pass-Fail Rule (Case 3) Construct a program that determines whether a student fails the course based on the inputs that it receives from the... PCEX boolean expressions, if-else statement
86 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
87 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
88 Processing the Results of a Soda Survey (Case 2) Suppose a soda manufacturer held a taste test for four new flavors to determine if people liked them. The manufacturer... PCEX 2d list
89 Processing the Results of a Soda Survey (Case 3) Suppose a soda manufacturer held a taste test for four new flavors to determine if people liked them. The manufacturer... PCEX 2d list
90 Creating a Dictionary of Student-Scores Pairs Assume we have a list of students and a list of their corresponding test scores. Construct a program that has... PCEX dictionaries, dictionary
91 Processing exam scores Code Completion Your task is to read a file containing exam scores, and to write another file that contains the results of... CodeCheck Input and Output