Showing 0–0 of 0 results
| # | Exercise Title | Features | Description | Platform | Keywords |
|---|---|---|---|---|---|
| 1 | LRU Introduction Slideshow | Algorithm Visualization | Slideshow illustrating the Least Recently Used replacement heuristic. | OpenDSA | Buffer Pool, Least Recently Used |
| 2 | LRU Replacement with Write Slideshow | Algorithm Visualization | Slideshow illustrating optimizing the Least Recently Used replacement heuristic by use of a dirty bit to minimize unnecessary writes. | OpenDSA | Buffer Pool, Least Recently Used, Dirty Bit |
| 3 | Determining When at Least One of the Three Boolean Variables is True | Construct a program that determines whether at least one of the three boolean variables is true based on the inputs... | PCEX | ||
| 4 | Determining When at Least One of the Three Boolean Variables is False | Construct a program that determines whether at least one of the three boolean variables is false based on the inputs... | PCEX | ||
| 5 | Determining When at Least One of the Three Boolean Variables is True | Construct a program that determines whether at least one of the three boolean variables is true based on the inputs... | PCEX | ||
| 6 | Determining When at Least One of the Three Boolean Variables is False | Construct a program that determines whether at least one of the three boolean variables is false based on the inputs... | PCEX | ||
| 7 | Determining When at Least One of the Three Boolean Variables is True | Construct a program that determines whether at least one of the three boolean variables is True based on the inputs... | PCEX | ||
| 8 | Determining When at Least One of the Three Boolean Variables is False | Construct a program that determines whether at least one of the three boolean variables is False based on the inputs... | PCEX | ||
| 9 | Determining When at Least One of the Three Boolean Variables is True | Construct a program that determines whether at least one of the three boolean variables is True based on the inputs... | PCEX | ||
| 10 | Determining When at Least One of the Three Boolean Variables is False. | Construct a program that determines whether at least one of the three boolean variables is False based on the inputs... | PCEX | ||
| 11 | Given integers a and b, return a list containing all even numbers that are at least a and at most b. | Code Completion | Given integers a and b, return a list containing all even numbers that are at least a and at most... | CodeCheck | Lists - Simple Exercises, Filling |
| 12 | Given a list of integers and two values a and b, count how many elements are at least a and at most b. | Code Completion | Given a list of integers and two values a and b, count how many elements are at least a and... | CodeCheck | Lists - Simple Exercises, Counting Elements |
| 13 | Given two lists of integers a and b of the same length, count the number of positions where the list elements differ by at least 2. | Code Completion | Given two lists of integers a and b of the same length, count the number of positions where the list... | CodeCheck | Lists - Simple Exercises, Counting Elements |
| 14 | 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 |
| 15 | DFA Exercise: Complement Even a, 3 b's | Automata Construction Exercise | User creates a DFA that accepts the complement of the langugage of strings with an even number of a's and... | OpenDSA | Deterministic Finite Automata |
| 16 | DFA Exercise: Even a, 3 b's | Automata Construction Exercise | User creates a DFA that accepts the langugage of strings with an even number of a's and at least 3... | OpenDSA | Deterministic Finite Automata |
| 17 | Determining When to Buy a New Phone (Case 1) | Construct a program that determines whether it is time to buy a new phone based on the inputs that it... | PCEX | ||
| 18 | Determining When to Buy a New Phone (Case 1) | Construct a program that determines whether it is time to buy a new phone based on the inputs that it... | PCEX | ||
| 19 | Determining When a Customer Could Rent a Car (Case 3) | Construct a program that determines whether a customer could rent a car based on the inputs that it receives from... | PCEX | ||
| 20 | Determining When a Customer Could Rent a Car (Case 3) | Construct a program that determines whether a customer could rent a car based on the inputs that it receives from... | PCEX | ||
| 21 | 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 | ||
| 22 | 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 | ||
| 23 | Determining When to Buy a New Phone (Case 1) | Construct a program that determines whether it is time to buy a new phone based on the inputs that it... | PCEX | ||
| 24 | Determining When to Buy a New Phone (Case 1) | Construct a program that determines whether it is time to buy a new phone based on the inputs that it... | PCEX | ||
| 25 | Determining When a Customer Could Rent a Car (Case 3) | Construct a program that determines whether a customer could rent a car based on the inputs that it receives from... | PCEX | ||
| 26 | Determining When a Customer Could Rent a Car (Case 3). | Construct a program that determines whether a customer could rent a car based on the inputs that it receives from... | PCEX | ||
| 27 | DFA Exercise: Even a's, b's, odd a's | Automata Construction Exercise | User creates a DFA that accepts the langugage of strings with an even number of a's, followed by at least... | OpenDSA | Deterministic Finite Automata |
| 28 | Calculating the Wage of an Employee at the Customer Service Call Center | Construct a program for the payment department of a company to calculate the wage of an employee who works at... | PCEX | ||
| 29 | Calculating the Wage of an Employee at the Customer Service Call Center | Construct a program for the payment department of a company to calculate the wage of an employee who works at... | PCEX | ||
| 30 | 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 | ||
| 31 | 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 | ||
| 32 | Calculating the Wage of an Employee at the Customer Service Call Center | Construct a program for the payment department of a company to calculate the wage of an employee who works at... | PCEX | ||
| 33 | Calculating the Wage of an Employee at the Customer Service Call Center. | Construct a program for the payment department of a company to calculate the wage of an employee who works at... | PCEX | ||
| 34 | 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 |
| 35 | 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 |
| 36 | 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 |
| 37 | 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 |
| 38 | 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 |
| 39 | Given a list of integers and a value, return the position of the last occurrence 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 position of the last occurrence of the value in the... | CodeCheck | Lists - Simple Exercises, Finding Elements |
| 40 | 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 |
| 41 | Given a list of integers, return the position of the last occurrence of the largest element. | Code Completion | Given a list of integers, return the position of the last occurrence of the largest element. | CodeCheck | Lists - Simple Exercises, Maximum and Minimum |
| 42 | 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 |
| 43 | 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 |
| 44 | 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 |
| 45 | 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 |
| 46 | 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 |
| 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 | Writing to file | Write a program that will enter the first and last name of the student, as well as the average grade,... | PCEX | ||
| 49 | Updating an Element in the Array (Case 3) | Construct a program that initializes an array with four strings, changes the last element in the array, and finally, prints... | PCEX | ||
| 50 | Updating an Element in the Array (Case 3) | Construct a program that initializes an array with four strings, changes the last element in the array, and finally, prints... | PCEX | ||
| 51 | 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 | ||
| 52 | Updating an Element in the List (Case 3) | Construct a program that initializes a list with four string values, changes the last element in the list, and finally,... | PCEX | ||
| 53 | Updating an Element in the List (Case 3). | Construct a program that initializes a list with four string values, changes the last element in the list, and finally,... | PCEX | ||
| 54 | 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 | ||
| 55 | 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 | ||
| 56 | 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 | ||
| 57 | 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 | ||
| 58 | 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 | ||
| 59 | 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 | ||
| 60 | 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 | ||
| 61 | 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 | ||
| 62 | 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 | ||
| 63 | 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 | ||
| 64 | Accessing String Characters (Case 1) | Construct a program that prints the 1st, 9th, and the last character of the string "String Example!". | PCEX | ||
| 65 | Accessing String Characters (Case 1) | Construct a program that prints the 1st, 9th, and the last character of the string "String Example!". | PCEX | ||
| 66 | 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 | ||
| 67 | 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 | ||
| 68 | Construct a function that uses Queue Structure | Construct a function that uses Queue Structure to solve a Josephus problem that removes the kth element in a given... | jsParsons | queue | |
| 69 | 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 | |
| 70 | Solving Josephus Problem | Construct a program by using Queue structure to solve a Josephus problem. Josephus problem is a counting-out game. N people... | PCEX |