Browse All
Alphabetical listing with fast deep pagination.
1197283 items • Page 23852 / 23946
write a function truncate for a queue data structure. The element in the queue c
write a function truncate for a queue data structure. The element in the queue contains an Int-type variable called x. the truncate function starts from the first element and sear…
write a function which takes one string variable (not C string) as input and mod
write a function which takes one string variable (not C string) as input and modifies the existing string. try to find "Ohio" or "OHIO" in the input string. if the input string co…
write a function which uses Newton\'s Method to find the root of a function. Use
write a function which uses Newton's Method to find the root of a function. Use this new function to find the root of the function f(x) = x3 + 3x + 1 with an initial guess x0 = -2…
write a function which will return the value of the largest threeintegers passed
write a function which will return the value of the largest threeintegers passed to it. Note: the functions should not do any input or output (noscanf or printf). The prototype of…
write a function with the following header: function In iterations, rootl my roo
write a function with the following header: function In iterations, rootl my root newtonra df, ro, tolerance) phson(f, where: -fis a function handle that represents a real-valued …
write a function with this prototype: string HighestCountWordlnFile(const char *
write a function with this prototype: string HighestCountWordlnFile(const char * filename); This function is meant to process a file containing lines that specify words and their …
write a function, createArray, that takes an integer parameter and returns a poi
write a function, createArray, that takes an integer parameter and returns a pointer to an array whose size is specified by the function's parameter. Its signature is int* createA…
write a functioun called GetIntegerIn Range. this function takes one argument: a
write a functioun called GetIntegerIn Range. this function takes one argument: an integer that represents an upper bound, the largest possible value that user will be asked to ent…
write a funn ion called aeries to do E 1 2\" functi go trom and The ingut argume
write a funn ion called aeries to do E 1 2" functi go trom and The ingut argument infinity will be the 1 ion will be the value for n and the vector of that was ohould be di aplaye…
write a funtion to reverse queue in both array and link list Add void ReverseQue
write a funtion to reverse queue in both array and link list Add void ReverseQueue(queueADT queue); Implement this function under both array and list representations. That is, add…
write a general formula to descirbe each variation v varies directly with t; v=1
write a general formula to descirbe each variation v varies directly with t; v=16 when t =2 V varies directly with x^3; V = 36(pi) when x=3 y varies inversley with (square rootx);…
write a general function, in MATLAB, to fit a sinusoidal curve of the type y = a
write a general function, in MATLAB, to fit a sinusoidal curve of the type y = a0 + a1 sin(t) + a2 cos(t) to a data set (t,y) with the following format: function [A,r] = fourier(t…
write a generic list class called GenericList. The class should be able to hold
write a generic list class called GenericList. The class should be able to hold up to 100 of any type item. The class should have the following members: 1- a simple constructor 2-…
write a grading program on terminal with the result for a class with the followi
write a grading program on terminal with the result for a class with the following grading policies. 1. there are 2 quizzes, each graded on the basis of 10 points. 2. there is 1 m…
write a guessing game in which the computer picks a random integer between 1 and
write a guessing game in which the computer picks a random integer between 1 and 100 (inclusive), and you have to guess what it is. the game should follow these guidelines: 1. inc…
write a heap implementation of integer values, which highest priority element is
write a heap implementation of integer values, which highest priority element is the one with the smallest key value. The implementation uses a minimum heap. You need to modify th…
write a java class definition as per the requirements given below: assume that t
write a java class definition as per the requirements given below: assume that the Company class is already defined. this class has instance variables name and year and a construc…
write a java code Design a class that stores information about products that are
write a java code Design a class that stores information about products that are sold in a store. Write a class named Item that has (at least) the following member variables: name…
write a java code Part I: Write an interface called Calculatable that has a meth
write a java code Part I: Write an interface called Calculatable that has a method called calculate that accepts an integer as a parameter and returns a double based on some calcu…
write a java code program with a loop that lets the user enter a series of posit
write a java code program with a loop that lets the user enter a series of positive integers. The user should enter any negative value to signal the end of the series. After all t…
write a java code: You will implement several new player classes that implement
write a java code: You will implement several new player classes that implement the two strategies below for players and modify Crazy8s to visualize game play .You must ensure tha…
write a java method [public static ArrayList merge (ArrayList a, ArrayList b)] t
write a java method [public static ArrayList merge (ArrayList a, ArrayList b)] that merges two array lists, alternating elements from both array lists. if one array list is shorte…
write a java method named sqrt() that will calculate the square root of a positi
write a java method named sqrt() that will calculate the square root of a positive double to within a specified level of tolerance. The signature of the method should be: public s…
write a java program (beginner) output and comment is sooo imp- guess a number •
write a java program (beginner) output and comment is sooo imp- guess a number • The system will generate a random number between 0 and 100 int number = (int)(Math.random() * 101)…
write a java program (name it RoundOfGolf.java) that will create an array of 18
write a java program (name it RoundOfGolf.java) that will create an array of 18 instances of the class GolfHole. Use the information from the score …
write a java program (name it RoundOfGolf.java) that will create an array of 18
write a java program (name it RoundOfGolf.java) that will create an array of 18 instances of the class GolfHole. Use the information from the score …
write a java program . Create a class named Point. It should have instance varia
write a java program . Create a class named Point. It should have instance variables x and y of type double whose values define the location of a point on the x-y plane. Include a…
write a java program a class named textFile. an object of type textFile counts c
write a java program a class named textFile. an object of type textFile counts characters, and lines in a text file. The text file is assumed to encode each character in a single …
write a java program for a computer game in which 21 match sticks are there,user
write a java program for a computer game in which 21 match sticks are there,user should start the game and at the end computer should always be the winner?
write a java program for the following In this project, based on the discussion
write a java program for the following In this project, based on the discussion in Section 4.5(Text) you will implement the selection problem to find the kth smallest element in a…
write a java program for the following assignment. Assignment: Use threads to im
write a java program for the following assignment. Assignment: Use threads to implement Peterson's algorithm for mutual exclusion. Demonstrate that the algorithm works using two t…
write a java program for the following question: A graph is bipartite if its ver
write a java program for the following question: A graph is bipartite if its vertices can be divided into two disjoint sets such that no edges exist between vertices in the same s…
write a java program for the following question: Given a square matrix with the
write a java program for the following question: Given a square matrix with the elements 0 and 1, write a program to find a maximum square submatrix whose elements are all 1s. The…
write a java program for the following question: Knight\'s tour problem Consider
write a java program for the following question: Knight's tour problem Consider a NxN chessboard, with the Knight moving according to Chess rules. When it moves, it can move to a …
write a java program for the following question: Write a method printSquares tha
write a java program for the following question: Write a method printSquares that has an integer parameter n, and prints the squares of the integers from 1 to n, separated by comm…
write a java program for uniprocessor scheduling for the following, Uniprocessor
write a java program for uniprocessor scheduling for the following, Uniprocessor Policies – First-Come-First-Served (FCFS) – Round Robin (RR) – Shortest Process Next (SPN) – Short…
write a java program named ArrayList.java that create/build the ArrayList data S
write a java program named ArrayList.java that create/build the ArrayList data Structure that exist in the java library. The class must be written to accept any type of Objects. T…
write a java program named ConvertDate that converts a date entered by the user
write a java program named ConvertDate that converts a date entered by the user into another form. The users inout will have the form month day, year. The month will be one of the…
write a java program named matrix.java that multiplies 2 matrices.( write alot o
write a java program named matrix.java that multiplies 2 matrices.( write alot of comments explaining please , I'm also comparing with my own code) 1. The program should promp…
write a java program that (3) Write a class Compare3 that provides a static meth
write a java program that (3) Write a class Compare3 that provides a static method largest. Method largest should take three Comparable parameters and return the largest of the th…
write a java program that calculates the running time of variouos sorting algori
write a java program that calculates the running time of variouos sorting algorithms like heap sort, in-place quick sort and merge sort for 10,000 randomly generated integer no. S…
write a java program that can make change . Your program shouldtake two numbers
write a java program that can make change . Your program shouldtake two numbers as input , one that is a monetary amount chargedand the other that is a monetary amount given .It s…
write a java program that cotains the following requirements: The game of Life (
write a java program that cotains the following requirements: The game of Life (not the board game) is intended to model life in a society of organisms. Given a rectangular grid o…
write a java program that does the following: I. prompts the user for a phrase.
write a java program that does the following: I. prompts the user for a phrase. for example " the quick brown fox jumped obver the lazy dog." II. print the pharse backwards. for e…
write a java program that first defines three string object called firstName,mid
write a java program that first defines three string object called firstName,middleName, lastName which contain your own first, middle and last name separately. if you do not have…
write a java program that prompts the user to enter a number, its base, and base
write a java program that prompts the user to enter a number, its base, and base to be converted to reads these inputs from the keyboard and stores the number in a double "num", b…
write a java program that uses an array to count and report the frequency of occ
write a java program that uses an array to count and report the frequency of occurrence of each individual letter in the following text (can code this into program as a String): F…
write a java program that will input student name, student #, prelim grade, midt
write a java program that will input student name, student #, prelim grade, midterm grade, pre-finals and final grade, then will compute for the average, AVE = prelim + midterm + …
write a java program tht accepts 2 binary numbs. of the same length and adds the
write a java program tht accepts 2 binary numbs. of the same length and adds them together. binary sum of the same input numbs. is printed as are the decimal values of the input a…
write a java program to prefrom binary addtion and subtraction with 8-bit singed
write a java program to prefrom binary addtion and subtraction with 8-bit singed binary numbers. you are to write a menu driven program that gives the user three choices, namely, …