Showing 0–0 of 0 results
# Exercise Title Features Description Platform Keywords
1 If statement Python BehaviorExample for demonstrating If statement WebEx conditionals, if-else statement
2 Nested IF...ELSE Statement 2 Python BehaviorExample for demonstrating Nested IF...ELSE Statement 2 WebEx if statement
3 IF Statement Python BehaviorExample for demonstrating IF Statement WebEx if statement, if-else statement
4 IF...ELSE Statement Python BehaviorExample for demonstrating IF...ELSE Statement WebEx if statement
5 If Statement If Statement AnnEx boolean expressions, if-else statement
6 IF...ELSE Statement 2 Python BehaviorExample for demonstrating IF...ELSE Statement 2 WebEx if statement, if-else statement
7 ELIF (ELSE IF) Statement Python BehaviorExample for demonstrating ELIF (ELSE IF) Statement WebEx if statement, if-else statement
8 Complex IF...ELSE Statement Python BehaviorExample for demonstrating Complex IF...ELSE Statement WebEx if statement, if-else statement
9 Nested IF...ELSE Statement Python BehaviorExample for demonstrating Nested IF...ELSE Statement WebEx if statement, if-else statement
10 Nested If Statements Python BehaviorExample for demonstrating Nested If Statements WebEx conditionals, if-else statement
11 (If) Positive - CSEdPad Given a number, this program reports if the number is a positive number AnnEx if statement
12 if-elif Python PredictingFinalResult for demonstrating if-elif QuizPET control flow, if statement, if-else statement
13 If El If Else Python CodeVisualization for demonstrating If El If Else JSVEE algorithm analysis, control flow, if statement, if-else statement
14 If Else Python CodeVisualization for demonstrating If Else JSVEE control flow, if statement, if-else statement
15 nested if-elif Python PredictingFinalResult for demonstrating nested if-elif QuizPET algorithm analysis, control flow, if statement, if-else statement
16 Nested If Python CodeVisualization for demonstrating Nested If JSVEE algorithm analysis, control flow, if statement, if-else statement
17 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
18 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
19 Hiscore 1 Python CodeVisualization for demonstrating Hiscore 1 JSVEE control flow, if statement, if-else statement
20 Hiscore 2 Python CodeVisualization for demonstrating Hiscore 2 JSVEE control flow, if statement, if-else statement
21 Single Line IF...ELSE Statement Python BehaviorExample for demonstrating Single Line IF...ELSE Statement WebEx if-else statement
22 If..Else statement Python BehaviorExample for demonstrating If..Else statement WebEx conditionals, if-else statement
23 IF...ELSE Statement (Multiple Conditions) Python BehaviorExample for demonstrating IF...ELSE Statement (Multiple Conditions) WebEx if-else statement, logical operators
24 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
25 Single Line If...Else Statement Python BehaviorExample for demonstrating Single Line If...Else Statement WebEx conditionals
26 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
27 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
28 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
29 if-else (interest) Python PredictingFinalResult for demonstrating if-else (interest) QuizPET if-else statement
30 (If else) Temperature Conversion - CSEdPad Conversion of temperature from degree Celsius to degree Fahrenheit and vice versa AnnEx if-else statement
31 If else nested (Memphis) Demo of using if with else - this program simulates a bouncer at a club. AnnEx if-else statement
32 ae_python_if Python CodeVisualization for demonstrating ae_python_if JSVEE if-else statement
33 if-else 1 Java PredictingFinalResult for demonstrating if-else 1 QuizJET boolean expressions, conditionals, if-else statement, strings
34 if-else 2 Java PredictingFinalResult for demonstrating if-else 2 QuizJET conditionals, if-else statement
35 if-else 3 Java PredictingFinalResult for demonstrating if-else 3 QuizJET conditionals, if-else statement
36 if-else 4 Java PredictingFinalResult for demonstrating if-else 4 QuizJET conditionals, if-else statement
37 if-else 5 Java PredictingFinalResult for demonstrating if-else 5 QuizJET boolean expressions, conditionals, if-else statement
38 if-else-if if-else-if AnnEx boolean expressions, conditionals, if-else statement
39 If Else If Else AnnEx boolean expressions, conditionals, if-else statement
40 If with complex condition If with complex condition AnnEx boolean expressions, if-else statement
41 if-else-if Java CodeVisualization for demonstrating if-else-if JSVEE conditionals, control flow, if-else statement
42 nested if Python PredictingFinalResult for demonstrating nested if QuizPET control flow, if-else statement
43 Decision If Decision If AnnEx boolean expressions, if-else statement
44 Nested if Nested if AnnEx boolean expressions, conditionals, if-else statement
45 If Conditions Demo Java CodeVisualization for demonstrating If Conditions Demo JSVEE boolean expressions, conditionals, control flow, if-else statement
46 Nested if Java CodeVisualization for demonstrating Nested if JSVEE conditionals, control flow, if-else statement
47 Logical Operators Python BehaviorExample for demonstrating Logical Operators WebEx if-else statement, logical operators
48 Maximum of 2 Numbers Python BehaviorExample for demonstrating Maximum of 2 Numbers WebEx if-else statement
49 Interest Capital and Interest Python BehaviorExample for demonstrating Interest Capital and Interest WebEx if-else statement
50 Conditionals basics Python BehaviorExample for demonstrating Conditionals basics WebEx if-else statement
51 String Comparison String Comparison AnnEx if-else statement
52 Discount Calculator Python CodeVisualization for demonstrating Discount Calculator JSVEE if-else statement
53 Discount Calculator2 Python CodeVisualization for demonstrating Discount Calculator2 JSVEE if-else statement
54 Functions Example 1 Python BehaviorExample for demonstrating Functions Example 1 WebEx functions, if-else statement
55 Else Clause Else Clause AnnEx conditionals, if-else statement
56 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
57 Earthquake Java PredictingFinalResult for demonstrating Earthquake QuizJET conditionals, control flow, if-else statement
58 Using && Using && AnnEx boolean expressions, if-else statement
59 Using || Using || AnnEx boolean expressions, if-else statement
60 Logical Operators Logical Operators AnnEx boolean expressions, if-else statement
61 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
62 Using boolean Java PredictingFinalResult for demonstrating Using boolean QuizJET boolean expressions, control flow, if-else statement
63 Boolean Operations (Not) Java PredictingFinalResult for demonstrating Boolean Operations (Not) QuizJET boolean expressions, control flow, if-else statement
64 Boolean Operations (Not equal) Java PredictingFinalResult for demonstrating Boolean Operations (Not equal) QuizJET boolean expressions, control flow, if-else statement
65 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
66 comparison operators Java CodeVisualization for demonstrating comparison operators JSVEE boolean expressions, control flow, if-else statement
67 Boolean Operations (AND) Java PredictingFinalResult for demonstrating Boolean Operations (AND) QuizJET boolean expressions, conditionals, control flow, if-else statement
68 Boolean Operations (Greater equal) Java PredictingFinalResult for demonstrating Boolean Operations (Greater equal) QuizJET boolean expressions, conditionals, control flow, if-else statement
69 Boolean Operations (Less equal) Java PredictingFinalResult for demonstrating Boolean Operations (Less equal) QuizJET boolean expressions, conditionals, control flow, if-else statement
70 Conditional statements: Working with If-Then-Else Statements Question, Battery Conditional Statement self-assessment questions: Working with if-then-else statements. OpenDSA Conditional Statement
71 csedpad.06.If.ifstatement PCEX Set of activities for csedpad.06.If.ifstatement PCEX
72 csedpad.06.If.ifstatement Given a number, this program checks whether the number is even or not. PCEX
73 If C++ BehaviorExample for demonstrating If AnnEx
74 if-elif (interest) Python PredictingFinalResult for demonstrating if-elif (interest) QuizPET
75 nested if-elif Python PredictingFinalResult for demonstrating nested if-elif QuizPET
76 ifelse.if_else_if_grade PCEX Set of activities for ifelse.if_else_if_grade PCEX
77 ifelse.if_else_if_grade PCEX Set of activities for ifelse.if_else_if_grade PCEX
78 ifelse.if_else_num PCEX Set of activities for ifelse.if_else_num PCEX
79 ifelse.if_else_num PCEX Set of activities for ifelse.if_else_num PCEX
80 ifelse.if_else_wage PCEX Set of activities for ifelse.if_else_wage PCEX
81 ifelse.if_else_wage PCEX Set of activities for ifelse.if_else_wage PCEX
82 py_if_else_grade PCEX Set of activities for py_if_else_grade PCEX
83 py_if_else_num PCEX Set of activities for py_if_else_num PCEX
84 py_if_else_wage PCEX Set of activities for py_if_else_wage PCEX
85 py_if_else_wage_llm PCEX Set of activities for py_if_else_wage_llm PCEX
86 DEPRECATED_if-else Java BehaviorExample for demonstrating DEPRECATED_if-else AnnEx
87 DEPRECATED_If Else Java BehaviorExample for demonstrating DEPRECATED_If Else AnnEx
88 q_py_if_elif1_es Python PredictingFinalResult for demonstrating q_py_if_elif1_es QuizPET conditionals
89 q_py_interest_if_elif1_es Python PredictingFinalResult for demonstrating q_py_interest_if_elif1_es QuizPET conditionals
90 q_py_interest_if_else1_es Python PredictingFinalResult for demonstrating q_py_interest_if_else1_es QuizPET conditionals
91 q_py_nested_if_elif1_es Python PredictingFinalResult for demonstrating q_py_nested_if_elif1_es QuizPET conditionals
92 q_py_nested_if_elif2_es Python PredictingFinalResult for demonstrating q_py_nested_if_elif2_es QuizPET conditionals
93 q_py_if_elif1_v1 Python PredictingFinalResult for demonstrating q_py_if_elif1_v1 QuizPET
94 csedpad.06.If.if PCEX Set of activities for csedpad.06.If.if PCEX
95 csedpad.06.If.if Given height of two players, this program finds if one player is taller than other or not. PCEX
96 ifelse.nested_if_min_max PCEX Set of activities for ifelse.nested_if_min_max PCEX
97 ifelse.nested_if_min_max PCEX Set of activities for ifelse.nested_if_min_max PCEX
98 ifelse.nested_if_temperature PCEX Set of activities for ifelse.nested_if_temperature PCEX
99 ifelse.nested_if_temperature PCEX Set of activities for ifelse.nested_if_temperature PCEX
100 py_nested_if_min_max PCEX Set of activities for py_nested_if_min_max PCEX
101 py_nested_if_temperature PCEX Set of activities for py_nested_if_temperature PCEX
102 py_nested_if_temperature_es PCEX Set of activities for py_nested_if_temperature_es PCEX
103 py_nested_if_temperature_llm PCEX Set of activities for py_nested_if_temperature_llm PCEX
104 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
105 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
106 DEPRECATED_Decision If Java BehaviorExample for demonstrating DEPRECATED_Decision If AnnEx
107 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
108 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
109 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
110 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
111 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
112 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
113 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
114 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
115 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
116 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
117 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
118 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
119 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
120 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
121 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
122 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
123 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
124 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
125 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
126 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
127 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
128 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
129 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
130 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
131 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
132 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
133 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
134 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
135 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
136 csedpad.17.ClassesObjects.objects_1 This program checks if the current speed of car is the max speed of car or not. PCEX
137 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
138 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
139 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
140 csedpad.05.LogicalOperators.no_topic_1 Given the price of item this program says if item is qualified for discount or not. An item is qualified... PCEX
141 Recursive Binary Search Construct a function that uses recursive binary search to find if a specific value is in a list (known as... PCEX
142 Recursive Binary Search Construct a function that uses recursive binary search to find if a specific value is in a list (known as... PCEX
143 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
144 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
145 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
146 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
147 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
148 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
149 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
150 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
151 csedpad.15.ArrayLists.arraylist For the online order list, this program determines if Seller adds gifts or alcohol risk notes. If the ordered list... PCEX
152 csedpad.15.ArrayLists.arraylist_1 For the online sports store, this program determines if seller adds gifts to the shipping box or not. The seller... PCEX
153 csedpad.22.Searching.searching(linearsearch) This program implements Linear Search Algorithm to take the size of the array and then if a user inputs lets... PCEX
154 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
155 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
156 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
157 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
158 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
159 csedpad.04.StringClass.no_topic_1 Given two names of two places, the program checks if they are equal in length. PCEX
160 csedpad.07.IfElse.no_topic_1 This program assigns a jersey to one of two teams, teamE if jersey number is even else to teamO PCEX
161 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
162 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
163 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
164 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
165 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
166 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
167 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
168 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
169 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
170 Binary Search - 1 Construct a function that receives an array and a target element to be searched in the given array. If the... PCEX
171 Binary Search - 1 Construct a function that receives an array and a target element to be searched in the given array. If the... PCEX
172 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
173 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
174 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
175 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
176 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
177 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
178 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
179 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
180 csedpad.10.DoWhile.do-whileloops Repeatedly prompt the user to guess the number of floors in the world's tallest building, the Burj Khalifa in Dubai.... PCEX
181 csedpad.22.Searching.searching(binarysearch)_1 This program uses the binary search algorithm to search the index, where "index will be the rank of prizes you... PCEX
182 csedpad.22.Searching.searching(linearsearch)_1 This program linearly searches the array for the index or rank of the rollNumber entered by the user or student... PCEX
183 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
184 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
185 Calculating the Employee's 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
186 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
187 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
188 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
189 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
190 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
191 Creating a Dictionary of Character-Count Pairs Construct a program that has a function which receives a string from the user and creates a dictionary that maps... PCEX
192 Creating a Dictionary of Character-Words Pairs Construct a program that has a function which receives a string and creates a dictionary that maps each character to... PCEX
193 Creating a Dictionary of Character-Count Pairs Construct a program that has a function which receives a string from the user and creates a dictionary that maps... PCEX
194 Creating a Dictionary of Character-Words Pairs. Construct a program that has a function which receives a string and creates a dictionary that maps each character to... PCEX
195 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
196 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
197 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
198 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
199 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
200 Calculating the Employee's 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
201 Calculating the Employee's 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
202 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
203 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
204 Modifying a List (Case 2) Construct a program that swaps pairs of adjacent elements of the list. For example, if the list is [1, 2,... PCEX
205 Rotating the List Values to the Left by One Position Construct a program that has a function that receives a list of values and returns the list rotated to the... PCEX
206 Rotating the List Values to the Left by One Position Construct a program that has a function that receives a list of values and returns the list rotated to the... PCEX
207 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
208 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
209 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
210 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
211 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
212 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
213 Printing the Total Number of Times Elements of One List Appear in Another List Construct a program that has a function that receives two lists and prints the total number of times the elements... PCEX
214 Creating a List that Contains the Numbers of Times Each Element of One List Appears in Another List Construct a program that has a function that receives two lists and creates a list that contains the number of... PCEX
215 Printing the Total Number of Times Elements of One List Appear in Another List Construct a program that has a function that receives two lists and prints the total number of times the elements... PCEX
216 Creating a List that Contains the Numbers of Times Each Element of One List Appears in Another List. Construct a program that has a function that receives two lists and creates a list that contains the number of... PCEX
217 Stack Implementing Stack. Using Class to construct a Stack. Implement a function to determine if all the given brackets are paired.\nFor... PCEX
218 Creating a Dictionary of Student-Scores Pairs (Case 1) Assume we have a list of students and a list of their corresponding test scores. Construct a program that has... PCEX
219 Determining When a Student Fails a Course Construct a program that determines whether a student fails the course based on the inputs that we receive from the... PCEX
220 Calculating the Employee's 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
221 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
222 Sum of all two-digit even numbers This example includes a method calculateSumOfEvenNumbers within a class named EvenNumberSumCalculator. The method iterates through all two-digit numbers, checks if... PCEX
223 (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
224 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
225 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
226 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
227 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
228 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
229 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
230 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
231 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
232 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
233 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
234 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
235 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
236 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
237 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
238 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
239 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
240 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
241 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
242 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
243 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
244 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
245 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
246 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
247 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
248 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
249 Rotating the List Values to the Left by Two Position Construct a program that has a function that receives a list of values and returns the list rotated to the... PCEX
250 Rotating the List Values to the Right by One Position Construct a program that has a function that receives a list of values and returns the list rotated to the... PCEX
251 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
252 Rotating the List Values to the Left by Two Position Construct a program that has a function that receives a list of values and returns the list rotated to the... PCEX
253 Rotating the List Values to the Right by One Position. Construct a program that has a function that receives a list of values and returns the list rotated to the... PCEX
254 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
255 Binary search Binary Search operates by dividing an array in half, and then determining whether or not the target value would be... PCEX
256 Binary search Binary Search operates by dividing an array in half, and then determining whether or not the target value would be... PCEX
257 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