Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Browse W

Alphabetical listing with fast deep pagination.
66619 items • Page 1160 / 1333

All 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Write a static method named countLastDigits that accepts an array of integers as
Write a static method named countLastDigits that accepts an array of integers as a parameter and examines its elements to determine how many of the integers end in 0, how many end…
Write a static method named countLastDigits that accepts an array of integers as
Write a static method named countLastDigits that accepts an array of integers as a parameter and examines its elements to determine how many of the integers end in 0, how many end…
Write a static method named countLastDigits that accepts an array of integers as
Write a static method named countLastDigits that accepts an array of integers as a parameter and examines its elements to determine how many of the integers end in 0, how many end…
Write a static method named countMoney that accepts as its parameter a Scanner f
Write a static method named countMoney that accepts as its parameter a Scanner for an input file whose data represents a person's money grouped into groups of bills. Your method s…
Write a static method named countMoney that accepts as its parameter a Scanner f
Write a static method named countMoney that accepts as its parameter a Scanner for an input file whose data represents a person's money grouped into groups of bills. Your method s…
Write a static method named evenBeforeOdd that accepts an array of integers as a
Write a static method named evenBeforeOdd that accepts an array of integers as a parameter and rearranges its elements so that all even values appear before all odds. For example,…
Write a static method named evenNumbers that accepts a Scanner from the console.
Write a static method named evenNumbers that accepts a Scanner from the console. The method should repeatedly prompt the user to enter integers until 3 consecutive even integers a…
Write a static method named favoriteLetter that accepts two parameters : a Scann
Write a static method named favoriteLetter that accepts two parameters: a Scanner from the console, and a favorite letter represented as a one-letter String. The method repeatedly…
Write a static method named findMin that returns the minimum value in an array o
Write a static method named findMin that returns the minimum value in an array of integers. For example, if a variable named list refers to an array containing the values {16, 12,…
Write a static method named fixSpacing that accepts a Scanner representing a fil
Write a static method named fixSpacing that accepts a Scanner representing a file as a parameter and writes that file's text to the console, with multiple spaces or tabs reduced t…
Write a static method named getOddInteger that accepts as its parameter a Scanne
Write a static method named getOddInteger that accepts as its parameter a Scanner for the console and repeatedly prompts the user until an odd integer (an integer not evenly divis…
Write a static method named hasMidpoint that accepts three integers as parameter
Write a static method named hasMidpoint that accepts three integers as parameters and returns true if one of the integers is the midpoint between the other two integers; that is, …
Write a static method named hasMidpoint that accepts three integers as parameter
Write a static method named hasMidpoint that accepts three integers as parameters and returns true if one of the integers is the midpoint between the other two integers; that is, …
Write a static method named isSorted that accepts an array of doubles as a param
Write a static method named isSorted that accepts an array of doubles as a parameter and returns true if the list is in sorted (nondecreasing) order and false otherwise. For examp…
Write a static method named isUnique that takes an array of integers as a parame
Write a static method named isUnique that takes an array of integers as a parameter and that returns a boolean value indicating whether or not the values in the array are unique (…
Write a static method named iterator to Dictionary with Counts. The method shoul
Write a static method named iterator to Dictionary with Counts. The method should accept one parameter. An Iterator for objects of generic type T. It should return an Array Dictio…
Write a static method named joiner that accepts two arrays of strings a1 and a2
Write a static method named joiner that accepts two arrays of strings a1 and a2 as parameters and returns a new array a3 such that each element of a3 at each index i stores a new …
Write a static method named joiner that accepts two arrays of strings a1 and a2
Write a static method named joiner that accepts two arrays of strings a1 and a2 as parameters and returns a new array a3 such that each element of a3 at each index i stores a new …
Write a static method named largerDigits that accepts two integer parameters a a
Write a static method named largerDigits that accepts two integer parameters a and b and returns a new integer c where each digit of c gets its value from the larger of a's and b'…
Write a static method named longer that accepts two arrays of strings a1 and a2
Write a static method named longer that accepts two arrays of strings a1 and a2 as parameters and returns a new array a3 such that each element of a3 at each index i stores whiche…
Write a static method named matchIndex that accepts as it parameters a Scnner fo
Write a static method named matchIndex that accepts as it parameters a Scnner for an input file. Your method should compare the first line of the file (target lin) to every other …
Write a static method named matchIndex that accepts as its parameter a Scanner f
Write a static method named matchIndex that accepts as its parameter a Scanner for an input file. Your method should compare each neighboring pair of lines (the first and second l…
Write a static method named matchIndex that accepts as its parameter a Scanner f
Write a static method named matchIndex that accepts as its parameter a Scanner for an input file. Your method should compare the first line of the file (target line) to every othe…
Write a static method named matchIndex that accepts as its parameter a Scanner f
Write a static method named matchIndex that accepts as its parameter a Scanner for an input file. Your method should compare the first line of the file (target line) to every othe…
Write a static method named matrixAverages that accepts a two-dimensional array
Write a static method named matrixAverages that accepts a two-dimensional array of integers as a parameter. The method averages each row and column of the matrix and prints out ea…
Write a static method named mergeLists that takes two ArrayLists of Integers as
Write a static method named mergeLists that takes two ArrayLists of Integers as parameters and returns a new ArrayList of Integers that contain the elements of the original lists …
Write a static method named mergeLists that takes two ArrayLists of Integers as
Write a static method named mergeLists that takes two ArrayLists of Integers as parameters and returns a new ArrayList of Integers that contain the elements of the original lists …
Write a static method named mergeMapsToMultiMap that takes two Maps using String
Write a static method named mergeMapsToMultiMap that takes two Maps using Strings as keys and Integers as values. The method should return a map that uses Strings as keys and has …
Write a static method named mergeSortedLists that takes two ArrayLists of Intege
Write a static method named mergeSortedLists that takes two ArrayLists of Integers that are in increasing order and returns a new ArrayList of Integers that contains the elements …
Write a static method named minimumArea that accepts an array of Point objects a
Write a static method named minimumArea that accepts an array of Point objects as a parameter, and returns a double; the area of the smallest rectangle that could contain all of t…
Write a static method named minimumArea that accepts an array of Point objects a
Write a static method named minimumArea that accepts an array of Point objects as a parameter, and returns a double; the area of the smallest rectangle that could contain all of t…
Write a static method named mostBowlsFull, to be added to the Bowl class, which
Write a static method named mostBowlsFull, to be added to the Bowl class, which is passed an array of Bowl objects, and returns true if a strict majority of the Bowls in the array…
Write a static method named mostBowlsFull, to be added to the Bowl class, which
Write a static method named mostBowlsFull, to be added to the Bowl class, which is passed an array of Bowl objects, and returns true if a strict majority of the Bowls in the array…
Write a static method named negativeSum that accepts a string of text as a param
Write a static method named negativeSum that accepts a string of text as a parameter. Assume that the text is a series of integers, and determine whether or not the cumulative sum…
Write a static method named negativeSum() that accepts a string of text as a par
Write a static method named negativeSum() that accepts a string of text as a parameter from the standard console input stream.  Assume that the text is a series of integers, and d…
Write a static method named negativeSum() that accepts a string of text as a par
Write a static method named negativeSum() that accepts a string of text as a parameter from the standard console input stream. Assume that the text is a series of integers, and de…
Write a static method named printDuplicates that accepts as its parameter a Scan
Write a static method named printDuplicates that accepts as its parameter a Scanner for an input file containing a series of lines. Your method should examine each line looking fo…
Write a static method named printDuplicates that accepts as its parameter a Scan
Write a static method named printDuplicates that accepts as its parameter a Scanner for an input file containing a series of lines. Your method should examine each line looking fo…
Write a static method named printStrings that takes as a parameter a Scanner hol
Write a static method named printStrings that takes as a parameter a Scanner holding a String that contains a sequence of integer/string pairs and that prints to System.out one li…
Write a static method named quads that repeatedlyflips a coin until 4 heads in a
Write a static method named quads that repeatedlyflips a coin until 4 heads in a row are seen. You shoulduse a Random objectto give an equal chance to a head or a tail appearing. …
Write a static method named range that takes an array of integers as a parameter
Write a static method named range that takes an array of integers as a parameter and returns the range of values contained in the array. The range of an array is defined to be one…
Write a static method named range that takes an array of integers as a parameter
Write a static method named range that takes an array of integers as a parameter and returns the range of values contained in the array. The range of an array is defined to be one…
Write a static method named showTwos that shows the factors of 2 in a given inte
Write a static method named showTwos that shows the factors of 2 in a given integer. For example, the following calls produce the following output: Call                           …
Write a static method named textCount that takes a Scanner representing a file a
Write a static method named textCount that takes a Scanner representing a file as a parameter and that reports various statistics about the file. In particular, your method should…
Write a static method named textCount that takes a Scanner representing a file a
Write a static method named textCount that takes a Scanner representing a file as a parameter, and that reports various statistics about the file. In particular, your method shoul…
Write a static method named vowelCount that accepts a String as a parameter and
Write a static method named vowelCount that accepts a String as a parameter and produces and returns an array of integers representing the counts of each vowel in the String. The …
Write a static method of the BTNode class to meet the following specification Bt
Write a static method of the BTNode class to meet the following specification BtNode has instance variables data, left, right a) public static void increase(BTNode<Integer>r…
Write a static method printNumber that takes an array of integers that represent
Write a static method printNumber that takes an array of integers that represent the digits of a large integer and that prints the integer with commas between every 3 digits start…
Write a static method printStrings that takes as a parameter a Scanner holding a
Write a static method printStrings that takes as a parameter a Scanner holding a sequence of integer/String pairs and that prints to System.out one line of output for each pair wi…
Write a static method processFile that takes a Scanner containing an input file
Write a static method processFile that takes a Scanner containing an input file as a parameter and that prints the output file with certain lines underlined. The lines to be under…