Showing 0-0 of 0 results
# Exercise Title Features Description Platform Keywords
1 Testing For Output Free Coding Problem, coding problem Coding Question CodeWorkout output, coding problem
2 Output Concatenated Strings Free Coding Problem, coding problem Coding Question CodeWorkout String, output, coding problem
3 Swap As and Os in RandomAccessFile Code Completion Your task is to swap all letters A with O and all letters a with o in a RandomAccessFile. Simply... CodeCheck Advanced Input and Output
4 HyperCaesar cipher Code Completion The HyperCaesar cipher is just like the Caesar cipher, except that the key for each step is the initial key... CodeCheck Advanced Input and Output
5 SuperCaesar Cipher Code Completion The SuperCaesar cipher is just like the Caesar cipher, except that the key value is incremented in each step. For... CodeCheck Advanced Input and Output
6 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
7 Reading a serialized array of objects Code Completion Your task is to read a serialized array of objects. You are given a FileInputStream, and you need to read... CodeCheck Advanced Input and Output
8 Throw IllegalArgumentException in SavingsAccount constructor Code Completion The SavingsAccount class given below is similar to that of Chapter 9. It should be illegal to construct savings accounts... CodeCheck Input and Output
9 Find longest word in file Code Completion Your task is to open a file, read all words in the file, and find the longest word in the... CodeCheck Input and Output
10 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
11 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
12 Throw IllegalArgumentException in Vehicle constructor Code Completion The Vehicle class given below is used to represent various types of self-propelled vehicles. It should be illegal to construct... CodeCheck Input and Output
13 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
14 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
15 Catching a NumberFormatException Code Completion In the following code, catch the NumberFormatException that is thrown when the argument of Integer.parseInt does not represent a number. CodeCheck Input and Output
16 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
17 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
18 Rewrite loop Free Coding Problem, coding problem Coding Question CodeWorkout String, output, syntax practice, cci, coding problem
19 Rewrite loop Free Coding Problem, coding problem Coding Question CodeWorkout String, output, syntax practice, cci, coding problem
20 Rewrite loop Free Coding Problem, coding problem Coding Question CodeWorkout String, output, syntax practice, cci, coding problem
21 Classes per day in C++ Free Coding Problem, code writing Coding Question CodeWorkout function, parameter, output, code writing
22 Output Formatting Python BehaviorExample for demonstrating Output Formatting WebEx string formatting, strings
23 Output Formatting 2 Python BehaviorExample for demonstrating Output Formatting 2 WebEx string formatting, strings
24 Output of an SLang2 Program Tracing Exercise Code trace for a recursive program in imperative language SLang2. OpenDSA Functional Programming
25 Java Output Review Questions Question, Battery CS1-level introduction to output in Java review questions. OpenDSA File Processing
26 Exception Output Question, forced choice Multiple Choice Question CodeWorkout Exception Hanlding, String, forced choice
27 Write output Free Coding Problem, coding problem Coding Question CodeWorkout class, cci, coding problem
28 Sequences Code Output Exercise Tracing Exercise User shows the sequence generated by a given piece of code. OpenDSA Parameter Passing
29 Match Code to Output Exercise Tracing Exercise User shows the output generated by a given piece of code. OpenDSA Parameter Passing
30 Simple Text Parameter Output Free Coding Problem, coding problem Coding Question CodeWorkout print, coding problem
31 Simple Text Output Free Coding Problem, coding problem Coding Question CodeWorkout print, coding problem
32 q_py_output1_es Python PredictingFinalResult for demonstrating q_py_output1_es QuizPET operators, strings, variables
33 q_py_output2_es Python PredictingFinalResult for demonstrating q_py_output2_es QuizPET strings
34 q_py_output3_es Python PredictingFinalResult for demonstrating q_py_output3_es QuizPET operators, strings, variables
35 q_py_output4_es Python PredictingFinalResult for demonstrating q_py_output4_es QuizPET
36 Print using variables Write a program that generates the output as below. Use only variables in the print-statements, so `print("text")` is not allowed... PCEX
37 String With Escape Characters (Case 1) Construct a program that prints the following output:\n"Quotes"\nSlashes\n\//\nHow '"confounding' "\" it is! PCEX strings
38 String With Escape Characters (Case 2) Construct a program that prints the following output:\n""Two Double Quotes""\n Slashes \//\nHow '"confounding' "\" it is! PCEX strings
39 String With Escape Characters (Case 3) Construct a program that prints the following output:\n"Slashes"\\//\n \\//\nHow '"confounding' "\" it is! PCEX strings
40 Matching Sequence to Code Tracing Exercise User matches code to an output sequence. OpenDSA Parameter Passing
41 Strings With Escape Characters Construct a program that prints the following output:\n"Quotes"\nSlashes\n\//\nHow '"confounding' "\" it is! PCEX string operations, strings
42 String With Escape Characters (Case 2) Construct a program that prints the following output:\n""Two Double Quotes""\n Slashes \//\nHow '"confounding' "\" it is! PCEX string operations, strings
43 String With Escape Characters (Case 3) Construct a program that prints the following output:\n"Slashes"\\//\n \\//\nHow '"confounding' "\" it is! PCEX string operations, strings
44 Receiving Input Integers Until a Certain Condition is Met (Case 1) Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... PCEX while loop
45 Receiving Input Integers Until a Certain Condition is Met (Case 2) Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... PCEX while loop
46 Receiving Input Integers Until a Certain Condition is Met (Case 3) Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... PCEX while loop
47 Receiving Input Integers Until a Certain Condition is Met (Case 4) Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... PCEX while loop
48 Turing Machine Exercise: Reverse a String Automata Construction Exercise User creates a Turing machine that, given string W, outputs WW^R. OpenDSA Turing Machine
49 Receiving Input Integers Until a Certain Condition is Met Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... PCEX while loop
50 Receiving Input Integers Until a Certain Condition is Met Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... PCEX loops, while loop
51 Receiving Input Integers Until a Certain Condition is Met (Case 2) Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... PCEX while loop
52 Receiving Input Integers Until a Certain Condition is Met (Case 3) Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... PCEX while loop
53 Receiving Input Integers Until a Certain Condition is Met (Case 4) Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... PCEX while loop
54 Receiving Input Integers Until a Certain Condition is Met (Case 2) Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... PCEX while loop
55 Receiving Input Integers Until a Certain Condition is Met (Case 3) Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... PCEX while loop
56 Receiving Input Integers Until a Certain Condition is Met (Case 4) Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user... PCEX while loop
57 Increment/Decrement Operators (Case 1) Construct a program that performs increment/decrement operations on variable a (with initial value of 4) and variable b (with initial... PCEX arithmetic operations, operators, variables
58 Increment/Decrement Operators (Case 2) Construct a program that performs increment/decrement operations on variable a (with initial value of 8) and variable b (with initial... PCEX arithmetic operations, operators, variables
59 Increment/Decrement Operators (Case 3) Construct a program that performs increment/decrement operations on variable a (with initial value of 6) and variable b (with initial... PCEX arithmetic operations, operators, variables
60 (Switch) Convert dress size number - CSEdPad Given a user-supplied US dress size (2, 4, 6, etc.), output the corresponding size label (XS, S, M, L, etc.). AnnEx switch statement
61 Construct a program that creates unique 3 digit combination Construct a program which creates and prints all three-digit combinations from numbers 1-4 such that each number appears at most... jsParsons while loop
62 Construct a program that creates unique 3 digit combinations Construct a program which creates and prints all three-digit combinations from numbers 1-4 such that each number appears at most... jsParsons
63 Increment-Decrement Operators Construct a program that performs increment/decrement operations on variable a (with initial value of 4) and variable b (with initial... PCEX arithmetic operations, arithmetic operators, operators, variables
64 Increment/Decrement Operators (Case 2) Construct a program that performs increment/decrement operations on variable a (with initial value of 8) and variable b (with initial... PCEX arithmetic operations, arithmetic operators, operators, variables
65 Increment/Decrement Operators (Case 3) Construct a program that performs increment/decrement operations on variable a (with initial value of 6) and variable b (with initial... PCEX arithmetic operations, arithmetic operators, operators, variables
66 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
67 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
68 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
69 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
70 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
71 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
72 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
73 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
74 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
75 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
76 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
77 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
78 Find vowels in string with recursive helper method Code Completion Complete the MyMethods class so that the static vowels method returns a string of the vowels of the string parameter.... CodeCheck Recursion