Showing 0–0 of 0 results
# Exercise Title Features Description Platform Keywords
1 Counter Controlled Loops Review Quiz Question, Battery Counter controlled loops for CS1 review questions. OpenDSA Loop
2 Loop Idioms Review Questions Question, Battery CS1 review questions about loop idioms. OpenDSA Loop
3 Loop Do-While 1 Java PredictingFinalResult for demonstrating Loop Do-While 1 QuizJET do-while loop, while loop
4 Loop Do-While 2 Java PredictingFinalResult for demonstrating Loop Do-While 2 QuizJET do-while loop, while loop
5 Loop Do-While 3 Java PredictingFinalResult for demonstrating Loop Do-While 3 QuizJET do-while loop, while loop
6 Loop Do-While 4 Java PredictingFinalResult for demonstrating Loop Do-While 4 QuizJET do-while loop, while loop
7 Loop For 1 Java PredictingFinalResult for demonstrating Loop For 1 QuizJET for loop, loops, nested loops, variables
8 Loop For 2 Java PredictingFinalResult for demonstrating Loop For 2 QuizJET for loop, loops, nested loops
9 Loop For 3 Java PredictingFinalResult for demonstrating Loop For 3 QuizJET for loop, loops, nested loops
10 Loop For 4 Java PredictingFinalResult for demonstrating Loop For 4 QuizJET for loop
11 Loop For 5 Java PredictingFinalResult for demonstrating Loop For 5 QuizJET for loop, loops
12 Loop While 1 Java PredictingFinalResult for demonstrating Loop While 1 QuizJET while loop
13 Loop While 2 Java PredictingFinalResult for demonstrating Loop While 2 QuizJET while loop
14 Loop While 3 Java PredictingFinalResult for demonstrating Loop While 3 QuizJET loops, while loop
15 Loop While 5 Java PredictingFinalResult for demonstrating Loop While 5 QuizJET while loop
16 Loop Array Java PredictingFinalResult for demonstrating Loop Array QuizJET arrays
17 (While loops) While Loops Ex 1 - CSEdPad Loop with simple loop variable increment: Assume you have a list of 1,000 people in alphabetical order and you are... AnnEx while loop
18 q_py_while_loop1_es Python PredictingFinalResult for demonstrating q_py_while_loop1_es QuizPET loops, while loop
19 while loop Python PredictingFinalResult for demonstrating while loop QuizPET loops, while loop
20 q_py_while_loop2_es Python PredictingFinalResult for demonstrating q_py_while_loop2_es QuizPET loops, while loop
21 while loop with summation Python PredictingFinalResult for demonstrating while loop with summation QuizPET loops, while loop
22 While Loop Statement Python BehaviorExample for demonstrating While Loop Statement WebEx loops, while loop
23 Nested Loops Python BehaviorExample for demonstrating Nested Loops WebEx loops, while loop
24 While Loop Statement Python BehaviorExample for demonstrating While Loop Statement WebEx loops
25 While Loop Python CodeVisualization for demonstrating While Loop JSVEE loops, while loop
26 q_py_for_loop1_es Python PredictingFinalResult for demonstrating q_py_for_loop1_es QuizPET for loop, loops
27 for loop Python PredictingFinalResult for demonstrating for loop QuizPET for loop, loops
28 Single Line Loop Statement Python BehaviorExample for demonstrating Single Line Loop Statement WebEx for loop
29 For Loop Statement Python BehaviorExample for demonstrating For Loop Statement WebEx for loop, loops
30 Sum and Average Using Loops Python BehaviorExample for demonstrating Sum and Average Using Loops WebEx while loop
31 Sentinel Loop Control Python BehaviorExample for demonstrating Sentinel Loop Control WebEx while loop
32 Table of Squares (For Loop) Python BehaviorExample for demonstrating Table of Squares (For Loop) WebEx for loop
33 For loop PCEX Set of activities for For loop PCEX
34 While loop PCEX Set of activities for While loop PCEX
35 (For loops) Sum of odd numbers - CSEdPad This program sums up the odd number from 1 to 50 AnnEx for loop
36 For Loop For Loop AnnEx for loop, loops, nested loops
37 Nested For Loop Nested For Loop AnnEx for loop, loops, nested loops
38 Nested Loops Construct a program that first prints out 15, then 14, then 12, then 9 and finally 5 on consecutive lines. jsParsons algorithm analysis, nested loops, while loop
39 For Loop Demo Java CodeVisualization for demonstrating For Loop Demo JSVEE for loop, nested loops
40 For Loop Python CodeVisualization for demonstrating For Loop JSVEE for loop, loops, while loop
41 Working with While Loops Review Questions Question, Battery While Loops self-assessment questions. OpenDSA While Loop
42 Conditional Statements and While Loops: Chapter Review Question, Battery Chapter review questions for conditional statements and while loops. OpenDSA While Loop, Conditional Statement
43 Nested For Loops Review Quiz Question, Battery Introduction to using nested for loops for CS1 review questions. OpenDSA For Loop
44 Nested Loops 1 Java PredictingFinalResult for demonstrating Nested Loops 1 QuizJET nested loops
45 Nested Loops 3 Java PredictingFinalResult for demonstrating Nested Loops 3 QuizJET nested loops
46 for_loops.j_for_one PCEX Set of activities for for_loops.j_for_one PCEX
47 for_loops.j_for_one PCEX Set of activities for for_loops.j_for_one PCEX
48 for_loops.j_for_three PCEX Set of activities for for_loops.j_for_three PCEX
49 for_loops.j_for_three PCEX Set of activities for for_loops.j_for_three PCEX
50 for_loops.j_for_two PCEX Set of activities for for_loops.j_for_two PCEX
51 for_loops.j_for_two PCEX Set of activities for for_loops.j_for_two PCEX
52 for_loops.j_squares PCEX Set of activities for for_loops.j_squares PCEX
53 for_loops.j_squares PCEX Set of activities for for_loops.j_squares PCEX
54 while_loops.divisor PCEX Set of activities for while_loops.divisor PCEX
55 while_loops.divisor PCEX Set of activities for while_loops.divisor PCEX
56 while_loops.inputs PCEX Set of activities for while_loops.inputs PCEX
57 while_loops.inputs PCEX Set of activities for while_loops.inputs PCEX
58 while_loops.j_average PCEX Set of activities for while_loops.j_average PCEX
59 while_loops.j_average PCEX Set of activities for while_loops.j_average PCEX
60 while_loops.j_check_adjacent PCEX Set of activities for while_loops.j_check_adjacent PCEX
61 while_loops.j_check_adjacent PCEX Set of activities for while_loops.j_check_adjacent PCEX
62 while_loops.j_digits PCEX Set of activities for while_loops.j_digits PCEX
63 while_loops.j_digits PCEX Set of activities for while_loops.j_digits PCEX
64 while_loops.win_percentage PCEX Set of activities for while_loops.win_percentage PCEX
65 while_loops.win_percentage PCEX Set of activities for while_loops.win_percentage PCEX
66 (Nested Loops) Grid of stars - CSEdPad Print a grid of stars. AnnEx nested loops
67 Nested Loops Nested Loops AnnEx nested loops
68 Nested Loops2 Nested Loops2 AnnEx nested loops
69 Nested Loops For 1 Construct a program that first prints out 15, then 14, then 12, then 9 and finally 5 on consecutive lines. jsParsons nested loops
70 Nested Loops For 2 Construct a program to print a multiplication chart given the chart_size. Assume that chart_size is set to a positive integer. jsParsons nested loops
71 Nested Loops Java CodeVisualization for demonstrating Nested Loops JSVEE nested loops
72 Nested for loop Python PredictingFinalResult for demonstrating Nested for loop QuizPET algorithm analysis, for loop, nested loops
73 Nested For and While Loop Python PredictingFinalResult for demonstrating Nested For and While Loop QuizPET algorithm analysis, for loop, nested loops
74 Enhanced For Loop Java PredictingFinalResult for demonstrating Enhanced For Loop QuizJET 2d arrays, arrays, loops
75 do while loop PCEX Set of activities for do while loop PCEX
76 Enhanced For Loop Demo Java BehaviorExample for demonstrating Enhanced For Loop Demo AnnEx 2d arrays, arrays
77 Practicing using nested while and for loops Construct a program to print a multiplication chart given the chart_size. Assume that chart_size is set to a positive integer. jsParsons algorithm analysis, for loop, nested loops
78 Practicing nested while loops Construct a program to print an upside-down right triangle. Assume that 'size' is defined, and holds an integer value. jsParsons algorithm analysis, nested loops, while loop
79 Enhanced For Loop Demo Java CodeVisualization for demonstrating Enhanced For Loop Demo JSVEE 2d arrays, arraylist, arrays, for loop
80 For-each Loop Statement Module Review Quiz Question, Battery For-each statement module review questions for CS1. OpenDSA For-Each Loop
81 For-each Loop Statement Review Quiz Question, Battery For-each statement for CS1 self-assessment questions. OpenDSA For-Each Loop
82 DEPRECATED_Nested Loops Java BehaviorExample for demonstrating DEPRECATED_Nested Loops AnnEx
83 DEPRECATED_Nested Loops2 Java BehaviorExample for demonstrating DEPRECATED_Nested Loops2 AnnEx
84 modify a list in a loop Python PredictingFinalResult for demonstrating modify a list in a loop QuizPET list
85 q_py_nested_while1_es Python PredictingFinalResult for demonstrating q_py_nested_while1_es QuizPET loops, while loop
86 5.2. The while statement Python BehaviorExample for demonstrating 5.2. The while statement WebEx loops, while loop
87 Problem 1 Java PredictingFinalResult for demonstrating Problem 1 QuizJET loops, while loop
88 Sum using While Sum using While AnnEx loops, while loop
89 While with double While with double AnnEx loops, while loop
90 While While AnnEx loops, while loop
91 Calcular una potencia Construye un programa que calcule la base elevada al exponente. jsParsons loops, while loop
92 Calcular una potencia Construye una funcion que calcule la potencia de un numero. La funcion recibe dos enteros como parametros (la base y... jsParsons loops, while loop
93 Iteration with Addition Construct a program that prints the value 8. jsParsons loops, while loop
94 Crear un programa con un ciclo while Construye un programa que imprima el valor 8. jsParsons loops, while loop
95 Iteration with Multiplication Construct a program that prints values 1,2,4,8 and finally prints "The end!". jsParsons loops, while loop
96 Crear un programa que compare un valor en un ciclo Construye un programa que imprima los valores 1,2,4,8 y finalmente imprima "El fin!". jsParsons loops, while loop
97 Practicar ciclos while anidados Construye un programa que imprima un triangulo rectangulo invertido. Supone que 'tamano' esta definido y contiene un valor entero. jsParsons loops, while loop
98 While Java CodeVisualization for demonstrating While JSVEE loops, while loop
99 ae_python_while Python CodeVisualization for demonstrating ae_python_while JSVEE loops, while loop
100 Age Checking2 Python CodeVisualization for demonstrating Age Checking2 JSVEE loops, while loop
101 Construir un problema con ciclos anidados Construye un programa que primero imprima 15, luego 14, luego 12, luego 9 y finalmente 5 en lineas consecutivas. jsParsons loops
102 Ciclo for anidado Python PredictingFinalResult for demonstrating Ciclo for anidado QuizPET for loop, loops
103 Break Statement Python BehaviorExample for demonstrating Break Statement WebEx for loop, loops
104 Continue Statement Python BehaviorExample for demonstrating Continue Statement WebEx for loop, loops
105 Pass Statement Python BehaviorExample for demonstrating Pass Statement WebEx for loop, loops
106 Countdown to Zero Python BehaviorExample for demonstrating Countdown to Zero WebEx while loop
107 Table of Squares Python BehaviorExample for demonstrating Table of Squares WebEx while loop
108 Conversion Table (Fahrenheit to Celsius) Python BehaviorExample for demonstrating Conversion Table (Fahrenheit to Celsius) WebEx while loop
109 Functions Basics Python BehaviorExample for demonstrating Functions Basics WebEx while loop
110 Question 4 Java PredictingFinalResult for demonstrating Question 4 QuizJET while loop
111 Question 6 Java PredictingFinalResult for demonstrating Question 6 QuizJET for loop
112 2-19_PrimeChecker Java BehaviorExample for demonstrating 2-19_PrimeChecker AnnEx for loop
113 Print Out a Diamond Print Out a Diamond AnnEx for loop, nested loops
114 Infinite For Infinite For AnnEx for loop, nested loops
115 For with Multiple Variables 2 For with Multiple Variables 2 AnnEx for loop, nested loops
116 For with Multiple Variables For with Multiple Variables AnnEx for loop, nested loops
117 For with Multiple Variables 3 For with Multiple Variables 3 AnnEx for loop, nested loops
118 For omitting elements For omitting elements AnnEx for loop, nested loops
119 While (Memphis) Java BehaviorExample for demonstrating While (Memphis) AnnEx while loop
120 Construct a program that creates unique 3 digit combination Construct a program which creates and prints all three-digit combinations from numbers 1-4 such that each number appears at most... jsParsons while loop
121 Construct a program with multiple if-elif statements Construct a program which checks whether each of the integers in interval from 1 to 100 is divisible by 2,... jsParsons for loop
122 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
123 Practicar iterar sobre una lista y usar módulo Construye un programa que recorra una lista de numeros e imprima si son pares o impares. jsParsons for loop, list
124 Iteration Multiplication For Construct a program that prints values 1,2,4,8 and finally prints "The end!". jsParsons for loop
125 Practicar el uso de ciclos while y for anidados Construye un programa que imprima una tabla de multiplicar segun el valor de tabla_tamano. Supone que tabla_tamano es un entero... jsParsons for loop, loops
126 Calcular una potencia Construye una funcion que tome una base y un exponente no negativo como parametros y calcule la base elevada al... jsParsons for loop, loops
127 Calculating power Construct a program that calculates the base raised to the power of the non-negative exponent without using multiplication. jsParsons for loop
128 Calcular una potencia Construye un programa que calcule la base elevada al exponente no negativo sin usar multiplicacion. jsParsons for loop, loops
129 For with Multiple Variables 2 Java CodeVisualization for demonstrating For with Multiple Variables 2 JSVEE for loop, loops, nested loops
130 While Demo Java CodeVisualization for demonstrating While Demo JSVEE while loop
131 ae_python_for Python CodeVisualization for demonstrating ae_python_for JSVEE for loop, loops
132 Greatest Divisor Brute Force Python CodeVisualization for demonstrating Greatest Divisor Brute Force JSVEE for loop, functions
133 Leap Year Python CodeVisualization for demonstrating Leap Year JSVEE for loop
134 Power With Input4 Python CodeVisualization for demonstrating Power With Input4 JSVEE while loop
135 Power2 Python CodeVisualization for demonstrating Power2 JSVEE while loop
136 Problem 4 Java PredictingFinalResult for demonstrating Problem 4 QuizJET nested loops
137 Nested For Demo Java CodeVisualization for demonstrating Nested For Demo JSVEE nested loops
138 nested while Python PredictingFinalResult for demonstrating nested while QuizPET algorithm analysis, loops, nested loops, while loop
139 Functions Example 2 Python BehaviorExample for demonstrating Functions Example 2 WebEx functions, while loop
140 Problem 2 Java PredictingFinalResult for demonstrating Problem 2 QuizJET do-while loop, while loop
141 Problem 3 Java PredictingFinalResult for demonstrating Problem 3 QuizJET do-while loop, while loop
142 Question 5 Java PredictingFinalResult for demonstrating Question 5 QuizJET do-while loop
143 2-19_CompoundInterest Java BehaviorExample for demonstrating 2-19_CompoundInterest AnnEx do-while loop
144 (Do while) Find high & low scores - CSEdPad Given an collection of test scores with values between 0 and 100, find and display the low and high scores... AnnEx do-while loop
145 DoWhile DoWhile AnnEx do-while loop
146 Construir un programa con múltiples sentencias if-elif Construye un programa que verifique si cada uno de los enteros del intervalo del 1 al 100 es divisible por... jsParsons conditionals, for loop
147 Construir un programa con múltiples sentencias if-elif Construye un programa que verifique si cada uno de los enteros del intervalo del 1 al 100 es divisible por... jsParsons conditionals, for loop
148 Odd or Even Construct a program that goes through a list of numbers and prints out whether they are odd or even. jsParsons algorithm analysis, for loop, loops
149 DoWhile Demo Java CodeVisualization for demonstrating DoWhile Demo JSVEE do-while loop, loops, while loop
150 DoWhile Java CodeVisualization for demonstrating DoWhile JSVEE do-while loop, loops, while loop
151 Iterating with Arrays Review Questions Question, Battery CS1-level iterating over arrays review questions. OpenDSA Array, For-Each Loop
152 Arrays Module Review Questions Question, Battery CS1-level introduction to arrays module review questions. OpenDSA Array, For-Each Loop
153 Introduction to Lists Module Review Quiz Question, Battery Introduction to lists and nested for loops for CS1 review questions. OpenDSA List, For Loop
154 Arrays 4 Java PredictingFinalResult for demonstrating Arrays 4 QuizJET 2d arrays, arraylist, arrays, loops, overloading
155 jLabArray1 Java PredictingFinalResult for demonstrating jLabArray1 QuizJET arraylist, arrays, loops, overloading
156 For-Each Java CodeVisualization for demonstrating For-Each JSVEE 2d arrays, arraylist, arrays, loops
157 For-each with break Java CodeVisualization for demonstrating For-each with break JSVEE 2d arrays, arraylist, arrays, loops
158 Partition Python CodeVisualization for demonstrating Partition JSVEE algorithm analysis, list, nested loops
159 Partition2 Python CodeVisualization for demonstrating Partition2 JSVEE list, nested loops
160 Given a two-dimensional array of integers, return the average of the four corner elements. Code Completion Given a two-dimensional array of integers, return the average of the four corner elements. CodeCheck Two-Dimensional Arrays, No Loops
161 Given a two-dimensional array of integers, return the middle element if both the row and column lenghts are odd, or the average of the two or four middle elements of one or both is even. Code Completion Given a two-dimensional array of integers, return the middle element if both the row and column lenghts are odd, or... CodeCheck Two-Dimensional Arrays, No Loops
162 Given a two-dimensional array of integers and a string N, E, S, W, give the middle element along the border in the given compass direction, or the average of the two middle ones if the border length is even. Code Completion Given a two-dimensional array of integers and a string N, E, S, W, give the middle element along the border... CodeCheck Two-Dimensional Arrays, No Loops
163 Given a two-dimensional array of integers and a string NW, NW, SW, SE, return the sum of the four elements in the given compass direction. Code Completion Given a two-dimensional array of integers and a string NW, NW, SW, SE, return the sum of the four elements... CodeCheck Two-Dimensional Arrays, No Loops
164 Given a two-dimensional array of integers, row/column indexes r, c, and a string N E S W, return the neighbor in that direction, or 0 if it doesn't exist. Code Completion Given a two-dimensional array of integers, row/column indexes r, c, and a string N E S W, return the neighbor... CodeCheck Two-Dimensional Arrays, No Loops
165 Repeat with NW NE SW SE. Code Completion Repeat with NW NE SW SE. CodeCheck Two-Dimensional Arrays, No Loops
166 Given a two-dimensional array of integers and row/column indexes r, c, return the number of neighbors (not counting the element itself). Code Completion Given a two-dimensional array of integers and row/column indexes r, c, return the number of neighbors (not counting the element... CodeCheck Two-Dimensional Arrays, No Loops
167 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 Two-Dimensional Arrays, No Loops
168 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
169 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
170 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
171 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
172 Given a two-dimensional array of integers, return the number of distinct elements. Code Completion Given a two-dimensional array of integers, return the number of distinct elements. CodeCheck Two-Dimensional Arrays, Complex Loops
173 Given a two-dimensional array of integers, remove any adjacent duplicate rows by filling the duplicates with zeroes. Code Completion Given a two-dimensional array of integers, remove any adjacent duplicate rows by filling the duplicates with zeroes. CodeCheck Two-Dimensional Arrays, Complex Loops
174 Given a two-dimensional array of integers, return the index of the first row that is entirely filled with zeroes. Code Completion Given a two-dimensional array of integers, return the index of the first row that is entirely filled with zeroes. CodeCheck Two-Dimensional Arrays, Complex Loops
175 Given a two-dimensional array of integers, return the top left corner of the first subarray of the form <pre>0 0 0 0</pre> Code Completion Given a two-dimensional array of integers, return the top left corner of the first subarray of the form
0 0...
                    
                
CodeCheck Two-Dimensional Arrays, Complex Loops
176 Given a two-dimensional array of integers, return the position of the largest square subarray filled with zeroes, as a list of length 2. Code Completion Given a two-dimensional array of integers, return the position of the largest square subarray filled with zeroes, as a list... CodeCheck Two-Dimensional Arrays, Complex Loops
177 Repeat the previous exercise with subarrays that are not necessarily square. Code Completion Repeat the previous exercise with subarrays that are not necessarily square. CodeCheck Two-Dimensional Arrays, Complex Loops
178 Given two lists a and b, remove all elements of b from a. Code Completion Given two lists a and b, remove all elements of b from a. CodeCheck Lists - Simple Exercises, Double Loops
179 Given two lists a and b, return a list that contains all elements occurring in a but not in b. Code Completion Given two lists a and b, return a list that contains all elements occurring in a but not in b. CodeCheck Lists - Simple Exercises, Double Loops
180 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
181 Given a list of integers, return the largest sum of consecutive elements. Code Completion Given a list of integers, return the largest sum of consecutive elements. CodeCheck Lists - Simple Exercises, Double Loops
182 Given a list of integers, return the largest sequence whose reverse also occurs somewhere in the list. Code Completion Given a list of integers, return the largest sequence whose reverse also occurs somewhere in the list. CodeCheck Lists - Simple Exercises, Double Loops
183 Given a list a of integers, return a list of all elements of a that occur exactly once. Code Completion Given a list a of integers, return a list of all elements of a that occur exactly once. CodeCheck Lists - Simple Exercises, Double Loops
184 Given a list of integers, return a list of lists of length 2, containing each unique element together with its frequency. Code Completion Given a list of integers, return a list of lists of length 2, containing each unique element together with its... CodeCheck Lists - Simple Exercises, Double Loops
185 Given a list of integers, return the position of the longest subsequence of consecutive integers a, a + 1, a + 2, . Code Completion Given a list of integers, return the position of the longest subsequence of consecutive integers a, a + 1, a... CodeCheck Lists - Simple Exercises, Double Loops
186 Given a two-dimensional array of integers and row/column positions r, c, return the largest neighbor in the compass directions N E S W. Code Completion Given a two-dimensional array of integers and row/column positions r, c, return the largest neighbor in the compass directions N... CodeCheck Two-Dimensional Arrays, Looping over Neighbors
187 Given a two-dimensional array of integers and row/column positions r, c, return the largest neighbor in the compass directions N E S W NE NW SE SW. Code Completion Given a two-dimensional array of integers and row/column positions r, c, return the largest neighbor in the compass directions N... CodeCheck Two-Dimensional Arrays, Looping over Neighbors
188 Given a two-dimensional array of integers and row/column positions r, c, return the compass direction of the largest neighbor as a string N E S W NE NW SE SW. Code Completion Given a two-dimensional array of integers and row/column positions r, c, return the compass direction of the largest neighbor as... CodeCheck Two-Dimensional Arrays, Looping over Neighbors
189 Given a two-dimensional array of integers, row/column positions r, c, and a value x, fill the given element and its neighbors in the compass directions N E S W NE NW SE SW with x. Code Completion Given a two-dimensional array of integers, row/column positions r, c, and a value x, fill the given element and its... CodeCheck Two-Dimensional Arrays, Looping over Neighbors
190 Given a two-dimensional array a of integers and row/column positions r, c, return a 3x3 array whose middle element is a[r][c], and whose neighbors are copied from the original. Code Completion Given a two-dimensional array a of integers and row/column positions r, c, return a 3x3 array whose middle element is... CodeCheck Two-Dimensional Arrays, Looping over Neighbors
191 Given a two-dimensional array of integers, compute the sum of all positive elements. Code Completion Given a two-dimensional array of integers, compute the sum of all positive elements. CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
192 Given a two-dimensional array of integers, return the largest element in the array. Code Completion Given a two-dimensional array of integers, return the largest element in the array. CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
193 Given a two-dimensional array of integers, return the position of the smallest element in the array as a list of length 2. Code Completion Given a two-dimensional array of integers, return the position of the smallest element in the array as a list of... CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
194 Given a two-dimensional array of integers and a value x, return the position of the first match as a list of length 2. Code Completion Given a two-dimensional array of integers and a value x, return the position of the first match as a list... CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
195 Given a two-dimensional array of integers and a value x, return the positions of all matching elements, as a list of arrays of length 2. Code Completion Given a two-dimensional array of integers and a value x, return the positions of all matching elements, as a list... CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
196 Given a two-dimensional array of integers, compute the sum of all elements that are not one of the borders. Code Completion Given a two-dimensional array of integers, compute the sum of all elements that are not one of the borders. CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
197 Given a two-dimensional square array of integers, compute the sum of all elements that are not on one of the diagonals. Code Completion Given a two-dimensional square array of integers, compute the sum of all elements that are not on one of the... CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
198 Given a two-dimensional array of integers, replace all negative elements with zero. Code Completion Given a two-dimensional array of integers, replace all negative elements with zero. CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
199 Given a two-dimensional array of integers, reverse all rows. Code Completion Given a two-dimensional array of integers, reverse all rows. CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
200 Given a two-dimensional array of integers, shift each row by one to the right and put a 0 at the leftmost column. Code Completion Given a two-dimensional array of integers, shift each row by one to the right and put a 0 at the... CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
201 Given an r x c array of integers, return an (r + 2) x (c + 2) array whose borders are zero and whose interior is the original array. Code Completion Given an r x c array of integers, return an (r + 2) x (c + 2) array whose borders... CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
202 Given a two-dimensional array of integers, return a list of the largest element in each row. Code Completion Given a two-dimensional array of integers, return a list of the largest element in each row. CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
203 Given a two-dimensional array of integers, return a list of the number of negative elements in each row. Code Completion Given a two-dimensional array of integers, return a list of the number of negative elements in each row. CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
204 Given a two-dimensional array of integers and a row index, return the largest element in that row. Code Completion Given a two-dimensional array of integers and a row index, return the largest element in that row. CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
205 Given a two-dimensional array of integers and a row index r, reverse the given row. Code Completion Given a two-dimensional array of integers and a row index r, reverse the given row. CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
206 Given a two-dimensional square array of integers, reverse both diagonals. Code Completion Given a two-dimensional square array of integers, reverse both diagonals. CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
207 Given a two-dimensional array of integers and a column index, return the smallest element in that column. Code Completion Given a two-dimensional array of integers and a column index, return the smallest element in that column. CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
208 Given a two-dimensional array of integers, an index, and a string R or C, return the sum of the elements in that row or column. Code Completion Given a two-dimensional array of integers, an index, and a string R or C, return the sum of the elements... CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
209 Given a two-dimensional array of integers, a row index r, and a column index c, return the sum of all elements in the given row and column. Code Completion Given a two-dimensional array of integers, a row index r, and a column index c, return the sum of all... CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
210 Given a two-dimensional array of integers and a string N, E, S, W, return the sum of all elements of the border in the given compass direction. Code Completion Given a two-dimensional array of integers and a string N, E, S, W, return the sum of all elements of... CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
211 Given a two-dimensional array of integers, return the sum of all elements along the north and south border. Code Completion Given a two-dimensional array of integers, return the sum of all elements along the north and south border. CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
212 Given a two-dimensional array of integers, return the sum of all elements along all borders but not the corners. Code Completion Given a two-dimensional array of integers, return the sum of all elements along all borders but not the corners. CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
213 Given a two-dimensional array of integers, return the sum of all elements along all borders including the corners. Code Completion Given a two-dimensional array of integers, return the sum of all elements along all borders including the corners. CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
214 Given a two-dimensional square array of integers, return the sum of the elements along both diagonals. Code Completion Given a two-dimensional square array of integers, return the sum of the elements along both diagonals. Make sure not to... CodeCheck Two-Dimensional Arrays, Loops Along a Row or Column
215 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
216 Given a string, return the string with the middle two characters removed if it has even length, and the middle character removed if it has odd length. Code Completion Given a string, return the string with the middle two characters removed if it has even length, and the middle... CodeCheck Strings, No Loops
217 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
218 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
219 Given a string, return the string with the first half and the second half doubled. Code Completion Given a string, return the string with the first half and the second half doubled. For example, Java becomes JaJavava... CodeCheck Strings, No Loops
220 Counting letter repetition Looping and counting PCEX
221 Maximum value in array For loop that finds the maximum value in an array of integers. PCEX
222 Finding zero a "do while" loop to iterate through an array of random integer numbers, searching for the number 0. When it... PCEX
223 SimpleNestedLoop Simple Nested Loop for NestedStatement AnnEx
224 Largest value in list Maximum and minimum loops PCEX
225 Array sum calculator demonstrates the use of a for loop to calculate the sum of all members of an array of integers. PCEX
226 Printing Table of Medal Winner Counts with Row Totals Assume that we have an array of countries that stores the names of the seven countries that participated in the... PCEX
227 Printing Table of Medal Winner Counts with Row and Column Totals Assume that we have an array of countries that stores the names of the seven countries that participated in the... PCEX
228 Printing Table of Medal Winner Counts with Row Totals Assume that we have an array of countries that stores the names of the seven countries that participated in the... PCEX
229 Printing Table of Medal Winner Counts with Row and Column Totals Assume that we have an array of countries that stores the names of the seven countries that participated in the... PCEX
230 Reporting the Total Hours Each Employee Worked (Case 1) Suppose we have an input file that contains information about how many hours each employee of a company has worked.... PCEX
231 Reporting the Total Hours Each Employee Worked (Case 2) Suppose we have an input file that contains information about how many hours each employee of a company has worked.... PCEX
232 Reporting the Total Hours Each Employee Worked (Case 1) Suppose we have an input file that contains information about how many hours each employee of a company has worked.... PCEX
233 Reporting the Total Hours Each Employee Worked (Case 2) Suppose we have an input file that contains information about how many hours each employee of a company has worked.... PCEX
234 Printing Table of Medal Winner Counts with Row Totals Assume that we have an array of countries that stores the names of the seven countries that participated in the... PCEX
235 Printing a square star pattern Construct a program that takes an input as the size of a solid square and print the square.\nFor example, if... PCEX
236 Printing the outline of a square star pattern Construct a program that takes an input as the size of a square and print the outline of the square.\nFor... PCEX
237 Printing a square star pattern Construct a program that takes an input as the size of a solid square and print the square.\nFor example, if... PCEX
238 Printing the outline of a square star pattern. Construct a program that takes an input as the size of a square and print the outline of the square.\nFor... PCEX
239 Printing Table of Medal Counts with Row Totals Assume that we have a 7x4 matrix that stores the number of medals that seven countries won in the skating... PCEX
240 Printing Table of Medal Winner Counts with Row and Column Totals Assume that we have a 7x4 matrix that stores the number of medals that seven countries won in the skating... PCEX
241 Reporting the Total Hours Each Employee Worked (Case 1) Suppose we have an input file that contains information about how many hours each employee of a company has worked.... PCEX
242 Reporting the Total Hours Each Employee Worked (Case 2) Suppose we have an input file that contains information about how many hours each employee of a company has worked.... PCEX