Showing 0-0 of 0 results
# Exercise Title Features Description Platform Keywords
1 Converting the Letter Grade of a Student to Its Numeric Range Construct a program that receives a grade from the user and prints the numeric range for that grade using the... PCEX if-else statement
2 (If) Positive - CSEdPad Given a number, this program reports if the number is a positive number AnnEx if statement
3 (If else) Temperature Conversion - CSEdPad Conversion of temperature from degree Celsius to degree Fahrenheit and vice versa AnnEx if-else statement
4 if-else-if if-else-if AnnEx boolean expressions, conditionals, if-else statement
5 If else nested (Memphis) Demo of using if with else - this program simulates a bouncer at a club. AnnEx if-else statement
6 If Else If Else AnnEx boolean expressions, conditionals, if-else statement
7 If with complex condition If with complex condition AnnEx boolean expressions, if-else statement
8 If Statement If Statement AnnEx boolean expressions, if-else statement
9 String Comparison String Comparison AnnEx if-else statement
10 If Conditions Demo Java CodeVisualization for demonstrating If Conditions Demo JSVEE boolean expressions, conditionals, control flow, if-else statement
11 if-else-if Java CodeVisualization for demonstrating if-else-if JSVEE conditionals, control flow, if-else statement
12 If El If Else Python CodeVisualization for demonstrating If El If Else JSVEE algorithm analysis, control flow, if statement, if-else statement
13 If Else Python CodeVisualization for demonstrating If Else JSVEE control flow, if statement, if-else statement
14 ae_python_if Python CodeVisualization for demonstrating ae_python_if JSVEE if-else statement
15 Discount Calculator Python CodeVisualization for demonstrating Discount Calculator JSVEE if-else statement
16 Discount Calculator2 Python CodeVisualization for demonstrating Discount Calculator2 JSVEE if-else statement
17 if-elif Python PredictingFinalResult for demonstrating if-elif QuizPET control flow, if statement, if-else statement
18 if-else (interest) Python PredictingFinalResult for demonstrating if-else (interest) QuizPET if-else statement
19 IF...ELSE Statement 2 Python BehaviorExample for demonstrating IF...ELSE Statement 2 WebEx if statement, if-else statement
20 ELIF (ELSE IF) Statement Python BehaviorExample for demonstrating ELIF (ELSE IF) Statement WebEx if statement, if-else statement
21 Logical Operators Python BehaviorExample for demonstrating Logical Operators WebEx if-else statement, logical operators
22 Complex IF...ELSE Statement Python BehaviorExample for demonstrating Complex IF...ELSE Statement WebEx if statement, if-else statement
23 If statement Python BehaviorExample for demonstrating If statement WebEx conditionals, if-else statement
24 Nested IF...ELSE Statement 2 Python BehaviorExample for demonstrating Nested IF...ELSE Statement 2 WebEx if statement
25 Single Line IF...ELSE Statement Python BehaviorExample for demonstrating Single Line IF...ELSE Statement WebEx if-else statement
26 If..Else statement Python BehaviorExample for demonstrating If..Else statement WebEx conditionals, if-else statement
27 IF Statement Python BehaviorExample for demonstrating IF Statement WebEx if statement, if-else statement
28 IF...ELSE Statement Python BehaviorExample for demonstrating IF...ELSE Statement WebEx if statement
29 IF...ELSE Statement (Multiple Conditions) Python BehaviorExample for demonstrating IF...ELSE Statement (Multiple Conditions) WebEx if-else statement, logical operators
30 Nested IF...ELSE Statement Python BehaviorExample for demonstrating Nested IF...ELSE Statement WebEx if statement, if-else statement
31 Maximum of 2 Numbers Python BehaviorExample for demonstrating Maximum of 2 Numbers WebEx if-else statement
32 Interest Capital and Interest Python BehaviorExample for demonstrating Interest Capital and Interest WebEx if-else statement
33 Conditionals basics Python BehaviorExample for demonstrating Conditionals basics WebEx if-else statement
34 Converting the Letter Grade of a Student to It's Numeric Range Construct a program that receives a grade from the user and prints the numeric range for that grade using the... PCEX if-else statement
35 The Grade Letter Construct a program that receives a grade from the user and prints the numeric range for that grade using the... PCEX if-else statement
36 The Sign of a Number Construct a program that determines whether an integer is even or odd. PCEX if-else statement
37 The Wage of an Employee Construct a program for the payment department of a company to calculate the wage of an employee who works at... PCEX if-else statement
38 The Min/Max of Three Integers Construct a program that determines the largest of the three integer values entered by the user. PCEX if-else statement
39 Warning about the Changes in the Weather Condition Construct a program that receives the temperature and humidity for today and yesterday and warns the user when it is... PCEX if-else statement
40 if-else 1 Java PredictingFinalResult for demonstrating if-else 1 QuizJET boolean expressions, conditionals, if-else statement, strings
41 if-else 2 Java PredictingFinalResult for demonstrating if-else 2 QuizJET conditionals, if-else statement
42 if-else 3 Java PredictingFinalResult for demonstrating if-else 3 QuizJET conditionals, if-else statement
43 if-else 4 Java PredictingFinalResult for demonstrating if-else 4 QuizJET conditionals, if-else statement
44 if-else 5 Java PredictingFinalResult for demonstrating if-else 5 QuizJET boolean expressions, conditionals, if-else statement
45 Arrays - Find four Free Coding Problem, code writing Coding Question CodeWorkout if, condition, loop, array, code writing
46 Recursion - Perrin Numbers Free Coding Problem Coding Question CodeWorkout if, conditional, recursion, math
47 Is it even Free Coding Problem, coding problem Coding Question CodeWorkout if, return, cci, coding problem
48 Debug Code Q3 Question, multiple choice, single answer Multiple Choice Question CodeWorkout if, condition, factorial, recursion, math, multiplication, multiple choice, single answer
49 Example problem in C++ Free Coding Problem, code writing Coding Question CodeWorkout if, decision, code writing
50 Codewit Juan: C++ Boolean Operators for Login Free Coding Problem, code writing Coding Question CodeWorkout if, decision, code writing
51 Recursion - Pell Numbers Free Coding Problem Coding Question CodeWorkout if, conditional, recursion, math
52 Decision If Decision If AnnEx boolean expressions, if-else statement
53 Nested if Nested if AnnEx boolean expressions, conditionals, if-else statement
54 Nested if Java CodeVisualization for demonstrating Nested if JSVEE conditionals, control flow, if-else statement
55 Nested If Python CodeVisualization for demonstrating Nested If JSVEE algorithm analysis, control flow, if statement, if-else statement
56 Nested ifs Construct a program that prints out a sentence depending on the time of day. Night is considered to be before... jsParsons algorithm analysis, control flow, if statement, if-else statement
57 nested if-elif Python PredictingFinalResult for demonstrating nested if-elif QuizPET algorithm analysis, control flow, if statement, if-else statement
58 nested if Python PredictingFinalResult for demonstrating nested if QuizPET control flow, if-else statement
59 Nested If Statements Python BehaviorExample for demonstrating Nested If Statements WebEx conditionals, if-else statement
60 Jeroo if-then-else syntax Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, conditionals, if-then-else, syntax practice, code writing
61 Jeroo if-else-if-else Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, conditionals, if-else-if, multi-way-if, syntax practice, code writing
62 Jeroo add else-if Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, conditionals, if-else-if, multi-way-if, syntax practice, code writing
63 Jeroo add else-if-else-if Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, conditionals, if-else-if, multi-way-if, syntax practice, code writing
64 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
65 Determining the Letter Grade Of a Student Construct a program that receives a score from the user and determines the grade as follows:\nA for scores ≥ 90\nB... PCEX control flow, if-else statement
66 Determining the Sign of an Integer Construct a program that determines whether an integer is positive, negative, or zero. PCEX control flow, if-else statement
67 Determining Whether an Integer is Even or Odd Construct a program that determines whether an integer is even or odd. PCEX control flow, if-else statement
68 Calculating the Employees Wage Based on the Hours That the Employee Has Worked and an Hourly Pay Rate Construct a program for the payment department of a company to calculate the wage of an employee based on the... PCEX control flow, if-else statement
69 Calculating the Wage of an Employee at the Customer Service Call Center Construct a program for the payment department of a company to calculate the wage of an employee who works at... PCEX control flow, if-else statement
70 Determining the Smallest of the Three Integers Construct a program that determines the smallest of the three integer values entered by the user. PCEX control flow, if-else statement
71 Warning the User about the Changes in the Temperature Construct a program that receives the temperature for today and yesterday and warns the user when it is getting colder... PCEX control flow, if-else statement
72 Warning the User about the Changes in the Temperature and Humidity Construct a program that receives the temperature and humidity for today and yesterday and warns the user when it is... PCEX control flow, if-else statement
73 Else Clause Else Clause AnnEx conditionals, if-else statement
74 Using && Using && AnnEx boolean expressions, if-else statement
75 Using || Using || AnnEx boolean expressions, if-else statement
76 Logical Operators Logical Operators AnnEx boolean expressions, if-else statement
77 Hiscore 1 Python CodeVisualization for demonstrating Hiscore 1 JSVEE control flow, if statement, if-else statement
78 Hiscore 2 Python CodeVisualization for demonstrating Hiscore 2 JSVEE control flow, if statement, if-else statement
79 Conditionals Temperature Construct a program that prints out 'Cold', when the temperature is 15 degrees celcius or below, 'Moderate' when it is... jsParsons control flow, if statement, if-else statement
80 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
81 Functions Example 1 Python BehaviorExample for demonstrating Functions Example 1 WebEx functions, if-else statement
82 The Grade Letter Construct a program that receives a score from the user and determines the grade as follows:\nA for scores ≥ 90\nB... PCEX control flow, if-else statement
83 The Wage of an Employee Construct a program for the payment department of a company to calculate the wage of an employee based on the... PCEX control flow, if-else statement
84 The Min/Max of Three Integers Construct a program that determines the smallest of the three integer values entered by the user. PCEX control flow, if-else statement
85 Warning about the Changes in the Weather Condition Construct a program that receives the temperature for today and yesterday and warns the user when it is getting colder... PCEX control flow, if-else statement
86 The Grade Letter Construct a program that receives a score from the user and determines the grade as follows:\nA for scores ≥ 90\nB... PCEX control flow, if statement, if-else statement
87 The Sign of a Number Construct a program that determines whether an integer is positive, negative, or zero. PCEX control flow, if statement, if-else statement
88 The Wage of an Employee Construct a program for the payment department of a company to calculate the wage of an employee based on the... PCEX control flow, if statement, if-else statement
89 Warning about the Changes in the Weather Condition Construct a program that receives the temperature for today and yesterday and warns the user when it is getting colder... PCEX control flow, if statement, if-else statement
90 Determining Whether an Integer is Even or Odd Construct a program that determines whether an integer is even or odd. PCEX control flow, if-else statement
91 Calculating the Wage of an Employee at the Customer Service Call Center Construct a program for the payment department of a company to calculate the wage of an employee who works at... PCEX control flow, if-else statement
92 Warning the User about the Changes in the Temperature and Humidity Construct a program that receives the temperature and humidity for today and yesterday and warns the user when it is... PCEX control flow, if-else statement
93 Determining Whether One is a Teenager Construct a program that asks the user to enter a string that has the user name and age separated by... PCEX exception handling, if-else statement
94 Pass-Fail Rule (Case 2) Construct a program that determines whether a student fails the course based on the inputs that it receives from the... PCEX boolean expressions, if-else statement
95 Pass-Fail Rule (Case 3) Construct a program that determines whether a student fails the course based on the inputs that it receives from the... PCEX boolean expressions, if-else statement
96 Hot-Dry Weather (Case 2) Construct a program that determines whether it is either too hot or too dry (or both) based on the inputs... PCEX boolean expressions, if-else statement
97 Hot-Dry Weather (Case 3) Construct a program that determines whether it is too hot but not too dry based on the inputs that it... PCEX boolean expressions, if-else statement
98 Hot-Dry Weather (Case 4) Construct a program that determines whether it is either too hot or too dry but not both based on the... PCEX boolean expressions, if-else statement
99 Buying a New Phone Construct a program that determines whether it is time to buy a new phone based on the inputs that it... PCEX boolean expressions, if-else statement
100 Renting a Car (Case 2) Construct a program that determines whether a customer could rent a car based on the inputs that it receives from... PCEX boolean expressions, if-else statement
101 Renting a Car (Case 3) Construct a program that determines whether a customer could rent a car based on the inputs that it receives from... PCEX boolean expressions, if-else statement, while loop
102 Three Booleans (Case 2) Construct a program that determines whether at least one of the three boolean variables is False based on the inputs... PCEX boolean expressions, if-else statement
103 Three Booleans (Case 3) Construct a program that receives the value of three boolean variables from the user and determines whether all variables have... PCEX boolean expressions, if-else statement
104 roundSum Free Coding Problem, code writing Coding Question CodeWorkout conditionals, if, arithmetic, code writing
105 makeChocolate Free Coding Problem, code writing Coding Question CodeWorkout conditionals, if, arithmetic, mod, code writing
106 without2 Free Coding Problem, code writing Coding Question CodeWorkout conditionals, if, strings, code writing
107 alarmClock Free Coding Problem, code writing Coding Question CodeWorkout conditionals, if, logic, code writing
108 love6 Free Coding Problem, code writing Coding Question CodeWorkout conditionals, if, logic, code writing
109 cigarParty Free Coding Problem, code writing Coding Question CodeWorkout conditionals, if, logic, code writing
110 dateFashion Free Coding Problem, code writing Coding Question CodeWorkout conditionals, if, logic, code writing
111 greenTicket Free Coding Problem, code writing Coding Question CodeWorkout conditionals, if, logic, code writing
112 Review - Wabbajack Question Multiple Choice Question CodeWorkout review, if, conditional, String
113 Magic Date Free Coding Problem, coding problem Coding Question CodeWorkout conditionals, if statement, 1213, cci, coding problem
114 Shipping Cost Free Coding Problem, coding problem Coding Question CodeWorkout 1213, if-else, modulus, conditionals, cci, coding problem
115 Codewit Phinease: Doing chores with C++ boolean expressions and do-while loop Free Coding Problem, code writing Coding Question CodeWorkout do while, if, else if, decisions, loops, boolean expressions, code writing
116 comparison operators Java CodeVisualization for demonstrating comparison operators JSVEE boolean expressions, control flow, if-else statement
117 XOR Construct a program that mimics a XOR gate (exclusive or). When input_a and input_b are the same, it should print... jsParsons boolean expressions, boolean logic, if-else statement, logical operators
118 The Sign of a Number Construct a program that determines whether an integer is positive, negative, or zero. PCEX conditionals, control flow, if-else statement
119 Determining Whether One is a Teenager Construct a program that receives a string that has the user name and age separated by a colon, and prints... PCEX exception handling, exceptions, if-else statement
120 Pass-Fail Rule Construct a program to determine whether a student fails the course based on the inputs that it receives from the... PCEX boolean expressions, boolean logic, if-else statement, logical operators
121 Hot-Dry Weather Construct a program that determines whether it is both too hot and too dry based on the inputs that it... PCEX boolean expressions, boolean logic, if-else statement, logical operators
122 The Min/Max of Three Integers Construct a program that determines the smallest of the three integer values entered by the user. PCEX algorithm analysis, control flow, if statement, if-else statement, statistics
123 Buying a New Phone Construct a program that determines whether it is time to buy a new phone based on the inputs that it... PCEX boolean expressions, boolean logic, if-else statement, logical operators
124 Renting a Car Construct a program that determines whether a customer could rent a car based on the inputs that it receives from... PCEX boolean expressions, boolean logic, if-else statement, logical operators
125 Three Booleans Construct a program that determines whether at least one of the three boolean variables is True based on the inputs... PCEX boolean expressions, boolean logic, if-else statement, logical operators
126 Determining the Largest of the Three Integers Construct a program that determines the largest of the three integer values entered by the user. PCEX conditionals, control flow, if-else statement
127 Using boolean Java PredictingFinalResult for demonstrating Using boolean QuizJET boolean expressions, control flow, if-else statement
128 Boolean Operations (Not) Java PredictingFinalResult for demonstrating Boolean Operations (Not) QuizJET boolean expressions, control flow, if-else statement
129 Boolean Operations (Not equal) Java PredictingFinalResult for demonstrating Boolean Operations (Not equal) QuizJET boolean expressions, control flow, if-else statement
130 Earthquake Java PredictingFinalResult for demonstrating Earthquake QuizJET conditionals, control flow, if-else statement
131 sortaSum Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, code writing
132 lessBy10 Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, code writing
133 in1To10 Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, code writing
134 teaParty Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, code writing
135 answerCell Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, code writing
136 endsLy Free Coding Problem, code writing Coding Question CodeWorkout String, conditionals, if, code writing
137 seeColor Free Coding Problem, code writing Coding Question CodeWorkout String, conditionals, if, code writing
138 makeTags Free Coding Problem, code writing Coding Question CodeWorkout String, conditionals, if, HTML tags, code writing
139 comboString Free Coding Problem, code writing Coding Question CodeWorkout String, conditionals, if, code writing
140 teenSum Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, code writing
141 squirrelPlay Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, code writing
142 caughtSpeeding Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, code writing
143 nearTen Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, mod, code writing
144 inOrder Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, code writing
145 twoAsOne Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, code writing
146 redTicket Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, code writing
147 blueTicket Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, code writing
148 makeBricks Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, code writing
149 loneSum Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, code writing
150 luckySum Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, code writing
151 noTeenSum Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, methods, code writing
152 blackjack Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, code writing
153 evenlySpaced Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, code writing
154 atFirst Free Coding Problem, code writing, strings Coding Question CodeWorkout logic, conditionals, if, strings, code writing
155 theEnd Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, strings, code writing
156 plusOut Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, loops, String, code writing
157 mixString Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, String, code writing
158 zipZap Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, loops, for, String, code writing
159 wordEnds Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, loops, for, String, code writing
160 countCode Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, loops, for, String, code writing
161 endOther Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, loops, String, code writing
162 xyzThere Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, loops, for, String, code writing
163 xyBalance Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, loops, for, String, code writing
164 getSandwich Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, loops, for, String, code writing
165 countEvens Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, arrays, loops, mod, code writing
166 sum67 Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, loops, arrays, code writing
167 isEverywhere Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, loops, arrays, code writing
168 withoutTen Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, loops, arrays, code writing
169 sum13 Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, loops, arrays, code writing
170 modThree Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, loops, arrays, mod, code writing
171 tenRun Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, loops, arrays, mod, code writing
172 zeroMax Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, loops, arrays, code writing
173 pre4 Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, loops, arrays, code writing
174 sameEnds Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if loops, arrays, code writing
175 countClumps Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, loops, arrays, code writing
176 fix45 Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, loops, arrays, code writing
177 xyzMiddle Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, String, code writing
178 Hashmaps - Get from Map Free Coding Problem Coding Question CodeWorkout hash-table, hashmap, if, conditions
179 Review - Head Count Question, forced choice Multiple Choice Question CodeWorkout review, logic errors, if, conditional, for loop, for each loop, array, continue, forced choice
180 Text Palindromes Free Coding Problem Coding Question CodeWorkout array, looping, if, condition, exception
181 Calculate and Display Average Test Score Free Coding Problem, coding problem Coding Question CodeWorkout average, conditional, if-else, coding problem
182 Jeroo turns away Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, conditionals, if-then-else, syntax practice, code writing
183 Jeroo turns right Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, conditionals, if-then-else, syntax practice, code writing
184 Jeroo sees water Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, conditionals, if-then-else, syntax practice, code writing
185 Jeroo just turns Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, conditionals, if-then, if-then-else, syntax practice, code writing
186 Jeroo always hops Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, conditionals, if-then, if-then-else, syntax practice, code writing
187 Jeroo conditional toss Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, conditionals, if-then, if-then-else, syntax practice, code writing
188 Jeroo conditional pick Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, conditionals, if-then, syntax practice, code writing
189 Jeroo add else Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, conditionals, if-else-if, else, syntax practice, code writing
190 Jeroo looks left and right Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, conditionals, if-then, if-then-else, syntax practice, code writing
191 Jeroo looks everywhere Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, conditionals, if-then, boolean operators, syntax practice, code writing
192 Jeroo looks everywhere again Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, conditionals, if-then, boolean operators, syntax practice, code writing
193 Jeroo looks to front and side Free Coding Problem, code writing Coding Question CodeWorkout Jeroo, conditionals, if-then, boolean operators, syntax practice, code writing
194 countCharClumps Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, loops, strings, code writing
195 countOccurrences Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, loops, strings, code writing
196 Blackjack Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, code writing
197 squirrelPlay Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, code writing
198 GreenTicketPy Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, code writing
199 GreenTicket Free Coding Problem, code writing Coding Question CodeWorkout logic, conditionals, if, code writing
200 endsLy Free Coding Problem, code writing Coding Question CodeWorkout String, conditionals, if, code writing
201 Convert name from last, first to first last Free Coding Problem, code writing Coding Question CodeWorkout String, conditionals, if, code writing
202 Convert date from ISO to US Free Coding Problem, code writing Coding Question CodeWorkout String, conditionals, if, code writing
203 Convert military time (24hr) to AM/PM Free Coding Problem, code writing Coding Question CodeWorkout String, conditionals, if, code writing
204 Convert phone number Free Coding Problem, code writing Coding Question CodeWorkout String, conditionals, if, code writing
205 hasPrefix(word)? Free Coding Problem, code writing Coding Question CodeWorkout String, conditionals, if, code writing
206 hasSuffix(word)? Free Coding Problem, code writing Coding Question CodeWorkout String, conditionals, if, code writing
207 containsRoot(word)? Free Coding Problem, code writing Coding Question CodeWorkout String, conditionals, if, code writing
208 Determining Whether One is a Teenager (Case 2) Construct a program that asks the user to enter a string that has the user name and age separated by... PCEX classes, exception handling, exceptions, file i/o, if-else statement, loops, methods, objects
209 Boolean Operations (AND) Java PredictingFinalResult for demonstrating Boolean Operations (AND) QuizJET boolean expressions, conditionals, control flow, if-else statement
210 Boolean Operations (Greater equal) Java PredictingFinalResult for demonstrating Boolean Operations (Greater equal) QuizJET boolean expressions, conditionals, control flow, if-else statement
211 Boolean Operations (Less equal) Java PredictingFinalResult for demonstrating Boolean Operations (Less equal) QuizJET boolean expressions, conditionals, control flow, if-else statement
212 listSearch Free Coding Problem, code writing Coding Question CodeWorkout loops, logic, conditional, if, List, String, code writing
213 Review - Count Fours Free Coding Problem Coding Question CodeWorkout review, array, looping, if
214 Queues - Find evens Free Coding Problem Coding Question CodeWorkout conditional, queue, for loop, peek, poll, if, dequeue
215 Hashmap - Open Addressing Hash Table Free Coding Problem Coding Question CodeWorkout hash table, hashmap, open addressing, if, conditions, loops
216 Are all elements positive? Free Coding Problem, code writing Coding Question CodeWorkout array, logic, conditionals, if, code writing
217 Are all elements negative? Free Coding Problem, code writing Coding Question CodeWorkout array, logic, conditionals, if, code writing
218 Are all elements even? Free Coding Problem, code writing Coding Question CodeWorkout array, logic, conditionals, if, code writing
219 Are all elements odd? Free Coding Problem, code writing Coding Question CodeWorkout array, logic, conditionals, if, code writing
220 Are all elements greater than x? Free Coding Problem, code writing Coding Question CodeWorkout array, logic, conditionals, if, code writing
221 Are all elements less than x? Free Coding Problem, code writing Coding Question CodeWorkout array, logic, conditionals, if, code writing
222 Sum all the positive elements in the array Free Coding Problem, code writing Coding Question CodeWorkout array, logic, conditionals, if, code writing
223 Sum elements in the array Free Coding Problem, code writing Coding Question CodeWorkout array, logic, conditionals, if, code writing
224 Sum elements after a negative in the array Free Coding Problem, code writing Coding Question CodeWorkout array, logic, conditionals, if, code writing
225 If C++ BehaviorExample for demonstrating If AnnEx
226 if-elif (interest) Python PredictingFinalResult for demonstrating if-elif (interest) QuizPET
227 IfElse_Structure C BehaviorExample for demonstrating IfElse_Structure AnnEx
228 IF2 C++ BehaviorExample for demonstrating IF2 AnnEx
229 DEPRECATED_if-else Java BehaviorExample for demonstrating DEPRECATED_if-else AnnEx
230 DEPRECATED_If Else Java BehaviorExample for demonstrating DEPRECATED_If Else AnnEx
231 nested if-elif Python PredictingFinalResult for demonstrating nested if-elif QuizPET
232 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
233 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
234 DEPRECATED_Decision If Java BehaviorExample for demonstrating DEPRECATED_Decision If AnnEx
235 Practicar sentencias if...elif...else Construye un programa que imprima 'Frio' cuando la temperatura sea de 15 grados centigrados o menos, 'Moderado' cuando sea mayor... jsParsons conditionals
236 Practicar sentencias if anidadas Construye un programa que imprima una oracion dependiendo de la hora del dia. Noche se considera antes de las 7... jsParsons conditionals
237 q_py_if_elif1_es Python PredictingFinalResult for demonstrating q_py_if_elif1_es QuizPET conditionals
238 q_py_interest_if_elif1_es Python PredictingFinalResult for demonstrating q_py_interest_if_elif1_es QuizPET conditionals
239 q_py_interest_if_else1_es Python PredictingFinalResult for demonstrating q_py_interest_if_else1_es QuizPET conditionals
240 q_py_nested_if_elif1_es Python PredictingFinalResult for demonstrating q_py_nested_if_elif1_es QuizPET conditionals
241 q_py_nested_if_elif2_es Python PredictingFinalResult for demonstrating q_py_nested_if_elif2_es QuizPET conditionals
242 Single Line If...Else Statement Python BehaviorExample for demonstrating Single Line If...Else Statement WebEx conditionals
243 Conditional statements: Working with If-Then-Else Statements Question, Battery Conditional Statement self-assessment questions: Working with if-then-else statements. OpenDSA Conditional Statement
244 Conditional statements: Working with If-Then Statements 2 Question, Battery Conditional Statement self-assessment questions: Working with if-then-else statements second quiz. OpenDSA Conditional Statement
245 Lambda Calculus: If-Then-Else in Church Encoding Question Question related to if-then-else in Church encoding in the Lambda Calculus. OpenDSA Lambda Calculus
246 q_py_if_elif1_v1 Python PredictingFinalResult for demonstrating q_py_if_elif1_v1 QuizPET
247 Element in Array if Exists Free Coding Problem, coding problem Coding Question CodeWorkout array, Java, cci, coding problem
248 q_py_nested_if1_es Python PredictingFinalResult for demonstrating q_py_nested_if1_es QuizPET conditionals
249 q_py_yun_test_if2 Python PredictingFinalResult for demonstrating q_py_yun_test_if2 QuizPET
250 q_py_yun_test_if2_v1 Python PredictingFinalResult for demonstrating q_py_yun_test_if2_v1 QuizPET
251 q_py_yun_test_if3 Python PredictingFinalResult for demonstrating q_py_yun_test_if3 QuizPET
252 q_py_yun_test_if3_v1 Python PredictingFinalResult for demonstrating q_py_yun_test_if3_v1 QuizPET
253 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
254 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
255 Construct a program with multiple if-elif statements Construct a program which checks which of the integers in interval from 1 to 50 is divisible by only 2,... jsParsons
256 Construir un programa con múltiples sentencias if-elif Construye un programa que verifique cuales de los enteros en el intervalo del 1 al 50 son divisibles solo por... jsParsons
257 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
258 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
259 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
260 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
261 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
262 Crear una compuerta XOR usando sentencias if...elif Construye un programa que imite una compuerta XOR (o exclusivo). Cuando input_a y input_b sean iguales, debe imprimir 0 y... jsParsons boolean expressions, conditionals
263 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
264 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
265 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
266 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
267 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
268 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
269 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
270 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
271 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
272 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
273 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
274 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
275 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
276 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
277 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
278 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
279 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
280 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
281 Given a list of integers, return the position of the first element that occurs more than once, or -1 if all elements occur exactly once. Code Completion Given a list of integers, return the position of the first element that occurs more than once, or -1 if... CodeCheck Lists - Simple Exercises, Counting Elements
282 Given a list of integers and a value, return the position of the last occurrence of the value in the list, or -1 if the value does not exist. Code Completion Given a list of integers and a value, return the position of the last occurrence of the value in the... CodeCheck Lists - Simple Exercises, Finding Elements
283 Given a list of integers and a value, return the difference between the last and first position of the value in the list, or -1 if the value does not exist. Code Completion Given a list of integers and a value, return the difference between the last and first position of the value... CodeCheck Lists - Simple Exercises, Finding Elements
284 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
285 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
286 Given two strings s and t, return the first position where their characters differ, or -1 if they are identical. Code Completion Given two strings s and t, return the first position where their characters differ, or -1 if they are identical. CodeCheck Strings, Comparing Strings
287 Given two strings s and t, return the first position where their characters are the same, or -1 if there is no such position. Code Completion Given two strings s and t, return the first position where their characters are the same, or -1 if there... CodeCheck Strings, Comparing Strings
288 Given an array 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 an array of integers of length ≥ 3, return the average of the first, last, and middle element (or... CodeCheck Arrays - Simple Exercises, No loops
289 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
290 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
291 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
292 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
293 Given an array of integers and a value, return the position of the last occurrence of the value in the array, or -1 if the value does not exist. Code Completion Given an array of integers and a value, return the position of the last occurrence of the value in the... CodeCheck Arrays - Simple Exercises, Finding Elements
294 Given an array of integers and a value, return the difference between the last and first position of the value in the array, or -1 if the value does not exist. Code Completion Given an array of integers and a value, return the difference between the last and first position of the value... CodeCheck Arrays - Simple Exercises, Finding Elements
295 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
296 Given two strings s and t, return the first position where their characters differ, or -1 if they are identical. Code Completion Given two strings s and t, return the first position where their characters differ, or -1 if they are identical. CodeCheck Strings, Comparing Strings
297 Given two strings s and t, return the first position where their characters are the same, or -1 if there is no such position. Code Completion Given two strings s and t, return the first position where their characters are the same, or -1 if there... CodeCheck Strings, Comparing Strings
298 Given an array of integers, return the position of the first element that occurs more than once, or -1 if all elements occur exactly once. Code Completion Given an array of integers, return the position of the first element that occurs more than once, or -1 if... CodeCheck Arrays - Simple Exercises, Counting Elements
299 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
300 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
301 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
302 Turing Machine Exercise: Decide Powers of 2 Automata Construction Exercise User creates a Turing machine that decides if strings of a's have a length that is a power of 2. OpenDSA Turing Machine
303 Context-Free Language Membership Problem Frameset Programmed Instruction Programmed Instruction Frameset discussing how to recognize if a given string is derivable from a given Context-Free Grammar. OpenDSA Context-Free Language
304 Recursive Binary Search Construct a function that uses recursive binary search to find if a specific value is in a list (known as... PCEX recursion, search, search algorithms, sorting
305 Recursive Binary Search Challenge Construct a function that uses recursive binary search to find if a specific value is in a list (known as... PCEX recursion, search algorithms
306 CFG Associativity Exercise Question A question where users evaluate a mathematical expression and deterimine if the grammar enforces correct associativity. OpenDSA Context-Free Grammar, Ambiguity
307 CFG Precedence and Associativity Exercise Question A question where users evaluate a mathematical expression and deterimine if the grammar enforces correct precedence and associativity. OpenDSA Context-Free Grammar, Ambiguity
308 A fast priority queue Code Completion It is possible to provide a fast priority queue implementation if the inserted items have a bounded number of integer... CodeCheck Tree Structures
309 Determining the Maximum Rating for Each Soda in The Survey Suppose a soda manufacturer held a taste test for four new flavors to determine if people liked them. The manufacturer... PCEX 2d arrays
310 Determining the Average Rating for Each Soda in The Survey Suppose a soda manufacturer held a taste test for four new flavors to determine if people liked them. The manufacturer... PCEX 2d arrays
311 Determining the Average Ratings of each Respondent and Average Ratings Given to Each Soda in the Survey Suppose a soda manufacturer held a taste test for four new flavors to determine if people liked them. The manufacturer... PCEX 2d arrays
312 CFG Associativity Exercise: Alternate Question, Battery A collection of self-practice questions where users evaluate a mathematical expression and deterimine if the grammar enforces correct associativity. Alternate... OpenDSA Context-Free Grammar, Ambiguity
313 CFG Precedence and Associativity Exercise: Alternate Question, Battery A collection of self-practice questions where users evaluate a mathematical expression and deterimine if the grammar enforces correct precedence and... OpenDSA Context-Free Grammar, Ambiguity
314 Processing the Results of a Soda Survey Suppose a soda manufacturer held a taste test for four new flavors to determine if people liked them. The manufacturer... PCEX 2d arrays
315 Processing the Results of a Soda Survey Suppose a soda manufacturer held a taste test for four new flavors to determine if people liked them. The manufacturer... PCEX 2d list, classes, data structures, for loop, list, stacks
316 Processing Soda Survery (Case 2) Suppose a soda manufacturer held a taste test for four new flavors to determine if people liked them. The manufacturer... PCEX 2d arrays
317 Processing Soda Survery (Case 3) Suppose a soda manufacturer held a taste test for four new flavors to determine if people liked them. The manufacturer... PCEX 2d arrays
318 Processing the Results of a Soda Survey (Case 2) Suppose a soda manufacturer held a taste test for four new flavors to determine if people liked them. The manufacturer... PCEX 2d list
319 Processing the Results of a Soda Survey (Case 3) Suppose a soda manufacturer held a taste test for four new flavors to determine if people liked them. The manufacturer... PCEX 2d list
320 Middle Letter Code Completion Complete the getMiddle method that gets the middle character from a word if the word length is odd, or the... CodeCheck Branches
321 Linked List Operations - Contains In this example, we will implement the contains() method that accepts a value and returns True if the value is... PCEX
322 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
323 Rotating the Array Values to the Left by One Position Construct a program that has a method that receives an array of values and returns the array rotated to the... PCEX arrays
324 Printing the Total Number of Times Elements of One Array Appear in Another Array Construct a program that has a method that receives two arrays and prints the total number of times the elements... PCEX arrays
325 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 arrays
326 Binary Search - 1 Construct a function that receives an array and a target element to be searched in the given array. If the... PCEX
327 Binary Search - 1 Construct a function that receives an array and a target element to be searched in the given array. If the... PCEX
328 Determining When a Student Fails a Course (Case 1) Construct a program to determine whether a student fails the course based on the inputs that it receives from the... PCEX boolean expressions
329 Determining When a Student Fails a Course (Case 2) Construct a program that determines whether a student fails the course based on the inputs that it receives from the... PCEX boolean expressions
330 Determining When a Student Fails a Course (Case 3) Construct a program that determines whether a student fails the course based on the inputs that it receives from the... PCEX boolean expressions
331 Determining When to Buy a New Phone (Case 1) Construct a program that determines whether it is time to buy a new phone based on the inputs that it... PCEX boolean expressions
332 Printing A Sequence of Repeated Numbers (Case 1) Construct a program that receives an integer N from the user and prints a sequence of space-separated numbers from 1... PCEX nested loops
333 Printing A Sequence of Repeated Numbers (Case 2) Construct a program that receives an integer N from the user and prints a sequence of space-separated numbers from 1... PCEX nested loops
334 (Searching) Binary search - CSEdPad This program uses binary search algorithm to search the index, where "index will be the rank of prizes you get... AnnEx search algorithms
335 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
336 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
337 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
338 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 classes, objects
339 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 linked list, search algorithms
340 Printing a square star pattern Construct a program that takes an input as the size of a solid square and print the square. For example,... PCEX for loop, nested loops
341 Search in the linked list. Challenge When using a LinkedList, it is possible that you may want to search through the list to see if a... PCEX search algorithms
342 Printing the outline of a square star pattern Challenge Construct a program that takes an input as the size of a square and print the outline of the square.\nFor... PCEX for loop
343 Stack Challenge Implementing Stack. Using Class to construct a Stack. Implement a function to determine if all the given brackets are paired.\nFor... PCEX
344 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
345 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
346 Given a list of integers, return the most frequent element. Code Completion Given a list of integers, return the most frequent element. If there is more than one element with maximum frequency,... CodeCheck Lists - Simple Exercises, Counting Elements
347 Given a list of integers and a value, return the position of the element that is closest to the value. Code Completion Given a list of integers and a value, return the position of the element that is closest to the value.... CodeCheck Lists - Simple Exercises, Finding Elements
348 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
349 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
350 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
351 Given a string s and a character c (as string of length 1), return a string with the characters surrounding the first occurrence of c reversed. Code Completion Given a string s and a character c (as string of length 1), return a string with the characters surrounding... CodeCheck Strings, Other String Operations
352 Given a string s and a character c (as string of length 1), return a string with the characters surrounding any occurrence of c reversed. Code Completion Given a string s and a character c (as string of length 1), return a string with the characters surrounding... CodeCheck Strings, Other String Operations
353 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
354 Given a string, find the first integer inside and return its value as an integer. Code Completion Given a string, find the first integer inside and return its value as an integer. Return 0 if there is... CodeCheck Strings, Numbers in Strings
355 Given a string, find the sum of all integers inside. Code Completion Given a string, find the sum of all integers inside. Return 0 if there is no integer inside. CodeCheck Strings, Numbers in Strings
356 Rotating the Array Values Construct a program that has a method that receives an array of values and returns the array rotated to the... PCEX arrays
357 Pass-Fail Rule Construct a program to determine whether a student fails the course based on the inputs that it receives from the... PCEX boolean expressions
358 Buying a New Phone Construct a program that determines whether it is time to buy a new phone based on the inputs that it... PCEX boolean expressions
359 Printing A Sequence of Repeated Numbers Construct a program that receives an integer N from the user and prints a sequence of space-separated numbers from 1... PCEX nested loops
360 Creating a Dictionary of Character-Count/Words Pairs Construct a program that has a function which receives a string from the user and creates a dictionary that maps... PCEX classes, data structures, dictionaries, dictionary, stacks
361 Rotating the List Values Construct a program that has a function that receives a list of values and returns the list rotated to the... PCEX algorithm analysis, classes, data structures, list, stacks
362 Creating a Dictionary of Student-Scores Pairs Assume we have a list of students and a list of their corresponding test scores. Construct a program that has... PCEX dictionaries, dictionary
363 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
364 Searching Arrays (Case 3) Construct a program that has a function that receives two arrays and creates an array that contains the number of... PCEX arrays
365 Searching Arrays (Case 2) Construct a program that has a method that receives two arrays and prints the total number of times the elements... PCEX arrays
366 Determining When a Student Fails a Course (Case 2) Construct a program that determines whether a student fails the course based on the inputs that it receives from the... PCEX boolean expressions
367 Determining When a Student Fails a Course (Case 3) Construct a program that determines whether a student fails the course based on the inputs that it receives from the... PCEX boolean expressions
368 Printing A Sequence of Repeated Numbers (Case 2) Construct a program that receives an integer N from the user and prints a sequence of space-separated numbers from 1... PCEX for loop, nested loops
369 Creating a Dictionary of Character-Count/Words Pairs Construct a program that has a function which receives a string and creates a dictionary that maps each character to... PCEX dictionaries, dictionary
370 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
371 Searching Values of a List in Another List (Case 3) Construct a program that has a function that receives two lists and creates a list that contains the number of... PCEX list, search algorithms
372 Searching Values of a List in Another List (Case 2) Construct a program that has a function that receives two lists and prints the total number of times the elements... PCEX list, search algorithms
373 Letter frequency map Code Completion Your task is to produce a map of the frequencies of all letters in a string. Letters are represented as... CodeCheck Tree Structures
374 Letter set Code Completion Your task is to produce a set of all letters in a string. Letters are represented as strings of length... CodeCheck Tree Structures
375 Number of even and odd elements Code Completion Count the number of even and odd elements in an array of integers. Since you must return two counts, place... CodeCheck Arrays and Array Lists
376 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
377 Same beginning and end sequence Code Completion Your task is to determine whether an array has the same sequence of numbers at the beginning and the end,... CodeCheck Arrays and Array Lists
378 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
379 BankAccount with Transaction Count Code Completion Change the deposit and withdraw methods of the BankAccount class so that a count of transactions is updated. For example,... CodeCheck Classes
380 Concatenate elements backwards Code Completion Your task is to concatenate all elements in a linked list of strings backwards, starting at the end of the... CodeCheck Linear Data Structures
381 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
382 HyperCaesar cipher Code Completion The HyperCaesar cipher is just like the Caesar cipher, except that the key for each step is the initial key... CodeCheck Advanced Input and Output
383 SuperCaesar Cipher Code Completion The SuperCaesar cipher is just like the Caesar cipher, except that the key value is incremented in each step. For... CodeCheck Advanced Input and Output
384 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
385 Reading a serialized array of objects Code Completion Your task is to read a serialized array of objects. You are given a FileInputStream, and you need to read... CodeCheck Advanced Input and Output
386 Find longest word in file Code Completion Your task is to open a file, read all words in the file, and find the longest word in the... CodeCheck Input and Output
387 Processing names Code Completion Your task is to read an input file containing a name on each line, and then write an output file... CodeCheck Input and Output
388 Reversing the lines in a file Code Completion Your task is to read a file containing lines of text, and to write another file that contains these lines... CodeCheck Input and Output
389 Given a string, find the first integer inside and return its value as an integer. Code Completion Given a string, find the first integer inside and return its value as an integer. Return 0 if there is... CodeCheck Strings, Numbers in Strings
390 Given a string, find the sum of all integers inside. Code Completion Given a string, find the sum of all integers inside. Return 0 if there is no integer inside. CodeCheck Strings, Numbers in Strings
391 Given a two-dimensional array of integers and a value x, return the position of the first match as an array of length 2. Code Completion Given a two-dimensional array of integers and a value x, return the position of the first match as an array... CodeCheck Two-Dimensional Arrays, Looping Over the Entire Array
392 Sort Names Code Completion We consider names of people that consist of first and last names, such as Joe Smith. When you sort names,... CodeCheck Branches
393 Given a two-dimensional array of integers, return the position of the largest square subarray filled with zeroes, as an array of length 2. Code Completion Given a two-dimensional array of integers, return the position of the largest square subarray filled with zeroes, as an array... CodeCheck Two-Dimensional Arrays, Complex Loops
394 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
395 Given a string s and a character c, return a string with the characters surrounding any occurrence of c reversed. Code Completion Given a string s and a character c, return a string with the characters surrounding any occurrence of c reversed.... CodeCheck Strings, Other String Operations
396 Given a string s and a character c, return a string with the characters surrounding the first of c reversed. Code Completion Given a string s and a character c, return a string with the characters surrounding the first of c reversed.... CodeCheck Strings, Other String Operations
397 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
398 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
399 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
400 Given an array of integers and a value, return the position of the element that is closest to the value. Code Completion Given an array of integers and a value, return the position of the element that is closest to the value.... CodeCheck Arrays - Simple Exercises, Finding Elements
401 Given an array of integers, return the most frequent element. Code Completion Given an array of integers, return the most frequent element. If there is more than one element with maximum frequency,... CodeCheck Arrays - Simple Exercises, Counting Elements
402 Rotating the Array Values to the Left by Two Position Construct a program that has a method that receives an array of values and returns the array rotated to the... PCEX arrays
403 Rotating the Array Values to the Right by One Position Construct a program that has a method that receives an array of values and returns the array rotated to the... PCEX arrays
404 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 arrays
405 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
406 Binary search Binary Search operates by dividing an array in half, and then determining whether or not the target value would be... PCEX binary search, recursion, search, search algorithms, sorting, trees
407 Binary search Challenge Binary Search operates by dividing an array in half, and then determining whether or not the target value would be... PCEX search algorithms
408 Rotating the Array Values to the Left by Two Position Construct a program that has a method that receives an array of values and returns the array rotated to the... PCEX arrays
409 Rotating the Array Values to the Right by One Position Construct a program that has a method that receives an array of values and returns the array rotated to the... PCEX arrays
410 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 arrays
411 Rotating the List Values (Case 2) Construct a program that has a function that receives a list of values and returns the list rotated to the... PCEX list
412 Rotating the List Values (Case 3) Construct a program that has a function that receives a list of values and returns the list rotated to the... PCEX list
413 Rotating the List Values (Case 4) Construct a program that has a function that receives a list of values and returns the list rotated to the... PCEX list
414 ZipperWordGenerator Code Completion You are given two strings of equal length. Your task is to generate all zipper words that can be produced... CodeCheck Recursion
415 Throw IllegalArgumentException in Vehicle constructor Code Completion The Vehicle class given below is used to represent various types of self-propelled vehicles. It should be illegal to construct... CodeCheck Input and Output
416 Converting temperatures Code Completion Your task is to read an input file containing a month name followed by the average maximum temperature for that... CodeCheck Input and Output
417 Using instanceof for Converting Between Animal Types Code Completion The Cat and Dog class below implement the Animal interface. All animals have names, but only dogs do tricks. Implement... CodeCheck Interfaces