Showing 0-0 of 0 results
| # | Exercise Title | Features | Description | Platform | Keywords |
|---|---|---|---|---|---|
| 1 | LotteryTicket constructor | Free Coding Problem, code writing | Coding Question | CodeWorkout | constructor, arrays, code writing |
| 2 | Point Class Hierarchy (Case 2) | Suppose we have a class Point and we want to extend it to produce class Point3D. The class Point has... | PCEX | constructors, inheritance, overloading | |
| 3 | Inheritance 2 | Java PredictingFinalResult for demonstrating Inheritance 2 | QuizJET | constructors, inheritance, overloading | |
| 4 | Inheritance 3 | Java PredictingFinalResult for demonstrating Inheritance 3 | QuizJET | constructors, inheritance, overloading | |
| 5 | Fix the Jeroo constructor error | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, constructors, errors, syntax practice, code writing |
| 6 | King default constructor | Free Coding Problem, code writing | Coding Question | CodeWorkout | ChessPiece, King, constructor, default constructor, syntax practice, code writing |
| 7 | King subclass constructor | Free Coding Problem, code writing | Coding Question | CodeWorkout | ChessPiece, King, subclass, constructor, syntax practice, code writing |
| 8 | Queen subclass constructor | Free Coding Problem, code writing | Coding Question | CodeWorkout | ChessPiece, Queen, subclass, constructor, syntax practice, code writing |
| 9 | The Class for Representing a Point in the Euclidean Plane (Case 2) | Construct a class that represents a point in the Euclidean plane. The class should contain data that represents the point’s... | PCEX | classes, constructors, exceptions, file i/o, inheritance, methods, objects, overloading | |
| 10 | Class (Bank Account This) | Java PredictingFinalResult for demonstrating Class (Bank Account This) | QuizJET | classes, constructors, inheritance, objects, overloading | |
| 11 | Class (Cash Register) | Java PredictingFinalResult for demonstrating Class (Cash Register) | QuizJET | classes, constructors, exceptions, file i/o, methods, objects, overloading | |
| 12 | Class 4 (CashRegister) | Java PredictingFinalResult for demonstrating Class 4 (CashRegister) | QuizJET | classes, constructors, objects, overloading | |
| 13 | Jeroo instantiation | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, syntax practice, constructors, code writing |
| 14 | Jeroo with 8 flowers | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, syntax practice, constructors, code writing |
| 15 | Jeroo facing SOUTH with 3 flowers | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, syntax practice, constructors, code writing |
| 16 | Jeroo facing NORTH | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, syntax practice, constructors, code writing |
| 17 | Jeroo with 5 flowers | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, syntax practice, constructors, code writing |
| 18 | Jeroo with bonus flowers | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, syntax practice, constructors, code writing |
| 19 | Jeroo Create and Place | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, methods, syntax practice, constructors, code writing |
| 20 | Constructor Demo | Java BehaviorExample for demonstrating Constructor Demo | AnnEx | classes, objects | |
| 21 | Constructor Demo | Java CodeVisualization for demonstrating Constructor Demo | JSVEE | classes, objects | |
| 22 | Constructors With Fields 1 | Free Coding Problem, code writing | Coding Question | CodeWorkout | CS1114, Jeroo, Attribute, Java, code writing |
| 23 | Constructors With Fields 2 | Free Coding Problem, code writing | Coding Question | CodeWorkout | CS1114, Jeroo, Attribute, Java, code writing |
| 24 | Constructors With Fields 3 | Free Coding Problem, code writing | Coding Question | CodeWorkout | CS1114, Jeroo, Attribute, Java, code writing |
| 25 | Preconditions for Sentence constructor | Code Completion | The constructor of the Sentence class below makes assumptions about the text parameter: | CodeCheck | Designing Classes |
| 26 | Preconditions for SalaryBonus constructor | Code Completion | The constructor of the SalaryBonus class below makes the following assumptions; | CodeCheck | Designing Classes |
| 27 | Writing Constructors 3 | Free Coding Problem, code writing | Coding Question | CodeWorkout | CS1114, Jeroo, Attribute, Java, code writing |
| 28 | Writing Constructors 2 | Free Coding Problem, code writing | Coding Question | CodeWorkout | CS1114, Jeroo, Attribute, Java, code writing |
| 29 | Writing Constructors 1 | Free Coding Problem, code writing | Coding Question | CodeWorkout | CS1114, Jeroo, Attribute, Java, code writing |
| 30 | Throw IllegalArgumentException in SavingsAccount constructor | Code Completion | The SavingsAccount class given below is similar to that of Chapter 9. It should be illegal to construct savings accounts... | CodeCheck | Input and Output |
| 31 | Throw IllegalArgumentException in Vehicle constructor | Code Completion | The Vehicle class given below is used to represent various types of self-propelled vehicles. It should be illegal to construct... | CodeCheck | Input and Output |
| 32 | Inheritance and Constructors 1 | Java BehaviorExample for demonstrating Inheritance and Constructors 1 | AnnEx | inheritance | |
| 33 | Linked List Constructors Slideshow | Code Tracing Presentation | Slideshow presenting the constructors for a linked list implementation. | OpenDSA | Linked List |
| 34 | Inherit and call a superclass constructor | Code Completion | Complete the Car class below so that it inherits from the given Vehicle class. Cars lose value over time. In... | CodeCheck | Inheritance |
| 35 | Linked Queue Data Members Slideshow | Algorithm Visualization, Code Tracing Presentation | Slideshow presenting data members and constructors for a linked queue implementation. | OpenDSA | Linked Queue |
| 36 | Using Aggegation | Code Completion | A team has players. Use aggregation to complete the class constructor and the listTeam and addPlayer methods of the Team... | CodeCheck | Object-Oriented Design |
| 37 | Animal Class Hierarchy (Case 1) | Suppose we have a class Animal and we want to extend it to produce class Dog. An animal has a... | PCEX | inheritance | |
| 38 | Animal Class Hierarchy (Case 2) | Suppose we have a class Animal and we want to extend it to produce class Dog. An animal has a... | PCEX | inheritance | |
| 39 | The Class for Representing a Loan (Case 1) | Construct a class that represents a loan. This class should contain data representing the interest rate, loan amount, and the... | PCEX | classes, objects | |
| 40 | The Class for Representing a Loan (Case 2) | Construct a class that represents a loan. This class should contain data representing the interest rate, loan amount, and the... | PCEX | classes, objects | |
| 41 | Animal Class Hierarchy | Suppose we have a class Animal and we want to extend it to produce class Dog. An animal has a... | PCEX | inheritance | |
| 42 | The Class for Representing a Loan | Construct a class that represents a loan. This class should contain data representing the interest rate, loan amount, and the... | PCEX | classes, object, objects | |
| 43 | Animal Class Hierarchy (Case 2) | Suppose we have a class Animal and we want to extend it to produce class Dog. An animal has a... | PCEX | inheritance | |
| 44 | The Class for Representing a Loan (Case 2) | Construct a class that represents a loan. This class should contain data representing the interest rate, loan amount, and the... | PCEX | classes, objects | |
| 45 | XML Map Labels convert to decimal degrees | Code Completion | The latitude, longitude and place name are used to label a map. Implement a class with latitude and longitude as... | CodeCheck | Classes |
| 46 | Point Class Hierarchy (Case 2) | Suppose we have a class Point and we want to extend it to produce class Point3D. The class Point has... | PCEX | inheritance | |
| 47 | The Class for Representing a Bank Account (Case 1) | Construct a class that represents a basic bank account. This class should contain data representing the name of the account’s... | PCEX | classes, objects | |
| 48 | The Class for Representing a Bank Account | Construct a class that represents a basic bank account. This class should contain data representing the name of the account’s... | PCEX | classes, object, objects | |
| 49 | Point Class Hierarchy (Case 1) | Suppose we have a class Point and we want to extend it to produce class Point3D. The class Point has... | PCEX | inheritance | |
| 50 | The Class for Representing a Bank Account (Case 2) | Construct a class that represents a basic bank account. This class should contain data representing the name of the account’s... | PCEX | classes, objects | |
| 51 | Point Class Hierarchy | Suppose we have a class Point and we want to extend it to produce class Point3D. The class Point has... | PCEX | inheritance, object | |
| 52 | The Class for Representing a Bank Account (Case 2) | Construct a class that represents a basic bank account. This class should contain data representing the name of the account’s... | PCEX | classes, objects | |
| 53 | NFA Construction Exercise 1 | Automata Construction Exercise | Construct an NFA: Exercise 1 | OpenDSA | Deterministic Finite Automata |
| 54 | CFG Exercise: a^mb^ia^n, i=m+n | Grammar Construction Exercise | User creates a CFG that generates strings in the language a^mb^ia^n, i=m+n. | OpenDSA | Context-Free Grammar |
| 55 | CFG Exercise: a^mb^ic^n, i less than 3 | Grammar Construction Exercise | User creates a CFG that generates strings in the language a^mb^ic^n, i < 3. | OpenDSA | Context-Free Grammar |
| 56 | CFG Exercise: Odd length | Grammar Construction Exercise | User creates a CFG that generates strings in the language a^nb^m where m - n is positive, odd. | OpenDSA | Context-Free Grammar |
| 57 | CFG Exercise: a's and b's are equal | Grammar Construction Exercise | User creates a CFG that generates strings in the language where the number of a's and b's is equal. | OpenDSA | Context-Free Grammar |
| 58 | CFG Transformation Exercise 1 | Grammar Construction Exercise | User creates an equivalent CFG with no usless, lambda, or unit productions: Exercise 1. | OpenDSA | Context-Free Grammar |
| 59 | CFG Transformation Exercise 2 | Grammar Construction Exercise | User creates an equivalent CFG with no usless, lambda, or unit productions: Exercise 2. | OpenDSA | Context-Free Grammar |
| 60 | CFG Transformation: Chomsky Normal Form | Grammar Construction Exercise | User creates an equivalent CFG in Chomsky Normal Form. | OpenDSA | Context-Free Grammar |
| 61 | DFA Exercise: Length a Multiple of 3 with No aab | Automata Construction Exercise | User creates a DFA that recognizes strings with length a multiple of 3 and containing no instance of aab. | OpenDSA | Context-Free Grammar |
| 62 | DFA Exercise: Both Even or Odd | Automata Construction Exercise | User creates a DFA that accepts the langugage of strings with both even a's and b's, or both odd a's... | OpenDSA | Deterministic Finite Automata |
| 63 | DFA Exercise: b Surrounds a | Automata Construction Exercise | User creates a DFA that accepts the langugage of strings where every a is surrounded by b's. | OpenDSA | Deterministic Finite Automata |
| 64 | DFA Exercise: Complement Even a, 3 b's | Automata Construction Exercise | User creates a DFA that accepts the complement of the langugage of strings with an even number of a's and... | OpenDSA | Deterministic Finite Automata |
| 65 | DFA Exercise: Compliment of No 3 a's | Automata Construction Exercise | User creates a DFA that accepts the langugage of strings of a's and b's that have 3 consecutive a's. | OpenDSA | Deterministic Finite Automata |
| 66 | DFA Exercise: Complement No ba | Automata Construction Exercise | User creates a DFA that accepts the complement of the langugage of strings with a's and b's that does not... | OpenDSA | Deterministic Finite Automata |
| 67 | DFA Exercise: Divisible by 4 | Automata Construction Exercise | User creates a DFA that accepts the langugage of strings of binary numbers divisible by 4. | OpenDSA | Deterministic Finite Automata |
| 68 | DFA Exercise: Even a's | Automata Construction Exercise | User creates a DFA that accepts the langugage of strings with an even number of a's. | OpenDSA | Deterministic Finite Automata |
| 69 | DFA Exercise: Even a's, b's, odd a's | Automata Construction Exercise | User creates a DFA that accepts the langugage of strings with an even number of a's, followed by at least... | OpenDSA | Deterministic Finite Automata |
| 70 | DFA Exercise: Even a, 3 b's | Automata Construction Exercise | User creates a DFA that accepts the langugage of strings with an even number of a's and at least 3... | OpenDSA | Deterministic Finite Automata |
| 71 | DFA Exercise: Even a's Odd b's | Automata Construction Exercise | User creates a DFA that accepts the langugage of strings with an even number of a's and an odd number... | OpenDSA | Deterministic Finite Automata |
| 72 | DFA Exercise: Even Binary Numbers | Automata Construction Exercise | User creates a DFA that accepts the langugage of even binary numbers. | OpenDSA | Deterministic Finite Automata |
| 73 | DFA Exercise: Minimize the Number of State Exercise 1 | Automata Construction Exercise | User shows the steps in the algorithm to minimize the states in a given DFA. Exercise 1. | OpenDSA | Deterministic Finite Automata |
| 74 | DFA Exercise: Minimize the Number of State Exercise 2 | Automata Construction Exercise | User shows the steps in the algorithm to minimize the states in a given DFA. Exercise 2. | OpenDSA | Deterministic Finite Automata |
| 75 | DFA Exercise: No 3 a's | Automata Construction Exercise | User creates a DFA that accepts the langugage of strings of a's and b's without 3 consecutive a's. | OpenDSA | Deterministic Finite Automata |
| 76 | DFA Exercise: No ba | Automata Construction Exercise | User creates a DFA that accepts the langugage of strings with a's and b's that does not end in ba. | OpenDSA | Deterministic Finite Automata |
| 77 | DFA Exercise: Odd a's | Automata Construction Exercise | User creates a DFA that accepts the langugage of strings with an odd number of a's. | OpenDSA | Deterministic Finite Automata |
| 78 | DFA Exercise: Odd a's, 3 b's | Automata Construction Exercise | User creates a DFA that accepts the langugage of strings with an odd number of a's and at most 3... | OpenDSA | Deterministic Finite Automata |
| 79 | DFA Exercise: Odd a's, Even b's | Automata Construction Exercise | User creates a DFA that accepts the langugage of strings with an odd number of a's and an even number... | OpenDSA | Deterministic Finite Automata |
| 80 | Convert NFA to DFA Exercise 1 | Automata Construction Exercise | User shows the steps to convert a given NFA to an equivalent DFA: Exercise 1 | OpenDSA | Deterministic Finite Automata |
| 81 | Grammar Construction Exercise: Three Strings | Grammar Construction Exercise | Exercise where user must write the grammar for a given language. This language has three strings. | OpenDSA | Language, Grammar |
| 82 | Grammar Construction Exercise: abb | Grammar Construction Exercise | Exercise where user must write the grammar for a given language. This language has some a's followed by twice as... | OpenDSA | Language, Grammar |
| 83 | Grammar Construction Exercise: a's and b's | Grammar Construction Exercise | Exercise where user must write the grammar for a given language. This language has some a's followed by some b's. | OpenDSA | Language, Grammar |
| 84 | Grammar Construction Exercise: Palendrome | Grammar Construction Exercise | Exercise where user must write the grammar for a given language. This language is palendromes on a's and b's. | OpenDSA | Language, Grammar |
| 85 | Grammar Construction Exercise: Balanced Parentheses | Grammar Construction Exercise | Exercise where user must write the grammar for a given language. This language has balanced and properly nested parentheses. | OpenDSA | Language, Grammar |
| 86 | PDA Exercise: Twice as many a's as b's | Automata Construction Exercise | User creates a Pushdowns Automata that accepts the langugage of strings that have twice as many a's as b's. | OpenDSA | Pushdown Automata |
| 87 | PDA Exercise: Equal a's to b's or c's | Automata Construction Exercise | User creates a Pushdowns Automata that accepts the langugage of a's b's and c's with as many a's as either... | OpenDSA | Pushdown Automata |
| 88 | PDA Exercise: Equal a's and b's | Automata Construction Exercise | User creates a Pushdowns Automata that accepts the langugage a^ic^jb^i. | OpenDSA | Pushdown Automata |
| 89 | PDA Exercise: String and Reverse | Automata Construction Exercise | User creates a Pushdowns Automata that accepts the langugage WcW^R. | OpenDSA | Pushdown Automata |
| 90 | Regular Grammar Exercise: aaab*ba | Grammar Construction Exercise | User writes an regular grammar for the language of strings matching the regular expression (aaab*ba)*. | OpenDSA | Regular Expression, Regular Grammar |
| 91 | Regular Grammar Exercise: a's a Multiple of 3 | Grammar Construction Exercise | User writes an regular grammar for the language of strings with the number of a's being divisible by 3. | OpenDSA | Regular Grammar |
| 92 | Regular Grammar Exercise: Number of a's and b's is Odd | Grammar Construction Exercise | User writes an regular grammar for the language of strings with an odd length. | OpenDSA | Regular Expression, Regular Grammar |
| 93 | Regular Grammar Exercise: bb*aaa* | Grammar Construction Exercise | User writes an regular grammar for the language of strings that meet this regular expression: bb*aaa* | OpenDSA | Regular Expression, Regular Grammar |
| 94 | Regular Grammar Exercise: NFA Conversion 2 | Grammar Construction Exercise | User writes a regular grammar equivalent to a given NFA: Exercise 2. | OpenDSA | Non-Deterministic Finite Automata, Regular Grammar |
| 95 | Regular Grammar Exercise: NFA Conversion to Right Regular Grammar | Grammar Construction Exercise | User writes a right regular grammar equivalent to a given NFA: Exercise 2. | OpenDSA | Non-Deterministic Finite Automata, Regular Grammar |
| 96 | Turing Machine Exercise: More a's | Automata Construction Exercise | User creates a Turing machine that recognizes the language with more a's than b's or c's. | OpenDSA | Turing Machine |
| 97 | Turing Machine Exercise: Reverse a String | Automata Construction Exercise | User creates a Turing machine that, given string W, outputs WW^R. | OpenDSA | Turing Machine |
| 98 | Turing Machine Exercise: Palindromes | Automata Construction Exercise | User creates a Turing machine that recognizes the language of palindromes on strings of a's and b's. | OpenDSA | Turing Machine |
| 99 | Turing Machine Exercise: Add an a | Automata Construction Exercise | User creates a Turing machine that adds an a to a string of a's. | OpenDSA | Turing Machine |
| 100 | Turing Machine Exercise: Accept Powers of 2 | Automata Construction Exercise | User creates a Turing machine that accepts strings of a's with the number of characters being a power of 2. | OpenDSA | Turing Machine |
| 101 | Turing Machine Exercise: Erase abc | Automata Construction Exercise | User creates a Turing machine that erases a string of a's, b's, and c's. | OpenDSA | Turing Machine |
| 102 | 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 |
| 103 | Turing Machine Exercise: Keep abc | Automata Construction Exercise | User creates a Turing machine that moves over a string of a's, b's, and c's. | OpenDSA | Turing Machine |
| 104 | Turing Machine Exercise: Replace aba with aca | Automata Construction Exercise | User creates a Turing machine that replaces every substring aba with aca. | OpenDSA | Turing Machine |
| 105 | Construct a program that creates unique 3 digit combination | Construct a program which creates and prints all three-digit combinations from numbers 1-4 such that each number appears at most... | jsParsons | while loop | |
| 106 | Construct a program that creates unique 3 digit combinations | Construct a program which creates and prints all three-digit combinations from numbers 1-4 such that each number appears at most... | jsParsons | ||
| 107 | 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 | ||
| 108 | 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 | ||
| 109 | 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 | |
| 110 | Construct a function that checks the size of a linked list |
Construct a function that calculates the number of elements in a singly linked list. LinkedList class implementation is given below. |
jsParsons | linked list | |
| 111 | Construct a function that traverse a linked list |
Construct a function that prints all elements of a Doubly Linked List in forwards and then reverse order. DoublyLinkedList class implementation... |
jsParsons | doubly linked list, linked list | |
| 112 | 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 | ||
| 113 | 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 | ||
| 114 | Construct a function that sorts a numeric array using Merge Sort. |
Construct a merge function that recursively splits a numeric array and takes a list as a parameter called data. Consider that... |
jsParsons | recursion, search algorithms, sorting, sorting algorithms | |
| 115 | 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 | |
| 116 | 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 | |
| 117 | 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 | |
| 118 | Construct an inorder traversal function | Construct an inorder traversal function that recursively traverse a tree from left node, root node and right node. We store... | jsParsons | trees | |
| 119 | Construct a preorder traversal function | Construct a preorder traversal function that recursively traverse a tree from root node, left node and right node. We store... | jsParsons | trees | |
| 120 | Constructing a Binomial Tree | Algorithm Visualization | Slideshow showing a small example of building a binomial tree. | OpenDSA | Binomial Tree |
| 121 | Rectangle construction | Code Completion | Your task is to construct a rectangle with area 51. | CodeCheck | Objects |
| 122 | Celsius To Fahrenheit Conversion | Construct a program that computes the Fahrenheit equivalent of an input Celsius value using the formula F = (9/5)C +... | PCEX | operators, primitive data types, variables | |
| 123 | Fahrenheit to Celsius Conversion | Construct a program that computes the Celsius equivalent of an input Fahrenheit value using the formula C = (F -... | PCEX | primitive data types | |
| 124 | Pythagorean Theorem (Case 1) | Construct a program that accepts two input values from the user, one for each side of a right-angle triangle. The... | PCEX | arithmetic operations, operators, variables | |
| 125 | Seconds to Minutes Conversion | Construct a program that obtains minutes and remaining seconds from the input amount of time in seconds. For example, 500... | PCEX | ||
| 126 | Converting Milliseconds to Hours-Minutes- and Seconds | Construct a program that obtains hours, minutes, and seconds from an amount of time in milliseconds. | PCEX | ||
| 127 | Seconds to Minutes Conversion | Construct a program that obtains minutes and remaining seconds from the input amount of time in seconds. For example, 500... | PCEX | arithmetic operations, operators, variables | |
| 128 | Converting Milliseconds to Hours-Minutes- and Seconds | Construct a program that obtains hours, minutes, and seconds from an amount of time in milliseconds. | PCEX | arithmetic operations, operators, variables | |
| 129 | Creating a List of Words from a File | Construct a program that reads a text file and creates a list of the words that the file contains, ignoring... | PCEX | file i/o | |
| 130 | Comparing the List of Words from Two Files | Construct a program that reads two text files and creates a list of the words that each of these files... | PCEX | file i/o | |
| 131 | Updating an Element in the Array (Case 1) | Construct a program that initializes an array with three integers, changes the first element in the array, and finally, prints... | PCEX | arrays | |
| 132 | Updating an Element in the Array (Case 2) | Construct a program that initializes an array with five floating-point numbers, changes the second element in the array, and finally,... | PCEX | arrays | |
| 133 | Updating an Element in the Array (Case 3) | Construct a program that initializes an array with four strings, changes the last element in the array, and finally, prints... | PCEX | arrays | |
| 134 | Modifying an Array (Case 1) | Construct a program that increments all elements of the array by 1. | PCEX | arrays | |
| 135 | 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 | |
| 136 | Creating an Array of Odd Numbers | Construct a program that creates an array of first ten positive odd numbers. | PCEX | arrays | |
| 137 | Creating an Array of User Inputs | Construct a program that creates an array of eight string values received from the user. | PCEX | arrays | |
| 138 | Calculating the Sum of the Values in an Array | Construct a program that computes the sum of all the values in an array. | PCEX | arrays | |
| 139 | Calculating the Average of the Values in the Array | Construct a program that calculates the average of all the values in an array. The program should handle arrays with... | PCEX | arrays | |
| 140 | Rotating the Array Values to the Left by One Position | Construct a program that has a method that receives an array of values and returns the array rotated to the... | PCEX | arrays | |
| 141 | Rotating the Array Values to the Left by Two Position | Construct a program that has a method that receives an array of values and returns the array rotated to the... | PCEX | arrays | |
| 142 | Rotating the Array Values to the Right by One Position | Construct a program that has a method that receives an array of values and returns the array rotated to the... | PCEX | arrays | |
| 143 | Rotating the List Values to the Right by Two Position | Construct a program that has a function that receives a list of values and returns the list rotated to the... | PCEX | arrays | |
| 144 | Printing Common Elements in Two Arrays | Construct a program that has a method that receives two arrays and prints the values in the 2nd array that... | PCEX | arrays | |
| 145 | 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 | |
| 146 | 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 | |
| 147 | Finding the Number of Days Above the Average Temperature | Construct a program that reads a series of temperatures and reports the average temperature and the number of the days... | PCEX | arrays | |
| 148 | Displaying the Days That are Above 32 Degrees Fahrenheit | Construct a program that reads a series of temperatures and reports the days that are above 32 degrees Fahrenheit. Assume... | PCEX | arrays | |
| 149 | Updating Two-Dimensional Array (Case 1) | Construct a program that initializes a 3x4 two-dimensional matrix that has the numbers 1 through 12 for entries, sets the... | PCEX | 2d arrays | |
| 150 | Updating Two-Dimensional Array (Case 2) | Construct a program that initializes a 3x3 two-dimensional matrix that has the numbers 1 through 9 for entries, sets the... | PCEX | 2d arrays | |
| 151 | Updating Two-Dimensional Array (Case 3) | Construct a program that initializes a 2x4 two-dimensional matrix that has multiples of 10 from 10 to 80 for entries,... | PCEX | 2d arrays | |
| 152 | Increment/Decrement Operators (Case 1) | Construct a program that performs increment/decrement operations on variable a (with initial value of 4) and variable b (with initial... | PCEX | arithmetic operations, operators, variables | |
| 153 | Increment/Decrement Operators (Case 2) | Construct a program that performs increment/decrement operations on variable a (with initial value of 8) and variable b (with initial... | PCEX | arithmetic operations, operators, variables | |
| 154 | Increment/Decrement Operators (Case 3) | Construct a program that performs increment/decrement operations on variable a (with initial value of 6) and variable b (with initial... | PCEX | arithmetic operations, operators, variables | |
| 155 | Binary Search - 1 | Construct a function that receives an array and a target element to be searched in the given array. If the... | PCEX | ||
| 156 | Binary Search - 1 | Construct a function that receives an array and a target element to be searched in the given array. If the... | PCEX | ||
| 157 | Determining When a Student Fails a Course (Case 1) | Construct a program to determine whether a student fails the course based on the inputs that it receives from the... | PCEX | boolean expressions | |
| 158 | Determining When a Student Fails a Course (Case 2) | Construct a program that determines whether a student fails the course based on the inputs that it receives from the... | PCEX | boolean expressions | |
| 159 | Determining When a Student Fails a Course (Case 3) | Construct a program that determines whether a student fails the course based on the inputs that it receives from the... | PCEX | boolean expressions | |
| 160 | Determining the Weather Condition (Case 1) | Construct a program that determines whether it is both too hot and too dry based on the inputs that it... | PCEX | boolean expressions | |
| 161 | Determining the Weather Condition (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 | |
| 162 | Determining the Weather Condition (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 | |
| 163 | Determining the Weather Condition (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 | |
| 164 | Determining When to Buy a New Phone (Case 1) | Construct a program that determines whether it is time to buy a new phone based on the inputs that it... | PCEX | boolean expressions | |
| 165 | Determining When to Buy a New Phone (Case 2) | Construct a program that determines whether it is time to buy a new phone based on the inputs that it... | PCEX | boolean expressions | |
| 166 | Determining When a Customer Could Rent a Car (Case 1) | Construct a program that determines whether a customer could rent a car based on the inputs that it receives from... | PCEX | boolean expressions | |
| 167 | Determining When a Customer Could Rent 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 | |
| 168 | Determining When a Customer Could Rent 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 | |
| 169 | Determining When at Least One of the Three Boolean Variables is True | Construct a program that determines whether at least one of the three boolean variables is true based on the inputs... | PCEX | boolean expressions | |
| 170 | Determining When at Least One of the Three Boolean Variables is False | Construct a program that determines whether at least one of the three boolean variables is false based on the inputs... | PCEX | boolean expressions | |
| 171 | Determining When All Three Boolean Variables Are Equal | Construct a program that receives the value of three boolean variables from the user and determines whether all variables have... | PCEX | boolean expressions | |
| 172 | Determining Whether One is a Teenager (Case 1) | Construct a program that receives a string that has the user name and age separated by a colon, and prints... | PCEX | exception handling, exceptions | |
| 173 | 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 | exceptions | |
| 174 | Reporting File Information (Case 1) | Construct a program that receives the full path to an input file from the user, reads that file and reports... | PCEX | file i/o | |
| 175 | Reporting File Information (Case 2) | Construct a program that receives the full path to an input file from the user, reads that file and reports... | PCEX | file i/o | |
| 176 | Printing Consecutive Numbers Starting from Zero (Case 1) | Construct a program that prints a sequence of numbers from 0 (inclusive) to 10 (exclusive). | PCEX | for loop | |
| 177 | Printing Consecutive Numbers Starting from Zero (Case 2) | Construct a program that prints a sequence of numbers from 0 (inclusive) to 6 (exclusive). | PCEX | for loop | |
| 178 | Printing Sequence of Numbers with a Gap Between Adjacent Values (Case 1) | Construct a program that prints a sequence of numbers from 1 (inclusive) to 16 (exclusive) in increments of 4. | PCEX | for loop | |
| 179 | Printing Sequence of Numbers with a Gap Between Adjacent Values (Case 2) | Construct a program that prints a sequence of numbers from 7 (inclusive) to 35 (inclusive) in increments of 7. | PCEX | for loop | |
| 180 | Printing Consecutive Numbers Within a Specified Range (Case 1) | Construct a program that prints a sequence of numbers from 1 (inclusive) to 9 (inclusive). | PCEX | for loop | |
| 181 | Printing Consecutive Numbers Within a Specified Range (Case 2) | Construct a program that prints a sequence of numbers from 8 (inclusive) to 14 (inclusive). | PCEX | for loop | |
| 182 | Printing the Squares of Numbers Within a Specified Range (Case 1) | Construct a program to write out the squares of even positive integers less than or equal to 10. | PCEX | for loop | |
| 183 | Printing the Squares of Numbers Within a Specified Range (Case 2) | Construct a program to write out the squares of odd positive integers less than 10. | PCEX | for loop | |
| 184 | Printing the Squares of Numbers Within a Specified Range (Case 3) | Construct a program to write out the squares of every number between 20 and 25, both inclusive. | PCEX | for loop | |
| 185 | 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 | |
| 186 | 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 | |
| 187 | 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 | |
| 188 | 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 | |
| 189 | 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 | |
| 190 | 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 | |
| 191 | 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 | |
| 192 | Determining the Largest of the Three Integers | Construct a program that determines the largest of the three integer values entered by the user. | PCEX | control flow | |
| 193 | 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 | |
| 194 | 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 | |
| 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 | nested loops | |
| 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 | nested loops | |
| 197 | The Class for Representing a Point in the Euclidean Plane (Case 1) | Construct a class that represents a point in the Euclidean plane. The class should contain data that represents the point’s... | PCEX | ||
| 198 | The Class for Representing a Point in the Euclidean Plane (Case 2) | Construct a class that represents a point in the Euclidean plane. The class should contain data that represents the point’s... | PCEX | classes, objects | |
| 199 | The Class for Representing a TV (Case 1) | Construct a class that represents a TV. The class should contain data that represents the TV's state (power on or... | PCEX | classes, objects | |
| 200 | The Class for Representing a TV (Case 2) | Construct a class that represents a TV. The class should contain data that represents the TV's state (power on or... | PCEX | classes, objects | |
| 201 | Pythagorean Theorem (Case 1) | Construct a program that accepts two input values from the user, one for each side of a right-angle triangle. The... | PCEX | ||
| 202 | Seconds to Minutes Conversion | Construct a program that obtains minutes and remaining seconds from the input amount of time in seconds. For example, 500... | PCEX | ||
| 203 | Converting Milliseconds to Hours-Minutes- and Seconds | Construct a program that obtains hours, minutes, and seconds from an amount of time in milliseconds. | PCEX | ||
| 204 | Seconds to Minutes Conversion | Construct a program that obtains minutes and remaining seconds from the input amount of time in seconds. For example, 500... | PCEX | ||
| 205 | Converting Milliseconds to Hours-Minutes- and Seconds. | Construct a program that obtains hours, minutes, and seconds from an amount of time in milliseconds. | PCEX | ||
| 206 | String Concatenation (Case 1) | Construct a program that prints the text "24 and 45 concatenated: 2445" and "24 and 45 added: 69". | PCEX | strings | |
| 207 | String Concatenation (Case 2) | Construct a program that prints the text "333", "63", and "36". | PCEX | ||
| 208 | Accessing String Characters (Case 1) | Construct a program that prints the 1st, 9th, and the last character of the string "String Example!". | PCEX | strings | |
| 209 | Accessing String Characters (Case 2) | Construct a program that prints the 7th, 11th, and 14th character of the string "Second Example!". | PCEX | strings | |
| 210 | String Comparison (Case 1) | Construct the program that first checks the equality of the strings "HELLO WORLD!" and "hello world!" and then modifies the... | PCEX | strings | |
| 211 | String Comparison (Case 2) | Construct the program that modifies the string "hexxo worxd!" so that it matches (ignoring case) the string "HELLO WORLD!". | PCEX | strings | |
| 212 | String With Escape Characters (Case 1) | Construct a program that prints the following output:\n"Quotes"\nSlashes\n\//\nHow '"confounding' "\" it is! | PCEX | strings | |
| 213 | String With Escape Characters (Case 2) | Construct a program that prints the following output:\n""Two Double Quotes""\n Slashes \//\nHow '"confounding' "\" it is! | PCEX | strings | |
| 214 | String With Escape Characters (Case 3) | Construct a program that prints the following output:\n"Slashes"\\//\n \\//\nHow '"confounding' "\" it is! | PCEX | strings | |
| 215 | Printing Name Initials | Construct a program that prints the initials of the name "John Smith". | PCEX | strings | |
| 216 | Printing Full Name with Middle Initial | Construct a program that prints the full name with middle initial for the name "John Phillip Smith". | PCEX | ||
| 217 | Printing Name in APA Style | Construct a program that prints the name "Alice Ann Darcy" following the APA style, i.e., last name first, followed by... | PCEX | strings | |
| 218 | Finding the Smallest Divisor of a Positive Number | Construct a program that finds the smallest divisor (other than 1) of a positive number. For example, the smallest divisor... | PCEX | while loop | |
| 219 | Finding the Largest Divisor of a Positive Number | Construct a program that finds the largest divisor of a positive number, excluding the number itself. For example, the largest... | PCEX | while loop | |
| 220 | Receiving Input Integers Until a Certain Condition is Met (Case 1) | Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... | PCEX | while loop | |
| 221 | Receiving Input Integers Until a Certain Condition is Met (Case 2) | Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... | PCEX | while loop | |
| 222 | Receiving Input Integers Until a Certain Condition is Met (Case 3) | Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... | PCEX | while loop | |
| 223 | Receiving Input Integers Until a Certain Condition is Met (Case 4) | Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... | PCEX | while loop | |
| 224 | Calculating the Average of Input Integers | Construct a program that reads a series of integers from the user, sums them up, and calculates their average. The... | PCEX | while loop | |
| 225 | Calculating the Average of the Input Integers that are an Even Number | Construct a program that reads a series of integer values from the user, sums up the integers that are an... | PCEX | while loop | |
| 226 | Calculating the Average of Floating-Point Numbers | Construct a program that reads a series of non-negative floating-point numbers from the user, sums them up, and calculate their... | PCEX | while loop | |
| 227 | Finding Adjacent Duplicates in a Sequence of Numbers | Construct a program that checks whether a sequence of numbers, entered one at a time, contains adjacent duplicates. The user... | PCEX | while loop | |
| 228 | Finding Adjacent Consecutive Numbers in a Sequence of Integers | Construct a program that checks whether a sequence of integers, entered one at a time, contains adjacent integers that are... | PCEX | while loop | |
| 229 | Finding Adjacent Numbers in Ascending Order in a Sequence of Numbers | Construct a program that checks whether a sequence of non-zero numbers, entered one at a time, contains adjacent numbers in... | PCEX | while loop | |
| 230 | Printing Digits of an Integer from Right to Left | Construct a program that prints the digits of an integer from right to left. | PCEX | while loop | |
| 231 | The Digit Sum of an Integer | Construct a program that calculates the sum of the digits of an integer. | PCEX | while loop | |
| 232 | Reversing the Digits of an Integer | Construct a program that reverses the digits of an integer mathematically. | PCEX | while loop | |
| 233 | Calculating the Winning Percentage of a Sports Team (Case 1) | Construct a program that receives from the user the number of games that a sports team won in a tournament... | PCEX | while loop | |
| 234 | Calculating the Winning Percentage of a Sports Team (Case 2) | Construct a program that receives from the user the number of games in a tournament and the number of the... | PCEX | while loop | |
| 235 | Calculating the Winning Percentage of a Sports Team (Case 3) | Construct a program that receives from the user the number of games that a sports team won and tied in... | PCEX | while loop | |
| 236 | (Preliminary)AverageSpeedInMarathon-CSEdPad | Construct a program that calculates the average speed in miles per hour using the values stored in variables given and... | AnnEx | ||
| 237 | Hello | Construct a program that prints out hello and world on separate lines. | jsParsons | operators, variables | |
| 238 | Two-dimensional List | Construct a program that prints out [[0, 1, 2], [3, 4, 5], [6, 7, 99]] | jsParsons | 2d list, classes, data structures, list, stacks | |
| 239 | Add to list | Construct a function that adds a given amount to all items in a list. | jsParsons | aliasing, value vs reference | |
| 240 | List values and references. | Construct a function that add k values to the given list. The added values is k's increment (increment by 1)... | jsParsons | value vs reference | |
| 241 | Addition | Construct a program that prints the value 8. | jsParsons | operators, variables | |
| 242 | Dictionary calculations | Construct a program that calculates each student’s average score by using `studentdict` dictionary that is already defined as follows: | jsParsons | classes, data structures, dictionaries, dictionary, stacks | |
| 243 | Practicing class inheritance | Construct a program using inheritance of classes to display a student’s name and score. Consider student as an instance of... | jsParsons | classes, objects | |
| 244 | Class Point | Construct a class Point which has a method to tell distance from another instance of Point. | jsParsons | classes, data structures, objects, stacks | |
| 245 | Comparisons | Construct a program that prints out whether variable a is bigger than b. | jsParsons | boolean expressions, boolean logic, comparison operators | |
| 246 | 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 | |
| 247 | Practicing manipulating variables and checking types | Construct a program that calculate two variables' modulus and check the type of the modulus | jsParsons | data types | |
| 248 | Dictionary Filter | Construct a program that prints out all the circles that are larger than 5. | jsParsons | classes, data structures, dictionaries, dictionary, stacks | |
| 249 | Dictionary Values | Construct a program that prints out how many items in total are in storage. You can assume that a dictionary... | jsParsons | classes, data structures, dictionaries, dictionary, stacks | |
| 250 | Power calculation | Construct a function which takes the base and the exponent as parameters and returns the base raised to the exponent.... | jsParsons | while loop | |
| 251 | Power calculation | Construct a program which calculates the base raised to the power of the non-negative exponent. | jsParsons | ||
| 252 | Reorganize the list | Construct a program which partition the original list of integers such that all even numbers come first and all odd... | jsParsons | ||
| 253 | Reorganize the list | Construct a function which partition the original list of integers such that all even numbers come first and all odd... | jsParsons | ||
| 254 | Reorganize the list | Construct a function which partition the list of integers given as a parameter such that all even numbers come first... | jsParsons | ||
| 255 | Reorganize the list | Construct a program which partition the original list of integers such that all even numbers come first and all odd... | jsParsons | ||
| 256 | Calculating power | Construct a program which calculates the base raised to the power of the exponent. | jsParsons | ||
| 257 | Calculating power | Construct a function which calculates the power of a number. The function takes two integers as parameters (the base number... | jsParsons | ||
| 258 | Practising reading a file and printing the third element in each line of the file | Construct a program that opens up a file and prints out the third element in each line of the file | jsParsons | exception handling, file i/o | |
| 259 | Updating elements to the new list | Construct a function which finds even numbers from the list given as a parameter, calculates the square of each such... | jsParsons | search algorithms | |
| 260 | Updating required elements to the new list | Construct a program which finds even numbers from the original list, calculates the square of each such number and adds... | jsParsons | search algorithms | |
| 261 | Updating the elements to the new list | Construct a function which finds even numbers from the list given as a parameter, calculates the square of each such... | jsParsons | search algorithms | |
| 262 | Updating the elements to the new list | Construct a function which finds even numbers from the list given as a parameter, calculates the square of each such... | jsParsons | ||
| 263 | Updating required elements to the new list | Construct a program which finds even numbers from the original list, calculates the square of each such number and adds... | jsParsons | ||
| 264 | Updating required elements to the new list | Construct a program which finds even numbers from the original list, calculates the square of each such number and adds... | jsParsons | ||
| 265 | Odd or Even | Construct a program that goes through a list of numbers and prints out whether they are odd or even. | jsParsons | algorithm analysis, for loop, loops | |
| 266 | Letter frequency | Construct a function which counts the frequency of each character in the string given as a parameter and returns a... | jsParsons | dictionaries | |
| 267 | Letter frequency | Construct a program which counts the frequency of each character in string 'Summer' and stores it in a dictionary. Finally,... | jsParsons | dictionaries | |
| 268 | Iteration with Addition | Construct a program that prints the value 8. | jsParsons | loops, while loop | |
| 269 | Iteration with Multiplication | Construct a program that prints values 1,2,4,8 and finally prints "The end!". | jsParsons | loops, while loop | |
| 270 | Iteration Multiplication For | Construct a program that prints values 1,2,4,8 and finally prints "The end!". | jsParsons | for loop | |
| 271 | List Iteration Zoo | Construct a program that prints out all the animals in the zoo-variable. | jsParsons | list | |
| 272 | Reverse the list | Construct a program which creates a new list that is reverse of list [1, 2, 3, 4, 5]. | jsParsons | value vs reference | |
| 273 | Reverse the list | Construct a program which creates a new list that is the reverse of the orginal list. | jsParsons | list | |
| 274 | Reverse the list | Construct a program which creates a new list that is reverse of list [1, 2, 3, 4, 5]. | jsParsons | value vs reference | |
| 275 | Reverse the list | Construct a program which creates a new list that is the reverse of the orginal list. | jsParsons | list | |
| 276 | Reverse the list | Construct a program which creates a new list that is reverse of list [1, 2, 3, 4, 5]. | jsParsons | value vs reference | |
| 277 | Reverse the list | Construct a program which creates a new list that is the reverse of the orginal list. | jsParsons | list | |
| 278 | Reverse the list | Construct a program which creates a new list that is reverse of list [1, 2, 3, 4, 5]. | jsParsons | ||
| 279 | Reverse the list | Construct a program which creates a new list that is the reverse of the orginal list. | jsParsons | ||
| 280 | List to Dictionary | Construct a program that prints out moo and oink, in that order. | jsParsons | classes, data structures, dictionaries, dictionary, stacks | |
| 281 | Practicing using math library and check a variable's type | Construct a program that accesses math.pi and check its type | jsParsons | data types | |
| 282 | 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 | |
| 283 | 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 | |
| 284 | Nested List Indexing | Construct a program that first prints out [[1, 2, 3], [4, 5, 6]], then [4, 5, 6], and finally 6. | jsParsons | list | |
| 285 | Practicing using nested while and for loops | Construct a program to print a multiplication chart given the chart_size. Assume that chart_size is set to a positive integer. | jsParsons | algorithm analysis, for loop, nested loops | |
| 286 | Nested Loops | Construct a program that first prints out 15, then 14, then 12, then 9 and finally 5 on consecutive lines. | jsParsons | algorithm analysis, nested loops, while loop | |
| 287 | Nested Loops For 1 | Construct a program that first prints out 15, then 14, then 12, then 9 and finally 5 on consecutive lines. | jsParsons | nested loops | |
| 288 | Nested Loops For 2 | Construct a program to print a multiplication chart given the chart_size. Assume that chart_size is set to a positive integer. | jsParsons | nested loops | |
| 289 | Practicing nested while loops | Construct a program to print an upside-down right triangle. Assume that 'size' is defined, and holds an integer value. | jsParsons | algorithm analysis, nested loops, while loop | |
| 290 | 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 | |
| 291 | 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 | |
| 292 | 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 | |
| 293 | Calculating power | Construct a function which takes a base and a non-negative exponent as parameters and calculates the base raised to the... | jsParsons | ||
| 294 | Calculating power | Construct a program that calculates the base raised to the power of the non-negative exponent without using multiplication. | jsParsons | for loop | |
| 295 | Dictionary manipulation. | Construct a program that prints a blue Toyota car. | jsParsons | dictionaries, dictionary | |
| 296 | Printing file contents | Construct a program that opens up a file and prints out each line of the file | jsParsons | exception handling, file i/o | |
| 297 | Practicing quick sort algorithm |
Construct a function that implements quick sort algorithm. The partition() function has been pre defined and displayed below. Consider data is... |
jsParsons | recursion, search algorithms, sorting, sorting algorithms | |
| 298 | Remove dublicates from the list | Construct a function which creates a new list where it stores all elements except the duplicates from the list given... | jsParsons | ||
| 299 | Remove dublicates from the list | Construct a program which creates a new list where it stores all elements except the duplicates from the original list.... | jsParsons | ||
| 300 | Practicing searching the index of the min element | Construct a program that finds the index of the minimum element in a list. num_list is a test case where... | jsParsons | recursion, search algorithms, sorting algorithms | |
| 301 | Practicing searching the index of the min and max elements | Construct a program that finds the indexes of both the max and min elements in a list. num_list is a... | jsParsons | algorithm analysis, recursion, search algorithms, sorting algorithms | |
| 302 | String Indexing | Construct a program that first prints out strings "Py", "th", "o", and "n" | jsParsons | strings | |
| 303 | String join | Construct a program that prints out a sentence from a given list of words. | jsParsons | strings | |
| 304 | Checks whether the sum of two integers are equal as the third integer | Construct a function which determines whether one of the paraters is the sum of the two other parameters. | jsParsons | ||
| 305 | Checks whether the sum of two integers are equal as the third integer | Construct a program which determines whether the value of one of variables x, y, and z is the sum of... | jsParsons | ||
| 306 | Swap | Construct a program that swaps the values of x and y variables. | jsParsons | operators, variables | |
| 307 | Try adding | Construct a function that adds two numbers together and handles non-numeric input. | jsParsons | exception handling, exceptions | |
| 308 | Try Except | Construct a program that prints out various Celcius temperatures in Fahrenheit. | jsParsons | exception handling, exceptions | |
| 309 | 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 | |
| 310 | 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 | |
| 311 | Simple Function | Construct a program that prints out Hello functions. | jsParsons | functions | |
| 312 | Simple Params | Construct a program that prints out 3 | jsParsons | functions | |
| 313 | Person and Employee Inheritance | Construct two classes: one represents a Person and another one represents an Employee that should be defined as Person's child... | PCEX | classes, objects | |
| 314 | Input Manipulation | Construct a program that takes a user's inputs and multiplies the inputs.Then print the type of the result, convert the... | PCEX | data types, functions | |
| 315 | Multiple Parameters | Construct a program that calculates the current savings after getting paid and the total expense. | PCEX | algorithm analysis, functions | |
| 316 | Printing a square star pattern | Construct a program that takes an input as the size of a solid square and print the square. For example,... | PCEX | for loop, nested loops | |
| 317 | Greatest Common Factor | Construct a program that recursively finds and returns the great common factor between of two integers. | PCEX | recursion, search, search algorithms, sorting, sorting algorithms | |
| 318 | Passing Lists | Construct a function that calculate square values of the list’s elements. | PCEX | list, value vs reference | |
| 319 | Passing Values | Construct a function that increases the original integer's value by 1 and return the increased value's memory address. | PCEX | functions, value vs reference | |
| 320 | Equality Comparison Method | Construct a program with two classes, where each class has a comparison method. Test whether instances of each class is... | PCEX | ||
| 321 | Recursive Binary Search | Construct a function that uses recursive binary search to find if a specific value is in a list (known as... | PCEX | recursion, search, search algorithms, sorting | |
| 322 | Person and Employee Inheritance Information Challenge | Construct two classes: one represents a Person and another one represents an Employee that should be defined as Person's child... | PCEX | ||
| 323 | Input Manipulation Challenge | Construct a program that takes a user's inputs and calculate the division of the inputs.Then convert the division result into... | PCEX | functions | |
| 324 | Multiple Parameters Challenge | Construct a program that calculates the pay and current savings. | PCEX | functions | |
| 325 | Printing the outline of a square star pattern Challenge | Construct a program that takes an input as the size of a square and print the outline of the square.\nFor... | PCEX | for loop | |
| 326 | Solving Josephus Problem Challenge | Construct a program by using Queue structure to solve a Josephus problem. Josephus problem is a counting-out game. N people... | PCEX | ||
| 327 | Greatest Common Factor Challenge | Construct a program that recursively finds and returns the great common factor between of two integers. This is a simple... | PCEX | recursion | |
| 328 | Passing Lists Challenge | Construct a program that convert Celsius temperature values in a list to Fahrenheit temperature values | PCEX | ||
| 329 | Passing Values Challenge | Construct a program that convert Celsius to Fahrenheit. | PCEX | functions | |
| 330 | Greater Than Comparison Method Challenge | Construct a program with two classes, where each class has a comparison method. Test whether the value of the first... | PCEX | ||
| 331 | Recursive Binary Search Challenge | Construct a function that uses recursive binary search to find if a specific value is in a list (known as... | PCEX | recursion, search algorithms | |
| 332 | Unit Converter | Construct a program that computes the Fahrenheit equivalent of an input Celsius value using the formula F = (9/5)C +... | PCEX | arithmetic operators, constants, operators, primitive data types, variables | |
| 333 | Pythagorean Theorem | Construct a program that accepts two input values from the user, one for each side of a right-angle triangle. The... | PCEX | arithmetic operations, arithmetic operators, math, operators, variables | |
| 334 | Time Converter | Construct a program that obtains minutes and remaining seconds from the input amount of time in seconds. For example, 500... | PCEX | arithmetic operations, arithmetic operators, input, operators, variables | |
| 335 | Creating a List of Words from File(s) | Construct a program that reads a text file and creates a list of the words that the file contains, ignoring... | PCEX | arraylist, file i/o, list | |
| 336 | Updating an Element in the Array | Construct a program that initializes an array with three integers, changes the first element in the array, and finally, prints... | PCEX | arrays | |
| 337 | Modifying an Array | Construct a program that increments all elements of the array by 1. | PCEX | arrays | |
| 338 | Creating an Array of Numbers/Strings | Construct a program that creates an array of first ten positive odd numbers. | PCEX | arrays | |
| 339 | Calculating Sum/Average of the Array Values | Construct a program that computes the sum of all the values in an array. | PCEX | arrays | |
| 340 | Rotating the Array Values | Construct a program that has a method that receives an array of values and returns the array rotated to the... | PCEX | arrays | |
| 341 | Searching Values of an Array in Another Array | Construct a program that has a method that receives two arrays and prints the values in the 2nd array that... | PCEX | arrays | |
| 342 | Processing a List of Temperature Values | Construct a program that reads a series of temperatures and reports the average temperature and the number of the days... | PCEX | arrays | |
| 343 | Updating an Element in the 2D Array | Construct a program that initializes a 3x4 two-dimensional matrix that has the numbers 1 through 12 for entries, sets the... | PCEX | 2d arrays, arrays | |
| 344 | Increment-Decrement Operators | Construct a program that performs increment/decrement operations on variable a (with initial value of 4) and variable b (with initial... | PCEX | arithmetic operations, arithmetic operators, operators, variables | |
| 345 | 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 | |
| 346 | 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 | |
| 347 | 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 | |
| 348 | 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 | |
| 349 | 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 | |
| 350 | 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 | |
| 351 | Reporting File Information | Construct a program that receives the full path to an input file from the user, reads that file and reports... | PCEX | file i/o | |
| 352 | Printing Consecutive Numbers Starting from Zero | Construct a program that prints a sequence of numbers from 0 (inclusive) to 10 (exclusive). | PCEX | for loop, loops | |
| 353 | Printing Sequence of Numbers with a Gap Between Adjacent Values | Construct a program that prints a sequence of numbers from 1 (inclusive) to 16 (exclusive) in increments of 4. | PCEX | for loop | |
| 354 | Printing Consecutive Numbers Within a Specified Range | Construct a program that prints a sequence of numbers from 1 (inclusive) to 9 (inclusive). | PCEX | for loop, loops | |
| 355 | Printing the Squares of Numbers Within a Specified Range | Construct a program to write out the squares of even positive integers less than or equal to 10. | PCEX | for loop | |
| 356 | 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 | |
| 357 | 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 | |
| 358 | 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 | |
| 359 | 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 | |
| 360 | 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 | |
| 361 | Printing A Sequence of Repeated Numbers | Construct a program that receives an integer N from the user and prints a sequence of space-separated numbers from 1... | PCEX | nested loops | |
| 362 | The Class for Representing a Point in the Euclidean Plane | Construct a class that represents a point in the Euclidean plane. The class should contain data that represents the point’s... | PCEX | classes, object, objects | |
| 363 | The Class for Representing a TV | Construct a class that represents a TV. The class should contain data that represents the TV's state (power on or... | PCEX | classes, objects | |
| 364 | String Addition | Construct a program that prints the text "24 and 45 concatenated: 2445" and "24 and 45 added: 69". | PCEX | string operations, strings | |
| 365 | Accessing String Characters | Construct a program that prints the 1st, 9th, and the last character of the string "String Example!". | PCEX | string operations, strings | |
| 366 | String Comparison | Construct the program that first checks the equality of the strings "HELLO WORLD!" and "hello world!" and then modifies the... | PCEX | string operations, strings | |
| 367 | Strings With Escape Characters | Construct a program that prints the following output:\n"Quotes"\nSlashes\n\//\nHow '"confounding' "\" it is! | PCEX | string operations, strings | |
| 368 | Name Initials | Construct a program that prints the initials of the name "John Smith". | PCEX | string operations, strings | |
| 369 | Finding Smallest/Largest Divisor of a Positive Number | Construct a program that finds the smallest divisor (other than 1) of a positive number. For example, the smallest divisor... | PCEX | conditionals, while loop | |
| 370 | Receiving Input Integers Until a Certain Condition is Met | Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... | PCEX | while loop | |
| 371 | Calculating the Average of the Input Numbers | Construct a program that reads a series of integers from the user, sums them up, and calculates their average. The... | PCEX | while loop | |
| 372 | Comparing Adjacent Numbers in a Sequence of Numbers | Construct a program that checks whether a sequence of numbers, entered one at a time, contains adjacent duplicates. The user... | PCEX | while loop | |
| 373 | Processing the Digits of an Integer | Construct a program that prints the digits of an integer from right to left. | PCEX | do-while loop, while loop | |
| 374 | Calculating the Winning Percentage of a Sports Team | Construct a program that receives from the user the number of games that a sports team won in a tournament... | PCEX | while loop | |
| 375 | The Class for Representing a Bank Account | Construct a class that represents a basic bank account. This class should contain data representing the name of the account’s... | PCEX | classes, data structures, objects, stacks | |
| 376 | The Class for Representing a Loan | Construct a class that represents a loan. This class should contain data representing the interest rate, loan amount, and the... | PCEX | classes, objects | |
| 377 | The Class for Representing a Point in the Euclidean Plane | Construct a class that represents a point in the Euclidean plane. The class should contain data that represents the point’s... | PCEX | classes, data structures, objects, stacks | |
| 378 | The Class for Representing a TV | Construct a class that represents a TV. The class should contain data that represents the TV's state (power on or... | PCEX | classes, data structures, objects, stacks | |
| 379 | Creating a Dictionary of Character-Count/Words Pairs | Construct a program that has a function which receives a string from the user and creates a dictionary that maps... | PCEX | classes, data structures, dictionaries, dictionary, stacks | |
| 380 | Comparing Adjacent Numbers in a Sequence of Numbers | Construct a program that checks whether a sequence of numbers, entered one at a time, contains adjacent duplicates. The user... | PCEX | loops, while loop | |
| 381 | 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 | |
| 382 | Concatenating Characters of Two Strings | Construct a program that has a function that receives two strings and returns a string formed from the given strings... | PCEX | strings | |
| 383 | Concatenating Strings and Numbers | Construct a program that uses variables x, y, and z to print "Python was invented in 1989.". | PCEX | strings | |
| 384 | Processing the Digits of an Integer | Construct a program that prints the digits of an integer from right to left. | PCEX | algorithm analysis, loops, while loop | |
| 385 | Finding Smallest/Largest Divisor of a Positive Number | Construct a program that finds the smallest divisor (other than 1) of a positive number. For example, the smallest divisor... | PCEX | algorithm analysis, loops, while loop | |
| 386 | Unit Converter | Construct a program that computes the Fahrenheit equivalent of an input Celsius value using the formula F = (9/5)C +... | PCEX | operators, variables | |
| 387 | 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 | |
| 388 | Reporting File Information | Construct a program that receives the full path to an input file from the user, reads that file and reports... | PCEX | file i/o | |
| 389 | Calculating the Average of the Input Numbers | Construct a program that reads a series of integers from the user, sums them up, and calculates their average. The... | PCEX | loops, while loop | |
| 390 | 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 | |
| 391 | 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 | |
| 392 | 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 | |
| 393 | 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 | |
| 394 | Receiving Input Integers Until a Certain Condition is Met | Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... | PCEX | loops, while loop | |
| 395 | Updating an Element in a List | Construct a program that initializes a list with three values, changes the first element in the list, and finally, prints... | PCEX | list, value vs reference | |
| 396 | Modifying a List | Construct a program that increments all values of the list by 1. | PCEX | list | |
| 397 | Adding Values to an Empty List | Construct a program that creates a list of first ten positive odd numbers. | PCEX | list | |
| 398 | Calculating Sum/Average of the List Values | Construct a program that has a function that receives a list and calculates the sum of the values in that... | PCEX | list | |
| 399 | Rotating the List Values | Construct a program that has a function that receives a list of values and returns the list rotated to the... | PCEX | algorithm analysis, classes, data structures, list, stacks | |
| 400 | Updating Two-Dimensional List | Construct a program that initializes a 3x4 two-dimensional matrix that has the numbers 1 through 12 for entries, updates the... | PCEX | 2d list, classes, data structures, list, stacks, value vs reference | |
| 401 | 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 | |
| 402 | 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 | |
| 403 | 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 | |
| 404 | Pythagorean Theorem | Construct a program that accepts two input values from the user, one for each side of a right-angle triangle. The... | PCEX | operators, variables | |
| 405 | Printing Consecutive Numbers Starting from Zero | Construct a program that prints a sequence of numbers from 0 (inclusive) to 10 (exclusive). | PCEX | for loop, loops | |
| 406 | Printing Sequence of Numbers with a Gap Between Adjacent Values | Construct a program that prints a sequence of numbers from 1 (inclusive) to 16 (exclusive) in increments of 4. | PCEX | for loop, loops | |
| 407 | Printing Consecutive Numbers Within a Specified Range | Construct a program that prints a sequence of numbers from 1 (inclusive) to 9 (inclusive). | PCEX | algorithm analysis, for loop, loops | |
| 408 | 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 | |
| 409 | 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 | for loop, nested loops | |
| 410 | Searching Values of a List in Another List | Construct a program that has a function that receives two lists and prints the values in the 2nd list that... | PCEX | classes, data structures, list, search algorithms, stacks | |
| 411 | Printing the Squares of Numbers Within a Specified Range | Construct a program to write out the squares of even positive integers less than or equal to 10. | PCEX | for loop, loops | |
| 412 | Counting the Occurrences of One String in Another | Construct a program that has a function that receives a string and returns the number of times that the string... | PCEX | for loop, functions, strings | |
| 413 | Repeating Characters of a String | Construct a program that has a function that receives a string and creates a new string that has each character... | PCEX | functions, strings | |
| 414 | Processing a List of Temperature Values | Construct a program that reads a series of temperatures and reports the average temperature and the number of the days... | PCEX | list | |
| 415 | 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 | |
| 416 | Time Converter | Construct a program that obtains minutes and remaining seconds from the input amount of time in seconds. For example, 500... | PCEX | operators, variables | |
| 417 | Calculating the Winning Percentage of a Sports Team | Construct a program that receives from the user the number of games that a sports team won in a tournament... | PCEX | loops, while loop | |
| 418 | Fahrenheit to Celsius Conversion | Construct a program that computes the Celsius equivalent of an input Fahrenheit value using the formula C = (F -... | PCEX | arithmetic operators, constants, data types, operators, primitive data types, variables | |
| 419 | Converting Milliseconds to Hours, Minutes, and Seconds | Construct a program that obtains hours, minutes, and seconds from an amount of time in milliseconds. | PCEX | arithmetic operations, arithmetic operators, operators, variables | |
| 420 | Comparing the List of Words from Two Files | Construct a program that reads two text files and creates a list of the words that each of these files... | PCEX | arraylist, file i/o | |
| 421 | Updating an Element in the Array (Case 2) | Construct a program that initializes an array with five floating-point numbers, changes the second element in the array, and finally,... | PCEX | arrays | |
| 422 | Updating an Element in the Array (Case 3) | Construct a program that initializes an array with four strings, changes the last element in the array, and finally, prints... | PCEX | arrays | |
| 423 | 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 | |
| 424 | Creating an Array of User Inputs | Construct a program that creates an array of eight string values received from the user. | PCEX | arrays | |
| 425 | Calculating the Average of the Values in the Array | Construct a program that calculates the average of all the values in an array. The program should handle arrays with... | PCEX | arrays | |
| 426 | Rotating the Array Values to the Left by Two Position | Construct a program that has a method that receives an array of values and returns the array rotated to the... | PCEX | arrays | |
| 427 | Rotating the Array Values to the Right by One Position | Construct a program that has a method that receives an array of values and returns the array rotated to the... | PCEX | arrays | |
| 428 | Rotating the List Values to the Right by Two Position | Construct a program that has a function that receives a list of values and returns the list rotated to the... | PCEX | arrays | |
| 429 | 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 | |
| 430 | 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 | |
| 431 | Displaying the Days That are Above 32 Degrees Fahrenheit | Construct a program that reads a series of temperatures and reports the days that are above 32 degrees Fahrenheit. Assume... | PCEX | arrays | |
| 432 | Updating Two-Dimensional Array (Case 2) | Construct a program that initializes a 3x3 two-dimensional matrix that has the numbers 1 through 9 for entries, sets the... | PCEX | 2d arrays, arrays | |
| 433 | Updating Two-Dimensional Array (Case 3) | Construct a program that initializes a 2x4 two-dimensional matrix that has multiples of 10 from 10 to 80 for entries,... | PCEX | 2d arrays, arrays | |
| 434 | Increment/Decrement Operators (Case 2) | Construct a program that performs increment/decrement operations on variable a (with initial value of 8) and variable b (with initial... | PCEX | arithmetic operations, arithmetic operators, operators, variables | |
| 435 | Increment/Decrement Operators (Case 3) | Construct a program that performs increment/decrement operations on variable a (with initial value of 6) and variable b (with initial... | PCEX | arithmetic operations, arithmetic operators, operators, variables | |
| 436 | Determining When a Student Fails a Course (Case 2) | Construct a program that determines whether a student fails the course based on the inputs that it receives from the... | PCEX | boolean expressions | |
| 437 | Determining When a Student Fails a Course (Case 3) | Construct a program that determines whether a student fails the course based on the inputs that it receives from the... | PCEX | boolean expressions | |
| 438 | Determining the Weather Condition (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 | |
| 439 | Determining the Weather Condition (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 | |
| 440 | Determining the Weather Condition (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, conditionals | |
| 441 | Determining When to Buy a New Phone (Case 2) | Construct a program that determines whether it is time to buy a new phone based on the inputs that it... | PCEX | boolean expressions | |
| 442 | Determining When a Customer Could Rent 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 | |
| 443 | Determining When a Customer Could Rent 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 | |
| 444 | Determining When at Least One of the Three Boolean Variables is False | Construct a program that determines whether at least one of the three boolean variables is false based on the inputs... | PCEX | boolean expressions | |
| 445 | Determining When All Three Boolean Variables Are Equal | Construct a program that receives the value of three boolean variables from the user and determines whether all variables have... | PCEX | boolean expressions | |
| 446 | 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 | |
| 447 | Reporting File Information (Case 2) | Construct a program that receives the full path to an input file from the user, reads that file and reports... | PCEX | classes, exceptions, file i/o, methods, objects | |
| 448 | Printing Consecutive Numbers Starting from Zero (Case 2) | Construct a program that prints a sequence of numbers from 0 (inclusive) to 6 (exclusive). | PCEX | for loop, nested loops | |
| 449 | Printing Sequence of Numbers with a Gap Between Adjacent Values (Case 2) | Construct a program that prints a sequence of numbers from 7 (inclusive) to 35 (inclusive) in increments of 7. | PCEX | for loop | |
| 450 | Printing Consecutive Numbers Within a Specified Range (Case 2) | Construct a program that prints a sequence of numbers from 8 (inclusive) to 14 (inclusive). | PCEX | for loop | |
| 451 | Printing the Squares of Numbers Within a Specified Range (Case 2) | Construct a program to write out the squares of odd positive integers less than 10. | PCEX | for loop | |
| 452 | Printing the Squares of Numbers Within a Specified Range (Case 3) | Construct a program to write out the squares of every number between 20 and 25, both inclusive. | PCEX | for loop | |
| 453 | 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 | |
| 454 | 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 | |
| 455 | 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 | |
| 456 | 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 | |
| 457 | 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 | |
| 458 | Printing A Sequence of Repeated Numbers (Case 2) | Construct a program that receives an integer N from the user and prints a sequence of space-separated numbers from 1... | PCEX | for loop, nested loops | |
| 459 | The Class for Representing a TV (Case 2) | Construct a class that represents a TV. The class should contain data that represents the TV's state (power on or... | PCEX | classes, objects | |
| 460 | String Concatenation (Case 2) | Construct a program that prints the text "333", "63", and "36". | PCEX | conditionals, data types, string operations, strings, variables | |
| 461 | Accessing String Characters (Case 2) | Construct a program that prints the 7th, 11th, and 14th character of the string "Second Example!". | PCEX | string operations, strings | |
| 462 | String Comparison (Case 2) | Construct the program that modifies the string "hexxo worxd!" so that it matches (ignoring case) the string "HELLO WORLD!". | PCEX | string operations, strings | |
| 463 | String With Escape Characters (Case 2) | Construct a program that prints the following output:\n""Two Double Quotes""\n Slashes \//\nHow '"confounding' "\" it is! | PCEX | string operations, strings | |
| 464 | String With Escape Characters (Case 3) | Construct a program that prints the following output:\n"Slashes"\\//\n \\//\nHow '"confounding' "\" it is! | PCEX | string operations, strings | |
| 465 | Printing Full Name with Middle Initial | Construct a program that prints the full name with middle initial for the name "John Phillip Smith". | PCEX | conditionals, data types, string, string operations, strings, variables | |
| 466 | Printing Name in APA Style | Construct a program that prints the name "Alice Ann Darcy" following the APA style, i.e., last name first, followed by... | PCEX | string operations, strings | |
| 467 | Finding the Largest Divisor of a Positive Number | Construct a program that finds the largest divisor of a positive number, excluding the number itself. For example, the largest... | PCEX | loops, while loop | |
| 468 | Receiving Input Integers Until a Certain Condition is Met (Case 2) | Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... | PCEX | while loop | |
| 469 | Receiving Input Integers Until a Certain Condition is Met (Case 3) | Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... | PCEX | while loop | |
| 470 | Receiving Input Integers Until a Certain Condition is Met (Case 4) | Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... | PCEX | while loop | |
| 471 | Calculating the Average of Floating-Point Numbers | Construct a program that reads a series of non-negative floating-point numbers from the user, sums them up, and calculate their... | PCEX | while loop | |
| 472 | Calculating the Average of the Input Integers that are an Even Number | Construct a program that reads a series of integer values from the user, sums up the integers that are an... | PCEX | while loop | |
| 473 | Finding Adjacent Consecutive Numbers in a Sequence of Integers | Construct a program that checks whether a sequence of integers, entered one at a time, contains adjacent integers that are... | PCEX | while loop | |
| 474 | Finding Adjacent Numbers in Ascending Order in a Sequence of Numbers | Construct a program that checks whether a sequence of non-zero numbers, entered one at a time, contains adjacent numbers in... | PCEX | while loop | |
| 475 | Reversing the Digits of an Integer | Construct a program that reverses the digits of an integer mathematically. | PCEX | do-while loop, while loop | |
| 476 | The Digit Sum of an Integer | Construct a program that calculates the sum of the digits of an integer. | PCEX | do-while loop, while loop | |
| 477 | Calculating the Winning Percentage of a Sports Team (Case 2) | Construct a program that receives from the user the number of games in a tournament and the number of the... | PCEX | while loop | |
| 478 | Calculating the Winning Percentage of a Sports Team (Case 3) | Construct a program that receives from the user the number of games that a sports team won and tied in... | PCEX | while loop | |
| 479 | The Class for Representing a Bank Account | Construct a class that represents a basic bank account. This class should contain data representing the name of the account’s... | PCEX | classes, objects | |
| 480 | The Class for Representing a Loan | Construct a class that represents a loan. This class should contain data representing the interest rate, loan amount, and the... | PCEX | classes, objects | |
| 481 | The Class for Representing a Point in the Euclidean Plane | Construct a class that represents a point in the Euclidean plane. The class should contain data that represents the point’s... | PCEX | classes, objects | |
| 482 | The Class for Representing a TV | Construct a class that represents a TV. The class should contain data that represents the TV's state (power on or... | PCEX | classes, objects | |
| 483 | Creating a Dictionary of Character-Count/Words Pairs | Construct a program that has a function which receives a string and creates a dictionary that maps each character to... | PCEX | dictionaries, dictionary | |
| 484 | Comparing Adjacent Numbers in a Sequence of Numbers (Case 2) | Construct a program that checks whether a sequence of integers, entered one at a time, contains adjacent integers that are... | PCEX | while loop | |
| 485 | Comparing Adjacent Numbers in a Sequence of Numbers (Case 3) | Construct a program that checks whether a sequence of non-zero numbers, entered one at a time, contains adjacent numbers in... | PCEX | while loop | |
| 486 | 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 | |
| 487 | Concatenating Characters of Two Strings | Construct a program that has a function that receives two strings and returns a string formed from the given strings... | PCEX | strings | |
| 488 | Concatenating Strings and Numbers (Case 2) | Construct a program that uses variables x, y, and z to print "x * 2 = 4". | PCEX | strings | |
| 489 | Concatenating Strings and Numbers (Case 3) | Construct a program that uses variables x, y, and z to print "10 + 20 = 30". | PCEX | strings | |
| 490 | Processing the Digits of an Integer (Case 3) | Construct a program that reverses the digits of an integer mathematically. | PCEX | while loop | |
| 491 | Processing the Digits of an Integer (Case 2) | Construct a program that calculates the sum of the digits of an integer. | PCEX | while loop | |
| 492 | Finding Smallest/Largest Divisor of a Positive Number | Construct a program that finds the largest divisor of a positive number, excluding the number itself. For example, the largest... | PCEX | while loop | |
| 493 | Unit Converter | Construct a program that computes the Celsius equivalent of an input Fahrenheit value using the formula C = (F -... | PCEX | operators, variables | |
| 494 | 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 | |
| 495 | 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 | |
| 496 | Reporting File Information | Construct a program that receives the full path to an input file from the user, reads that file and reports... | PCEX | exception handling, file i/o | |
| 497 | Calculating the Average of the Input Numbers (Case2) | Construct a program that reads a series of integer values from the user, sums up the integers that are an... | PCEX | while loop | |
| 498 | Calculating the Average of the Input Numbers (Case 3) | Construct a program that reads a series of non-negative floating-point numbers from the user, sums them up, and calculate their... | PCEX | while loop | |
| 499 | 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 | |
| 500 | 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 | |
| 501 | 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 | |
| 502 | 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 | |
| 503 | The Sign of a Number | Construct a program that determines whether an integer is even or odd. | PCEX | if-else statement | |
| 504 | 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 | |
| 505 | Receiving Input Integers Until a Certain Condition is Met (Case 2) | Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... | PCEX | while loop | |
| 506 | Receiving Input Integers Until a Certain Condition is Met (Case 3) | Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... | PCEX | while loop | |
| 507 | Receiving Input Integers Until a Certain Condition is Met (Case 4) | Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... | PCEX | while loop | |
| 508 | Updating an Element in a List (Case 2) | Construct a program that initializes a list with five floating-point numbers, changes the second element in the list, and finally,... | PCEX | list, value vs reference | |
| 509 | Updating an Element in a List (Case 3) | Construct a program that initializes a list with four string values, changes the last element in the list, and finally,... | PCEX | list, value vs reference | |
| 510 | 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 | |
| 511 | Adding Values to an Empty List | Construct a program that creates a list of eight string values received from the user. | PCEX | list | |
| 512 | Calculating Sum/Average of the List Values | Construct a program that has a function that receives a list and calculates the average of the values in that... | PCEX | list | |
| 513 | Rotating the List Values (Case 2) | Construct a program that has a function that receives a list of values and returns the list rotated to the... | PCEX | list | |
| 514 | Rotating the List Values (Case 3) | Construct a program that has a function that receives a list of values and returns the list rotated to the... | PCEX | list | |
| 515 | Rotating the List Values (Case 4) | Construct a program that has a function that receives a list of values and returns the list rotated to the... | PCEX | list | |
| 516 | Updating Two-Dimensional List (Case 2) | Construct a program that initializes a 3x3 two-dimensional matrix that has the numbers 1 through 9 for entries, updates the... | PCEX | 2d list, list, value vs reference | |
| 517 | Updating Two-Dimensional List (Case 3) | Construct a program that initializes a 2x4 two-dimensional matrix that has multiples of 10 from 10 to 80 for entries,... | PCEX | 2d list, value vs reference | |
| 518 | 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 | |
| 519 | 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 | |
| 520 | 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 | |
| 521 | Printing Consecutive Numbers Starting from Zero | Construct a program that prints a sequence of numbers from 0 (inclusive) to 6 (exclusive). | PCEX | for loop | |
| 522 | Printing Sequence of Numbers with a Gap Between Adjacent Values | Construct a program that prints a sequence of numbers from 7 (inclusive) to 35 (inclusive) in increments of 7. | PCEX | for loop | |
| 523 | Printing Consecutive Numbers Within a Specified Range | Construct a program that prints a sequence of numbers from 8 (inclusive) to 14 (inclusive). | PCEX | for loop | |
| 524 | 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 | |
| 525 | 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 | |
| 526 | 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 | for loop, nested loops | |
| 527 | 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 | |
| 528 | 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 | |
| 529 | Printing the Squares of Numbers Within a Specified Range (Case 2) | Construct a program to write out the squares of odd positive integers less than 10. | PCEX | for loop | |
| 530 | Printing the Squares of Numbers Within a Specified Range (Case 3) | Construct a program to write out the squares of every number between 20 and 25, both inclusive. | PCEX | for loop | |
| 531 | Counting the Occurrences of One String in Another | Construct a program that has a function that receives a string and returns the number of times that the string... | PCEX | functions, strings | |
| 532 | Repeating Characters of a String | Construct a program that has a function that receives a string and creates a new string that has every other... | PCEX | functions, strings | |
| 533 | Processing a List of Temperature Values | Construct a program that reads a series of temperatures and reports the days that are above 32 degrees Fahrenheit. Assume... | PCEX | list | |
| 534 | 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 | |
| 535 | 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 | |
| 536 | Time Converter | Construct a program that obtains hours, minutes, and seconds from an amount of time in milliseconds. | PCEX | operators, variables | |
| 537 | Calculating the Winning Percentage of a Sports Team (Case 2) | Construct a program that receives from the user the number of games in a tournament and the number of the... | PCEX | while loop | |
| 538 | Calculating the Winning Percentage of a Sports Team (Case 3) | Construct a program that receives from the user the number of games that a sports team won and tied in... | PCEX | while loop | |
| 539 | Huffman Coding Tree Slideshow: Build | Algorithm Visualization | Slideshow visualizing the Huffman Coding Tree construction algorithm: Building the tree from a collection of weighted elements. | OpenDSA | Huffman Coding Tree |
| 540 | Kruskal's Minimal-Cost Spanning Tree Algorithm slideshow | Algorithm Visualization | Slideshow demonstrating Kruskal's algorithm for constructing the minimal cost spanning tree for a graph. | OpenDSA | Minimal-Cost Spanning Tree |
| 541 | Prim's Minimal-Cost Spanning Tree Algorithm slideshow | Algorithm Visualization | Slideshow demonstrating Prim's algorithm for constructing the minimal cost spanning tree for a graph. | OpenDSA | Minimal-Cost Spanning Tree |
| 542 | (Math class) Math example 3 - CSEdPad | Demonstrate the understanding of Math class concepts by construct a program that calculate and print the surface area and volume... | AnnEx | math | |
| 543 | (MathClass) MathExample1 - CSEdPad | Demonstrate the understanding of Math class concepts by constructing a program that finds the length of the hypotenuse in of... | AnnEx | math | |
| 544 | Queue Implementation | Implementing Queue. Using Class to construct a Queue structure. | PCEX | queue, queues | |
| 545 | Stack | Implementing Stack. Using Class to construct a Stack structure. | PCEX | classes, data structures, stack, stacks | |
| 546 | Stack Challenge | Implementing Stack. Using Class to construct a Stack. Implement a function to determine if all the given brackets are paired.\nFor... | PCEX | ||
| 547 | Printing A Right Triangle Star Pattern | A Right triangle star pattern contains N asterisks in N-th row. Construct a program that receives the number of rows... | PCEX | nested loops | |
| 548 | Dictionary Keys | storage-dictionary stores the amount of certain items in storage. Construct a program that prints out a list of all the... | jsParsons | classes, data structures, dictionaries, dictionary, stacks | |
| 549 | Inserting binary tree | In a BinaryTree, adding new nodes to the tree is an important capability to have. Construct a simple implementation of... | PCEX | binary search, recursion, trees | |
| 550 | Printing A Right Triangle Star Pattern | A Right triangle star pattern contains N asterisks in N-th row. Construct a program that receives the number of rows... | PCEX | loops, nested loops | |
| 551 | Printing A Right Triangle Star Pattern | A Right triangle star pattern contains N asterisks in N-th row. Construct a program that receives the number of rows... | PCEX | algorithm analysis, for loop, nested loops | |
| 552 | Creating a Dictionary of Student-Scores Pairs | Assume we have a list of students and a list of their corresponding test scores. Construct a program that has... | PCEX | dictionaries, dictionary | |
| 553 | Creating a Dictionary of Student-Scores Pairs | Assume we have a list of students and a list of their corresponding test scores. Construct a program that has... | PCEX | dictionaries, dictionary | |
| 554 | Static field to maintain the total value of Coin objects created | Code Completion | Add a private static variable to the Coin class that maintains the total value of all coins that were constructed.... | CodeCheck | Designing Classes |
| 555 | Static field to count number of objects | Code Completion | Add a private static variable to the Coin class that counts the total number of coins that were constructed. Also... | CodeCheck | Designing Classes |
| 556 | Printing an Inverted Right Triangle Star Pattern | An inverted right triangle star pattern of N rows contains N-i+1 asterisks in the i-th row. Construct a program that... | PCEX | nested loops | |
| 557 | Bigger Than | Assume that num1 and num2 have been initialized to numbers, so that number1 is bigger. Construct a program that correctly... | jsParsons | boolean expressions, boolean logic, comparison operators | |
| 558 | Search in the linked list. | When using a LinkedList, it is possible that you may want to search through the list to see if a... | PCEX | linked list, search algorithms | |
| 559 | Insertion Sort | Insertion sort works similarly to how one would sort a hand of cards: by choosing an element and searching through... | PCEX | recursion, search algorithms, sorting, sorting algorithms | |
| 560 | Selection sort | Ascending-order Selection sort operates by finding the minimum element of an array and moving it to the “beginning” of the... | PCEX | recursion, search algorithms, sorting, sorting algorithms | |
| 561 | Search in the linked list. Challenge | When using a LinkedList, it is possible that you may want to search through the list to see if a... | PCEX | search algorithms | |
| 562 | Insertion Sort Challenge | Insertion sort works similarly to how one would sort a hand of cards: by choosing an element and searching through... | PCEX | ||
| 563 | Selection sort Challenge | Descending-order Selection sort operates by finding the maximum element of an array and moving it to the “beginning” of the... | PCEX | ||
| 564 | Printing an Inverted Right Triangle Star Pattern | An inverted right triangle star pattern of N rows contains N-i+1 asterisks in the i-th row. Construct a program that... | PCEX | nested loops | |
| 565 | Printing A Right Triangle Star Pattern | An inverted right triangle star pattern of N rows contains N-i+1 asterisks in the i-th row. Construct a program that... | PCEX | for loop, nested loops | |
| 566 | BankAccount with Transaction Count | Code Completion | Change the deposit and withdraw methods of the BankAccount class so that a count of transactions is updated. For example,... | CodeCheck | Classes |
| 567 | Zipper words with helper method | Code Completion | Two strings of equal length can be interlaced like the teeth of a zipper to form a new word. For... | CodeCheck | Recursion |
| 568 | Zipper words | Code Completion | Two strings of equal length can be interlaced like the teeth of a zipper to form a new word. For... | CodeCheck | Recursion |
| 569 | Calculating and Rounding Up Body Mass Index (BMI) To the Nearest Integer | BMI is a measure of body fat based on height and weight that applies to adult men and women. BMI... | PCEX | arithmetic operations | |
| 570 | Vending Machine With Dollars and Quarters | Suppose we have a vending machine that gives change. A customer selects an item for purchase and inserts a bill... | PCEX | ||
| 571 | Vending Machine With Quarters-Dimes- and Nickels | Suppose we have a vending machine that gives change. A customer selects an item for purchase and inserts a bill... | PCEX | ||
| 572 | Vending Machine With Dollars and Quarters | Suppose we have a vending machine that gives change. A customer selects an item for purchase and inserts a bill... | PCEX | operators, primitive data types, variables | |
| 573 | Vending Machine With Quarters-Dimes- and Nickels | Suppose we have a vending machine that gives change. A customer selects an item for purchase and inserts a bill... | PCEX | operators, primitive data types, variables | |
| 574 | Reporting the Total Hours Each Employee Worked (Case 1) | Suppose we have an input file that contains information about how many hours each employee of a company has worked.... | PCEX | file i/o | |
| 575 | Reporting the Total Hours Each Employee Worked (Case 2) | Suppose we have an input file that contains information about how many hours each employee of a company has worked.... | PCEX | file i/o | |
| 576 | Vending Machine With Dollars and Quarters | Suppose we have a vending machine that gives change. A customer selects an item for purchase and inserts a bill... | PCEX | ||
| 577 | Vending Machine With Quarters-Dimes- and Nickels | Suppose we have a vending machine that gives change. A customer selects an item for purchase and inserts a bill... | PCEX | ||
| 578 | Binary search | Binary Search operates by dividing an array in half, and then determining whether or not the target value would be... | PCEX | binary search, recursion, search, search algorithms, sorting, trees | |
| 579 | Tree traversal. | The tree can be traversed by deciding on a sequence to visit each node. There are three traversal algorithms: in-order... | PCEX | binary search, trees | |
| 580 | Binary search Challenge | Binary Search operates by dividing an array in half, and then determining whether or not the target value would be... | PCEX | search algorithms | |
| 581 | Tree traversal. Challenge | The tree can be traversed by deciding on a sequence to visit each node. There are three traversal algorithms: in-order... | PCEX | trees | |
| 582 | Vending Machine | Suppose we have a vending machine that gives change. A customer selects an item for purchase and inserts a bill... | PCEX | arithmetic operators, constants, operators, primitive data types, variables | |
| 583 | Vending Machine | Suppose we have a vending machine that gives change. A customer selects an item for purchase and inserts a bill... | PCEX | operators, variables | |
| 584 | Calculating and Rounding Up Body Mass Index (BMI) To the Nearest Integer | BMI is a measure of body fat based on height and weight that applies to adult men and women. BMI... | PCEX | arithmetic operations, arithmetic operators, data types, operators, variables | |
| 585 | Vending Machine With Quarters, Dimes, and Nickels | Suppose we have a vending machine that gives change. A customer selects an item for purchase and inserts a bill... | PCEX | arithmetic operators, constants, operators, primitive data types, variables | |
| 586 | BMI Calculator | BMI is a measure of body fat based on height and weight that applies to adult men and women. BMI... | PCEX | operators, variables | |
| 587 | Vending Machine | Suppose we have a vending machine that gives change. A customer selects an item for purchase and inserts a bill... | PCEX | operators, variables |