Showing 0–0 of 0 results
# Exercise Title Features Description Platform Keywords
1 swap Python PredictingFinalResult for demonstrating swap QuizPET operators, swap, variables
2 Swap Construct a program that swaps the values of x and y variables. jsParsons operators, variables
3 Swap Python CodeVisualization for demonstrating Swap JSVEE operators, swap, variables
4 SwapExample Java BehaviorExample for demonstrating SwapExample AnnEx methods
5 Pointer Swap Optimization Slideshow Presentation Slideshow showing that Selection Sort can be sped up for large records with swapping to records. OpenDSA
6 q_py_swap1_es Python PredictingFinalResult for demonstrating q_py_swap1_es QuizPET operators, variables
7 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
8 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
9 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
10 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
11 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
12 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
13 exchange variables Python PredictingFinalResult for demonstrating exchange variables QuizPET operators, swap, variables
14 exchange variables 2 Python PredictingFinalResult for demonstrating exchange variables 2 QuizPET operators, swap, variables
15 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
16 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
17 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
18 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
19 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
20 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
21 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
22 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
23 Variables assignment (Memphis) Some basic variable demos. The final part of the code below demonstrates how to swap the values of x and... AnnEx
24 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
25 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
26 ISD::Shapes.java Java BehaviorExample for demonstrating ISD::Shapes.java AnnEx
27 ISD::Shapes2.java Java BehaviorExample for demonstrating ISD::Shapes2.java AnnEx
28 csedpad.16.Methods.methods Calculate and display different measurements regarding the shape of the sun, the earth, and the moon, including the circumference, the... PCEX
29 Polynomial Multiplication Introduction Slideshow Algorithm Visualization Slideshow showing how the terms of a polynomial affect its geometric shape. OpenDSA Polynomial Multiplication
30 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