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 941 / 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 Java method in the LinkedList class with the following header: public in
Write a Java method in the LinkedList class with the following header: public int[] toArray() The method should return a newly-allocated array of int values, containing all of the…
Write a Java method public static boolean sameElements(int[] a, int[] b) that ch
Write a Java method public static boolean sameElements(int[] a, int[] b) that checks whether two arrays have the same elements in some order, with the same multiplicities. For exa…
Write a Java method readFile() that reads values from a file and prints the valu
Write a Java method readFile() that reads values from a file and prints the values each in its own line on the console. In coderunner the file is hidden from you and is instead ma…
Write a Java method that removes any duplicate elements from an ArrayList of int
Write a Java method that removes any duplicate elements from an ArrayList of integers. The method has the following header(signature): public static void removeDuplicate(ArrayList…
Write a Java method that returns the largest value passed to it. Use the followi
Write a Java method that returns the largest value passed to it.     Use the following prototype:     public static int max(int val1, int val2, int val3) {       // return the lar…
Write a Java method that sums all the numbers in the major diagnol in a matrix o
Write a Java method that sums all the numbers in the major diagnol in a matrix of double values. Consider that m is a square matrix and not null write your code with the following…
Write a Java method, reverseDigit, that takes an integer as a parameter and retu
Write a Java method, reverseDigit, that takes an integer as a parameter and returns the number with its digits reversed. For example, (12345) is 54321. Also, write a program to te…
Write a Java or C program (the choice is yours) for file processing according to
Write a Java or C program (the choice is yours) for file processing according to the following rules. The program requested for this project must have a text menu like this: 0 - E…
Write a Java or C program (the choice is yours) for file/directory processing ac
Write a Java or C program (the choice is yours) for file/directory processing according to the following rules. The program requested for this project must have a text menu like t…
Write a Java program (Largest.java) that prompts the user to enter integer value
Write a Java program (Largest.java) that prompts the user to enter integer values until the user types 9999, and then prints the two largest numbers (in any order) in the input. H…
Write a Java program (Project6.java) that prints all strings defined by a regula
Write a Java program (Project6.java) that prints all strings defined by a regular expression up to a given length. Assume the alphabet = {0,1}. Prompt the user to enter a regular …
Write a Java program (using JFIex/Cup) to interpret WAE expressions. The CFG for
Write a Java program (using JFIex/Cup) to interpret WAE expressions. The CFG for WAE expressions is given below: SEMI ::= I {+ ) I (- } I {with { ) > I You will write a main pr…
Write a Java program (using JFIex/Cup) to interpret WAE expressions. The CFG for
Write a Java program (using JFIex/Cup) to interpret WAE expressions. The CFG for WAE expressions is given below: SEMI I {+ > I {- > I {with ( ) } | You will write a main pro…
Write a Java program (using JFlex/Cup) to interpret WAE expressions. The CFG for
Write a Java program (using JFlex/Cup) to interpret WAE expressions. The CFG for WAE expressions is given below: ::= SEMI ::= | (+ > | (- > | (with { } > | You will write…
Write a Java program (using JFlex/Cup) to interpret WAE expressions. The CFG for
Write a Java program (using JFlex/Cup) to interpret WAE expressions. The CFG for WAE expressions is given below: !! = SEMI :: = | {+ } | {- } | {with { } } | You will write a main…
Write a Java program (using JFlex/Cup) to interpret WAE expressions. The CFG for
Write a Java program (using JFlex/Cup) to interpret WAE expressions. The CFG for WAE expressions is given below: ::= SEMI ::= | {+ } | {- } | {with { } } | You will write a main p…
Write a Java program Factorizer.java that accepts a positive integer number as a
Write a Java program Factorizer.java that accepts a positive integer number as a command line argument (parse to an int n) and computes and prints out its prime factors, including…
Write a Java program InputTester.java that: i. Prompts the user to enter “int”,
Write a Java program InputTester.java that: i. Prompts the user to enter “int”, “double”, or “boolean” and then scans that into a String variable choice using Scanner; ii. If “int…
Write a Java program Lab42.java: implement a superclass Account with the protect
Write a Java program Lab42.java: implement a superclass Account with the protected data member double amount. Constructor takes no arguments and intializes amount to 0.00. Write t…
Write a Java program Name FlipMyCoin that simulates flipping coins and counts th
Write a Java program Name FlipMyCoin that simulates flipping coins and counts the coin flips. The program should ask the user how many times to flip the coin, then simulate flippi…
Write a Java program Name FlipMyCoin that simulates flipping coins and counts th
Write a Java program Name FlipMyCoin that simulates flipping coins and counts the coin flips. The program should ask the user how many times to flip the coin, then simulate flippi…
Write a Java program NameInput.java with the behavior shown below. The user inpu
Write a Java program NameInput.java with the behavior shown below. The user input should be after the colon. Enter first name: Sam Enter last name: Student Enter age: 18 Enter bir…
Write a Java program The Programing should include these program . While () { Ge
Write a Java program The Programing should include these program. While () { Generate a Random number (1~100); add the number into your heap tree; Modify the heap tree; Print out …
Write a Java program Write a program LotteryPrinter that picks a combination in
Write a Java program Write a program LotteryPrinter that picks a combination in a lottery. In this lottery, players can choose 6 numbers (with none repeating) between 1 and 49. Co…
Write a Java program Write a program which creates a JFrame with two JLabels in
Write a Java program Write a program which creates a JFrame with two JLabels in it. The JFrame should be colored green (using getContentPane(). setBackground()) of size 500 by 400…
Write a Java program according to the following specifications: a) The program s
Write a Java program according to the following specifications: a) The program should ask the user to enter a temperature value in Fahrenheit (your program should display some mes…
Write a Java program and methods in the order listed below. Calculate area of a
Write a Java program and methods in the order listed below. Calculate area of a triangle using methods. Declare the variables for the sides of the triangle, perimeter, and area in…
Write a Java program and pseudocode for a program that inputs a student ID, clas
Write a Java program and pseudocode for a program that inputs a student ID, classroom number, and one test score for each student in a school with 10 classrooms (numbered 1-10). E…
Write a Java program as follows. a. Declare integer 2D array with 5 rows and 5 c
Write a Java program as follows. a. Declare integer 2D array with 5 rows and 5 columns. b. Initialize the array elements to random integers between 1 and 9. c. Perform the tasks g…
Write a Java program as follows: A set (collection of elements without duplicati
Write a Java program as follows: A set (collection of elements without duplication) as a mathematical model is defined by the java interface below. public interface Set { public b…
Write a Java program at the command-line that computes the monthly payment of a
Write a Java program at the command-line that computes the monthly payment of a mortgage, given the amount of the loan (principal), the interest rate, and the number of years requ…
Write a Java program based on the design you created in Exercise 1a. Enter the p
Write a Java program based on the design you created in Exercise 1a. Enter the program, saving it as Words.java, and then execute the program. Copy the output and save it accordin…
Write a Java program based on the design you created in Exercise 1a. Enter the p
Write a Java program based on the design you created in Exercise 1a. Enter the program it is TVmodel.java to the device or location specified by your instructor. Execute the progr…
Write a Java program by String Class that asks the user to enter distance in Kil
Write a Java program by String Class that asks the user to enter distance in Kilometers. The program then computes the distance in Miles using the following formula: Miles = 0.621…
Write a Java program by String Class that asks the user to enter distance in Kil
Write a Java program by String Class that asks the user to enter distance in Kilometers. The program then computes the distance in Miles using the following formula: Miles = 0.621…
Write a Java program call FancyMyName which asks you to write a program that tes
Write a Java program call FancyMyName which asks you to write a program that tests and using thedifferent methods for working with Strings. This program will ask the user to enter…
Write a Java program called ArrayStatistics contained in 1 Java source file name
Write a Java program called ArrayStatistics contained in 1 Java source file named ArrayStatistics.java that reads a series of multi-dimensional arrays of doubles from an input fil…
Write a Java program called Assignment4.java. The program is to display question
Write a Java program called Assignment4.java. The program is to display questions and read user inputs, then calculate and print out the requested value with a proper format. The …
Write a Java program called Assignment4.java. The program is to display question
Write a Java program called Assignment4.java. The program is to display questions and read user inputs, then calculate and print out the requested value with a proper format. The …
Write a Java program called CompareBSTandAVL to determine and print the number o
Write a Java program called CompareBSTandAVL to determine and print the number of comparisons performed when inserting a set of keys into an AVL tree and into a BST. To do this, m…
Write a Java program called Conditionals contained in 1 Java source file that co
Write a Java program called Conditionals contained in 1 Java source file that contains 2 methods named is Palindrome and gradeAverage that accept a Scanner type and return String …
Write a Java program called EvoTree.java that reads in phylogenetic data from th
Write a Java program called EvoTree.java that reads in phylogenetic data from the console (System.int) and outputs the corresponding phylogenetic tree. Your EvoTree class must imp…
Write a Java program called FindFile . The program will take two command line ar
Write a Java program called FindFile. The program will take two command line arguments. Example usage: > java FindFile "C:/Program Files/Java" java.exe The output will consist …
Write a Java program called Histogram.java that displays a list of distinct char
Write a Java program called Histogram.java that displays a list of distinct characters in an input tile and the occurrence of each eharacte. Your iogram should 1ead an input file …
Write a Java program called Histogram.java that displays a list of distinct char
Write a Java program called Histogram.java that displays a list of distinct characters in an input file and the occurrence of each character. Your program should read an input fil…
Write a Java program called Histogram.java that reads five integer numbers from
Write a Java program called Histogram.java that reads five integer numbers from a user and draws horizontal and vertical bars for the numbers. In the program, you can assume that …
Write a Java program called Masterpiece contained in 1 Java source file that wil
Write a Java program called Masterpiece contained in 1 Java source file that will draw a picture of your own design onto a DrawingPanel object. For this assignment, you will have …
Write a Java program called Methods contained in 1 Java source file that contain
Write a Java program called Methods contained in 1 Java source file that contains 2 methods named calculateBalance and reverseString that take and return values and produces the o…
Write a Java program called RandomNumberAverage. This program will create a file
Write a Java program called RandomNumberAverage. This program will create a file. You should submit both the Java program and the file that is created. You will use the Random cla…
Write a Java program called \"MyCalculator.java\" which can perform the operatio
Write a Java program called "MyCalculator.java" which can perform the operations of addition, subtraction, multiplication, and division with two integers (prompt user to input the…