Browse W
Alphabetical listing with fast deep pagination.
66619 items • Page 1106 / 1333
Write a program that simulates an XOR operation. The input should be a word repr
Write a program that simulates an XOR operation. The input should be a word representing a binary number (0s and 1s). Your program should XOR all the digits from left to right and…
Write a program that simulates an XOR operation. The input should be a word repr
Write a program that simulates an XOR operation. The input should be a word representing a binary number (0s and 1s). Your program should XOR all the digits from left to right and…
Write a program that simulates an adding machine. When a zero is entered it shou
Write a program that simulates an adding machine. When a zero is entered it should print the subtotal of all the numbers entered from the last zero that was entered and reset the …
Write a program that simulates an address book. Driver main method should be as
Write a program that simulates an address book. Driver main method should be as shown below. Add comments to explain functionality import java.util.ArrayList; public class LastFir…
Write a program that simulates an address book. Driver main method should be as
Write a program that simulates an address book. Driver main method should be as shown below. Add comments to explain functionality import java.util.ArrayList; public class LastFir…
Write a program that simulates an address book. This program cannot use .IOExcep
Write a program that simulates an address book. This program cannot use .IOException or Throws Driver main method should be as shown below. Add comments to explain functionality i…
Write a program that simulates an address book. This program cannot use .IOExcep
Write a program that simulates an address book. This program cannot use .IOException or Throws Driver main method should be as shown below. Add comments to explain functionality i…
Write a program that simulates an airplane race. The program will display a tabl
Write a program that simulates an airplane race. The program will display a table showing the speed in km/hour and distance in km traveled by two airplanes every second until one …
Write a program that simulates an image viewer application. The program should a
Write a program that simulates an image viewer application. The program should allow typical viewer functionalities such as viewing the current image, previous image, next image, …
Write a program that simulates calculation of building cost. This program will a
Write a program that simulates calculation of building cost. This program will ask the user for a number of inputs that you will have to determine based on the problem statement. …
Write a program that simulates inventory bins in a warehouse. Each bin holds a n
Write a program that simulates inventory bins in a warehouse. Each bin holds a number of the same type of parts. The program should use a structure that keeps the following data: …
Write a program that simulates rolling two dice ten times. Show the \"dice.\" Fo
Write a program that simulates rolling two dice ten times. Show the "dice." For each of the possible sums of two dice (2 to 12), say how many rolls with the sum occurred. Bonus: I…
Write a program that simulates rolling two dice ten times. Show the \"dice.\" Fo
Write a program that simulates rolling two dice ten times. Show the "dice." For each of the possible sums of two dice (2 to 12), say how many rolls with the sum occurred. Bonus: I…
Write a program that simulates shuffling and dealing a standard deck of 52 cards
Write a program that simulates shuffling and dealing a standard deck of 52 cards Task 1: Shuffle the 52 cards: 13 each, Ace through King, of 4 suits (hearts, spades, clubs, and di…
Write a program that simulates the FCFS (first-come, first-served), SJF (shortes
Write a program that simulates the FCFS (first-come, first-served), SJF (shortest-job-first), SRTF (shortest-remaining-time-first), RR (round-robin) and Priority CPU scheduling al…
Write a program that simulates the FIFO and LRU page-replacement algorithms. You
Write a program that simulates the FIFO and LRU page-replacement algorithms. Your program should accept four command-line arguments specifying the page size, the total virtual mem…
Write a program that simulates the Powerball lottery. Create a PowerBall class t
Write a program that simulates the Powerball lottery. Create a PowerBall class that contains: - A field for an int array of size 6. - A constructor that initializes this array wit…
Write a program that simulates the classic \"99 bottles of...\" song using JAVA
Write a program that simulates the classic "99 bottles of..." song using JAVA Your program should take as input from the user the number of bottles to be simulated and the content…
Write a program that simulates the classic \"99 bottles of...\" song. Your progr
Write a program that simulates the classic "99 bottles of..." song. Your program should take as input from the user the number of bottles to be simulated and the contents of the b…
Write a program that simulates the design shown in Figure 6.18, using a componen
Write a program that simulates the design shown in Figure 6.18, using a component reliability of 0.8 for components 1 and 2, and 0.95 for components 3 and 4. Print the estimate of…
Write a program that simulates the dialing of a phone number. A user will input
Write a program that simulates the dialing of a phone number. A user will input an 8-place number, for example: UN9-3177 (note that the hyphen is considered a digit). The rules fo…
Write a program that simulates the dialing of a phone number. here is the full r
Write a program that simulates the dialing of a phone number. here is the full rules and instructions...... http://www.cplusplus.com/forum/beginner/80246/ this question got answer…
Write a program that simulates the following model for fire growth. We assume th
Write a program that simulates the following model for fire growth. We assume that we have a rectangular grid with a fixed number of rows and columns. Initially, the grid is presu…
Write a program that simulates the functionality of a vending machine having the
Write a program that simulates the functionality of a vending machine having the following characteristics: The vending machine offers 5 products The vending machine accepts coins…
Write a program that simulates the game of craps, which is played with two dice.
Write a program that simulates the game of craps, which is played with two dice. On the first roll, the player wins if the sum of the dice is 7 or 11. The player loses if the sum …
Write a program that simulates the game of craps, which is played with two dice.
Write a program that simulates the game of craps, which is played with two dice. On the first roll, the player wins if the sum of the dice is 7 or 11. The player loses if the sum …
Write a program that simulates the gem fusions that occur in the TV show \"Steve
Write a program that simulates the gem fusions that occur in the TV show "Steven Universe." According to the show, the following fusions occurred between the good gems and/or huma…
Write a program that simulates the operation of a Halloween Vampire Hunt game. I
Write a program that simulates the operation of a Halloween Vampire Hunt game. In the game scenario, you are a vampire hunting a victim in a dark cave. The cave consists of 10 by …
Write a program that simulates the operation of a Halloween Vampire Hunt game. I
Write a program that simulates the operation of a Halloween Vampire Hunt game. In the game scenario, you are a vampire hunting a victim in a dark cave. The cave consists of 10 by …
Write a program that simulates the printing of a paycheck. Ask the program user
Write a program that simulates the printing of a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hou…
Write a program that simulates the proverbial game of Russian Roulette. The prog
Write a program that simulates the proverbial game of Russian Roulette. The program will prompt the user with how many players will be in the game where a maximum of 50 players ca…
Write a program that simulates the rolling of a pair of dice. First, write a cla
Write a program that simulates the rolling of a pair of dice. First, write a class called Dice (file Dice.java) that simulates a single dice (the singular for dice is die but in m…
Write a program that simulates the rolling of two dice. The program should call
Write a program that simulates the rolling of two dice. The program should call rand to roll the first die, and should call rand again to roll the second die. The sum of the two v…
Write a program that simulates the rolling of two dice. The program should use r
Write a program that simulates the rolling of two dice. The program should use rand() to roll the first die and should use rand() again to roll the second die. The sum of the two …
Write a program that simulates the rolling of two dice. The program should use r
Write a program that simulates the rolling of two dice. The program should use rand () to roll the first die and should use rand () again to roll the second die. The sum of the tw…
Write a program that simulates the rolling of two dice. The program should use r
Write a program that simulates the rolling of two dice. The program should use rand to roll the first die and again use it to roll the second die. The sum of the two dice should b…
Write a program that simulates the rolling of two dice. Use an Array or ArrayLis
Write a program that simulates the rolling of two dice. Use an Array or ArrayList to keep track of the number of times that each total number is thrown. In other words, keep track…
Write a program that simulates the rolling of two dice. Using rand() function ro
Write a program that simulates the rolling of two dice. Using rand() function roll the two dice one after the other. Use srand(time(0)); for setting the initial seed value. The su…
Write a program that simulates the rolling of two dice.The program should use ra
Write a program that simulates the rolling of two dice.The program should use rand to roll the first die andshould use rand again to roll the second die. Thesum of the two values …
Write a program that simulates the search and replace operation in a text editor
Write a program that simulates the search and replace operation in a text editor. The program is to have only three function calls in main. The first function prompts the user to …
Write a program that simulates the two-player game Rock, Paper, Scissors. Use a
Write a program that simulates the two-player game Rock, Paper, Scissors. Use a RandomIntGenerator to determine whether each player picks rock, paper, or scissors. The program sho…
Write a program that simulates waiting in line at the store. You must use a queu
Write a program that simulates waiting in line at the store. You must use a queue to represent the customer objects waiting in line. The customer class is provided and you must us…
Write a program that solves a Locker puzzle which says the following; The school
Write a program that solves a Locker puzzle which says the following; The school has 100 students also 100 lockers. The first day of school all lockers are closed. Once students e…
Write a program that solves a quadratic equation in all cases, including when bo
Write a program that solves a quadratic equation in all cases, including when both roots are complex numbers. For this, you need to set up the following classes: ?? Complex, which…
Write a program that solves exercises 1.3 or 1.5. If you solve both correctly, 2
Write a program that solves exercises 1.3 or 1.5. If you solve both correctly, 20 extra points will be given. For Exercise 1.3, you can use only the following C++ function or its …
Write a program that solves fifth-degree polynomial equations using Newton\'s me
Write a program that solves fifth-degree polynomial equations using Newton's method. Your program should accept coefficients for co, ci c2 C3, C4 and C5 It should then accept a us…
Write a program that solves the Subset Sum Problem for the following sets: Set A
Write a program that solves the Subset Sum Problem for the following sets: Set A: {-7, -3, -2, 5, 8} Set B: {6, 5, 3, 1, 8, 7, 2, 4, -2, -3} For each set, record the start time an…
Write a program that solves the classic “random writer” problem. This problem de
Write a program that solves the classic “random writer” problem. This problem deals with reading input files of text and examining the frequencies of characters. On the basis of t…
Write a program that solves the problem described in Chapter 4 problem number 4.
Write a program that solves the problem described in Chapter 4 problem number 4.25 from the text. A screen capture of the problem statement is given below: Hint: Binary Numbers – …
Write a program that sort its command-line arguments of 10 numbers, which are as
Write a program that sort its command-line arguments of 10 numbers, which are assumed to be integers. The first command-line argument indicate whether the sorting is in descending…