Showing 0–0 of 0 results
# Exercise Title Features Description Platform Keywords
1 First Fit Memory Manager Proficiency Exercise Tracing Exercise Proficiency exercise for first fit memory manager. User must show the complete sequence of steps for allocating memory blocks. OpenDSA First Fit Memory Manager
2 First Fit Memory Manager Visualization Algorithm Visualization, User Supplied Data Algorithm Visualization for various sequential memory manager schemes. User can select data for the visualization. Multiple versions are available: First... OpenDSA Sequential Fit Memory Manager
3 Breadth-First Search Graph Traversal Visualization Algorithm Visualization Visualization for breadth-first search to traverse a graph. OpenDSA Breadth-First Search
4 Breadth-First Search Graph Traversal Proficiency Exercise Tracing Exercise Proficiency exercise for breadth-first search to traverse a graph. User must indicate the order in which nodes are visited by... OpenDSA Breadth-First Search
5 Depth-First Search Graph Traversal Proficiency Exercise Tracing Exercise Proficiency exercise for depth-first search to traverse a graph. User just indicate the order in which nodes are visited by... OpenDSA Depth-First Search
6 Breadth-first graph traversal slideshow Algorithm Visualization Slideshow demonstrating the breadth-first search algorithm for traversing a graph. OpenDSA Breadth-First Search
7 Depth-first graph traversal slideshow Algorithm Visualization Slideshow demonstrating the depth-first search algorithm for traversing a graph. OpenDSA Depth-First Search
8 Depth-First Topological Sort Slideshow Algorithm Visualization Slideshow demonstrating the depth-first topological sort algorithm. OpenDSA Topological Sort
9 Shellsort First Pass Sublist Slideshow Algorithm Visualization Slideshow showing the sublists that would be processed by the first pass of Shellsort (increments of size n/2). OpenDSA Shellsort
10 Shellsort First Pass Details Slideshow Algorithm Visualization Slideshow showing the details of what records would be compared and swapped in the first pass of Shellsort. OpenDSA Shellsort
11 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
12 Bubble Sort First Pass Slideshow Algorithm Visualization Slideshow showing a simple visualization of the first pass for Bubble Sort. OpenDSA Bubble Sort
13 Selection Sort First Pass Slideshow Algorithm Visualization Slideshow showing a simple visualization of the first pass for Selection Sort. OpenDSA Selection Sort
14 Given a list of integers, swap the first and last elements. Code Completion Given a list of integers, swap the first and last elements. CodeCheck Lists - Simple Exercises, No loops
15 Given a list of integers, swap the first two and the last two elements. Code Completion Given a list of integers, swap the first two and the last two elements. CodeCheck Lists - Simple Exercises, No loops
16 Given a string s, return the first vowel that is doubled in the string. Code Completion Given a string s, return the first vowel that is doubled in the string. CodeCheck Strings, Other String Operations
17 Given a string, return a string composed first of all characters at even positions and then of all characters at odd positions. Code Completion Given a string, return a string composed first of all characters at even positions and then of all characters at... CodeCheck Strings, Other String Operations
18 Given two strings s and t, return the first position where their characters differ, or -1 if they are identical. Code Completion Given two strings s and t, return the first position where their characters differ, or -1 if they are identical. CodeCheck Strings, Comparing Strings
19 Given two strings s and t, return the first position where their characters are the same, or -1 if there is no such position. Code Completion Given two strings s and t, return the first position where their characters are the same, or -1 if there... CodeCheck Strings, Comparing Strings
20 Given a string, return the string with the first and last characters swapped. Code Completion Given a string, return the string with the first and last characters swapped. CodeCheck Strings, No Loops
21 Given a string, return the string with the first and second half swapped. Code Completion Given a string, return the string with the first and second half swapped. If the string has odd length, leave... CodeCheck Strings, No Loops
22 Given a string, return the string with the first half and the second half doubled. Code Completion Given a string, return the string with the first half and the second half doubled. For example, Java becomes JaJavava... CodeCheck Strings, No Loops
23 Given a string, find the first integer inside and return its value as an integer. Code Completion Given a string, find the first integer inside and return its value as an integer. Return 0 if there is... CodeCheck Strings, Numbers in Strings
24 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
25 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
26 Given an input string, print the string with the first and last letter removed if they were equal, or the original string if they were not. Code Completion Given an input string, print the string with the first and last letter removed if they were equal, or the... CodeCheck Branches, Branches Without Functions
27 Given the x- and y-coordinates of a point, print whether the point lies in the first, second, third, or fourth quadrant plane, or on the x-axis, or on the y-axis, or the origin. Code Completion Given the x- and y-coordinates of a point, print whether the point lies in the first, second, third, or fourth... CodeCheck Branches, Branches Without Functions
28 Given a two-dimensional array of integers, return the index of the first row that is entirely filled with zeroes. Code Completion Given a two-dimensional array of integers, return the index of the first row that is entirely filled with zeroes. CodeCheck Two-Dimensional Arrays, Complex Loops
29 Given a two-dimensional array of integers, return the top left corner of the first subarray of the form <pre>0 0 0 0</pre> Code Completion Given a two-dimensional array of integers, return the top left corner of the first subarray of the form
0 0...
                    
                
CodeCheck Two-Dimensional Arrays, Complex Loops
30 Given a list of integers, return the position of the first element that occurs more than once, or -1 if all elements occur exactly once. Code Completion Given a list of integers, return the position of the first element that occurs more than once, or -1 if... CodeCheck Lists - Simple Exercises, Counting Elements
31 Given a list a, return the longest n so that the first n elements equal the last n elements. Code Completion Given a list a, return the longest n so that the first n elements equal the last n elements. CodeCheck Lists - Simple Exercises, Double Loops
32 Given a list of integers and a value, return the difference between the last and first position of the value in the list, or -1 if the value does not exist. Code Completion Given a list of integers and a value, return the difference between the last and first position of the value... CodeCheck Lists - Simple Exercises, Finding Elements
33 Given two lists of integers of the same length, return the first position where their elements are the same. Code Completion Given two lists of integers of the same length, return the first position where their elements are the same. CodeCheck Lists - Simple Exercises, Finding Elements
34 Given two lists of integers of the same length, return the first position where their elements differ. Code Completion Given two lists of integers of the same length, return the first position where their elements differ. CodeCheck Lists - Simple Exercises, Finding Elements
35 Given a two-dimensional array of integers and a value x, return the position of the first match as a list of length 2. Code Completion Given a two-dimensional array of integers and a value x, return the position of the first match as a list... CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
36 Given a list of integers, return the position of the first occurrence of the largest element. Code Completion Given a list of integers, return the position of the first occurrence of the largest element. CodeCheck Lists - Simple Exercises, Maximum and Minimum
37 Given a list of integers, return the difference of the positions of the first and the last occurrence of the largest element. Code Completion Given a list of integers, return the difference of the positions of the first and the last occurrence of the... CodeCheck Lists - Simple Exercises, Maximum and Minimum
38 Given a string in which words are separated by spaces, return the first word that is duplicated (such as an accidental “this this”. Code Completion Given a string in which words are separated by spaces, return the first word that is duplicated (such as an... CodeCheck Strings, Words
39 Given a string in which words are separated by spaces, return the first word that is repeated somewhere in the string. Code Completion Given a string in which words are separated by spaces, return the first word that is repeated somewhere in the... CodeCheck Strings, Words
40 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
41 Given a list of integers, return a list of length 2 containing the first and last element, in sorted order. Code Completion Given a list of integers, return a list of length 2 containing the first and last element, in sorted order. CodeCheck Lists - Simple Exercises, Two Answers
42 Given a list of integers, remove all elements that occur more than once, leaving the first occurrence. Code Completion Given a list of integers, remove all elements that occur more than once, leaving the first occurrence. CodeCheck Lists - Simple Exercises, Counting Elements
43 Given a string s and a character c (as string of length 1), return a string with the characters surrounding the first occurrence of c reversed. Code Completion Given a string s and a character c (as string of length 1), return a string with the characters surrounding... CodeCheck Strings, Other String Operations
44 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
45 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
46 Nested Calls First define a calculate function and then define double function (that returns the given value doubled). Then write a program... jsParsons algorithm analysis, functions
47 csedpad.04.StringClass.strings_1 Given a first name and last name of a person, the program concatenates them to form a full name. PCEX
48 String Comparison (Case 1) Construct the program that first checks the equality of the strings "HELLO WORLD!" and "hello world!" and then modifies the... PCEX
49 String Comparison (Case 1) Construct the program that first checks the equality of the strings "HELLO WORLD!" and "hello world!" and then modifies the... PCEX
50 Nested List Indexing Construct a program that first prints out [[1, 2, 3], [4, 5, 6]], then [4, 5, 6], and finally 6. jsParsons list
51 Nested Loops Construct a program that first prints out 15, then 14, then 12, then 9 and finally 5 on consecutive lines. jsParsons algorithm analysis, nested loops, while loop
52 Nested Loops For 1 Construct a program that first prints out 15, then 14, then 12, then 9 and finally 5 on consecutive lines. jsParsons nested loops
53 String Indexing Construct a program that first prints out strings "Py", "th", "o", and "n" jsParsons strings
54 Writing to file Write a program that will enter the first and last name of the student, as well as the average grade,... PCEX
55 JSON Iterate 2 Using JSON structure list codes for first three flights jsParsons json, json-iterate
56 Insertion Sort Slideshow Algorithm Visualization Slideshow showing a visualization for the first pass of Insertion Sort. OpenDSA Insertion Sort
57 Creating an Array of Odd Numbers Construct a program that creates an array of first ten positive odd numbers. PCEX
58 Creating an Array of Odd Numbers Construct a program that creates an array of first ten positive odd numbers. PCEX
59 csedpad.20.Recursion.recursion_1 This program recursively generates the length of a given student first name. PCEX
60 Add Values to an Empty List (Case 1) Construct a program that creates a list of first ten positive odd numbers. PCEX
61 Add Values to an Empty List (Case 1) Construct a program that creates a list of first ten positive odd numbers. PCEX
62 (Recursion) Recursive is palindrome - CSEdPad This program checks a string is palindrome or not (first half of the string is the same as the second... AnnEx recursion
63 csedpad.11.ForLoops.no_topic_1 50 chickens are separated in odd-numbered and even-numbered cages with the first chicken being in cage 1 and the last... PCEX
64 Calculate Function Define a function that returns the second value multiplied by two and added by the first value. The program should... jsParsons functions
65 Construct a function that returns a list of remainders from the input. Construct a function which calculates the remainder of each element of the first list and the element with the same... jsParsons
66 Construct a function that returns a list of remainders from the input. Construct a program which calculates the remainder of each element of the first list and the element with the same... jsParsons
67 Pythagorean Theorem (Case 2) Suppose that the user provides two input values for a right-angle triangle. The first input is for the length of... PCEX
68 Pythagorean Theorem (Case 2) Suppose that the user provides two input values for a right-angle triangle. The first input is for the length of... PCEX
69 Updating an Element in the Array (Case 1) Construct a program that initializes an array with three integers, changes the first element in the array, and finally, prints... PCEX
70 Updating an Element in the Array (Case 1) Construct a program that initializes an array with three integers, changes the first element in the array, and finally, prints... PCEX
71 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
72 csedpad.20.Recursion.recursion This program checks whether a string is palindrome or not (meaning the second half of the string is the reverse... PCEX
73 Concatenating Characters of Two Strings (Case 1) Construct a program that has a function that receives two strings and returns a string formed from the given strings... PCEX
74 Concatenating Characters of Two Strings (Case 1) Construct a program that has a function that receives two strings and returns a string formed from the given strings... PCEX
75 Updating an Element in the List (Case 1) Construct a program that initializes a list with three values, changes the first element in the list, and finally, prints... PCEX
76 Updating an Element in the List (Case 1) Construct a program that initializes a list with three values, changes the first element in the list, and finally, prints... PCEX
77 Pythagorean Theorem (Case 2) Suppose that the user provides two input values for a right-angle triangle. The first input is for the length of... PCEX
78 Reorganize the list Construct a program which partition the original list of integers such that all even numbers come first and all odd... jsParsons
79 Reorganize the list Construct a function which partition the original list of integers such that all even numbers come first and all odd... jsParsons
80 Reorganize the list Construct a function which partition the list of integers given as a parameter such that all even numbers come first... jsParsons
81 Reorganize the list Construct a program which partition the original list of integers such that all even numbers come first and all odd... jsParsons
82 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
83 Construct a program that creates a Stack Structure Construct a program that creates two functions in a Stack Structure. The first one is "push" function and the second... jsParsons classes, data structures, stack, stacks
84 Mergsort Implementation Slideshow: Final Pass Algorithm Visualization Slideshow showing the details of implementing Mergesort using an array. This is the first of a two-part series, showing the... OpenDSA Mergesort
85 Updating Two-Dimensional Array (Case 3) Construct a program that initializes a 2x4 two-dimensional matrix that has multiples of 10 from 10 to 80 for entries,... PCEX
86 Updating Two-Dimensional Array (Case 3) Construct a program that initializes a 2x4 two-dimensional matrix that has multiples of 10 from 10 to 80 for entries,... PCEX
87 Bills statistics Write a program that combines the content of two files and saves it to a third file. The first file... PCEX
88 Concatenating Characters of Two Strings (Case 2) Construct a program that has a function that receives two strings and returns a string formed from the given strings... PCEX
89 Concatenating Characters of Two Strings (Case 2). Construct a program that has a function that receives two strings and returns a string formed from the given strings... PCEX
90 Updating Two-Dimensional List (Case 3) Construct a program that initializes a 2x4 two-dimensional matrix that has multiples of 10 from 10 to 80 for entries,... PCEX
91 Repeating Characters of a String (Case 2) Construct a program that has a function that receives a string and creates a new string that has every other... PCEX
92 Queue Class - Check if Element Exists In this example, you will use Queue class from queue provided by python. This class contains methods for adding a... PCEX
93 Queue Class - Check if Element Exists In this example, you will use Queue class from queue provided by python. This class contains methods for adding a... PCEX
94 Printing Name in APA Style Construct a program that prints the name "Alice Ann Darcy" following the APA style, i.e., last name first, followed by... PCEX
95 Printing Name in APA Style Construct a program that prints the name "Alice Ann Darcy" following the APA style, i.e., last name first, followed by... PCEX
96 (While loops) While Loops Ex 1 - CSEdPad Loop with simple loop variable increment: Assume you have a list of 1,000 people in alphabetical order and you are... AnnEx while loop
97 Practicing quick sort algorithm Construct a function that implements quick sort algorithm. The partition() function has been pre defined and displayed below.
Consider data is...
jsParsons recursion, search algorithms, sorting, sorting algorithms
98 Given a list of integers, return the most frequent element. Code Completion Given a list of integers, return the most frequent element. If there is more than one element with maximum frequency,... CodeCheck Lists - Simple Exercises, Counting Elements
99 Given a list of integers and a value, return the position of the element that is closest to the value. Code Completion Given a list of integers and a value, return the position of the element that is closest to the value.... CodeCheck Lists - Simple Exercises, Finding Elements
100 Given a list of integers, return a list of length 2, each being a list. Code Completion Given a list of integers, return a list of length 2, each being a list. The first one holds the... CodeCheck Lists - Simple Exercises, Two Answers
101 Given a list of integers, return a list of length 2, each being a list. Code Completion Given a list of integers, return a list of length 2, each being a list. The first one holds the... CodeCheck Lists - Simple Exercises, Two Answers
102 Printing Table of Medal Winner Counts with Row Totals Assume that we have an array of countries that stores the names of the seven countries that participated in the... PCEX
103 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
104 Printing Table of Medal Winner Counts with Row Totals Assume that we have an array of countries that stores the names of the seven countries that participated in the... PCEX
105 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
106 Printing Table of Medal Winner Counts with Row Totals Assume that we have an array of countries that stores the names of the seven countries that participated in the... PCEX
107 Doubly Linked List Create the necessary classes for a Doubly Linked List, containing the method insert_at_start(data) to add a new item to the... PCEX
108 Doubly Linked List Create the necessary classes for a Doubly Linked List, containing the method insert_at_start(data) to add a new item to the... PCEX