Showing 0-0 of 0 results
| # | Exercise Title | Features | Description | Platform | Keywords |
|---|---|---|---|---|---|
| 1 | Swap | Python CodeVisualization for demonstrating Swap | JSVEE | operators, swap, variables | |
| 2 | swap | Python PredictingFinalResult for demonstrating swap | QuizPET | operators, swap, variables | |
| 3 | exchange variables | Python PredictingFinalResult for demonstrating exchange variables | QuizPET | operators, swap, variables | |
| 4 | exchange variables 2 | Python PredictingFinalResult for demonstrating exchange variables 2 | QuizPET | operators, swap, variables | |
| 5 | Swap | Construct a program that swaps the values of x and y variables. | jsParsons | operators, variables | |
| 6 | Swap adjacent elements in array | Code Completion | Your task is to complete a method that swaps adjacent values in an array of integers. For example, if the... | CodeCheck | Arrays and Array Lists |
| 7 | Swap first and second half of array | Code Completion | Your task is to complete a method that swaps the first and second half of an array of integers. For... | CodeCheck | Arrays and Array Lists |
| 8 | Swap As and Os in RandomAccessFile | Code Completion | Your task is to swap all letters A with O and all letters a with o in a RandomAccessFile. Simply... | CodeCheck | Advanced Input and Output |
| 9 | Swap adjacent characters in a RandomAccessFile | Code Completion | Your task is to swap adjacent letters in a RandomAccessFile. Simply read two bytes, back up by two bytes, and... | CodeCheck | Advanced Input and Output |
| 10 | Swap first and last name | Code Completion | Write a method getLastFirst whose parameter is a string containing a name such as "Harry Smith" and that returns a... | CodeCheck | Fundamental Data Types |
| 11 | Swap values by using an array | Code Completion | A Java method cannot update primitive type parameters. For example, the following method does not work as intended: | CodeCheck | Designing Classes |
| 12 | SwapExample | Java BehaviorExample for demonstrating SwapExample | AnnEx | methods | |
| 13 | Pointer Swap Optimization Slideshow | Presentation | Slideshow showing that Selection Sort can be sped up for large records with swapping to records. | OpenDSA | |
| 14 | q_py_swap1_es | Python PredictingFinalResult for demonstrating q_py_swap1_es | QuizPET | operators, variables | |
| 15 | 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 |
| 16 | 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 |
| 17 | Given a list of integers, swap the the maximum and minimum. | Code Completion | Given a list of integers, swap the the maximum and minimum. | CodeCheck | Lists - Simple Exercises, Maximum and Minimum |
| 18 | Given an array of integers, swap the the maximum and minimum. | Code Completion | Given an array of integers, swap the the maximum and minimum. | CodeCheck | Arrays - Simple Exercises, Maximum and Minimum |
| 19 | Given an array of integers, swap the first and last elements. | Code Completion | Given an array of integers, swap the first and last elements. | CodeCheck | Arrays - Simple Exercises, No loops |
| 20 | Given an array of integers, swap the first two and the last two elements. | Code Completion | Given an array of integers, swap the first two and the last two elements. | CodeCheck | Arrays - Simple Exercises, No loops |
| 21 | 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 |
| 22 | 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 |
| 23 | 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 |
| 24 | 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 |
| 25 | 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 |
| 26 | 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 |
| 27 | 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 | arrays | |
| 28 | 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 | arrays | |
| 29 | Modifying a List | Construct a program that swaps pairs of adjacent elements of the list. For example, if the list is [1, 2,... | PCEX | list | |
| 30 | Casting data types (Memphis) | The code below demonstrates how to swap the values of x and y, and perform some casting operations to convert... | AnnEx | ||
| 31 | 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 |
| 32 | Shellsort Second Pass Sorting Details Slideshow | Algorithm Visualization | Slideshow showing the details of what records would be compared and swapped in the second pass of Shellsort. | OpenDSA | Shellsort |
| 33 | Shellsort Third Pass Sorting Details Slideshow | Algorithm Visualization | Slideshow showing the details of what records would be compared and swapped in the third pass of Shellsort. | OpenDSA | Shellsort |
| 34 | Shellsort Final Pass Details Slideshow | Algorithm Visualization | Slideshow showing the details of what records would be compared and swapped in the final "cleanup" pass of Shellsort. | OpenDSA | Shellsort |
| 35 | Variables assignment (Memphis) | Some basic variable demos. The final part of the code below demonstrates how to swap the values of x and... | AnnEx | ||
| 36 | Selection sort modification placing only min and max | Code Completion | Your task is to modify the selection sort algorithm so that you find the largest element and swap it to... | CodeCheck | Sorting and Searching |
| 37 | Selection sort modification, placing the largest element first | Code Completion | Your task is to modify the selection sort algorithm so that you find the largest element and swap it to... | CodeCheck | Sorting and Searching |
| 38 | Modified SelectionSort | Code Completion | Your task is to modify the selection sort algorithm so that you find the largest element and swap it to... | CodeCheck | Sorting and Searching |
| 39 | Selection sort modification placing even before odd | Code Completion | Implement a modification of the SelectionSorter class that reorders the array to have even elements followed by odd ones. Follow... | CodeCheck | Sorting and Searching |
| 40 | Concatenating Characters of Two Strings | Construct a program that has a function that receives two strings and returns a string formed from the given strings... | PCEX | strings | |
| 41 | Count visits in selection sort | Code Completion | In section 14.3, we approximated a count of the array visits in selection sort. Your task is to provide an... | CodeCheck | Sorting and Searching |
| 42 | ISD::Shapes.java | Java BehaviorExample for demonstrating ISD::Shapes.java | AnnEx | ||
| 43 | ISD::Shapes2.java | Java BehaviorExample for demonstrating ISD::Shapes2.java | AnnEx | ||
| 44 | Polynomial Multiplication Introduction Slideshow | Algorithm Visualization | Slideshow showing how the terms of a polynomial affect its geometric shape. | OpenDSA | Polynomial Multiplication |
| 45 | Full Binary Tree Sequential Representation Proficiency Exercise | Tracing Exercise | User must show the sequential representation for a given full binary tree. The representation uses a bit vector to deduce... | OpenDSA | Sequential Representation, Full Binary Tree |
| 46 | Using an Abstract Class | Code Completion | Light bulbs can be identified by type and can be measured by the amount of lumens produced per watt of... | CodeCheck | Inheritance |