Showing 0–0 of 0 results
| # | Exercise Title | Features | Description | Platform | Keywords |
|---|---|---|---|---|---|
| 1 | Hash Functions Exercises | Calculation Exercise | User must give the result of a specified hash function on a specified input. Where appropriate, user is expected to... | OpenDSA | Hash Function |
| 2 | Hash Functions Summary Practice Questions | Question, Battery | A collection of self-practice questions on hash functions. | OpenDSA | Hash Function |
| 3 | The mod Hash Function | Algorithm Visualization | Slideshow showing the basic mod function as a hash function. | OpenDSA | Hash Function |
| 4 | The Binning Hash Function | Algorithm Visualization | Slideshow showing basic binning (using high-order digits) as a hash function. | OpenDSA | Hash Function |
| 5 | 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 |
| 6 | Mid-square Method Calculator | Calculation Exercise | Calculator for computing value of the middle digits of a squared number. | OpenDSA | Hash Function |
| 7 | 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 |
| 8 | Alternate Form Bucket Hashing Proficiency Exercise | Tracing Exercise | User must give the result from a series of inserts using bucket hashing. This version uses a variation on bucket... | OpenDSA | Bucket Hashing |
| 9 | Rotating the List Values to the Right by Two Position | Construct a program that has a function that receives a list of values and returns the list rotated to the... | PCEX | ||
| 10 | Rotating the List Values to the Right by Two Position | Construct a program that has a function that receives a list of values and returns the list rotated to the... | PCEX | ||
| 11 | Creating an array that Contains the Numbers of Times Each Element of One Array Appears in Another Array | Construct a program that has a function that receives two arrays and creates an array that contains the number of... | PCEX | ||
| 12 | Creating an array that Contains the Numbers of Times Each Element of One Array Appears in Another Array | Construct a program that has a function that receives two arrays and creates an array that contains the number of... | PCEX | ||
| 13 | Creating a Dictionary of Character-Count Pairs | Construct a program that has a function which receives a string from the user and creates a dictionary that maps... | PCEX | ||
| 14 | Creating a Dictionary of Character-Words Pairs | Construct a program that has a function which receives a string and creates a dictionary that maps each character to... | PCEX | ||
| 15 | Creating a Dictionary of Character-Count Pairs | Construct a program that has a function which receives a string from the user and creates a dictionary that maps... | PCEX | ||
| 16 | Creating a Dictionary of Character-Words Pairs. | Construct a program that has a function which receives a string and creates a dictionary that maps each character to... | PCEX | ||
| 17 | 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 | ||
| 18 | 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 | ||
| 19 | 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 | ||
| 20 | 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 | ||
| 21 | 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 | ||
| 22 | Calculating the Average of the Values in the List | Construct a program that has a function that receives a list and calculates the average of the values in that... | PCEX | ||
| 23 | Rotating the List Values to the Left by One Position | Construct a program that has a function that receives a list of values and returns the list rotated to the... | PCEX | ||
| 24 | Rotating the List Values to the Left by Two Position | Construct a program that has a function that receives a list of values and returns the list rotated to the... | PCEX | ||
| 25 | Rotating the List Values to the Right by One Position | Construct a program that has a function that receives a list of values and returns the list rotated to the... | PCEX | ||
| 26 | Rotating the List Values to the Right by Two Position | Construct a program that has a function that receives a list of values and returns the list rotated to the... | PCEX | ||
| 27 | Rotating the List Values to the Left by One Position | Construct a program that has a function that receives a list of values and returns the list rotated to the... | PCEX | ||
| 28 | Rotating the List Values to the Left by Two Position | Construct a program that has a function that receives a list of values and returns the list rotated to the... | PCEX | ||
| 29 | Rotating the List Values to the Right by One Position. | Construct a program that has a function that receives a list of values and returns the list rotated to the... | PCEX | ||
| 30 | Rotating the List Values to the Right by Two Position. | Construct a program that has a function that receives a list of values and returns the list rotated to the... | PCEX | ||
| 31 | Printing Common Elements in Two Lists | Construct a program that has a function that receives two lists and prints the values in the 2nd list that... | PCEX | ||
| 32 | Printing the Total Number of Times Elements of One List Appear in Another List | Construct a program that has a function that receives two lists and prints the total number of times the elements... | PCEX | ||
| 33 | Creating a List that Contains the Numbers of Times Each Element of One List Appears in Another List | Construct a program that has a function that receives two lists and creates a list that contains the number of... | PCEX | ||
| 34 | Printing Common Elements in Two Lists | Construct a program that has a function that receives two lists and prints the values in the 2nd list that... | PCEX | ||
| 35 | Printing the Total Number of Times Elements of One List Appear in Another List | Construct a program that has a function that receives two lists and prints the total number of times the elements... | PCEX | ||
| 36 | Creating a List that Contains the Numbers of Times Each Element of One List Appears in Another List. | Construct a program that has a function that receives two lists and creates a list that contains the number of... | PCEX | ||
| 37 | Counting the Occurrences of One String in Another (Case 1) | Construct a program that has a function that receives a string and returns the number of times that the string... | PCEX | ||
| 38 | Counting the Occurrences of One String in Another (Case 2) | Construct a program that has a function that receives a string and returns the number of times that the string... | PCEX | ||
| 39 | Counting the Occurrences of One String in Another (Case 1) | Construct a program that has a function that receives a string and returns the number of times that the string... | PCEX | ||
| 40 | Counting the Occurrences of One String in Another (Case 2). | Construct a program that has a function that receives a string and returns the number of times that the string... | PCEX | ||
| 41 | Repeating Characters of a String (Case 1) | Construct a program that has a function that receives a string and creates a new string that has each character... | PCEX | ||
| 42 | 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 | ||
| 43 | 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 | |
| 44 | Creating a Dictionary of Student-Scores Pairs (Case 1) | Assume we have a list of students and a list of their corresponding test scores. Construct a program that has... | PCEX | ||
| 45 | Creating a Dictionary of Student-Scores Pairs (Case 2) | Assume we have a list of students and a list of their corresponding test scores. Construct a program that has... | PCEX | ||
| 46 | Construct an inorder traversal function | Construct an inorder traversal function that recursively traverse a tree from left node, root node and right node. We store... | jsParsons | trees | |
| 47 | Construct a preorder traversal function | Construct a preorder traversal function that recursively traverse a tree from root node, left node and right node. We store... | jsParsons | trees | |
| 48 | Hash Table Deletion Proficiency Exercise | Tracing Exercise | Proficiency exercise for hash table deletion. User must show the complete sequence of steps for removing an element from the... | OpenDSA | Hashing |
| 49 | Hash Cost Analysis Summary Practice Questions | Question, Battery | A collection of self-practice questions on hashing cost analysis. | OpenDSA | Hashing Cost Analysis |
| 50 | Hash Deletion Summary Practice Questions | Question, Battery | A collection of self-practice questions on hash table deletion. | OpenDSA | Hashing |
| 51 | Hash Table Deletion Slideshow | Algorithm Visualization | Slideshow showing deletion from a hash table. | OpenDSA | Hashing |
| 52 | Bucket Hashing Slideshow | Algorithm Visualization | Slideshow showing the basic hash method of hashing to any free position within a computed bucket. | OpenDSA | Bucket Hashing |
| 53 | Birthday Calculator Exercises | Calculation Exercise | User must use the birthday calculator to determine the smallest number of inserts into a hash table of a specified... | OpenDSA | Hashing, Collision Resolution |
| 54 | Quadratic Probing Problems Slideshow | Algorithm Visualization | Slideshow demonstrating how quadratic probing does not always visit all slots of the hash table during collision resolution. | OpenDSA | Collision Resolution |
| 55 | Calculating the Employees Wage Based on the Hours That the Employee Has Worked and an Hourly Pay Rate | Construct a program for the payment department of a company to calculate the wage of an employee based on the... | PCEX | ||
| 56 | Calculating the Employee's Wage Based on the Hours That the Employee Has Worked and an Hourly Pay Rate | Construct a program for the payment department of a company to calculate the wage of an employee based on the... | PCEX | ||
| 57 | Calculating the Employee's Wage Based on the Hours That the Employee Has Worked and an Hourly Pay Rate | Construct a program for the payment department of a company to calculate the wage of an employee based on the... | PCEX | ||
| 58 | Calculating the Employee's Wage Based on the Hours That the Employee Has Worked and an Hourly Pay Rate | Construct a program for the payment department of a company to calculate the wage of an employee based on the... | PCEX | ||
| 59 | Calculating the Employee's Wage Based on the Hours That the Employee Has Worked and an Hourly Pay Rate | Construct a program for the payment department of a company to calculate the wage of an employee based on the... | PCEX | ||
| 60 | Given a string, return the string with the middle two characters removed if it has even length, and the middle character removed if it has odd length. | Code Completion | Given a string, return the string with the middle two characters removed if it has even length, and the middle... | CodeCheck | Strings, No Loops |
| 61 | Given a string, return the string with the middle two characters swapped if it has even length, and the middle three characters swapped if it has odd length. | Code Completion | Given a string, return the string with the middle two characters swapped if it has even length, and the middle... | CodeCheck | Strings, No Loops |
| 62 | Rotating the Array Values to the Left by One Position | Construct a program that has a method that receives an array of values and returns the array rotated to the... | PCEX | ||
| 63 | Rotating the Array Values to the Left by Two Position | Construct a program that has a method that receives an array of values and returns the array rotated to the... | PCEX | ||
| 64 | Rotating the Array Values to the Right by One Position | Construct a program that has a method that receives an array of values and returns the array rotated to the... | PCEX | ||
| 65 | Rotating the Array Values to the Left by One Position | Construct a program that has a method that receives an array of values and returns the array rotated to the... | PCEX | ||
| 66 | Rotating the Array Values to the Left by Two Position | Construct a program that has a method that receives an array of values and returns the array rotated to the... | PCEX | ||
| 67 | Rotating the Array Values to the Right by One Position | Construct a program that has a method that receives an array of values and returns the array rotated to the... | PCEX | ||
| 68 | Printing Common Elements in Two Arrays | Construct a program that has a method that receives two arrays and prints the values in the 2nd array that... | PCEX | ||
| 69 | Printing the Total Number of Times Elements of One Array Appear in Another Array | Construct a program that has a method that receives two arrays and prints the total number of times the elements... | PCEX | ||
| 70 | Printing Common Elements in Two Arrays | Construct a program that has a method that receives two arrays and prints the values in the 2nd array that... | PCEX | ||
| 71 | Printing the Total Number of Times Elements of One Array Appear in Another Array | Construct a program that has a method that receives two arrays and prints the total number of times the elements... | PCEX | ||
| 72 | Class Point | Construct a class Point which has a method to tell distance from another instance of Point. | jsParsons | classes, data structures, objects, stacks | |
| 73 | Hamiltonian Cycle Proficency Exercise | Proficiency Exercise | User must determine whether a given graph has a Hamiltonian cycle. | OpenDSA | Hamiltonian Cycle Problem |
| 74 | Updating Two-Dimensional Array (Case 1) | Construct a program that initializes a 3x4 two-dimensional matrix that has the numbers 1 through 12 for entries, sets the... | PCEX | ||
| 75 | Updating Two-Dimensional Array (Case 2) | Construct a program that initializes a 3x3 two-dimensional matrix that has the numbers 1 through 9 for entries, sets the... | PCEX | ||
| 76 | 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 | ||
| 77 | Updating Two-Dimensional Array (Case 1) | Construct a program that initializes a 3x4 two-dimensional matrix that has the numbers 1 through 12 for entries, sets the... | PCEX | ||
| 78 | Updating Two-Dimensional Array (Case 2) | Construct a program that initializes a 3x3 two-dimensional matrix that has the numbers 1 through 9 for entries, sets the... | PCEX | ||
| 79 | 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 | ||
| 80 | Determining Whether One is a Teenager (Case 1) | Construct a program that receives a string that has the user name and age separated by a colon, and prints... | PCEX | ||
| 81 | Determining Whether One is a Teenager (Case 1) | Construct a program that receives a string that has the user name and age separated by a colon, and prints... | PCEX | ||
| 82 | Determining Whether One is a Teenager (Case 1) | Construct a program that receives a string that has the user name and age separated by a colon, and prints... | PCEX | ||
| 83 | Updating Two-Dimensional List (Case 1) | Construct a program that initializes a 3x4 two-dimensional matrix that has the numbers 1 through 12 for entries, updates the... | PCEX | ||
| 84 | Updating Two-Dimensional List (Case 2) | Construct a program that initializes a 3x3 two-dimensional matrix that has the numbers 1 through 9 for entries, updates the... | PCEX | ||
| 85 | 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 | ||
| 86 | 3-Satisfiability Proficency Exercise | Presentation Exercise | User must determine whether a given 3-CNF expression has a satisfying truth assignment or not. | OpenDSA | Satisfiability Problem |
| 87 | Determining Whether One is a Teenager (Case 2) | Construct a program that asks the user to enter a string that has the user name and age separated by... | PCEX | ||
| 88 | Determining Whether One is a Teenager (Case 2) | Construct a program that asks the user to enter a string that has the user name and age separated by... | PCEX | ||
| 89 | Determining Whether One is a Teenager (Case 2) | Construct a program that asks the user to enter a string that has the user name and age separated by... | PCEX | ||
| 90 | Reporting the Total Hours Each Employee Worked (Case 1) | Suppose we have an input file that contains information about how many hours each employee of a company has worked.... | PCEX | ||
| 91 | Reporting the Total Hours Each Employee Worked (Case 2) | Suppose we have an input file that contains information about how many hours each employee of a company has worked.... | PCEX | ||
| 92 | Reporting the Total Hours Each Employee Worked (Case 1) | Suppose we have an input file that contains information about how many hours each employee of a company has worked.... | PCEX | ||
| 93 | Reporting the Total Hours Each Employee Worked (Case 2) | Suppose we have an input file that contains information about how many hours each employee of a company has worked.... | PCEX | ||
| 94 | Reporting the Total Hours Each Employee Worked (Case 1) | Suppose we have an input file that contains information about how many hours each employee of a company has worked.... | PCEX | ||
| 95 | Reporting the Total Hours Each Employee Worked (Case 2) | Suppose we have an input file that contains information about how many hours each employee of a company has worked.... | PCEX | ||
| 96 | Grammar Construction Exercise: Three Strings | Grammar Construction Exercise | Exercise where user must write the grammar for a given language. This language has three strings. | OpenDSA | Language, Grammar |
| 97 | Grammar Construction Exercise: abb | Grammar Construction Exercise | Exercise where user must write the grammar for a given language. This language has some a's followed by twice as... | OpenDSA | Language, Grammar |
| 98 | Grammar Construction Exercise: a's and b's | Grammar Construction Exercise | Exercise where user must write the grammar for a given language. This language has some a's followed by some b's. | OpenDSA | Language, Grammar |
| 99 | Grammar Construction Exercise: Balanced Parentheses | Grammar Construction Exercise | Exercise where user must write the grammar for a given language. This language has balanced and properly nested parentheses. | OpenDSA | Language, Grammar |
| 100 | Determining When a Student Fails a Course (Case 1) | Construct a program to determine whether a student fails the course based on the inputs that it receives from the... | PCEX | ||
| 101 | Determining When a Student Fails a Course (Case 2) | Construct a program that determines whether a student fails the course based on the inputs that it receives from the... | PCEX | ||
| 102 | Determining When a Student Fails a Course (Case 1) | Construct a program to determine whether a student fails the course based on the inputs that it receives from the... | PCEX | ||
| 103 | Determining When a Student Fails a Course (Case 2) | Construct a program that determines whether a student fails the course based on the inputs that it receives from the... | PCEX | ||
| 104 | Determining When to Buy a New Phone (Case 2) | Construct a program that determines whether it is time to buy a new phone based on the inputs that it... | PCEX | ||
| 105 | Determining When to Buy a New Phone (Case 2) | Construct a program that determines whether it is time to buy a new phone based on the inputs that it... | PCEX | ||
| 106 | csedpad.15.ArrayLists.arraylist_1 | For the online sports store, this program determines if seller adds gifts to the shipping box or not. The seller... | PCEX | ||
| 107 | csedpad.22.Searching.searching(linearsearch) | This program implements Linear Search Algorithm to take the size of the array and then if a user inputs lets... | PCEX | ||
| 108 | Animal Class Hierarchy (Case 1) | Suppose we have a class Animal and we want to extend it to produce class Dog. An animal has a... | PCEX | ||
| 109 | Animal Class Hierarchy (Case 2) | Suppose we have a class Animal and we want to extend it to produce class Dog. An animal has a... | PCEX | ||
| 110 | Animal Class Hierarchy (Case 1) | Suppose we have a class Animal and we want to extend it to produce class Dog. An animal has a... | PCEX | ||
| 111 | Animal Class Hierarchy (Case 2) | Suppose we have a class Animal and we want to extend it to produce class Dog. An animal has a... | PCEX | ||
| 112 | Point Class Hierarchy (Case 1) | Suppose we have a class Point and we want to extend it to produce class Point3D. The class Point has... | PCEX | ||
| 113 | Point Class Hierarchy (Case 2) | Suppose we have a class Point and we want to extend it to produce class Point3D. The class Point has... | PCEX | ||
| 114 | Point Class Hierarchy (Case 1) | Suppose we have a class Point and we want to extend it to produce class Point3D. The class Point has... | PCEX | ||
| 115 | Point Class Hierarchy (Case 2) | Suppose we have a class Point and we want to extend it to produce class Point3D. The class Point has... | PCEX | ||
| 116 | Determining When a Student Fails a Course (Case 1) | Construct a program to determine whether a student fails the course based on the inputs that it receives from the... | PCEX | ||
| 117 | Determining When a Student Fails a Course (Case 2) | Construct a program that determines whether a student fails the course based on the inputs that it receives from the... | PCEX | ||
| 118 | Determining When to Buy a New Phone (Case 2) | Construct a program that determines whether it is time to buy a new phone based on the inputs that it... | PCEX | ||
| 119 | Determining When to Buy a New Phone (Case 2). | Construct a program that determines whether it is time to buy a new phone based on the inputs that it... | PCEX | ||
| 120 | Determining When a Student Fails a Course | Construct a program that determines whether a student fails the course based on the inputs that we receive from the... | PCEX | ||
| 121 | Dictionary Values | Construct a program that prints out how many items in total are in storage. You can assume that a dictionary... | jsParsons | classes, data structures, dictionaries, dictionary, stacks | |
| 122 | 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 |
| 123 | Comparing the List of Words from Two Files | Construct a program that reads two text files and creates a list of the words that each of these files... | PCEX | ||
| 124 | Comparing the List of Words from Two Files | Construct a program that reads two text files and creates a list of the words that each of these files... | PCEX | ||
| 125 | Modifying an Array (Case 2) | Construct a program that swaps pairs of adjacent elements of the array. For example, if the array is {1, 2,... | PCEX | ||
| 126 | Modifying an Array (Case 2) | Construct a program that swaps pairs of adjacent elements of the array. For example, if the array is {1, 2,... | PCEX | ||
| 127 | Warning the User about the Changes in the Temperature and Humidity | Construct a program that receives the temperature and humidity for today and yesterday and warns the user when it is... | PCEX | ||
| 128 | Warning the User about the Changes in the Temperature and Humidity | Construct a program that receives the temperature and humidity for today and yesterday and warns the user when it is... | PCEX | ||
| 129 | Modifying a List (Case 2) | Construct a program that swaps pairs of adjacent elements of the list. For example, if the list is [1, 2,... | PCEX | ||
| 130 | Warning the User about the Changes in the Temperature and Humidity | Construct a program that receives the temperature and humidity for today and yesterday and warns the user when it is... | PCEX | ||
| 131 | Warning the User about the Changes in the Temperature and Humidity. | Construct a program that receives the temperature and humidity for today and yesterday and warns the user when it is... | PCEX |