Showing 0-0 of 0 results
| # | Exercise Title | Features | Description | Platform | Keywords |
|---|---|---|---|---|---|
| 1 | Codewit Jason: Echoes with C++ For Loop | Free Coding Problem, code writing | Coding Question | CodeWorkout | for, loops, iteration, cout, code writing |
| 2 | Multiline cout | C++ BehaviorExample for demonstrating Multiline cout | AnnEx | ||
| 3 | Simple cout | C++ BehaviorExample for demonstrating Simple cout | AnnEx | ||
| 4 | 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 | |
| 5 | 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 | |
| 6 | 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 | |
| 7 | 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 | |
| 8 | 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 | |
| 9 | 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 | |
| 10 | 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 | |
| 11 | 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 | |
| 12 | 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 | |
| 13 | Hiscore 1 | Python CodeVisualization for demonstrating Hiscore 1 | JSVEE | control flow, if statement, if-else statement | |
| 14 | Hiscore 2 | Python CodeVisualization for demonstrating Hiscore 2 | JSVEE | control flow, if statement, if-else statement | |
| 15 | If Else | Python CodeVisualization for demonstrating If Else | JSVEE | control flow, if statement, if-else statement | |
| 16 | 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 | |
| 17 | if-elif | Python PredictingFinalResult for demonstrating if-elif | QuizPET | control flow, if statement, if-else statement | |
| 18 | nested if | Python PredictingFinalResult for demonstrating nested if | QuizPET | control flow, if-else statement | |
| 19 | 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 |
| 20 | 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 |
| 21 | 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 |
| 22 | 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 |
| 23 | 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 |
| 24 | 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 |
| 25 | CFG Transformation: Chomsky Normal Form | Grammar Construction Exercise | User creates an equivalent CFG in Chomsky Normal Form. | OpenDSA | Context-Free Grammar |
| 26 | 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 |
| 27 | CFG Associativity Exercise: Alternate | Question, Battery | A collection of self-practice questions where users evaluate a mathematical expression and deterimine if the grammar enforces correct associativity. Alternate... | OpenDSA | Context-Free Grammar, Ambiguity |
| 28 | Language from CFG Exercise: Alternate | Question, Battery | A collection of self-practice questions where users select a language description for a given CFG. Alternate version. | OpenDSA | Context-Free Grammar |
| 29 | CFG Determining Ambiguity Exercise: Alternate | Question, Battery | A collection of self-practice questions where users determine whether a given CFG is ambiguous or not. Alternate version. | OpenDSA | Context-Free Grammar, Ambiguity |
| 30 | CFG Expression Evaluation Exercise: Alternate | Question, Battery | A collection of self-practice questions where users evaluate a mathematical expression under the definition of a given CFG. Alternate version. | OpenDSA | Context-Free Grammar, Ambiguity |
| 31 | Extended BNF Exercise: Alternate | Question, Battery | A collection of self-practice questions where users select extended BNF statements matching a normal set of BNF statements. Alternate version. | OpenDSA | Context-Free Grammar |
| 32 | Determining Number of Parse Tree Nodes Exercise: Alternate | Calculation Exercise, Battery | User determines the number of nodes in a parse tree generated by a given string on a given grammar. Alternative... | OpenDSA | Context-Free Grammar, Parse Tree |
| 33 | CFG Ambiguity 1 Exercise: Alternate | Question, Battery | A collection of self-practice questions where users determine whether a given string is parsed ambiguously or not. Alternate version. | OpenDSA | Context-Free Grammar, Ambiguity |
| 34 | CFG Ambiguity 2 Exercise: Alternate | Question, Battery | A second collection of self-practice questions where users determine whether a given string is parsed ambiguously or not. Alternate version. | OpenDSA | Context-Free Grammar, Ambiguity |
| 35 | CFG Ambiguity 3 Exercise: Alternate | Question, Battery | A third collection of self-practice questions where users determine whether a given string is parsed ambiguously or not. Alternate version. | OpenDSA | Context-Free Grammar, Ambiguity |
| 36 | CFG Precedence and Associativity Exercise: Alternate | Question, Battery | A collection of self-practice questions where users evaluate a mathematical expression and deterimine if the grammar enforces correct precedence and... | OpenDSA | Context-Free Grammar, Ambiguity |
| 37 | Determining Whether a Given String is Derivable from Given Grammar Exercise: Alternate | Calculation Exercise, Battery | A collection of self-practice questions where users determine which strings can or cannot be derived from a given grammar: Alternate. | OpenDSA | Context-Free Grammar, Parse Tree |
| 38 | CFG Associativity Exercise | Question | A question where users evaluate a mathematical expression and deterimine if the grammar enforces correct associativity. | OpenDSA | Context-Free Grammar, Ambiguity |
| 39 | Language from CFG Exercise | Question | Users select a language description for a given CFG. | OpenDSA | Context-Free Grammar |
| 40 | CFG Determining Ambiguity Exercise | Question | A question where users determine whether a given CFG is ambiguous or not. | OpenDSA | Context-Free Grammar, Ambiguity |
| 41 | CFG Expression Evaluation Exercise | Calculation Exercise, Battery | A collection of self-practice questions where users evaluate a mathematical expression under the definition of a given CFG. | OpenDSA | Context-Free Grammar, Ambiguity |
| 42 | Extended BNF Exercise | Question | A question where users select extended BNF statements matching a normal set of BNF statements. | OpenDSA | Context-Free Grammar |
| 43 | Determining Number of Parse Tree Nodes Exercise | Calculation Exercise | User determines the number of nodes in a parse tree generated by a given string on a given grammar. | OpenDSA | Context-Free Grammar, Parse Tree |
| 44 | CFG Ambiguity 1 Exercise | Question | A question where users determine whether a given string is parsed ambiguously or not. | OpenDSA | Context-Free Grammar, Parse Tree |
| 45 | CFG Ambiguity 2 Exercise | Question | A question where users determine whether a given string is parsed ambiguously or not. | OpenDSA | Context-Free Grammar, Ambiguity |
| 46 | CFG Ambiguity 3 Exercise | Question | A question where users determine whether a given string is parsed ambiguously or not. | OpenDSA | Context-Free Grammar, Ambiguity |
| 47 | CFG Precedence and Associativity Exercise | Question | A question where users evaluate a mathematical expression and deterimine if the grammar enforces correct precedence and associativity. | OpenDSA | Context-Free Grammar, Ambiguity |
| 48 | Determining Whether a Given String is Derivable from Given Grammar Exercise | Question | A question where users determine which strings can or cannot be derived from a given grammar. | OpenDSA | Context-Free Grammar, Parse Tree |
| 49 | Context-Free Language Ambiguity Frameset | Programmed Instruction | Programmed Instruction Frameset discussing ambiguity in Context-Free Grammars. | OpenDSA | Context-Free Grammar |
| 50 | Context-Free Language Derivations Frameset | Programmed Instruction | Programmed Instruction Frameset discussing derivations of strings from Context-Free Grammars. | OpenDSA | Context-Free Language |
| 51 | Context-Free Language Introduction Frameset | Programmed Instruction | Programmed Instruction Frameset introducing Context-Free Languages and their formal definition. | OpenDSA | Context-Free Language |
| 52 | Context-Free Grammar Transformation: Chomsky Normal Form Frameset | Programmed Instruction | Programmed Instruction Frameset discussing Chomsky Normal Form for Context-Free Grammars. | OpenDSA | Context-Free Grammar |
| 53 | Context-Free Language Derivation Trees Frameset | Programmed Instruction | Programmed Instruction Frameset discussing derivation trees for Context-Free Grammars. | OpenDSA | Context-Free Language |
| 54 | Context-Free Grammar Transformation: Greibach Normal Form Frameset | Programmed Instruction | Programmed Instruction Frameset discussing Greibach Normal Form for Context-Free Grammars. | OpenDSA | Context-Free Grammar |
| 55 | Context-Free Language Membership Problem Frameset | Programmed Instruction | Programmed Instruction Frameset discussing how to recognize if a given string is derivable from a given Context-Free Grammar. | OpenDSA | Context-Free Language |
| 56 | Context-Free Grammar Transformation: Remove Lambda Productions Frameset | Programmed Instruction | Programmed Instruction Frameset discussing removing lambda productions from Context-Free Grammars. | OpenDSA | Context-Free Grammar |
| 57 | Context-Free Grammar Transformation: Remove Unit Productions Frameset | Programmed Instruction | Programmed Instruction Frameset discussing removing unit productions from Context-Free Grammars. | OpenDSA | Context-Free Grammar |
| 58 | Context-Free Grammar Transformation: Useless Productions Frameset | Programmed Instruction | Programmed Instruction Frameset discussing removing useless productions from Context-Free Grammars. | OpenDSA | Context-Free Grammar |
| 59 | Context-Free Grammar Transformation Introduction Frameset | Programmed Instruction | Programmed Instruction Frameset discussing reasons for transforming Context-Free Grammars to simpler versions. | OpenDSA | Context-Free Grammar |
| 60 | Context-Free Language Derivation Trees Example | Algorithm Visualization | Visualization of a derviation tree from a given context-free grammar. | OpenDSA | Context-Free Language |
| 61 | Closure Properties for Context-Free Languages | Programmed Instruction | Programmed Instruction slideshow explaining the concept and giving examples of closure properties for Context-Free Languages. | OpenDSA | Context-Free Language, Closure Property |
| 62 | Context-Free Language Pumping Lemma Example 1 | Programmed Instruction | Programmed Instruction slideshow giving an example for using a pumping lemma to prove a language is not Context-Free: a^n b^n... | OpenDSA | Context-Free Language, Pumping Lemma |
| 63 | Context-Free Language Pumping Lemma Example 2 | Programmed Instruction | Programmed Instruction slideshow giving an example for using a pumping lemma to prove a language is not Context-Free: a^n b^n... | OpenDSA | Context-Free Language, Pumping Lemma |
| 64 | Context-Free Language Pumping Lemma Example 3 | Programmed Instruction | Programmed Instruction slideshow giving an example for using a pumping lemma to prove a language is not Context-Free: a^j b^k... | OpenDSA | Context-Free Language, Pumping Lemma |
| 65 | Context-Free Language Pumping Lemma Example 4 | Programmed Instruction | Programmed Instruction slideshow giving an example for using a pumping lemma to prove a language is not Context-Free: w, reverse... | OpenDSA | Context-Free Language, Pumping Lemma |
| 66 | Pumping Lemma for Context-Free Languages | Programmed Instruction | Programmed Instruction slideshow introducing a pumping lemma for Context-Free Languages. | OpenDSA | Context-Free Language, Pumping Lemma |
| 67 | Grammars for Deterministic CFL | Programmed Instruction | Programmed Instruction Frameset discussing grammars for deterministic context free languages. | OpenDSA | Context-Free Language |
| 68 | Unambiguous CFG Parse Tree Example | Algorithm Visualization | Visualization for the parse tree generated for a mathematical expression from a non-ambiguouse CFG. | OpenDSA | Context-Free Language, Parse Tree |
| 69 | 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 | |
| 70 | 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 | |
| 71 | 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 | |
| 72 | 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 | |
| 73 | 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 | |
| 74 | 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 | |
| 75 | 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 | |
| 76 | 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 | |
| 77 | 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 | |
| 78 | 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 | |
| 79 | 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 | |
| 80 | Kruskal's Minimal-Cost Spanning Tree Proficiency Exercise | Tracing Exercise | Proficiency exercise for Kruskal's minimal-cost spanning tree. User must indicate the order in which nodes are visited by clicking on... | OpenDSA | Minimal-Cost Spanning Tree |
| 81 | Prim's Minimal-Cost Spanning Tree Proficiency Exercise | Tracing Exercise | Proficiency exercise for Prim's minimal-cost spanning tree. User must indicate the order in which nodes are visited by clicking on... | OpenDSA | Minimal-Cost Spanning Tree |
| 82 | Hash Cost Analysis Summary Practice Questions | Question, Battery | A collection of self-practice questions on hashing cost analysis. | OpenDSA | Hashing Cost Analysis |
| 83 | 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 |
| 84 | 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 |
| 85 | LinkedBag contains | Free Coding Problem, code writing | Coding Question | CodeWorkout | Lists, nodes, chains, links, bag, ADT, contains, code writing |
| 86 | Set Contains - In Two Sets | Free Coding Problem, code writing | Coding Question | CodeWorkout | CS1114, set, Java, sets, contains, code writing |
| 87 | Set Contains - Set Contains All | Free Coding Problem, code writing | Coding Question | CodeWorkout | CS1114, set, Java, sets, contains, code writing |
| 88 | Set Contains - Contains Message | Free Coding Problem, code writing | Coding Question | CodeWorkout | CS1114, set, Java, sets, contains, code writing |
| 89 | Review - Head Count | Question, forced choice | Multiple Choice Question | CodeWorkout | review, logic errors, if, conditional, for loop, for each loop, array, continue, forced choice |
| 90 | comparison operators | Java CodeVisualization for demonstrating comparison operators | JSVEE | boolean expressions, control flow, if-else statement | |
| 91 | if-else-if | Java CodeVisualization for demonstrating if-else-if | JSVEE | conditionals, control flow, if-else statement | |
| 92 | Nested if | Java CodeVisualization for demonstrating Nested if | JSVEE | conditionals, control flow, if-else statement | |
| 93 | Switch Demo 1 | Java CodeVisualization for demonstrating Switch Demo 1 | JSVEE | conditionals, control flow, switch statement | |
| 94 | If El If Else | Python CodeVisualization for demonstrating If El If Else | JSVEE | algorithm analysis, control flow, if statement, if-else statement | |
| 95 | Nested If | Python CodeVisualization for demonstrating Nested If | JSVEE | algorithm analysis, control flow, if statement, if-else statement | |
| 96 | 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 | |
| 97 | nested if-elif | Python PredictingFinalResult for demonstrating nested if-elif | QuizPET | algorithm analysis, control flow, if statement, if-else statement | |
| 98 | Given a list of integers, count how many elements are negative. | Code Completion | Given a list of integers, count how many elements are negative. | CodeCheck | Lists - Simple Exercises, Counting Elements |
| 99 | Given a list a, count how many times the ith element from the front equals the ith element from the back. | Code Completion | Given a list a, count how many times the ith element from the front equals the ith element from the... | CodeCheck | Lists - Simple Exercises, Counting Elements |
| 100 | Given a list of integers and two values a and b, count how many elements are at least a and at most b. | Code Completion | Given a list of integers and two values a and b, count how many elements are at least a and... | CodeCheck | Lists - Simple Exercises, Counting Elements |
| 101 | Given a list of integers, return the most frequent element. | Code Completion | Given a list of integers, return the most frequent element. If there is more than one element with maximum frequency,... | CodeCheck | Lists - Simple Exercises, Counting Elements |
| 102 | Given a list of integers, return a list of all elements that occur with maximum frequency. | Code Completion | Given a list of integers, return a list of all elements that occur with maximum frequency. | CodeCheck | Lists - Simple Exercises, Counting Elements |
| 103 | Given a list of integers, return the position of the first element that occurs more than once, or -1 if all elements occur exactly once. | Code Completion | Given a list of integers, return the position of the first element that occurs more than once, or -1 if... | CodeCheck | Lists - Simple Exercises, Counting Elements |
| 104 | Given a list of integers, return a list of all elements that occur exactly once. | Code Completion | Given a list of integers, return a list of all elements that occur exactly once. | CodeCheck | Lists - Simple Exercises, Counting Elements |
| 105 | Given a list of integers, remove all elements that occur more than once, leaving the first occurrence. | Code Completion | Given a list of integers, remove all elements that occur more than once, leaving the first occurrence. | CodeCheck | Lists - Simple Exercises, Counting Elements |
| 106 | Given two lists of integers a and b of the same length, count the number of positions where the lists have the same elements. | Code Completion | Given two lists of integers a and b of the same length, count the number of positions where the lists... | CodeCheck | Lists - Simple Exercises, Counting Elements |
| 107 | Given two lists of integers a and b of the same length, count the number of positions where the list elements differ by at least 2. | Code Completion | Given two lists of integers a and b of the same length, count the number of positions where the list... | CodeCheck | Lists - Simple Exercises, Counting Elements |
| 108 | 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 | |
| 109 | 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 | |
| 110 | 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 | |
| 111 | Comparing Strings | Java PredictingFinalResult for demonstrating Comparing Strings | QuizJET | boolean expressions, control flow, string operations | |
| 112 | Using boolean | Java PredictingFinalResult for demonstrating Using boolean | QuizJET | boolean expressions, control flow, if-else statement | |
| 113 | Boolean Operations (Not) | Java PredictingFinalResult for demonstrating Boolean Operations (Not) | QuizJET | boolean expressions, control flow, if-else statement | |
| 114 | Boolean Operations (Not equal) | Java PredictingFinalResult for demonstrating Boolean Operations (Not equal) | QuizJET | boolean expressions, control flow, if-else statement | |
| 115 | Boolean Operations (OR) | Java PredictingFinalResult for demonstrating Boolean Operations (OR) | QuizJET | boolean expressions, control flow, logical operators | |
| 116 | Earthquake | Java PredictingFinalResult for demonstrating Earthquake | QuizJET | conditionals, control flow, if-else statement | |
| 117 | Switch 1 | Java PredictingFinalResult for demonstrating Switch 1 | QuizJET | conditionals, control flow, switch statement | |
| 118 | Switch 2 | Java PredictingFinalResult for demonstrating Switch 2 | QuizJET | conditionals, control flow, switch statement | |
| 119 | Switch 3 | Java PredictingFinalResult for demonstrating Switch 3 | QuizJET | conditionals, control flow, switch statement | |
| 120 | Given two arrays of integers a and b of the same length, count the number of positions where the array elements differ by at least 2. | Code Completion | Given two arrays of integers a and b of the same length, count the number of positions where the array... | CodeCheck | Arrays - Simple Exercises, Counting Elements |
| 121 | Given an array of integers, count how many elements are negative. | Code Completion | Given an array of integers, count how many elements are negative. | CodeCheck | Arrays - Simple Exercises, Counting Elements |
| 122 | Given an array of integers, return the most frequent element. | Code Completion | Given an array of integers, return the most frequent element. If there is more than one element with maximum frequency,... | CodeCheck | Arrays - Simple Exercises, Counting Elements |
| 123 | Given an array of integers, return an array of all elements that occur with maximum frequency. | Code Completion | Given an array of integers, return an array of all elements that occur with maximum frequency. | CodeCheck | Arrays - Simple Exercises, Counting Elements |
| 124 | Given an array of integers, return the position of the first element that occurs more than once, or -1 if all elements occur exactly once. | Code Completion | Given an array of integers, return the position of the first element that occurs more than once, or -1 if... | CodeCheck | Arrays - Simple Exercises, Counting Elements |
| 125 | Given an array of integers, return an array of all elements that occur exactly once. | Code Completion | Given an array of integers, return an array of all elements that occur exactly once. | CodeCheck | Arrays - Simple Exercises, Counting Elements |
| 126 | Given an array of integers and two values a and b, count how many elements are at least a and at most b. | Code Completion | Given an array of integers and two values a and b, count how many elements are at least a and... | CodeCheck | Arrays - Simple Exercises, Counting Elements |
| 127 | Given an array a, count how many times the ith element from the front equals the ith element from the back. | Code Completion | Given an array a, count how many times the ith element from the front equals the ith element from the... | CodeCheck | Arrays - Simple Exercises, Counting Elements |
| 128 | Given two arrays of integers a and b of the same length, count the number of positions where the arrays have the same elements. | Code Completion | Given two arrays of integers a and b of the same length, count the number of positions where the arrays... | CodeCheck | Arrays - Simple Exercises, Counting Elements |
| 129 | Given an array of integers, remove all elements that occur more than once, leaving the first occurrence. | Code Completion | Given an array of integers, remove all elements that occur more than once, leaving the first occurrence. | CodeCheck | Arrays - Simple Exercises, Counting Elements |
| 130 | If Conditions Demo | Java CodeVisualization for demonstrating If Conditions Demo | JSVEE | boolean expressions, conditionals, control flow, if-else statement | |
| 131 | Boolean Operations (AND) | Java PredictingFinalResult for demonstrating Boolean Operations (AND) | QuizJET | boolean expressions, conditionals, control flow, if-else statement | |
| 132 | Boolean Operations (Greater equal) | Java PredictingFinalResult for demonstrating Boolean Operations (Greater equal) | QuizJET | boolean expressions, conditionals, control flow, if-else statement | |
| 133 | Boolean Operations (Less equal) | Java PredictingFinalResult for demonstrating Boolean Operations (Less equal) | QuizJET | boolean expressions, conditionals, control flow, if-else statement | |
| 134 | Loop Idioms - Repeating an Action | Free Coding Problem, code writing | Coding Question | CodeWorkout | CS1114, arraylist, Java, loop, idiom, counter, controlled, code writing |
| 135 | Loop Idioms - Find First Book | Free Coding Problem, code writing | Coding Question | CodeWorkout | CS1114, arraylist, Java, loop, idiom, counter, controlled, code writing |
| 136 | Loop Idioms - Find Last Book | Free Coding Problem, code writing | Coding Question | CodeWorkout | CS1114, arraylist, Java, loop, idiom, counter, controlled, code writing |
| 137 | Loop Idioms - Find First And Last Index | Free Coding Problem, code writing | Coding Question | CodeWorkout | CS1114, arraylist, Java, loop, idiom, counter, controlled, code writing |
| 138 | Counting the Number of Valid and Banned Product Codes (Case 1) | Suppose a hypothetical company uses codes to represent its various products. A product code includes, among other information, a character... | PCEX | exception handling, exceptions | |
| 139 | Counting the Number of Valid and Banned Product Codes (Case 2) | Suppose a hypothetical company uses codes to represent its various products. A product code includes, among other information, a character... | PCEX | exception handling, exceptions | |
| 140 | Contando el Numero de Codigos de Producto Validos y Prohibidos (Caso 1) | Supongamos que una empresa hipotética utiliza códigos para representar sus diversos productos. Un código de producto incluye, entre otra información,... | PCEX | exceptions | |
| 141 | Contando el Numero de Codigos de Producto Validos y Prohibidos (Caso 2) | Supongamos que una empresa hipotética utiliza códigos para representar sus diversos productos. Un código de producto incluye, entre otra información,... | PCEX | exceptions | |
| 142 | Contando las Ocurrencias de un String en Otro (Caso 1) | Construye un programa que tenga una función que reciba un string y devuelva el número de veces que el string... | PCEX | for loop, loops | |
| 143 | Contando las Ocurrencias de un String en Otro (Caso 2). | Construye un programa que tenga una función que reciba un string y devuelva el número de veces que el string... | PCEX | for loop, loops | |
| 144 | Continue | C++ BehaviorExample for demonstrating Continue | AnnEx | ||
| 145 | count_occur | C++ BehaviorExample for demonstrating count_occur | AnnEx | ||
| 146 | Counter Demo | Java BehaviorExample for demonstrating Counter Demo | AnnEx | classes, objects | |
| 147 | Counter Demo | Java CodeVisualization for demonstrating Counter Demo | JSVEE | classes, objects | |
| 148 | Continue Statement | Python BehaviorExample for demonstrating Continue Statement | WebEx | ||
| 149 | Continue Statement | Python BehaviorExample for demonstrating Continue Statement | WebEx | for loop, loops | |
| 150 | Countdown to Zero | Python BehaviorExample for demonstrating Countdown to Zero | WebEx | while loop | |
| 151 | Counter Controlled Loops Review Quiz | Question, Battery | Counter controlled loops for CS1 review questions. | OpenDSA | Loop |
| 152 | Count Inversions Proficiency Exercise | Calculation Exercise | Proficiency exercise to count the number of inversions in an array. | OpenDSA | Exchange Sort, Inversion |
| 153 | Counting the Number of Valid and Banned Product Codes | Suppose a hypothetical company uses codes to represent its various products. A product code includes, among other information, a character... | PCEX | exception handling, exceptions | |
| 154 | Counting the Number of Valid and Banned Product Codes | Suppose a hypothetical company uses codes to represent its various products. A product code includes, among other information, a character... | PCEX | exception handling, exceptions, while loop | |
| 155 | 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 | |
| 156 | Counting the Number of Valid and Banned Product Codes (Case 2) | Suppose a hypothetical company uses codes to represent its various products. A product code includes, among other information, a character... | PCEX | exception handling, exceptions | |
| 157 | Counting the Number of Valid and Banned Product Codes | Suppose a hypothetical company uses codes to represent its various products. A product code includes, among other information, a character... | PCEX | exception handling | |
| 158 | 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 | |
| 159 | Count perfect squares | Code Completion | Your task is to write a method countPerfectSquares that counts all perfect squares in a given range. For example, the... | CodeCheck | Loops |
| 160 | Count Sevens | Code Completion | Your task is to write a method countSevens that counts the number of digits equal to 7 in a given... | CodeCheck | Loops |
| 161 | Count visits in selection sort | Code Completion | In section 14.5, we approximated a count of the array visits in merge sort. Your task is to provide an... | CodeCheck | Sorting and Searching |
| 162 | Count visits in selection sort | Code Completion | In section 14.3, we approximated a count of the array visits in selection sort. Your task is to provide an... | CodeCheck | Sorting and Searching |
| 163 | countCode | Free Coding Problem, code writing | Coding Question | CodeWorkout | logic, conditionals, if, loops, for, String, code writing |
| 164 | countEvens | Free Coding Problem, code writing | Coding Question | CodeWorkout | logic, conditionals, if, arrays, loops, mod, code writing |
| 165 | countClumps | Free Coding Problem, code writing | Coding Question | CodeWorkout | logic, conditionals, if, loops, arrays, code writing |
| 166 | countYZ | Free Coding Problem, code writing | Coding Question | CodeWorkout | String, conditionals, code writing |
| 167 | count8 | Free Coding Problem, code writing | Coding Question | CodeWorkout | recursion, logic, conditionals, mod, modulus, code writing |
| 168 | countHi | Free Coding Problem, code writing | Coding Question | CodeWorkout | recursion, logic, conditionals, String, code writing |
| 169 | countAbc | Free Coding Problem, code writing | Coding Question | CodeWorkout | recursion, logic, conditionals, String, code writing |
| 170 | countPairs | Free Coding Problem, code writing | Coding Question | CodeWorkout | recursion, logic, conditionals, String, code writing |
| 171 | count7 | Free Coding Problem, code writing | Coding Question | CodeWorkout | recursion, logic, conditionals, mod, modulus, code writing |
| 172 | countTriple | Free Coding Problem, code writing | Coding Question | CodeWorkout | String, conditionals, loops, code writing |
| 173 | countChar | Free Coding Problem, code writing | Coding Question | CodeWorkout | strings, loops, conditionals, code writing |
| 174 | countElements | Free Coding Problem, code writing | Coding Question | CodeWorkout | arrays, loops, conditionals, code writing |
| 175 | Count negative values in array | Free Coding Problem, coding problem | Coding Question | CodeWorkout | array, Java, cci, coding problem |
| 176 | Count strings longer than | Free Coding Problem, coding problem | Coding Question | CodeWorkout | array, Java, cci, strings, coding problem |
| 177 | Count non-null strings | Free Coding Problem, coding problem | Coding Question | CodeWorkout | array, Java, cci, strings, coding problem |
| 178 | Count Strings Longer Than and Not null | Free Coding Problem, coding problem | Coding Question | CodeWorkout | array, Java, cci, strings, coding problem |
| 179 | Count Strings in ArrayList longer than | Free Coding Problem, coding problem | Coding Question | CodeWorkout | arraylist, Java, strings, cci, coding problem |
| 180 | Count dogs walks from array in C++ | Free Coding Problem, code writing | Coding Question | CodeWorkout | array, code writing |
| 181 | Counting negatives within vector in C++ | Free Coding Problem, code writing | Coding Question | CodeWorkout | vector, code writing |
| 182 | Count letters in string C++ | Free Coding Problem, code writing | Coding Question | CodeWorkout | function, code writing |
| 183 | Counts vowels in a string in C++ | Free Coding Problem, code writing | Coding Question | CodeWorkout | function, parameters, code writing |
| 184 | Count repeating character in C++ | Free Coding Problem, code writing | Coding Question | CodeWorkout | while, loops, code writing |
| 185 | Count 'a's in String | Free Coding Problem, code writing | Coding Question | CodeWorkout | CS1114, arraylist, Java, String, for, loop, code writing |
| 186 | Counting Es | Free Coding Problem, code writing | Coding Question | CodeWorkout | CS1114, loop, iteration, for, List, String, nested loops, code writing |
| 187 | Count Vowels | Free Coding Problem, code writing | Coding Question | CodeWorkout | CS1114, List, String, code writing |
| 188 | Contains Two | Free Coding Problem, code writing | Coding Question | CodeWorkout | CS1114, arraylist, Java, loop, for, code writing |
| 189 | Count "J" Names | Free Coding Problem, code writing | Coding Question | CodeWorkout | CS1114, Java, loop, null, for, code writing |
| 190 | countCharClumps | Free Coding Problem, code writing | Coding Question | CodeWorkout | logic, conditionals, if, loops, strings, code writing |
| 191 | countOccurrences | Free Coding Problem, code writing | Coding Question | CodeWorkout | logic, conditionals, if, loops, strings, code writing |
| 192 | Contains (with linear search) | Free Coding Problem | Coding Question | CodeWorkout | linear search, search, array, int, cci |
| 193 | Count Times | Free Coding Problem, coding problem | Coding Question | CodeWorkout | String, loops, arrays, cci, coding problem |
| 194 | Count the digits of an integer | Free Coding Problem | Coding Question | CodeWorkout | recursion, int, cci |
| 195 | containsRoot(word)? | Free Coding Problem, code writing | Coding Question | CodeWorkout | String, conditionals, if, code writing |
| 196 | Cwhile_counter | C++ BehaviorExample for demonstrating Cwhile_counter | AnnEx | ||
| 197 | word_count | C++ BehaviorExample for demonstrating word_count | AnnEx | ||
| 198 | IS12:: count_char.c (6.1) | C BehaviorExample for demonstrating IS12:: count_char.c (6.1) | WebEx | ||
| 199 | IS12:: countdown1.c (4.1) | C BehaviorExample for demonstrating IS12:: countdown1.c (4.1) | WebEx | ||
| 200 | IS12:: countdown2.c (4.2) | C BehaviorExample for demonstrating IS12:: countdown2.c (4.2) | WebEx | ||
| 201 | Arrays - Counter Practice | Free Coding Problem | Coding Question | CodeWorkout | array, primitives |
| 202 | Review - Contains A | Free Coding Problem | Coding Question | CodeWorkout | review, String, recursion, char, length |
| 203 | Review - Count Fours | Free Coding Problem | Coding Question | CodeWorkout | review, array, looping, if |
| 204 | Shipping Cost | Free Coding Problem, coding problem | Coding Question | CodeWorkout | 1213, if-else, modulus, conditionals, cci, coding problem |
| 205 | ArrayList Contains Value | Free Coding Problem, code writing | Coding Question | CodeWorkout | CS1114, arraylist, Java, Data Structure, loop, iteration, for each, for-each, code writing |
| 206 | List Contains Value | Free Coding Problem, code writing | Coding Question | CodeWorkout | CS1114, loop, iteration, for-each, for, List, code writing |
| 207 | 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 | |
| 208 | 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 | |
| 209 | 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 | |
| 210 | 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 | |
| 211 | Linked List Operations - Contains | In this example, we will implement the contains() method that accepts a value and returns True if the value is... | PCEX | ||
| 212 | Imprimir Tabla de Conteo de Medallas con Totales por Fila | Supongamos que tenemos una matriz de 7x4 que almacena el número de medallas que siete países ganaron en las competencias... | PCEX | 2d list | |
| 213 | Imprimir Tabla de Conteo de Medallas con Totales por Fila y por Columna | Supongamos que tenemos una matriz de 7x4 que almacena el número de medallas que siete países ganaron en las competencias... | PCEX | 2d list | |
| 214 | 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 | |
| 215 | Practicar el corte de cadenas (slicing) | Construye un programa que primero imprima las cadenas "Py", "th", "o" y "n" | jsParsons | strings | |
| 216 | IS12:: line_count.c (6.4) | C BehaviorExample for demonstrating IS12:: line_count.c (6.4) | WebEx | ||
| 217 | Sentinel Loop Control | Python BehaviorExample for demonstrating Sentinel Loop Control | WebEx | while loop | |
| 218 | Regular Expression Exercise: Strings Containing aba | RegEx Writing Exercise | User writes an regular expression for the language of strings containing aba. | OpenDSA | Regular Expression |
| 219 | Regular Expression Exercise: Strings Containing bba in an Even Position | RegEx Writing Exercise | User writes an regular expression for the langugae of strings containing bba in an even position. | OpenDSA | Regular Expression |
| 220 | Regular Expression Exercise: Strings Containing No aa | RegEx Writing Exercise | User writes an regular expression for the langugae of strings containing no occurance of aa. | OpenDSA | Regular Expression |
| 221 | Regular Expression Exercise: Strings Containing One bbb | RegEx Writing Exercise | User writes an regular expression for the langugae of strings containing exactly one instance of bbb. | OpenDSA | Regular Expression |
| 222 | Inheritance and Polymorphism: Course Grading Policy | Question, Battery | Intro to Software Design (CS1) course grading policy review questions | OpenDSA | Software Design |
| 223 | Functional Programming: Continuation Passing Style 1 | Question | A question related to functional programming languages: Continuation Passing Style. | OpenDSA | Functional Programming |
| 224 | Functional Programming: Continuation Passing Style 2 | Question | A question related to functional programming languages: Continuation Passing Style. | OpenDSA | Functional Programming |
| 225 | Functional Programming: Continuation Passing Style 3 | Question | A third question related to functional programming languages: Continuation Passing Style. | OpenDSA | Functional Programming |
| 226 | Functional Programming: Continuation Passing Style 4 | Question | A fourth question related to functional programming languages: Continuation Passing Style. | OpenDSA | Functional Programming |
| 227 | Pushdown Automata and Context Free Languages | Programmed Instruction | Programmed Instruction Frameset discussing the relationship between Pushdown Automata and context free languages. | OpenDSA | Pushdown Automata |
| 228 | Functional Programming: Continuation Passing | Algorithm Visualization, Code Tracing Presentation | Slideshow illustrating continuation passing in a functional programming language. | OpenDSA | Functional Programming |
| 229 | Printing Table of Medal Counts with Row/Column Total | Assume that we have an array of countries that stores the names of the seven countries that participated in the... | PCEX | 2d arrays | |
| 230 | Printing Table of Medal Counts with Row/Column Total | Assume that we have a 7x4 matrix that stores the number of medals that seven countries won in the skating... | PCEX | 2d list, for loop, list | |
| 231 | 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 | |
| 232 | 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 | |
| 233 | Printing Table of Medal Counts with Row/Column Total | Assume that we have a 7x4 matrix that stores the number of medals that seven countries won in the skating... | PCEX | 2d list, for loop | |
| 234 | Letter frequency (count) | Code Completion | Write a method that computes how often each letter A-Z or a-z occurs in a string. Don't distinguish between upper-... | CodeCheck | Arrays and Array Lists |
| 235 | 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 |
| 236 | Using conditions for completion count | Code Completion | We will divide the work of computing the maximum of all values in an array over multiple threads. Each thread... | CodeCheck | Concurrency |
| 237 | Static method for counting the number of times a character appears in a string | Code Completion | Supply a static method that counts the number of times that a specific character appears in a given string. For... | CodeCheck | Designing Classes |
| 238 | 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 |
| 239 | Recursion Programming Exercise: Count Character A | Free Coding Problem, code writing | Coding Question | CodeWorkout | recursion, code writing |
| 240 | Binary Search Tree Small Count Exercise | Free Coding Problem, code writing | Coding Question | CodeWorkout | Trees, code writing |
| 241 | Binary Tree Leaf Nodes Count Exercise | Free Coding Problem, code writing | Coding Question | CodeWorkout | Trees, code writing |
| 242 | Binary Tree Leaf Nodes Count Exercise | Free Coding Problem, code writing | Coding Question | CodeWorkout | Trees, code writing |
| 243 | 2D Generic Array Contains | Free Coding Problem, code writing | Coding Question | CodeWorkout | CS1114, array, Java, multi, dimensional, generic, code writing |
| 244 | Codewit Kevin: finding contacts with fstream in C++ | Free Coding Problem, code writing | Coding Question | CodeWorkout | fstream, file io, code writing |
| 245 | Calculate Total Cost | Free Coding Problem, code writing | Coding Question | CodeWorkout | variables, math, code writing |
| 246 | Printing Table of Medal Winner Counts with Row Totals | Assume that we have an array of countries that stores the names of the seven countries that participated in the... | PCEX | 2d arrays | |
| 247 | Printing Table of Medal Winner Counts with Row and Column Totals | Assume that we have an array of countries that stores the names of the seven countries that participated in the... | PCEX | 2d arrays | |
| 248 | 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 | |
| 249 | 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 | |
| 250 | 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 | |
| 251 | Practicar leer un archivo e imprimir su contenido | Construye un programa que abra un archivo e imprima cada linea del archivo | jsParsons | file i/o | |
| 252 | Recursive Code Tracing Exercise: Call Count | Tracing Exercise | Recursive Code Tracing Exercise collection focusing on counting the number of function calls made. | OpenDSA | Recursion |
| 253 | 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 | |
| 254 | Printing Table of Medal Winner Counts with Row and Column Totals | Assume that we have an array of countries that stores the names of the seven countries that participated in the... | PCEX | 2d arrays | |
| 255 | 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 | |
| 256 | 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 | |
| 257 | 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 | |
| 258 | Given a string s, count how many times the ith character from the front equals the ith character from the back. | Code Completion | Given a string s, count how many times the ith character from the front equals the ith character from the... | CodeCheck | Strings, Comparing Strings |
| 259 | Implement an Interface to Provide Museum's Car Count | Code Completion | Complete the CarMuseum class below so that it implements the given Measurable interface. Your tasks are as follows: | CodeCheck | Interfaces |
| 260 | Given a string s, count how many times the ith character from the front equals the ith character from the back. | Code Completion | Given a string s, count how many times the ith character from the front equals the ith character from the... | CodeCheck | Strings, Comparing Strings |
| 261 | Given integers a and b, return a list containing a, a + 1, a + 2, . | Code Completion | Given integers a and b, return a list containing a, a + 1, a + 2, ..., b. | CodeCheck | Lists - Simple Exercises, Filling |
| 262 | Given integers a and b, return a list containing all even numbers that are at least a and at most b. | Code Completion | Given integers a and b, return a list containing all even numbers that are at least a and at most... | CodeCheck | Lists - Simple Exercises, Filling |
| 263 | Given an integer n, return a list containing 1 2 2 3 3 3 4 4 4 4 . | Code Completion | Given an integer n, return a list containing 1 2 2 3 3 3 4 4 4 4 ... and... | CodeCheck | Lists - Simple Exercises, Filling |
| 264 | Given integers a and b, fill an array containing all even numbers that are at least a and at most b. | Code Completion | Given integers a and b, fill an array containing all even numbers that are at least a and at most... | CodeCheck | Arrays - Simple Exercises, Filling |
| 265 | Given two lists a and b, return a list that contains all elements occurring in a but not in b. | Code Completion | Given two lists a and b, return a list that contains all elements occurring in a but not in b. | CodeCheck | Lists - Simple Exercises, Double Loops |
| 266 | Given an integer n, return a list of length n containing 1 -1 1 -1 . | Code Completion | Given an integer n, return a list of length n containing 1 -1 1 -1 ... | CodeCheck | Lists - Simple Exercises, Filling |
| 267 | Given integers n and k, return a list of length n containing 0 1 2 . | Code Completion | Given integers n and k, return a list of length n containing 0 1 2 ... k-1 0 1 2... | CodeCheck | Lists - Simple Exercises, Filling |
| 268 | Given a list of strings and a string s, return the average length of all strings containing s. | Code Completion | Given a list of strings and a string s, return the average length of all strings containing s. | CodeCheck | Lists - Simple Exercises, Sums, Averages, Products |
| 269 | Given a list of integers, return a list of length 2 containing the first and last element, in sorted order. | Code Completion | Given a list of integers, return a list of length 2 containing the first and last element, in sorted order. | CodeCheck | Lists - Simple Exercises, Two Answers |
| 270 | Given a list of integers, return a list of length 2 containing the minimum and the maximum. | Code Completion | Given a list of integers, return a list of length 2 containing the minimum and the maximum. | CodeCheck | Lists - Simple Exercises, Two Answers |
| 271 | Given an array of strings and a string s, return the average length of all strings containing s. | Code Completion | Given an array of strings and a string s, return the average length of all strings containing s. | CodeCheck | Arrays - Simple Exercises, Sums, Averages, Products |
| 272 | Given an array of integers, return an array of length 2 containing the first and last element, in sorted order. | Code Completion | Given an array of integers, return an array of length 2 containing the first and last element, in sorted order. | CodeCheck | Arrays - Simple Exercises, Two Answers |
| 273 | Given an array of integers, return an array of length 2 containing the minimum and the maximum. | Code Completion | Given an array of integers, return an array of length 2 containing the minimum and the maximum. | CodeCheck | Arrays - Simple Exercises, Two Answers |
| 274 | Given two arrays a and b, return an array that contains all elements occurring in a but not in b. | Code Completion | Given two arrays a and b, return an array that contains all elements occurring in a but not in b. | CodeCheck | Arrays - Simple Exercises, Double Loops |
| 275 | Given a two-dimensional array of integers and row/column indexes r, c, return the number of neighbors (not counting the element itself). | Code Completion | Given a two-dimensional array of integers and row/column indexes r, c, return the number of neighbors (not counting the element... | CodeCheck | Two-Dimensional Arrays, No Loops |
| 276 | Given a list of integers, return a list of lists of length 2, containing each unique element together with its frequency. | Code Completion | Given a list of integers, return a list of lists of length 2, containing each unique element together with its... | CodeCheck | Lists - Simple Exercises, Double Loops |
| 277 | Given an array of integers, return an array of arrays of length 2, containing each unique element together with its frequency. | Code Completion | Given an array of integers, return an array of arrays of length 2, containing each unique element together with its... | CodeCheck | Arrays - Simple Exercises, Double Loops |
| 278 | Given a two-dimensional array of integers and row/column indexes r, c, return the number of neighbors (not counting the element itself). | Code Completion | Given a two-dimensional array of integers and row/column indexes r, c, return the number of neighbors (not counting the element... | CodeCheck | Two-Dimensional Arrays, No Loops |
| 279 | Number of even and odd elements | Code Completion | Count the number of even and odd elements in an array of integers. Since you must return two counts, place... | CodeCheck | Arrays and Array Lists |
| 280 | PrintFileContent | Read and print the contents of a text file. | PCEX | ||
| 281 | HKC array testing 1 | testing authoring tool and course authoring | AnnEx | ||
| 282 | Letter frequency | Construct a function which counts the frequency of each character in the string given as a parameter and returns a... | jsParsons | dictionaries | |
| 283 | Letter frequency | Construct a program which counts the frequency of each character in string 'Summer' and stores it in a dictionary. Finally,... | jsParsons | dictionaries | |
| 284 | Heap Build Proof Slideshow | Code Tracing Presentation, Algorithm Visualization | Slideshow visualizing the cost of the efficient heap buiding algorithm, showing that it is a linear-time algorithm. | OpenDSA | Heap |
| 285 | Functional Programming: CPS vs non-tail recursion | Algorithm Visualization, Code Tracing Presentation | Slideshow comparing continuation passing with non-tail recursion and accumulation. | OpenDSA | Functional Programming |
| 286 | Get a title from an RSS file | Code Completion | An RSS file contains a sequence of item elements inside a channel element. Here is a sample RSS file: | CodeCheck | XML |
| 287 | How many items in this RSS file? | Code Completion | An RSS file contains a sequence of item elements inside a channel element. Here is a sample RSS file: | CodeCheck | XML |
| 288 | 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 | |
| 289 | 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 | |
| 290 | 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 | |
| 291 | Linked List Summary Questions | Question, Battery | Self-practice questions about linked list costs. | OpenDSA | Linked List |
| 292 | Exchange Sort Analysis Slideshow | Algorithm Analysis Presentation | Slideshow showing an analysis of Echange Sorting cost. | OpenDSA | Bubble Sort, Worst Case, Average Case, Best Case |
| 293 | Heapsort Analysis Slideshow | Algorithm Visualization | Slideshow showing a visual proof for the cost of Heapsort. | OpenDSA | Heapsort |
| 294 | Quicksort Partition Analysis Slideshow | Algorithm Visualization | Slideshow showing a visual proof for the cost of the partition step for Quicksort. | OpenDSA | Quicksort |
| 295 | Radix Sort Analysis | Algorithm Visualization | Slideshow showing a visual analysis for the cost of Radix Sort. | OpenDSA | Radix Sort |
| 296 | Reporting the Total Hours Each Employee Worked | Suppose we have an input file that contains information about how many hours each employee of a company has worked.... | PCEX | file i/o | |
| 297 | 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 | |
| 298 | 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 | |
| 299 | Reporting the Total Hours Each Employee Worked | Suppose we have an input file that contains information about how many hours each employee of a company has worked.... | PCEX | exception handling, file i/o | |
| 300 | 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 | |
| 301 | Reporting the Total Hours Each Employee Worked | Suppose we have an input file that contains information about how many hours each employee of a company has worked.... | PCEX | file i/o | |
| 302 | Processing exam scores | Code Completion | Your task is to read a file containing exam scores, and to write another file that contains the results of... | CodeCheck | Input and Output |
| 303 | Reversing the lines in a file | Code Completion | Your task is to read a file containing lines of text, and to write another file that contains these lines... | CodeCheck | Input and Output |
| 304 | 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 | |
| 305 | Imprimir un Patron de Estrellas en Forma de Triangulo Rectangulo | Un patrón de estrellas en forma de triángulo rectángulo contiene N asteriscos en la N-ésima fila. Construya un programa que... | PCEX | ||
| 306 | Informe de las Horas Totales Trabajadas por Cada Empleado (Caso 1) | Supongamos que tenemos un archivo de entrada que contiene información sobre cuántas horas ha trabajado cada empleado de una empresa.... | PCEX | file i/o | |
| 307 | Informe de las Horas Totales Trabajadas por Cada Empleado (Caso 2) | Supongamos que tenemos un archivo de entrada que contiene información sobre cuántas horas ha trabajado cada empleado de una empresa.... | PCEX | file i/o | |
| 308 | Regular Expression Exercise: Strings of Multiples of 3 a's | RegEx Writing Exercise | User writes an regular expression for the language of strings that contain a multiple of 3 a's. | OpenDSA | Regular Expression |
| 309 | Bubble Sort Analysis Slideshow | Algorithm Analysis Presentation | Slideshow showing an analysis of Bubble Sort's cost in worst, average, and best cases. | OpenDSA | Bubble Sort, Worst Case, Average Case, Best Case |
| 310 | Quicksort Average Case Analysis Slideshow | Algorithm Visualization | Slideshow showing a visual proof for the average-case cost of Quicksort. | OpenDSA | Quicksort |
| 311 | Quicksort Best Case Analysis Slideshow | Algorithm Visualization | Slideshow showing a visual proof for the best-case cost of Quicksort. | OpenDSA | Quicksort |
| 312 | Quicksort Worst Case Analysis Slideshow | Algorithm Visualization | Slideshow showing a visual proof for the worst-case cost of Quicksort. | OpenDSA | Quicksort |
| 313 | Selection Sort Analysis Slideshow | Algorithm Analysis Presentation | Slideshow showing an analysis of Selection Sort's cost analysis. | OpenDSA | Selection Sort, Worst Case, Average Case, Best Case |
| 314 | 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 | |
| 315 | 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 | |
| 316 | 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 | |
| 317 | 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 | |
| 318 | 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 | |
| 319 | 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 | |
| 320 | 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 | |
| 321 | 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 | |
| 322 | 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 | |
| 323 | 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 | |
| 324 | A recursive squid (square in diamond) | Code Completion | A recursive squid is a square in a diamond containing another squid. | CodeCheck | Recursion |
| 325 | Processing names | Code Completion | Your task is to read an input file containing a name on each line, and then write an output file... | CodeCheck | Input and Output |
| 326 | Add throws clause to web reader | Code Completion | The checkURL method below checks whether a web site contains data. Checked exceptions can be thrown in the code. Your... | CodeCheck | Input and Output |
| 327 | Converting temperatures | Code Completion | Your task is to read an input file containing a month name followed by the average maximum temperature for that... | CodeCheck | Input and Output |
| 328 | Swap first and last name | Code Completion | Write a method getLastFirst whose parameter is a string containing a name such as "Harry Smith" and that returns a... | CodeCheck | Fundamental Data Types |
| 329 | Determinando Si Uno Es Adolescente (Caso 2) | Construye un programa que le pida al usuario que ingrese un string que contenga el nombre de usuario y la... | PCEX | exceptions | |
| 330 | Imprimir un Patron de Estrellas en Forma de Triangulo Rectangulo Invertido | Un patrón de estrellas en forma de triángulo rectángulo invertido de N filas contiene N-i+1 asteriscos en la i-ésima fila.... | PCEX | for loop, loops | |
| 331 | Binary Tree Definition Calculation Questions | Question, Battery, Calculation Exercise | Self-practice questions about binary tree terminology that require calculation of quantities such as node counts and tree heights. | OpenDSA | Binary Tree |
| 332 | Insertion Sort Average Case Slideshow | Code Tracing Presentation, Algorithm Analysis Presentation | Slideshow showing an analysis of Insertion Sort's average-case behavior and cost. | OpenDSA | Insertion Sort, Average Case |
| 333 | Insertion Sort Best Case Slideshow | Code Tracing Presentation, Algorithm Analysis Presentation | Slideshow showing an analysis of Insertion Sort's best-case behavior and cost. | OpenDSA | Insertion Sort, Best Case |
| 334 | Insertion Sort Worst Case Analysis | Code Tracing Presentation, Algorithm Analysis Presentation | Slideshow showing an analysis of Insertion Sort's worst-case behavior and cost. | OpenDSA | Insertion Sort, Worst Case |
| 335 | 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 | |
| 336 | 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 | |
| 337 | 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 | |
| 338 | 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 | |
| 339 | 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 | |
| 340 | 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 | |
| 341 | La Clase para Representar un Prestamo (Caso 1) | Construya una clase que represente un préstamo. Esta clase debe contener datos que representen la tasa de interés, el monto... | PCEX | classes, objects | |
| 342 | La Clase para Representar un Prestamo (Caso 2) | Construya una clase que represente un préstamo. Esta clase debe contener datos que representen la tasa de interés, el monto... | PCEX | classes, objects | |
| 343 | 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 | ||
| 344 | 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 | |
| 345 | 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 | |
| 346 | 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 | |
| 347 | Frecuencia de letras | Construye una funcion que cuente la frecuencia de cada caracter en la cadena dada como parametro y devuelva un diccionario... | jsParsons | ||
| 348 | Crear una función y usar el operador módulo | Construye una funcion que devuelva True si un numero dado es par, de lo contrario False. | jsParsons | functions | |
| 349 | Practicar ciclos while anidados | Construye un programa que imprima un triangulo rectangulo invertido. Supone que 'tamano' esta definido y contiene un valor entero. | jsParsons | loops, while loop | |
| 350 | PANDAS GroupBy 2 | You're provided a dataframe of used cars using pandas. Group the data by 'type' and count the number of cars... | jsParsons | pandas | |
| 351 | PANDAS Stats 3 | You're provided a dataframe of used cars using pandas. Count how many cars belong to each type using value_counts() and... | jsParsons | pandas, statistics | |
| 352 | Doubly Linked List | Create the necessary classes for a Doubly Linked List, containing the method insert_at_start(data) to add a new item to the... | PCEX | doubly linked list, linked list | |
| 353 | Singly Linked List | Create the necessary classes for a Singly Linked List, containing the method append(item) to add a new item to the... | PCEX | linked list | |
| 354 | Doubly Linked List Challenge | Create the necessary classes for a Doubly Linked List, containing the method insert_at_start(data) to add a new item to the... | PCEX | ||
| 355 | 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 | ||
| 356 | Singly Linked List Challenge | Create the necessary classes for a Singly Linked List, containing the method add(item) to add a new item to the... | PCEX | ||
| 357 | Algorithm Analysis Chapter Summary Questions: CS2 | Question, Battery | Battery of self-assessment questions on Algorithm Analysis. Suitable for a CS2 course. | OpenDSA | Algorithm Analysis |
| 358 | Inefficient Range Query in a BST Slideshow | Algorithm Visualization, Code Tracing Presentation | Slideshow visualizing a range query implementation in a BST, contrasting an inefficient and an efficient implementation. | OpenDSA | Binary Search Tree |
| 359 | Programmed Instruction: Proof Techniques Introduction | Programmed Instruction | Programmed Instruction Frameset presentation of basic proofs review, including proof by contradiction review. | OpenDSA | Proof |
| 360 | Review of the Concept of Closure Properties | Programmed Instruction | Programmed Instruction Frameset reviewing the concept of closure properties, in the context of regular languages. | OpenDSA | Regular Language, Closure Property |
| 361 | 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 | |
| 362 | 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 | |
| 363 | 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 | |
| 364 | 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 | |
| 365 | 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 | |
| 366 | 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 | |
| 367 | 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 | |
| 368 | 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 | |
| 369 | 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 | |
| 370 | 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 | |
| 371 | 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 | |
| 372 | 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 | |
| 373 | 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 | |
| 374 | 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 | |
| 375 | 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 | |
| 376 | 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 | |
| 377 | 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 | |
| 378 | 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 | |
| 379 | 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 | |
| 380 | 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 | |
| 381 | Uppercase international letters | Code Completion | Your task is to find out what happens when you call the toUpperCase method on strings that contain accented characters... | CodeCheck | Objects |
| 382 | Popular boys and girls names | Code Completion | The web sites http://www.census.gov/genealogy/names/dist.male.first and http://www.census.gov/genealogy/names/dist.female.first contain baby names sorted by popularity. The format is very simple: name, frequency, cumulative... | CodeCheck | Networking |
| 383 | Liftoff threads | Code Completion | We want to simulate multiple rocket launches by ACME Rocket Inc. Each launch has a countdown, like this | CodeCheck | Concurrency |
| 384 | An enum type describing chemical elements | Code Completion | Enumerated types in Java are quite powerful, in that they can contain methods and instance variables. An enum type class... | CodeCheck | Inheritance |
| 385 | Generic replicate method | Code Completion | Implement the generic replicate method. It should return a list containing multiple copies of the given value. | CodeCheck | Generic Types |
| 386 | 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 | ||
| 387 | 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 | |
| 388 | 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 | |
| 389 | 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 | |
| 390 | 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 | ||
| 391 | 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 | ||
| 392 | Calculando el Porcentaje de Victorias de un Equipo (Caso 3) | Construye un programa que reciba del usuario el número de partidos que un equipo ganó y empató en un torneo... | PCEX | conditionals, loops, while loop | |
| 393 | Queue Class - Check if Element Exists | In this example, you will use Queue class from queue provided by python. This class contains methods for adding a... | PCEX | ||
| 394 | Queue Class - Check if Element Exists | In this example, you will use Queue class from queue provided by python. This class contains methods for adding a... | PCEX | ||
| 395 | 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 | |
| 396 | 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 | |
| 397 | 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 | |
| 398 | 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 | |
| 399 | JSON Aggregate 1 | You're provided a list of used cars in json list format. Find the the car by minimizing the cost. | jsParsons | json, json-aggregate | |
| 400 | JSON Aggregate 4 | You're provided a list of aircrafts and helicopter, with manufacturer information, date of manufacture and other information. Count the flights... | jsParsons | json, json-aggregate | |
| 401 | Construir una función que verifique el tamaño de una lista enlazada |
Construye una funcion que calcule el numero de elementos en una lista simplemente enlazada. La implementacion de la clase ListaEnlazada se... |
jsParsons | ||
| 402 | Construir una función que recorra una lista enlazada |
Construye una funcion que imprima todos los elementos de una Lista Doblemente Enlazada hacia adelante y luego en orden inverso. La... |
jsParsons | ||
| 403 | Construir una función que ordene un arreglo numérico usando Merge Sort |
Construye una funcion de mezcla que divida recursivamente un arreglo numerico y tome una lista como parametro llamada datos. Considera que... |
jsParsons | ||
| 404 | PANDAS Stats 2 | You're provided a dataframe of used cars using pandas. Select the 'type' and 'mileage' columns and use describe() to display... | jsParsons | pandas, statistics | |
| 405 | Practicar el algoritmo de ordenación rápida (Quick Sort) | Construye una funcion que implemente el algoritmo de ordenamiento rapido. La funcion de particion() ha sido predefinida y se muestra... | jsParsons | ||
| 406 | Binary search | Binary Search operates by dividing an array in half, and then determining whether or not the target value would be... | PCEX | binary search, recursion, search, search algorithms, sorting, trees | |
| 407 | Binary search Challenge | Binary Search operates by dividing an array in half, and then determining whether or not the target value would be... | PCEX | search algorithms | |
| 408 | Given a two-dimensional square array of integers, return the sum of the elements along both diagonals. | Code Completion | Given a two-dimensional square array of integers, return the sum of the elements along both diagonals. Make sure not to... | CodeCheck | Two-Dimensional Arrays, Loops Along a Row or Column |
| 409 | Shellsort Performance Proficiency Exercise | Calculation Exercise | Interactive proficiency exercise for Shellsort that focuses on the best performing diminishing increments. User selects an increment series and is... | OpenDSA | Shellsort |
| 410 | Algorithm Analysis Chapter Summary Questions: CS3 | Question, Battery | Battery of self-assessment questions on Algorithm Analysis. Suitable for a post-CS2 Data Structures and Algorithms course. | OpenDSA | Algorithm Analysis |
| 411 | Tree Timeline Slideshow | Algorithm Visualization | Slideshow showing the concept of marking a timeline for the values stored in a BST. This will be contrasted with... | OpenDSA | Trie |
| 412 | 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 | |
| 413 | 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 | |
| 414 | 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 | |
| 415 | 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 | |
| 416 | 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 | |
| 417 | 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 | |
| 418 | 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 | |
| 419 | 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 | |
| 420 | 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 | |
| 421 | 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 | |
| 422 | 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 | |
| 423 | 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 | |
| 424 | 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 | |
| 425 | 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 | |
| 426 | Relationships between classes and interfaces | Code Completion | A stamp has a descriptive name, a face value, and an issuing country. Stamps have a measurable value (the face... | CodeCheck | Object-Oriented Design |
| 427 | Swap adjacent elements in array | Code Completion | Your task is to complete a method that swaps adjacent values in an array of integers. For example, if the... | CodeCheck | Arrays and Array Lists |
| 428 | Swap first and second half of array | Code Completion | Your task is to complete a method that swaps the first and second half of an array of integers. For... | CodeCheck | Arrays and Array Lists |
| 429 | 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 |
| 430 | 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 |
| 431 | Concatenate elements backwards | Code Completion | Your task is to concatenate all elements in a linked list of strings backwards, starting at the end of the... | CodeCheck | Linear Data Structures |
| 432 | Oracle server | Code Completion | Your task is to provide an oracle server at port 7777 on the local host. The oracle protocol is very... | CodeCheck | Networking |
| 433 | Oracle client | Code Completion | Your task is to connect to the oracle server at port 7777 on the local host. The oracle protocol is... | CodeCheck | Networking |
| 434 | Synchronizing multiple summation threads | Code Completion | We will divide the work of computing the sum of all values in an array over multiple threads. Each thread... | CodeCheck | Concurrency |
| 435 | Launching multiple summation threads and using yield | Code Completion | We will divide the work of computing the sum of all values in an array over multiple threads. Each thread... | CodeCheck | Concurrency |
| 436 | Design IllegalNumberOfWheels Exception | Code Completion | The following Vehicle class throws a custom exception of type IllegalNumberOfWheels. Your task is to implement this exception class. The... | CodeCheck | Input and Output |
| 437 | Selection sort modification, placing the largest element first | Code Completion | Your task is to modify the selection sort algorithm so that you find the largest element and swap it to... | CodeCheck | Sorting and Searching |
| 438 | Modified SelectionSort | Code Completion | Your task is to modify the selection sort algorithm so that you find the largest element and swap it to... | CodeCheck | Sorting and Searching |
| 439 | Number guesser | Code Completion | Your task is to implement a number guesser that works on the principle of a binary search. In each step,... | CodeCheck | Sorting and Searching |
| 440 | Given a two-dimensional square array of integers, return the sum of the elements along both diagonals. | Code Completion | Given a two-dimensional square array of integers, return the sum of the elements along both diagonals. Make sure not to... | CodeCheck | Two-Dimensional Arrays, Loops Along a Row or Column |
| 441 | 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 | |
| 442 | 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 | |
| 443 | 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 | |
| 444 | 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 | |
| 445 | 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 | |
| 446 | 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 | |
| 447 | 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 | |
| 448 | 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 | |
| 449 | 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 | |
| 450 | PANDAS Statistics 1 | From a class of 200 students, you have a dataset of students, their section, and grades. Start by inspecting the... | PCEX | json, pandas, statistics | |
| 451 | 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 | |
| 452 | 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 | |
| 453 | 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 | |
| 454 | 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 | |
| 455 | 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 | |
| 456 | 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 | |
| 457 | 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 | |
| 458 | 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 | |
| 459 | Map word lengths to words | Code Completion | Given an array of strings, create a tree map whose keys are the string lengths and whose values are the... | CodeCheck | Tree Structures |
| 460 | Letter frequency (percentage) | Code Completion | Write a method that computes the frequency (as a percentage between 0.0 and 1.0) of each letter A-Z or a-z... | CodeCheck | Arrays and Array Lists |
| 461 | Rotate linked list by manipulating nodes | Code Completion | Your task is to add a rotate method to the LinkedList class of Section 15.2 that rotates the elements of... | CodeCheck | Linear Data Structures |
| 462 | Swap adjacent characters in a RandomAccessFile | Code Completion | Your task is to swap adjacent letters in a RandomAccessFile. Simply read two bytes, back up by two bytes, and... | CodeCheck | Advanced Input and Output |
| 463 | Insertion Sort Visualization | Algorithm Visualization, User Supplied Data | Algorithm Visualization for Insertion Sort. Includes code visualization. User can select data for the visualization. | OpenDSA | Insertion Sort |