Showing 0–0 of 0 results
# Exercise Title Features Description Platform Keywords
1 Functional Programming: Accumulator Pattern Tracing Exercise, Battery A collection of self-practice questions related to the accumulator pattern. OpenDSA Functional Programming
2 Functional Programming Exercise: Functional Composition Tracing Exercise A question related to functional programming languages: functional composition. OpenDSA Functional Programming
3 Functional Programming: Continuation Passing Style 1 Question A question related to functional programming languages: Continuation Passing Style. OpenDSA Functional Programming
4 Functional Programming: Continuation Passing Style 2 Question A question related to functional programming languages: Continuation Passing Style. OpenDSA Functional Programming
5 Functional Programming: Continuation Passing Style 3 Question A third question related to functional programming languages: Continuation Passing Style. OpenDSA Functional Programming
6 Functional Programming: Continuation Passing Style 4 Question A fourth question related to functional programming languages: Continuation Passing Style. OpenDSA Functional Programming
7 Functional Programming: Curry 1 Question A question related to functional programming languages: curry 1. OpenDSA Functional Programming
8 Functional Programming: Curry 2 Question, Battery A collection of self-practice questions related to functional programming languages: curry 2. OpenDSA Functional Programming
9 Functional Programming: Filter Question A question related to functional programming languages: filter pattern. OpenDSA Functional Programming
10 Functional Programming: Cons Operator Tracing Exercise A question related to the cons operator. OpenDSA Functional Programming
11 Functional Programming: Cons, Hd, and Tl Tracing Exercise, Battery A collection of self-practice questions related to the cons, hd, and tl operators. OpenDSA Functional Programming
12 Functional Programming: Cons, Hd, and Tl, Exercise 2 Question A question related to the cons, hd, and tl operators. OpenDSA Functional Programming
13 Functional Programming: isEq Tracing Exercise A question related to the isEq operator. OpenDSA Functional Programming
14 Functional Programming: Higher Order Functions 1 Tracing Exercise A question related to functional programming languages: higher order functions. OpenDSA Functional Programming
15 Functional Programming: Higher Order Functions 2 Tracing Exercise A question related to functional programming languages: higher order functions. OpenDSA Functional Programming
16 Functional Programming: Higher Order Functions 3 Tracing Exercise A question related to functional programming languages: higher order functions. OpenDSA Functional Programming
17 Functional Programming Exercise: Mapping Pattern Tracing Exercise A question related to functional programming languages: mapping pattern. OpenDSA Functional Programming
18 Functional Programming: Map Reduce Question A question related to functional programming languages: map reduce. OpenDSA Functional Programming
19 Functional Programming: Quicksort Tracing Exercise A question related to using split and join to implement Quicksort. OpenDSA Functional Programming
20 Functional Programming: Reduce 1 Question A question related to functional programming languages: reduce pattern. OpenDSA Functional Programming
21 Functional Programming: Reduce and Map Question A question related to functional programming languages: reduce and map pattern. OpenDSA Functional Programming
22 Functional Programming: Reduce 2 Question, Battery A collection of self-practice questions related to functional programming languages: reduce pattern. OpenDSA Functional Programming
23 Functional Programming Exercise: Static vs Dynamic Binding Tracing Exercise A question related to functional programming languages: static vs. dynamic binding. OpenDSA Functional Programming
24 Functional Programming: Tail Recursion Question Question related to functional programming languages: tail recursion. OpenDSA Functional Programming
25 Functional Programming List Processing: Summation Algorithm Visualization, Code Tracing Presentation Slideshow visualizing basic list processing in a functional programming language: Summation of list values. OpenDSA Functional Programming
26 Functional Programming List Processing: isMember Algorithm Visualization, Code Tracing Presentation Slideshow visualizing basic list processing in a functional programming language: isMember function. OpenDSA Functional Programming
27 Functional Programming List Processing: Substitution Algorithm Visualization, Code Tracing Presentation Slideshow visualizing basic list processing in a functional programming language: substitution function. OpenDSA Functional Programming
28 Functional Programming Recursion: Summing Elements in a Tree Algorithm Visualization, Code Tracing Presentation Slideshow visualizing list-of-list (tree) processing in a functional programming language: sum all values. OpenDSA Functional Programming
29 Functional Programming Recursion: BST Algorithm Visualization, Code Tracing Presentation Slideshow visualizing list-of-list (tree) processing in a functional programming language: Binary Search Tree Search. OpenDSA Functional Programming
30 Functional Programming: Split and Join Algorithm Visualization, Code Tracing Presentation Slideshow visualizing split and join operations in a functional programming language. OpenDSA Functional Programming
31 Functional Programming: Accumulator Pattern Pivot Algorithm Visualization, Code Tracing Presentation Slideshow visualizing using pivot as an example in the accumlator pattern. OpenDSA Functional Programming
32 Functional Programming: Scope and Closure Algorithm Visualization, Code Tracing Presentation Slideshow visualizing scope and closure in a functional programming language. OpenDSA Functional Programming
33 Functional Programming: Variable Hoisting Algorithm Visualization, Code Tracing Presentation Slideshow visualizing variable hoisting in a functional programming language. OpenDSA Functional Programming
34 Functional Programming: Nested Scopes Algorithm Visualization, Code Tracing Presentation Slideshow illustrating nested scopes in a functional programming language. OpenDSA Functional Programming
35 Functional Programming Visualization: Static vs Dynamic Binding Algorithm Visualization, Code Tracing Presentation Slideshow illustrating static vs dynamic binding in a functional programming language. OpenDSA Functional Programming
36 Functional Programming: Closures Algorithm Visualization, Code Tracing Presentation Slideshow illustrating closures in a functional programming language. OpenDSA Functional Programming
37 Functional Programming Visualization: Mapping Pattern Algorithm Visualization, Code Tracing Presentation Slideshow visualizing the mapping pattern in a functional programming language. OpenDSA Functional Programming
38 Functional Programming Visualization: Functional Composition Algorithm Visualization, Code Tracing Presentation Slideshow visualizing functional composition in a functional programming language. OpenDSA Functional Programming
39 Functional Programming: Currying Algorithm Visualization, Code Tracing Presentation Slideshow visualizing currying in a functional programming language. OpenDSA Functional Programming
40 Functional Programming: Filter Pattern Algorithm Visualization, Code Tracing Presentation Slideshow visualizing the filter pattern in a functional programming language. OpenDSA Functional Programming
41 Functional Programming: Reduce/Folding Pattern Algorithm Visualization, Code Tracing Presentation Slideshow visualizing the reduce/folding pattern in a functional programming language. OpenDSA Functional Programming
42 Functional Programming: ReduceRight Pattern Algorithm Visualization, Code Tracing Presentation Slideshow visualizing the reduceRight pattern in a functional programming language. OpenDSA Functional Programming
43 Functional Programming: MapReduce Pattern Algorithm Visualization, Code Tracing Presentation Slideshow visualizing the Map/Reduce pattern in a functional programming language. OpenDSA Functional Programming
44 Functional Programming: Continuation Passing Algorithm Visualization, Code Tracing Presentation Slideshow illustrating continuation passing in a functional programming language. OpenDSA Functional Programming
45 Functional Programming: CPS vs non-tail recursion Algorithm Visualization, Code Tracing Presentation Slideshow comparing continuation passing with non-tail recursion and accumulation. OpenDSA Functional Programming
46 Abstract Syntax of SLang1 Question Question related to the abstract syntax of functional programming language SLang1. OpenDSA Functional Programming
47 Concrete Syntax of SLang1 Question, Battery A collection of self-practice questions related to the syntax of functional programming language SLang1. OpenDSA Functional Programming
48 Concrete Syntax of SLang1: 2 Question, Battery A second collection of self-practice questions related to the syntax of functional programming language SLang1. OpenDSA Functional Programming
49 Curry in SLang1 Question Question related to curry in the functional programming language SLang1. OpenDSA Functional Programming
50 Recursive Tree Processing: Value Summation Tracing Exercise A question related to tree processing in a functional programming language: Value summation. OpenDSA Functional Programming
51 Recursive Tree Processing: Substitution Question A question related to tree processing in a functional programming language: Substitution. OpenDSA Functional Programming
52 Recursive Tree Processing: Substitution 2 Question A question related to tree processing in a functional programming language: Substitution 2. OpenDSA Functional Programming
53 Recursive Tree Processing: Mystery Function Tracing Exercise, Battery A collection of self-practice questions related to tree processing in a functional programming language: Mystery Function. OpenDSA Functional Programming
54 Determine Values Bound to a Variable in Environment Calculation Exercise, Battery A collection of self-practice questions related to determining values bound to a variable in environment of the functional programming language... OpenDSA Functional Programming
55 Expression Evaluation for SLang1 Calculation Exercise, Battery A collection of self-practice questions related to expression evaluation for the functional programming language SLang1. OpenDSA Functional Programming
56 Denoted Values in SLang1 Question, Battery A collection of self-practice questions related to denoted values in the functional programming language SLang1. OpenDSA Functional Programming
57 Nested Lets Tracing Exercise Code trace exercise for a program in imperative language SLang2. OpenDSA Functional Programming
58 Nested Lets with Closures Tracing Exercise Code trace exercise for a program in imperative language SLang2. OpenDSA Functional Programming
59 Nested Lets Syntax-Only Tracing Exercise Code trace exercise for a program in imperative language SLang2. OpenDSA Functional Programming
60 Output of an SLang2 Program Tracing Exercise Code trace for a recursive program in imperative language SLang2. OpenDSA Functional Programming
61 Recursive List Processing 1 Question A question related to list processing in a functional programming language. OpenDSA Functional Programming
62 Recursive List Processing 2 Question A question related to list processing in a functional programming language. OpenDSA Functional Programming
63 Recursive List Processing 3 Question A question related to list processing in a functional programming language. OpenDSA Functional Programming
64 Semantics of SLang1 Question Question related to the semantics of the functional programming language SLang1. OpenDSA Functional Programming
65 Split anad Join with Accumulators Tracing Exercise A question related to split and join operations with accumulators in a functional programming language. OpenDSA Functional Programming
66 Efficient Recursion in SLang2 Tracing Exercise Code trace for a recursive program in imperative language SLang2. OpenDSA Functional Programming
67 q_py_data_types_functions_es Python PredictingFinalResult for demonstrating q_py_data_types_functions_es QuizPET functions
68 one simple function Python PredictingFinalResult for demonstrating one simple function QuizPET functions
69 Functions pass Python PredictingFinalResult for demonstrating Functions pass QuizPET functions, list
70 Functions Introduction Python BehaviorExample for demonstrating Functions Introduction WebEx functions
71 Functions with Arguments Python BehaviorExample for demonstrating Functions with Arguments WebEx functions
72 Functions Example 1 Python BehaviorExample for demonstrating Functions Example 1 WebEx functions, if-else statement
73 Functions Example 2 Python BehaviorExample for demonstrating Functions Example 2 WebEx functions, while loop
74 Functions Basics Python BehaviorExample for demonstrating Functions Basics WebEx while loop
75 Function - Repetitive Calling Python BehaviorExample for demonstrating Function - Repetitive Calling WebEx functions
76 Function CallByValue C++ BehaviorExample for demonstrating Function CallByValue AnnEx
77 Calculate Function Define a function that returns the second value multiplied by two and added by the first value. The program should... jsParsons functions
78 Simple Function Construct a program that prints out Hello functions. jsParsons functions
79 Functions 1 Python CodeVisualization for demonstrating Functions 1 JSVEE functions
80 Functions 2 Python CodeVisualization for demonstrating Functions 2 JSVEE functions
81 Functions 3 Python CodeVisualization for demonstrating Functions 3 JSVEE algorithm analysis, functions
82 ae_python_function Python CodeVisualization for demonstrating ae_python_function JSVEE functions
83 Function Pass Python CodeVisualization for demonstrating Function Pass JSVEE functions, list
84 Aggregate-functions query execution 1 Aggregate-functions query execution 1 DBQA
85 Aggregate-functions query execution 2 Aggregate-functions query execution 2 DBQA
86 Aggregate-functions query execution 3 Aggregate-functions query execution 3 DBQA
87 Aggregate-functions query execution 4 Aggregate-functions query execution 4 DBQA
88 calculate_Functions.c C++ BehaviorExample for demonstrating calculate_Functions.c WebEx
89 py_functions_multiple_parameters PCEX Set of activities for py_functions_multiple_parameters PCEX
90 py_functions_multiple_parameters_es PCEX Set of activities for py_functions_multiple_parameters_es PCEX
91 character_functions C++ BehaviorExample for demonstrating character_functions AnnEx
92 defined function C++ BehaviorExample for demonstrating defined function AnnEx
93 Defined Function2 C++ BehaviorExample for demonstrating Defined Function2 AnnEx
94 rand function C++ BehaviorExample for demonstrating rand function AnnEx
95 Math Functions Math Functions AnnEx arithmetic operations, variables
96 Aggregate Functions (2) Aggregate Functions (2) AnnEx aggregate functions
97 Aggregate Functions (2) pt This is the portuguese version. AnnEx aggregate functions
98 Aggregate Functions (3) Aggregate Functions (3) AnnEx aggregate functions
99 Aggregate Functions (3) pt This is the portuguese version. AnnEx aggregate functions
100 Aggregate Functions (4) Aggregate Functions (4) AnnEx aggregate functions
101 Aggregate Functions (4) pt This is the portuguese version. AnnEx aggregate functions
102 Aggregate Functions (1) Aggregate Functions (1) AnnEx aggregate functions
103 Aggregate Functions (1) pt This is the portuguese version. AnnEx aggregate functions
104 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
105 Hash Functions Summary Practice Questions Question, Battery A collection of self-practice questions on hash functions. OpenDSA Hash Function
106 The mod Hash Function Algorithm Visualization Slideshow showing the basic mod function as a hash function. OpenDSA Hash Function
107 The Binning Hash Function Algorithm Visualization Slideshow showing basic binning (using high-order digits) as a hash function. OpenDSA Hash Function
108 Data Types Functions Python PredictingFinalResult for demonstrating Data Types Functions QuizPET algorithm analysis, data types, functions
109 two simple functions Python PredictingFinalResult for demonstrating two simple functions QuizPET algorithm analysis, functions
110 q_py_function_pass_es Python PredictingFinalResult for demonstrating q_py_function_pass_es QuizPET
111 Do Switch Function C++ BehaviorExample for demonstrating Do Switch Function AnnEx
112 No Argument Functions C++ BehaviorExample for demonstrating No Argument Functions AnnEx
113 DEPRECATED_Math Functions Java BehaviorExample for demonstrating DEPRECATED_Math Functions AnnEx
114 Construct a function that checks the size of a linked list Construct a function that calculates the number of elements in a singly linked list.
LinkedList class implementation is given below.
jsParsons linked list
115 Construct a function that traverse a linked list Construct a function that prints all elements of a Doubly Linked List in forwards and then reverse order.
DoublyLinkedList class implementation...
jsParsons doubly linked list, linked list
116 Construct a function that returns a list of remainders from the input. Construct a function which calculates the remainder of each element of the first list and the element with the same... jsParsons
117 Construct a function that returns a list of remainders from the input. Construct a program which calculates the remainder of each element of the first list and the element with the same... jsParsons
118 Construct a function that sorts a numeric array using Merge Sort. Construct a merge function that recursively splits a numeric array and takes a list as a parameter called data.
Consider that...
jsParsons recursion, search algorithms, sorting, sorting algorithms
119 Creating a function that checks if the string is a palindrome or not. Construct a function which determines whether the string given as a paramter is a palindrome. The function should be case... jsParsons recursion, search algorithms, sorting algorithms, strings
120 Creating a function that checks if the string is a palindrome or not. Construct a program which determines whether the original string is a palindrome. The function should be case insensitive i.e. upper... jsParsons search algorithms
121 Creating a function that checks if the string is a palindrome or not. Construct a function which determines whether the string given as a paramter is a palindrome. The function should be case... jsParsons recursion, search algorithms
122 Construct a function which determines whether the string given as a paramter is a palindrome. Construct a function that checks if the string is a palindrome or not. The function should be case insensitive i.e.... jsParsons recursion
123 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
124 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
125 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
126 Write a function that checks whether two points with coordinates x1, y1 and x2, y2 are in the same quadrant. Code Completion Write a function that checks whether two points with coordinates x1, y1 and x2, y2 are in the same quadrant. CodeCheck Branches, Branches with Functions
127 Recursive Code Tracing Exercise: Function Errors Tracing Exercise Recursive Code Tracing Exercise collection focusing on recognizing errors. OpenDSA Recursion
128 Tracing Recursive Code: Factorial Function Code Tracing Presentation Slideshow demonstrating code tracing, using the factorial function as an example. OpenDSA Recursion
129 Writing a Recursive Function: Variations Code Tracing Presentation Slideshow showing multiple examples of how to write a recursive function to do summation. OpenDSA Recursion
130 Basics of Writing a Recursive Function Algorithm Visualization, Code Tracing Presentation Slideshow demonstrating the concept of recusion as delegation of a task. OpenDSA Recursion, Delegation
131 q_py_data_types_module_es Python PredictingFinalResult for demonstrating q_py_data_types_module_es QuizPET functions
132 q_py_data_types2_es Python PredictingFinalResult for demonstrating q_py_data_types2_es QuizPET functions, operators, variables
133 q_py_fun_car1_es Python PredictingFinalResult for demonstrating q_py_fun_car1_es QuizPET functions
134 q_py_int_ref1_es Python PredictingFinalResult for demonstrating q_py_int_ref1_es QuizPET functions
135 q_py_q_py_datatype1_es Python PredictingFinalResult for demonstrating q_py_q_py_datatype1_es QuizPET functions, operators, variables
136 Crear y llamar a una función Define una funcion que devuelva el segundo valor multiplicado por dos y sumado al primer valor. El programa debe imprimir... jsParsons functions
137 Construir una función que devuelva una lista de restos (módulos) del valor de entrada Construye un programa que calcule el residuo de cada elemento de la primera lista con el elemento del mismo indice... jsParsons functions
138 Crear una función y usar el operador módulo Construye una funcion que devuelva True si un numero dado es par, de lo contrario False. jsParsons functions
139 Crear múltiples funciones y llamadas de función anidadas Primero define una funcion calcular y luego define una funcion doble (que devuelva el valor dado multiplicado por dos). Luego... jsParsons functions
140 Recursive Factorial Define a function that returns the factorial of a given positive integer. jsParsons functions, recursion, search, search algorithms, sorting, sorting algorithms
141 Return Bigger or None Construct a function that returns the bigger value of the given arguments. If a and b are equal, it should... jsParsons functions, if-else statement
142 Crear una función que imprima hola mundo Construye un programa que imprima Hola funciones. jsParsons functions
143 Simple Params Construct a program that prints out 3 jsParsons functions
144 Input 1 Python CodeVisualization for demonstrating Input 1 JSVEE functions, input, operators, variables
145 Recursion Python CodeVisualization for demonstrating Recursion JSVEE functions, recursion
146 Return value Python CodeVisualization for demonstrating Return value JSVEE functions
147 ae_python_input Python CodeVisualization for demonstrating ae_python_input JSVEE functions, operators, variables
148 Recursion Greatest Divisor Python CodeVisualization for demonstrating Recursion Greatest Divisor JSVEE functions, recursion, search, search algorithms, sorting, sorting algorithms
149 Recursion Greatest Divisor2 Python CodeVisualization for demonstrating Recursion Greatest Divisor2 JSVEE functions, recursion
150 q_py_fun_car2_es Python PredictingFinalResult for demonstrating q_py_fun_car2_es QuizPET conditionals, functions
151 Crear una función que devuelva el mayor de dos números Construye una funcion que devuelva el valor mayor de los argumentos dados. Si a y b son iguales, debe devolver... jsParsons conditionals, functions
152 Mid-square Method Calculator Calculation Exercise Calculator for computing value of the middle digits of a squared number. OpenDSA Hash Function
153 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
154 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
155 Data Types Module Python PredictingFinalResult for demonstrating Data Types Module QuizPET algorithm analysis, data types, functions
156 Modulo is Even Construct a function that will return True if a given number is even, otherwise false. jsParsons algorithm analysis, functions, if-else statement
157 Nested Calls First define a calculate function and then define double function (that returns the given value doubled). Then write a program... jsParsons algorithm analysis, functions
158 Greatest Divisor Brute Force Python CodeVisualization for demonstrating Greatest Divisor Brute Force JSVEE for loop, functions
159 Greatest Divisor Brute Force2 Python CodeVisualization for demonstrating Greatest Divisor Brute Force2 JSVEE boolean expressions, functions
160 Import Math Python CodeVisualization for demonstrating Import Math JSVEE data types, functions
161 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
162 Given an actual time and an alarm clock time, both in “military” format (such as 0730 for 7:30am), print how many more minutes before the alarm rings. Code Completion Given an actual time and an alarm clock time, both in “military” format (such as 0730 for 7:30am), print how... CodeCheck Branches, Branches Without Functions
163 Repeat the preceding exercise for U. Code Completion Repeat the preceding exercise for U.S. time (e.g. 7:30am). CodeCheck Branches, Branches Without Functions
164 Given a point with integer coordinates (x, y) and a compass direction N, E, S, W, print the neigboring lattice point. Code Completion Given a point with integer coordinates (x, y) and a compass direction N, E, S, W, print the neigboring lattice... CodeCheck Branches, Branches Without Functions
165 Repeat with compass directions NW, NE, SW, SE. Code Completion Repeat with compass directions NW, NE, SW, SE. CodeCheck Branches, Branches Without Functions
166 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
167 On a chessboard, fields 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, fields are marked with a letter between a and h for the column and a number between... CodeCheck Branches, Branches Without Functions
168 Given the x- and y-coordinates of a point, print whether the point lies in the first, second, third, or fourth quadrant plane, or on the x-axis, or on the y-axis, or the origin. Code Completion Given the x- and y-coordinates of a point, print whether the point lies in the first, second, third, or fourth... CodeCheck Branches, Branches Without Functions
169 Given three numbers x, y, z, determine if one of them is the sum of the two others, and then print out the equation. Code Completion Given three numbers x, y, z, determine if one of them is the sum of the two others, and then... CodeCheck Branches, Branches Without Functions
170 Given three numbers x, y, z, print out how whether they are all distinct, two are the same, or all three are the same. Code Completion Given three numbers x, y, z, print out how whether they are all distinct, two are the same, or all... CodeCheck Branches, Branches Without Functions
171 Given two integers x and y, print their sum, but if it is more than 100 or less than 0, print "out of range". Code Completion Given two integers x and y, print their sum, but if it is more than 100 or less than 0,... CodeCheck Branches, Branches Without Functions
172 Given three integers x, y, z, print the sum of the odd integers. Code Completion Given three integers x, y, z, print the sum of the odd integers. CodeCheck Branches, Branches Without Functions
173 Given three input strings, print all but the shortest one. Code Completion Given three input strings, print all but the shortest one. CodeCheck Branches, Branches Without Functions
174 Given two numbers, return true if they both have the same sign. Code Completion Given two numbers, return true if they both have the same sign. CodeCheck Branches, Branches with Functions
175 Given two numbers, return their distance if it less than 10, or 10 otherwise. Code Completion Given two numbers, return their distance if it less than 10, or 10 otherwise. CodeCheck Branches, Branches with Functions
176 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 with Functions
177 Given three numbers x, y, z and a Boolean variable <code>strict</code>, return <code>true</code> if <code>strict</code> is false and x ≤ y ≤ z, or <code>strict</code> is true and x &lt; y &lt; z. Code Completion Given three numbers x, y, z and a Boolean variable strict, return true if strict is false and x ≤... CodeCheck Branches, Branches with Functions
178 Given four numbers a, b, c, d, return true if exactly two of them are the same. Code Completion Given four numbers a, b, c, d, return true if exactly two of them are the same. CodeCheck Branches, Branches with Functions
179 Given three numbers, return true if they are evenly spaced; that is, sorted in ascending or descending order, with the same distance between them. Code Completion Given three numbers, return true if they are evenly spaced; that is, sorted in ascending or descending order, with the... CodeCheck Branches, Branches with Functions
180 Repeat for four numbers. Code Completion Repeat for four numbers. Hint: Use the previous problem. CodeCheck Branches, Branches with Functions
181 Given numbers x, y, and target, return whichever of x and y is closer to the target. Code Completion Given numbers x, y, and target, return whichever of x and y is closer to the target. If they have... CodeCheck Branches, Branches with Functions
182 Binary Search - 2 This function implements a recursive version of Binary Search PCEX
183 Binary Search - 2 This function implements a recursive version of Binary Search PCEX
184 AggregateFunctions(1)_version_1 Aggregate Functions (1) AnnEx
185 Average of input numbers Lists and functions PCEX
186 Binary Search - 1 Construct a function that receives an array and a target element to be searched in the given array. If the... PCEX
187 Binary Search - 1 Construct a function that receives an array and a target element to be searched in the given array. If the... PCEX
188 Passing Lists Construct a function that calculate square values of the list’s elements. PCEX
189 Passing Values Construct a function that increases the original integer's value by 1 and return the increased value's memory address. PCEX
190 Passing Values Construct a function that increases the original integer's value by 1 and return the increased value's memory address. PCEX
191 Recursive Binary Search Construct a function that uses recursive binary search to find if a specific value is in a list (known as... PCEX
192 Recursive Binary Search Construct a function that uses recursive binary search to find if a specific value is in a list (known as... PCEX
193 Add to list Construct a function that adds a given amount to all items in a list. jsParsons aliasing, value vs reference
194 List values and references. Construct a function that add k values to the given list. The added values is k's increment (increment by 1)... jsParsons value vs reference
195 Power calculation Construct a function which takes the base and the exponent as parameters and returns the base raised to the exponent.... jsParsons while loop
196 Reorganize the list Construct a function which partition the original list of integers such that all even numbers come first and all odd... jsParsons
197 Reorganize the list Construct a function which partition the list of integers given as a parameter such that all even numbers come first... jsParsons
198 Calculating power Construct a function which calculates the power of a number. The function takes two integers as parameters (the base number... jsParsons
199 Updating elements to the new list Construct a function which finds even numbers from the list given as a parameter, calculates the square of each such... jsParsons search algorithms
200 Updating the elements to the new list Construct a function which finds even numbers from the list given as a parameter, calculates the square of each such... jsParsons search algorithms
201 Updating the elements to the new list Construct a function which finds even numbers from the list given as a parameter, calculates the square of each such... jsParsons
202 Letter frequency Construct a function which counts the frequency of each character in the string given as a parameter and returns a... jsParsons dictionaries
203 Calculating power Construct a function which takes a base and a non-negative exponent as parameters and calculates the base raised to the... jsParsons
204 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
205 Remove dublicates from the list Construct a function which creates a new list where it stores all elements except the duplicates from the list given... jsParsons
206 Checks whether the sum of two integers are equal as the third integer Construct a function which determines whether one of the paraters is the sum of the two other parameters. jsParsons
207 Try adding Construct a function that adds two numbers together and handles non-numeric input. jsParsons exception handling, exceptions
208 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
209 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
210 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
211 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
212 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
213 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
214 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
215 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
216 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
217 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
218 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
219 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
220 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
221 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
222 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
223 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
224 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
225 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
226 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
227 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
228 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
229 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
230 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
231 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
232 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
233 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
234 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
235 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
236 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
237 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
238 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
239 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
240 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
241 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
242 Construct a program that creates a Stack Structure Construct a program that creates two functions in a Stack Structure. The first one is "push" function and the second... jsParsons classes, data structures, stack, stacks
243 Recursive Code Tracing Exercise: Two Recursive Calls Tracing Exercise Recursive Code Tracing Exercise collection focusing on functions with two recursive calls. OpenDSA Recursion
244 Recursive Code Tracing Exercise: Call Count Tracing Exercise Recursive Code Tracing Exercise collection focusing on counting the number of function calls made. OpenDSA Recursion
245 Programmed Instruction: Induction Proof For Factorial Programmed Instruction Programmed Instruction Frameset examples of induction proof proving a Factorial function implementation correct. OpenDSA Proof by Induction
246 Bowling Score TestCase Exercise Code Testing Exercise Interactive exercise where user enters input values for a bowling game scoring function with the goal of getting complete code... OpenDSA Test Case, Code Coverage
247 Tracing Recursive Code: Summation Code Tracing Presentation Slideshow demonstrating code tracing, using a simple summation function as an example. OpenDSA Recursion
248 Recursion Introduction Slideshow: Delegation Code Tracing Presentation Slideshow demonstrating the basic concepts of base cases and recursive calls in a function. OpenDSA Recursion
249 Linked List Implementation In this example, we will define a linked list and create functions to add a new element to the end... PCEX
250 Linked List Operations - Size 1 In this example, we will learn how to create more functions inside a linked list PCEX
251 Linked List Operations - Size 2 In this example, we will learn how to create more functions inside a linked list PCEX
252 Linked List Implementation In this example, we will define a linked list and create functions to add a new element to the end... PCEX
253 (Inheritance) Physics teacher - CSEdPad Demonstrate the inheritance concept by creating a superclass Teacher with a private string features designation and collegeName and does function.... AnnEx inheritance
254 Person and Employee Inheritance Construct two classes: one represents a Person and another one represents an Employee that should be defined as Person's child... PCEX
255 Person and Employee Inheritance Information Construct two classes: one represents a Person and another one represents an Employee that should be defined as Person's child... PCEX
256 Multiple elements It is possible to search through an array for multiple elements. In this case, we want to traverse an array... PCEX
257 Insertion Sort Insertion sort works similarly to how one would sort a hand of cards: by choosing an element and searching through... PCEX
258 Insertion Sort Insertion sort works similarly to how one would sort a hand of cards: by choosing an element and searching through... PCEX
259 Selection sort Ascending-order Selection sort operates by finding the minimum element of an array and moving it to the “beginning” of the... PCEX
260 Selection sort Descending-order Selection sort operates by finding the maximum element of an array and moving it to the “beginning” of the... PCEX
261 Stack Implementing Stack. Using Class to construct a Stack. Implement a function to determine if all the given brackets are paired.\nFor... PCEX
262 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
263 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
264 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
265 My books The book is described by identifier, title, authors, publisher, unit price and year of publication. There cannot be two books... PCEX
266 Search in the linked list. When using a LinkedList, it is possible that you may want to search through the list to see if a... PCEX
267 Search in the linked list. When using a LinkedList, it is possible that you may want to search through the list to see if a... PCEX
268 Binary search Binary Search operates by dividing an array in half, and then determining whether or not the target value would be... PCEX
269 Binary search Binary Search operates by dividing an array in half, and then determining whether or not the target value would be... PCEX
270 Multiple elements It is possible to search through an array for multiple elements. In this case, we want to traverse an array... PCEX
271 Queue Class - Check if Element Exists In this example, you will use Queue class from queue provided by python. This class contains methods for adding a... PCEX
272 Queue Class - Check if Element Exists In this example, you will use Queue class from queue provided by python. This class contains methods for adding a... PCEX