Showing 0-0 of 0 results
| # | Exercise Title | Features | Description | Platform | Keywords |
|---|---|---|---|---|---|
| 1 | If Else | If Else | AnnEx | boolean expressions, conditionals, if-else statement | |
| 2 | If Else | Python CodeVisualization for demonstrating If Else | JSVEE | control flow, if statement, if-else statement | |
| 3 | 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 | |
| 4 | (If else) Temperature Conversion - CSEdPad | Conversion of temperature from degree Celsius to degree Fahrenheit and vice versa | AnnEx | if-else statement | |
| 5 | if-else-if | if-else-if | AnnEx | boolean expressions, conditionals, if-else statement | |
| 6 | If else nested (Memphis) | Demo of using if with else - this program simulates a bouncer at a club. | AnnEx | if-else statement | |
| 7 | String Comparison | String Comparison | AnnEx | if-else statement | |
| 8 | if-else-if | Java CodeVisualization for demonstrating if-else-if | JSVEE | conditionals, control flow, if-else statement | |
| 9 | ae_python_if | Python CodeVisualization for demonstrating ae_python_if | JSVEE | if-else statement | |
| 10 | Discount Calculator | Python CodeVisualization for demonstrating Discount Calculator | JSVEE | if-else statement | |
| 11 | Discount Calculator2 | Python CodeVisualization for demonstrating Discount Calculator2 | JSVEE | if-else statement | |
| 12 | if-else (interest) | Python PredictingFinalResult for demonstrating if-else (interest) | QuizPET | if-else statement | |
| 13 | IF...ELSE Statement 2 | Python BehaviorExample for demonstrating IF...ELSE Statement 2 | WebEx | if statement, if-else statement | |
| 14 | ELIF (ELSE IF) Statement | Python BehaviorExample for demonstrating ELIF (ELSE IF) Statement | WebEx | if statement, if-else statement | |
| 15 | Logical Operators | Python BehaviorExample for demonstrating Logical Operators | WebEx | if-else statement, logical operators | |
| 16 | Single Line IF...ELSE Statement | Python BehaviorExample for demonstrating Single Line IF...ELSE Statement | WebEx | if-else statement | |
| 17 | If..Else statement | Python BehaviorExample for demonstrating If..Else statement | WebEx | conditionals, if-else statement | |
| 18 | IF...ELSE Statement (Multiple Conditions) | Python BehaviorExample for demonstrating IF...ELSE Statement (Multiple Conditions) | WebEx | if-else statement, logical operators | |
| 19 | Maximum of 2 Numbers | Python BehaviorExample for demonstrating Maximum of 2 Numbers | WebEx | if-else statement | |
| 20 | Interest Capital and Interest | Python BehaviorExample for demonstrating Interest Capital and Interest | WebEx | if-else statement | |
| 21 | Conditionals basics | Python BehaviorExample for demonstrating Conditionals basics | WebEx | if-else statement | |
| 22 | 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 | |
| 23 | 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 | |
| 24 | The Sign of a Number | Construct a program that determines whether an integer is even or odd. | PCEX | if-else statement | |
| 25 | 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 | |
| 26 | 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 | |
| 27 | 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 | |
| 28 | if-else 1 | Java PredictingFinalResult for demonstrating if-else 1 | QuizJET | boolean expressions, conditionals, if-else statement, strings | |
| 29 | if-else 2 | Java PredictingFinalResult for demonstrating if-else 2 | QuizJET | conditionals, if-else statement | |
| 30 | if-else 3 | Java PredictingFinalResult for demonstrating if-else 3 | QuizJET | conditionals, if-else statement | |
| 31 | if-else 4 | Java PredictingFinalResult for demonstrating if-else 4 | QuizJET | conditionals, if-else statement | |
| 32 | if-else 5 | Java PredictingFinalResult for demonstrating if-else 5 | QuizJET | boolean expressions, conditionals, if-else statement | |
| 33 | Complex IF...ELSE Statement | Python BehaviorExample for demonstrating Complex IF...ELSE Statement | WebEx | if statement, if-else statement | |
| 34 | Nested IF...ELSE Statement | Python BehaviorExample for demonstrating Nested IF...ELSE Statement | WebEx | if statement, if-else statement | |
| 35 | If El If Else | Python CodeVisualization for demonstrating If El If Else | JSVEE | algorithm analysis, control flow, if statement, if-else statement | |
| 36 | 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 |
| 37 | Jeroo add else-if | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, conditionals, if-else-if, multi-way-if, syntax practice, code writing |
| 38 | 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 |
| 39 | If with complex condition | If with complex condition | AnnEx | boolean expressions, if-else statement | |
| 40 | If Statement | If Statement | AnnEx | boolean expressions, if-else statement | |
| 41 | If statement | Python BehaviorExample for demonstrating If statement | WebEx | conditionals, if-else statement | |
| 42 | IF Statement | Python BehaviorExample for demonstrating IF Statement | WebEx | if statement, if-else statement | |
| 43 | Decision If | Decision If | AnnEx | boolean expressions, if-else statement | |
| 44 | Else Clause | Else Clause | AnnEx | conditionals, if-else statement | |
| 45 | nested if | Python PredictingFinalResult for demonstrating nested if | QuizPET | control flow, if-else statement | |
| 46 | Nested If Statements | Python BehaviorExample for demonstrating Nested If Statements | WebEx | conditionals, if-else statement | |
| 47 | if-elif | Python PredictingFinalResult for demonstrating if-elif | QuizPET | control flow, if statement, if-else statement | |
| 48 | Nested if | Nested if | AnnEx | boolean expressions, conditionals, if-else statement | |
| 49 | If Conditions Demo | Java CodeVisualization for demonstrating If Conditions Demo | JSVEE | boolean expressions, conditionals, control flow, if-else statement | |
| 50 | Nested if | Java CodeVisualization for demonstrating Nested if | JSVEE | conditionals, control flow, if-else statement | |
| 51 | Jeroo add else | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, conditionals, if-else-if, else, syntax practice, code writing |
| 52 | 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 | |
| 53 | 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 | |
| 54 | 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 | |
| 55 | 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 | |
| 56 | 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 | |
| 57 | 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 | |
| 58 | 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 | |
| 59 | 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 | |
| 60 | Using && | Using && | AnnEx | boolean expressions, if-else statement | |
| 61 | Using || | Using || | AnnEx | boolean expressions, if-else statement | |
| 62 | Logical Operators | Logical Operators | AnnEx | boolean expressions, if-else statement | |
| 63 | Nested If | Python CodeVisualization for demonstrating Nested If | JSVEE | algorithm analysis, control flow, if statement, if-else statement | |
| 64 | 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 | |
| 65 | nested if-elif | Python PredictingFinalResult for demonstrating nested if-elif | QuizPET | algorithm analysis, control flow, if statement, if-else statement | |
| 66 | Functions Example 1 | Python BehaviorExample for demonstrating Functions Example 1 | WebEx | functions, if-else statement | |
| 67 | 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 | |
| 68 | 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 | |
| 69 | 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 | |
| 70 | 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 | |
| 71 | 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 | |
| 72 | 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 | |
| 73 | 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 | |
| 74 | 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 | |
| 75 | 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 | |
| 76 | 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 | |
| 77 | 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 | |
| 78 | 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 | |
| 79 | 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 | |
| 80 | 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 | |
| 81 | 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 | |
| 82 | 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 | |
| 83 | 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 | |
| 84 | 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 | |
| 85 | Shipping Cost | Free Coding Problem, coding problem | Coding Question | CodeWorkout | 1213, if-else, modulus, conditionals, cci, coding problem |
| 86 | 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 | |
| 87 | Hiscore 1 | Python CodeVisualization for demonstrating Hiscore 1 | JSVEE | control flow, if statement, if-else statement | |
| 88 | Hiscore 2 | Python CodeVisualization for demonstrating Hiscore 2 | JSVEE | control flow, if statement, if-else statement | |
| 89 | 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 | |
| 90 | 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 | |
| 91 | 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 | |
| 92 | 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 | |
| 93 | 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 | |
| 94 | comparison operators | Java CodeVisualization for demonstrating comparison operators | JSVEE | boolean expressions, control flow, if-else statement | |
| 95 | 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 | |
| 96 | 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 | |
| 97 | 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 | |
| 98 | 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 | |
| 99 | 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 | |
| 100 | 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 | |
| 101 | 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 | |
| 102 | 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 | |
| 103 | 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 | |
| 104 | Using boolean | Java PredictingFinalResult for demonstrating Using boolean | QuizJET | boolean expressions, control flow, if-else statement | |
| 105 | Boolean Operations (Not) | Java PredictingFinalResult for demonstrating Boolean Operations (Not) | QuizJET | boolean expressions, control flow, if-else statement | |
| 106 | Boolean Operations (Not equal) | Java PredictingFinalResult for demonstrating Boolean Operations (Not equal) | QuizJET | boolean expressions, control flow, if-else statement | |
| 107 | Earthquake | Java PredictingFinalResult for demonstrating Earthquake | QuizJET | conditionals, control flow, if-else statement | |
| 108 | Calculate and Display Average Test Score | Free Coding Problem, coding problem | Coding Question | CodeWorkout | average, conditional, if-else, coding problem |
| 109 | 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 | |
| 110 | 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 | |
| 111 | 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 | |
| 112 | Boolean Operations (AND) | Java PredictingFinalResult for demonstrating Boolean Operations (AND) | QuizJET | boolean expressions, conditionals, control flow, if-else statement | |
| 113 | Boolean Operations (Greater equal) | Java PredictingFinalResult for demonstrating Boolean Operations (Greater equal) | QuizJET | boolean expressions, conditionals, control flow, if-else statement | |
| 114 | Boolean Operations (Less equal) | Java PredictingFinalResult for demonstrating Boolean Operations (Less equal) | QuizJET | boolean expressions, conditionals, control flow, if-else statement | |
| 115 | IF...ELSE Statement | Python BehaviorExample for demonstrating IF...ELSE Statement | WebEx | if statement | |
| 116 | Nested IF...ELSE Statement 2 | Python BehaviorExample for demonstrating Nested IF...ELSE Statement 2 | WebEx | if statement | |
| 117 | DEPRECATED_if-else | Java BehaviorExample for demonstrating DEPRECATED_if-else | AnnEx | ||
| 118 | DEPRECATED_If Else | Java BehaviorExample for demonstrating DEPRECATED_If Else | AnnEx | ||
| 119 | Single Line If...Else Statement | Python BehaviorExample for demonstrating Single Line If...Else Statement | WebEx | conditionals | |
| 120 | q_py_interest_if_else1_es | Python PredictingFinalResult for demonstrating q_py_interest_if_else1_es | QuizPET | conditionals | |
| 121 | Jeroo if-then-else syntax | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, conditionals, if-then-else, syntax practice, code writing |
| 122 | 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 |
| 123 | Jeroo turns away | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, conditionals, if-then-else, syntax practice, code writing |
| 124 | Jeroo turns right | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, conditionals, if-then-else, syntax practice, code writing |
| 125 | Jeroo sees water | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, conditionals, if-then-else, syntax practice, code writing |
| 126 | Jeroo just turns | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, conditionals, if-then, if-then-else, syntax practice, code writing |
| 127 | Jeroo always hops | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, conditionals, if-then, if-then-else, syntax practice, code writing |
| 128 | Jeroo conditional toss | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, conditionals, if-then, if-then-else, syntax practice, code writing |
| 129 | Jeroo looks left and right | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, conditionals, if-then, if-then-else, syntax practice, code writing |
| 130 | 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 | |
| 131 | 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 |
| 132 | Conditional statements: Working with If-Then-Else Statements | Question, Battery | Conditional Statement self-assessment questions: Working with if-then-else statements. | OpenDSA | Conditional Statement |
| 133 | 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 |
| 134 | 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 | ||
| 135 | 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 | ||
| 136 | 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 |
| 137 | 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 |
| 138 | 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 |
| 139 | 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 |
| 140 | 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 |
| 141 | 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 |
| 142 | Binary Search - 1 | Construct a function that receives an array and a target element to be searched in the given array. If the... | PCEX | ||
| 143 | Binary Search - 1 | Construct a function that receives an array and a target element to be searched in the given array. If the... | PCEX | ||
| 144 | Sum elements in the array | Free Coding Problem, code writing | Coding Question | CodeWorkout | array, logic, conditionals, if, code writing |
| 145 | Sum elements after a negative in the array | Free Coding Problem, code writing | Coding Question | CodeWorkout | array, logic, conditionals, if, code writing |
| 146 | Are all elements positive? | Free Coding Problem, code writing | Coding Question | CodeWorkout | array, logic, conditionals, if, code writing |
| 147 | Are all elements negative? | Free Coding Problem, code writing | Coding Question | CodeWorkout | array, logic, conditionals, if, code writing |
| 148 | Are all elements even? | Free Coding Problem, code writing | Coding Question | CodeWorkout | array, logic, conditionals, if, code writing |
| 149 | Are all elements odd? | Free Coding Problem, code writing | Coding Question | CodeWorkout | array, logic, conditionals, if, code writing |
| 150 | Are all elements greater than x? | Free Coding Problem, code writing | Coding Question | CodeWorkout | array, logic, conditionals, if, code writing |
| 151 | Are all elements less than x? | Free Coding Problem, code writing | Coding Question | CodeWorkout | array, logic, conditionals, if, code writing |
| 152 | Sum all the positive elements in the array | Free Coding Problem, code writing | Coding Question | CodeWorkout | array, logic, conditionals, if, code writing |
| 153 | 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 |
| 154 | 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 |
| 155 | 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 |
| 156 | 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 |
| 157 | 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 |
| 158 | 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 |
| 159 | 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 |
| 160 | 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 |
| 161 | Element in Array if Exists | Free Coding Problem, coding problem | Coding Question | CodeWorkout | array, Java, cci, coding problem |
| 162 | Given a two-dimensional array of integers and a string N, E, S, W, give the middle element along the border in the given compass direction, or the average of the two middle ones if the border length is even. | Code Completion | Given a two-dimensional array of integers and a string N, E, S, W, give the middle element along the border... | CodeCheck | Two-Dimensional Arrays, No Loops |
| 163 | Given a two-dimensional array of integers and a string 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 |
| 164 | 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 |
| 165 | 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 |
| 166 | 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 |
| 167 | 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 | |
| 168 | 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 | |
| 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 | arrays | |
| 170 | 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 | |
| 171 | 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 | |
| 172 | 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 | ||
| 173 | 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 | ||
| 174 | 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 | |
| 175 | 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 | |
| 176 | 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 | |
| 177 | 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 | |
| 178 | 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 | |
| 179 | IfElse_Structure | C BehaviorExample for demonstrating IfElse_Structure | AnnEx |