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 1032 / 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 method for the Queue class in the queue.java program (Listing 4.4) that
Write a method for the Queue class in the queue.java program (Listing 4.4) that displays the contents of the queue. Note that this does not mean simply displaying the contents of …
Write a method for the Queue class in the queue.java program (Listing 4.4) that
Write a method for the Queue class in the queue.java program (Listing 4.4) that displays the contents of the queue. Note that this does not mean simply displaying the contents of …
Write a method frequentFlier that accepts a Scanner for an input file of ticket
Write a method frequentFlier that accepts a Scanner for an input file of ticket type / mileage pairs and reports how many frequent-flier miles the person earned. • 1 frequent flye…
Write a method from the client perspective to display the contents of a stack in
Write a method from the client perspective to display the contents of a stack in the order in which they were added- one element per line. For example, if you push a, b, and c ont…
Write a method get Totals which accepts as parameters a reference to a two-dimen
Write a method get Totals which accepts as parameters a reference to a two-dimensional array of integers called table, a reference to a one-dimensional array of integers called ro…
Write a method getRowx that has 2 parameters, a two-dimensional array of int []
Write a method getRowx that has 2 parameters, a two-dimensional array of int [] [] labeled data and an int labeled row. Note that row for humans start form 1. The method will retu…
Write a method heapsort (int [] A, int nl to perform Heapsort using a maxheap on
Write a method heapsort (int [] A, int nl to perform Heapsort using a maxheap on the elements of A. You may assume that the elements to be sorted are stored in A [ 1 .. n] and tha…
Write a method highLow that accepts an integer as a parameter and returns whethe
Write a method highLow that accepts an integer as a parameter and returns whether or not the number has alternating "high" and "low" digits. 0 through 4 are "low" digits and 5 thr…
Write a method howMany that takes two parameters: anarray of integer values iArr
Write a method howMany that takes two parameters: anarray of integer values iArray and an integer valueiVal. The method returns the number of array elements thatare less than the …
Write a method in C++ that: generates a stream of random integers between 0 and
Write a method in C++ that: generates a stream of random integers between 0 and 80 for each random number, prints that many asterisks in a line keeps generating random numbers unt…
Write a method in C++ that: generates a stream of random integers between 0 and
Write a method in C++ that: generates a stream of random integers between 0 and 80 for each random number, prints that many asterisks in a line keeps generating random numbers unt…
Write a method in JAVA called stdev that returns the standard deviation of an ar
Write a method in JAVA called stdev that returns the standard deviation of an array of integers. Standard deviation is computed by taking the square root of the sum of the squares…
Write a method in JAVA called stripHtmlTags that accepts a Scanner representing
Write a method in JAVA called stripHtmlTags that accepts a Scanner representing an input file containing an HTML web page as its parameter, then reads that file and prints the fil…
Write a method in Java called stripHtmlTags that accepts a Scanner representing
Write a method in Java called stripHtmlTags that accepts a Scanner representing an input file containing an HTML web page as its parameter, then reads that file and prints the fil…
Write a method in Java called wordWrap that accepts a Scanner representing an in
Write a method in Java called wordWrap that accepts a Scanner representing an input file as its parameter and outputs each line of the file to the console, word-wrapping all lines…
Write a method in Java named coinFlip that accepts as its parameter a Scanner fo
Write a method in Java named coinFlip that accepts as its parameter a Scanner for an input file. Assume that the input file data represents results of sets of coin flips that are …
Write a method in Java named wordCount which takes a string and returns the numb
Write a method in Java named wordCount which takes a string and returns the number of words in it. You may assume that the string contains only letters, digits, punctuation, or sp…
Write a method in Java public static void swapWithNext( Node beforep ) to implem
Write a method in Java public static void swapWithNext( Node beforep ) to implement a swap between two adjacent elements by adjusting only the links (and not the data) using a sin…
Write a method in Java that takes in a List Computes its size in megabyte
Write a method in Java that takes in a List <File> Computes its size in megabytes and returns true if the size is greater than 55mb. Example signature: boolean sizeCheck(Lis…
Write a method in Java that will return a Queue containing every other number of
Write a method in Java that will return a Queue containing every other number of a given Queue. For example, if the given queue contains {12, 14, 15, 20, 25} then the returned que…
Write a method in basic MIPS assembly (no pseudo instructions) which determines
Write a method in basic MIPS assembly (no pseudo instructions) which determines whether or not an input string is a palindrome. .data String0: .asciiz "" String1: .asciiz "a" Stri…
Write a method in java named secondHalfLetters that accepts a string as its para
Write a method in java named secondHalfLetters that accepts a string as its parameter and returns an integer representing how many of letters in the string come from the second ha…
Write a method in java named secondHalfLetters that accepts a string as its para
Write a method in java named secondHalfLetters that accepts a string as its parameter and returns an integer representing how many of letters in the string come from the second ha…
Write a method in java named swearFilter(String text, String[] swear) that takes
Write a method in java named swearFilter(String text, String[] swear) that takes two parameters: a String containing some text, and an array of Strings containing a list of "swear…
Write a method in the HashIntSet class called containsAll that accepts another h
Write a method in the HashIntSet class called containsAll that accepts another hash set as a parameter and returns true if your set contains every element from the other set. For …
Write a method in the Store class called averageCustomerAge() which should retur
Write a method in the Store class called averageCustomerAge() which should return an int representing the average age of all Customer objects in the store. Test your code by appen…
Write a method in the class LinkedListRec class named search. This method r
Write a method in the class LinkedListRec <EE> class named search. This method returns true if its argument is stored as the data field of a LinkedListRec node. The method r…
Write a method in the class LinkedListRec class named search. This method ret
Write a method in the class LinkedListRec<E> class named search. This method returns true if its argument is stored as the data field of a LinkedListRec node. The method ret…
Write a method insertionSort that sorts the values from smallest value to the la
Write a method insertionSort that sorts the values from smallest value to the largest. The method should compare the two closest values, and shift them according to the value, shi…
Write a method integerPower(base, exponent) that returns the value of base^expon
Write a method integerPower(base, exponent) that returns the value of base^exponent. For example, integerPower(3, 4) returns 81. Assume that exponent is a positive nonzero integer…
Write a method intersect that takes two Maps of strings to integers as parameter
Write a method intersect that takes two Maps of strings to integers as parameters and that returns a new map whose contents are the intersection of the two. The intersection of tw…
Write a method isConsecutive that takes a stack of integers as a parameter and t
Write a method isConsecutive that takes a stack of integers as a parameter and that returns whether or not the stack contains a sequence of consecutive integers starting from the …
Write a method isEven that uses the remainder operator (%) to determine whether
Write a method isEven that uses the remainder operator (%) to determine whether an integer is even. The method should take an integer  argument and return true if the integer is e…
Write a method isEven that uses the remainder operator (%) to determine whether
Write a method isEven that uses the remainder operator (%) to determine whether an integer is even. The method should take an integer argument and return true if the integer is ev…
Write a method isExclusive that accepts a map whose keys and values are strings
Write a method isExclusive that accepts a map whose keys and values are strings as a parameter and returns true if no two keys map to the same value (and false if any two or more …
Write a method isPalindrome that accepts an array of Strings as its argument and
Write a method isPalindrome that accepts an array of Strings as its argument and returns true if that array is a palindrome (if it reads the same forwards as backwards) and false …
Write a method longestSortedSequence that returns the length of the longest sort
Write a method longestSortedSequence that returns the length of the longest sorted sequence within a list of integers. For example, if a variable called list stores the following …
Write a method manyStrings that takes an ArrayList of Strings and an integer n a
Write a method manyStrings that takes an ArrayList of Strings and an integer n as parameters and that replaces every String in the original list with n of that String.  For exampl…
Write a method manyStrings that takes an ArrayList of Strings and an integer n a
Write a method manyStrings that takes an ArrayList of Strings and an integer n as parameters and that replaces every String in the original list with n of that String. For example…
Write a method manyStrings that takes an ArrayList of Strings and an integer n a
Write a method manyStrings that takes an ArrayList of Strings and an integer n as parameters and that replaces every String in the original list with n of that String. For example…
Write a method markLength4 that takes an ArrayList of Strings as a parameter and
Write a method markLength4 that takes an ArrayList of Strings as a parameter and that places a string of four asterisks "****" in front of every string of length 4. For example, s…
Write a method move that moves a specified number of elements starting from a sp
Write a method move that moves a specified number of elements starting from a specified node to the end of the list. Your method should traverse through the linked list, list, unt…
Write a method move that moves a specified number of elements starting from a sp
Write a method move that moves a specified number of elements starting from a specified node to the end of the list. Your method should traverse through the linked list, list, unt…
Write a method named Csv ToReverseList() that a) takes in a String containing a
Write a method named Csv ToReverseList() that a) takes in a String containing a comma-separated list of words, b) builds a linear, singly-linked list of the words in reverse order…
Write a method named addAll that could be placed inside the HashIntSet class. Th
Write a method named addAll that could be placed inside the HashIntSet class. This method accepts another HashIntSet as a parameter and adds all elements from that set into the cu…
Write a method named betOnce that takes a console Scanner and an integer as para
Write a method named betOnce that takes a console Scanner and an integer as parameters and that allows the user to make a bet about the integer. The bet involves guessing whether …
Write a method named boyGirl that accepts a Scanner as a parameter. The Scanner
Write a method named boyGirl that accepts a Scanner as a parameter. The Scanner is reading its input from a file containing a series of names followed by integers. The names alter…
Write a method named closeEnough that takes 3 double parameters--a value, a targ
Write a method named closeEnough that takes 3 double parameters--a value, a target and atolerance. The method should return a boolean indicating whetherthe value is close enough t…
Write a method named coinFlip that accepts as its parameter a Scanner for an inp
Write a method named coinFlip that accepts as its parameter a Scanner for an input file. Assume that the input file data represents results of sets of coin flips that are either h…
Write a method named copyRange that takes as parameters two arrays a1 and a2, tw
Write a method named copyRange that takes as parameters two arrays a1 and a2, two starting indexes i1 and i2, and a length l, and copies the first l elements of a1 starting at ind…