Showing 0-0 of 0 results
| # | Exercise Title | Features | Description | Platform | Keywords |
|---|---|---|---|---|---|
| 1 | 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 |
| 2 | 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 |
| 3 | Given a string, find all integers inside and return a string that separates them by commas. | Code Completion | Given a string, find all integers inside and return a string that separates them by commas. | CodeCheck | Strings, Numbers in Strings |
| 4 | 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 |
| 5 | Given a string, find all integers inside and return a string that separates them by commas. | Code Completion | Given a string, find all integers inside and return a string that separates them by commas. | CodeCheck | Strings, Numbers in Strings |
| 6 | 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 |
| 7 | Concatenating Strings and Numbers | Construct a program that uses variables x, y, and z to print "Python was invented in 1989.". | PCEX | strings | |
| 8 | CFG Exercise: a's and b's are equal | Grammar Construction Exercise | User creates a CFG that generates strings in the language where the number of a's and b's is equal. | OpenDSA | Context-Free Grammar |
| 9 | Map words to their lengths | Code Completion | Given an array of strings, create a tree map with each string as a key and its corresponding value the... | CodeCheck | Tree Structures |
| 10 | Counting the Occurrences of One String in Another | Construct a program that has a function that receives a string and returns the number of times that the string... | PCEX | functions, strings | |
| 11 | Counting the Occurrences of One String in Another | Construct a program that has a function that receives a string and returns the number of times that the string... | PCEX | for loop, functions, strings | |
| 12 | Static method for counting the number of times a character appears in a string | Code Completion | Supply a static method that counts the number of times that a specific character appears in a given string. For... | CodeCheck | Designing Classes |
| 13 | Letter frequency (count) | Code Completion | Write a method that computes how often each letter A-Z or a-z occurs in a string. Don't distinguish between upper-... | CodeCheck | Arrays and Array Lists |
| 14 | Color codes for double-sized image | Code Completion | Consider an image that is composed of a number of colored small squares, each colored in one of these 8... | CodeCheck | Loops |
| 15 | Determining Number of Parse Tree Nodes Exercise: Alternate | Calculation Exercise, Battery | User determines the number of nodes in a parse tree generated by a given string on a given grammar. Alternative... | OpenDSA | Context-Free Grammar, Parse Tree |
| 16 | Determining Number of Parse Tree Nodes Exercise | Calculation Exercise | User determines the number of nodes in a parse tree generated by a given string on a given grammar. | OpenDSA | Context-Free Grammar, Parse Tree |
| 17 | On a chessboard, positions are marked with a letter between a and h for the column and a number between 1 and 8 for the row. | Code Completion | On a chessboard, positions are marked with a letter between a and h for the column and a number between... | CodeCheck | Branches, Branches Without Functions |
| 18 | On a chessboard, positions are marked with a letter between a and h for the column and a number between 1 and 8 for the row. | Code Completion | On a chessboard, positions are marked with a letter between a and h for the column and a number between... | CodeCheck | Branches, Branches Without Functions |