Showing 0–0 of 0 results
# Exercise Title Features Description Platform Keywords
1 Single Line IF...ELSE Statement Python BehaviorExample for demonstrating Single Line IF...ELSE Statement WebEx if-else statement
2 If..Else statement Python BehaviorExample for demonstrating If..Else statement WebEx conditionals, if-else statement
3 IF...ELSE Statement Python BehaviorExample for demonstrating IF...ELSE Statement WebEx if statement
4 IF...ELSE Statement 2 Python BehaviorExample for demonstrating IF...ELSE Statement 2 WebEx if statement, if-else statement
5 IF...ELSE Statement (Multiple Conditions) Python BehaviorExample for demonstrating IF...ELSE Statement (Multiple Conditions) WebEx if-else statement, logical operators
6 ELIF (ELSE IF) Statement Python BehaviorExample for demonstrating ELIF (ELSE IF) Statement WebEx if statement, if-else statement
7 Complex IF...ELSE Statement Python BehaviorExample for demonstrating Complex IF...ELSE Statement WebEx if statement, if-else statement
8 Nested IF...ELSE Statement 2 Python BehaviorExample for demonstrating Nested IF...ELSE Statement 2 WebEx if statement
9 Nested IF...ELSE Statement Python BehaviorExample for demonstrating Nested IF...ELSE Statement WebEx if statement, if-else statement
10 Single Line If...Else Statement Python BehaviorExample for demonstrating Single Line If...Else Statement WebEx conditionals
11 if-else (interest) Python PredictingFinalResult for demonstrating if-else (interest) QuizPET if-else statement
12 (If else) Temperature Conversion - CSEdPad Conversion of temperature from degree Celsius to degree Fahrenheit and vice versa AnnEx if-else statement
13 If else nested (Memphis) Demo of using if with else - this program simulates a bouncer at a club. AnnEx if-else statement
14 if-else 2 Java PredictingFinalResult for demonstrating if-else 2 QuizJET conditionals, if-else statement
15 if-else 3 Java PredictingFinalResult for demonstrating if-else 3 QuizJET conditionals, if-else statement
16 if-else 4 Java PredictingFinalResult for demonstrating if-else 4 QuizJET conditionals, if-else statement
17 If Else Python CodeVisualization for demonstrating If Else JSVEE control flow, if statement, if-else statement
18 If statement Python BehaviorExample for demonstrating If statement WebEx conditionals, if-else statement
19 Nested If Statements Python BehaviorExample for demonstrating Nested If Statements WebEx conditionals, if-else statement
20 if-else 1 Java PredictingFinalResult for demonstrating if-else 1 QuizJET boolean expressions, conditionals, if-else statement, strings
21 if-else 5 Java PredictingFinalResult for demonstrating if-else 5 QuizJET boolean expressions, conditionals, if-else statement
22 if-else-if if-else-if AnnEx boolean expressions, conditionals, if-else statement
23 If Else If Else AnnEx boolean expressions, conditionals, if-else statement
24 if-else-if Java CodeVisualization for demonstrating if-else-if JSVEE conditionals, control flow, if-else statement
25 IF Statement Python BehaviorExample for demonstrating IF Statement WebEx if statement, if-else statement
26 If Statement If Statement AnnEx boolean expressions, if-else statement
27 If El If Else Python CodeVisualization for demonstrating If El If Else JSVEE algorithm analysis, control flow, if statement, if-else statement
28 ae_python_if Python CodeVisualization for demonstrating ae_python_if JSVEE if-else statement
29 if-elif Python PredictingFinalResult for demonstrating if-elif QuizPET control flow, if statement, if-else statement
30 Else Clause Else Clause AnnEx conditionals, if-else statement
31 If with complex condition If with complex condition AnnEx boolean expressions, if-else statement
32 nested if Python PredictingFinalResult for demonstrating nested if QuizPET control flow, if-else statement
33 Decision If Decision If AnnEx boolean expressions, if-else statement
34 Nested if Nested if AnnEx boolean expressions, conditionals, if-else statement
35 Nested if Java CodeVisualization for demonstrating Nested if JSVEE conditionals, control flow, if-else statement
36 nested if-elif Python PredictingFinalResult for demonstrating nested if-elif QuizPET algorithm analysis, control flow, if statement, if-else statement
37 If Conditions Demo Java CodeVisualization for demonstrating If Conditions Demo JSVEE boolean expressions, conditionals, control flow, if-else statement
38 Nested If Python CodeVisualization for demonstrating Nested If JSVEE algorithm analysis, control flow, if statement, if-else statement
39 Maximum of 2 Numbers Python BehaviorExample for demonstrating Maximum of 2 Numbers WebEx if-else statement
40 Interest Capital and Interest Python BehaviorExample for demonstrating Interest Capital and Interest WebEx if-else statement
41 Conditionals basics Python BehaviorExample for demonstrating Conditionals basics WebEx if-else statement
42 String Comparison String Comparison AnnEx if-else statement
43 Discount Calculator Python CodeVisualization for demonstrating Discount Calculator JSVEE if-else statement
44 Discount Calculator2 Python CodeVisualization for demonstrating Discount Calculator2 JSVEE if-else statement
45 Logical Operators Python BehaviorExample for demonstrating Logical Operators WebEx if-else statement, logical operators
46 Functions Example 1 Python BehaviorExample for demonstrating Functions Example 1 WebEx functions, if-else statement
47 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
48 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
49 Hiscore 1 Python CodeVisualization for demonstrating Hiscore 1 JSVEE control flow, if statement, if-else statement
50 Hiscore 2 Python CodeVisualization for demonstrating Hiscore 2 JSVEE control flow, if statement, if-else statement
51 Using boolean Java PredictingFinalResult for demonstrating Using boolean QuizJET boolean expressions, control flow, if-else statement
52 Boolean Operations (Not) Java PredictingFinalResult for demonstrating Boolean Operations (Not) QuizJET boolean expressions, control flow, if-else statement
53 Boolean Operations (Not equal) Java PredictingFinalResult for demonstrating Boolean Operations (Not equal) QuizJET boolean expressions, control flow, if-else statement
54 Earthquake Java PredictingFinalResult for demonstrating Earthquake QuizJET conditionals, control flow, if-else statement
55 Using && Using && AnnEx boolean expressions, if-else statement
56 Using || Using || AnnEx boolean expressions, if-else statement
57 Logical Operators Logical Operators AnnEx boolean expressions, if-else statement
58 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
59 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
60 comparison operators Java CodeVisualization for demonstrating comparison operators JSVEE boolean expressions, control flow, if-else statement
61 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
62 Boolean Operations (AND) Java PredictingFinalResult for demonstrating Boolean Operations (AND) QuizJET boolean expressions, conditionals, control flow, if-else statement
63 Boolean Operations (Greater equal) Java PredictingFinalResult for demonstrating Boolean Operations (Greater equal) QuizJET boolean expressions, conditionals, control flow, if-else statement
64 Boolean Operations (Less equal) Java PredictingFinalResult for demonstrating Boolean Operations (Less equal) QuizJET boolean expressions, conditionals, control flow, if-else statement
65 Conditional statements: Working with If-Then-Else Statements Question, Battery Conditional Statement self-assessment questions: Working with if-then-else statements. OpenDSA Conditional Statement
66 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
67 ifelse.if_else_if_grade PCEX Set of activities for ifelse.if_else_if_grade PCEX
68 ifelse.if_else_if_grade PCEX Set of activities for ifelse.if_else_if_grade PCEX
69 ifelse.if_else_num PCEX Set of activities for ifelse.if_else_num PCEX
70 ifelse.if_else_num PCEX Set of activities for ifelse.if_else_num PCEX
71 ifelse.if_else_wage PCEX Set of activities for ifelse.if_else_wage PCEX
72 ifelse.if_else_wage PCEX Set of activities for ifelse.if_else_wage PCEX
73 py_if_else_grade PCEX Set of activities for py_if_else_grade PCEX
74 py_if_else_num PCEX Set of activities for py_if_else_num PCEX
75 py_if_else_wage PCEX Set of activities for py_if_else_wage PCEX
76 py_if_else_wage_llm PCEX Set of activities for py_if_else_wage_llm PCEX
77 DEPRECATED_if-else Java BehaviorExample for demonstrating DEPRECATED_if-else AnnEx
78 DEPRECATED_If Else Java BehaviorExample for demonstrating DEPRECATED_If Else AnnEx
79 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
80 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
81 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
82 q_py_interest_if_else1_es Python PredictingFinalResult for demonstrating q_py_interest_if_else1_es QuizPET conditionals
83 ifelse.nested_if_min_max PCEX Set of activities for ifelse.nested_if_min_max PCEX
84 ifelse.nested_if_min_max PCEX Set of activities for ifelse.nested_if_min_max PCEX
85 ifelse.nested_if_temperature PCEX Set of activities for ifelse.nested_if_temperature PCEX
86 ifelse.nested_if_temperature PCEX Set of activities for ifelse.nested_if_temperature PCEX
87 IfElse_Structure C BehaviorExample for demonstrating IfElse_Structure AnnEx
88 csedpad.07.IfElse.no_topic PCEX Set of activities for csedpad.07.IfElse.no_topic PCEX
89 csedpad.07.IfElse.no_topic Find the tallest among three individuals whose heights are given. PCEX
90 csedpad.07.IfElse.no_topic_1 PCEX Set of activities for csedpad.07.IfElse.no_topic_1 PCEX
91 csedpad.07.IfElse.no_topic_1 Assign letter grades to a given score by comparing the test score with the test score range for a given... PCEX
92 csedpad.07.IfElse.no_topic_1 Conversion of temperature from one scale to the other. PCEX
93 If C++ BehaviorExample for demonstrating If AnnEx
94 if-elif (interest) Python PredictingFinalResult for demonstrating if-elif (interest) QuizPET
95 (If) Positive - CSEdPad Given a number, this program reports if the number is a positive number AnnEx if statement
96 nested if-elif Python PredictingFinalResult for demonstrating nested if-elif QuizPET
97 q_py_if_elif1_es Python PredictingFinalResult for demonstrating q_py_if_elif1_es QuizPET conditionals
98 q_py_interest_if_elif1_es Python PredictingFinalResult for demonstrating q_py_interest_if_elif1_es QuizPET conditionals
99 q_py_nested_if_elif1_es Python PredictingFinalResult for demonstrating q_py_nested_if_elif1_es QuizPET conditionals
100 q_py_nested_if_elif2_es Python PredictingFinalResult for demonstrating q_py_nested_if_elif2_es QuizPET conditionals
101 q_py_if_elif1_v1 Python PredictingFinalResult for demonstrating q_py_if_elif1_v1 QuizPET
102 csedpad.06.If.if PCEX Set of activities for csedpad.06.If.if PCEX
103 csedpad.06.If.if Given height of two players, this program finds if one player is taller than other or not. PCEX
104 csedpad.06.If.ifstatement PCEX Set of activities for csedpad.06.If.ifstatement PCEX
105 csedpad.06.If.ifstatement Given a number, this program checks whether the number is even or not. PCEX
106 py_nested_if_min_max PCEX Set of activities for py_nested_if_min_max PCEX
107 py_nested_if_temperature PCEX Set of activities for py_nested_if_temperature PCEX
108 py_nested_if_temperature_es PCEX Set of activities for py_nested_if_temperature_es PCEX
109 py_nested_if_temperature_llm PCEX Set of activities for py_nested_if_temperature_llm PCEX
110 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
111 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
112 DEPRECATED_Decision If Java BehaviorExample for demonstrating DEPRECATED_Decision If AnnEx
113 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
114 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
115 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
116 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
117 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
118 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
119 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
120 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
121 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
122 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
123 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
124 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
125 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
126 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
127 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
128 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
129 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
130 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
131 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
132 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
133 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
134 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
135 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
136 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
137 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
138 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
139 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
140 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
141 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
142 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
143 csedpad.17.ClassesObjects.objects_1 This program checks if the current speed of car is the max speed of car or not. PCEX
144 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
145 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
146 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
147 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
148 Recursive Binary Search Construct a function that uses recursive binary search to find if a specific value is in a list (known as... PCEX
149 Recursive Binary Search Construct a function that uses recursive binary search to find if a specific value is in a list (known as... PCEX
150 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
151 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
152 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
153 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
154 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
155 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
156 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
157 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
158 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
159 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
160 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
161 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
162 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
163 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
164 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
165 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
166 csedpad.04.StringClass.no_topic_1 Given two names of two places, the program checks if they are equal in length. PCEX
167 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
168 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
169 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
170 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
171 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
172 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
173 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
174 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
175 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
176 Binary Search - 1 Construct a function that receives an array and a target element to be searched in the given array. If the... PCEX
177 Binary Search - 1 Construct a function that receives an array and a target element to be searched in the given array. If the... PCEX
178 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
179 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
180 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
181 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
182 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
183 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
184 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
185 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
186 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
187 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
188 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
189 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
190 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
191 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
192 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
193 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
194 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
195 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
196 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
197 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
198 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
199 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
200 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
201 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
202 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
203 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
204 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
205 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
206 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
207 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
208 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
209 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
210 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
211 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
212 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
213 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
214 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
215 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
216 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
217 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
218 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
219 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
220 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
221 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
222 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
223 Stack Implementing Stack. Using Class to construct a Stack. Implement a function to determine if all the given brackets are paired.\nFor... PCEX
224 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
225 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
226 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
227 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
228 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
229 (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
230 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
231 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
232 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
233 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
234 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
235 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
236 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
237 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
238 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
239 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
240 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
241 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
242 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
243 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
244 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
245 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
246 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
247 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
248 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
249 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
250 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
251 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
252 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
253 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
254 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
255 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
256 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
257 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
258 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
259 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
260 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
261 Binary search Binary Search operates by dividing an array in half, and then determining whether or not the target value would be... PCEX
262 Binary search Binary Search operates by dividing an array in half, and then determining whether or not the target value would be... PCEX
263 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