Expert Help
Study Resources
Log in
Join
Home
Questions and Answers Archive
Java Programming
March 2022
Java Programming questions and answers in March 2022
All the given class and object below: Given txt file: SevenUp bottle 16 DrPepper can 12 CocaCola bottle 20 Lemonade bottle 12 Sprite can 12 SunTea bottle 10. 3. 1lulllrite a program named Lab24C where...
Develop a Java Program that allows the user to enter three values and display the multiplication of all values.
Develop a Java Program that allows the user to input a set of 4 marks. The program calculates and output the total.
Anyone could help with this question? I will vote for the correct answer, thank you in advance!. In this problem, you are required to create a few basic classes and set accessors and mutators for thei...
There is a RunTime issue in the bugMethod code and a compile-time issue in the bugMethod2. Could anyone help to fix it? I will vote for the correct answer, thank you in advance!. //Code: public class ...
Hi, could anyone help to define and implement the functions sum, cube and division? Thanks in advance and I will vote for the correct answer.. public class Calculator public int sumfiint numfllJr in...
how to you prompt user input for the given condition. And once user enters : t<space> 2<space> 5 how to you call my till function with the user input value 2 and 5. The class name is "f...
Program #3 (10 points), [Methods & Arrays]: Design and implement a Java method (name it getValues(...)) in a class and name it DistinctValuesYourname. The method takes a single-dimensional ar...
You are in charge of modernizing a busy 20 kilometre-long stretch of highway near a city. The speed limit is 90 km/h and residents have been complaining of excessive speeding on the highway, an...
What to do: Use the program written at: http://www.cs.sjsu.edu/~pearce/modules/lectures/j2se/multithreading/synch1.htm The BankAccount program remains the same. Use the Producer and Consum...
Thank you so much in advance. // QUESTION Finish the starter file Student.java as follows: * Finish the constructor and the 3 getter methods. * The class should have 3 variables: privat...
Develop a Java Program that allows the user to input their pay and find out 10% from it and display it as a saving.
Hi, I was wondering if a tutor would be able to assist me with something I am having trouble with. All resources and materials have been provided as well as references. This is all that needed to b...
This is Java project I was given. I really don't understand and need help doing. Please explain, if able to solve.. Project... Encryption/Decryption You have just been hired by the CIA as a programmer...
. Lab 10: Socket Programming What you will do: Implement Server and Client java programs. . Use Wireshark to capture/explore/analyze communication packets. Things that you will need to know or learn...
Thank you so much in advance, any help is much appreciated. QUESTION: Finish starter file InvalidLengthException.java. The class should extend Exception and should have exactly 1 constructor: public I...
a program, in a programming language of your choice, that repeatedly prompts a user to input a positive integer value. At any point, if the user enters 0 or a negative integer value, then the program ...
See Exercise 15.1 on page 621. Take the three card program you created in Assignment #5 and add a fourth card and a button. When the button is clicked four new cards will display. Your submission s...
need help with this question, add steps and output screenshot. Question 4 Write a programn that finds intersection, union and difference from creating two priority queues by performing set operations ...
please add screenshot of the output thanks. Question 3 Write a program to sort an array of the 10 elements and invokes a method discussed in week 08 slide 22 "GeometricObjectComparator", ...
(a) Suppose that l : intref ∈ Γ. Now, consider the following program equivalence for L1: (if !l ≤ 0 then e1 else e2); e3 ' Γ unit (if !l ≤ 0 then e1; e3 else e2; e3) (i) Explain informally but...
See Exercise 15.1 on page 621. Take the three card program you created in Assignment #5 and add a fourth card and a button. When the button is clicked four new cards will display. Your submission s...
please help . X274: Recursion Programming Exercise: Cannonballs Spherical objects, such as cannonballs, can be stacked to form a pyramid with one cannonball at the top, sitting on top of a square ...
please help . 8.5.1. Recursion Programming Exercise: Minimum of array X271: Recursion Programming Exercises: Minimum of array For function recursiveMin , write the missing part of the recursive ca...
Task The task is to write program for the kiosk at McDonald's. Requirements: 1. The program must calculate a total price for one or more of the following. a) sandwich b) combo meal c) beverag...
Write declaration of a C++ class that might be used to implement a binary tree with each node able to hold an integer. Your implementation (i.e. the class itself and those bodies which conveniently ...
Consider the following method. public static void sort(String[] arr) { for (int pass = arr.length - 1; pass >= 1; pass--) { String large = arr[0]; int index = 0; ...
Can someone help me with this Java program? . c. To test the compareTo() method, create two Tools, saw1 , and saw2 . Give them different prices and then test the compareTo() method you made, by disp...
. You have been contacted by a client who owns a garden shop. The client would like an application where the customers can choose from garden supplies ( rakes, garden hose, etc. ) , various plants (...
Add the event handlers to the code below to have it perform addition, subtraction, multiplication, division: import javafx.application.Application; import javafx.geometry.Pos; import javafx.scene.Scen...
Take the three card program you created in Assignment #5 and add a fourth card and a button. When the button is clicked four new cards will display. Hint: Take your program from Assignment #5 and m...
Produce a method that takes in an integer value and removes all occurrences of the given value from the list. Call this method: removeAll i. Parameter(s): an integer n ii. Returns: N/A iii. Ex. Assumi...
. Construct a logic diagram using only 2 gates that is equivalent to the following diagram. a X b C-
Create abstract class named BoardGame that has: a data field of type int called pieces a default constructor a two-argument constructor an abstract method named minutesToPlay() that returns a String...
Please help me with this assignment, I'm very confused about Main.java. Although I'm not sure if I coded this class right either: public class ImproperLengthException extends Exception { public Impr...
Complete method printPopcornTime(), with int parameter bagOunces, and void return type. If bagOunces is less than 2, print "Too small". If greater than 10, print "Too large". Otherwise, compute and pr...
. Assignment6 Q1) Rewrite TaskThreadDemo.java to display the output in a text area, as shown below. Concurrent Output X bbbbbbbbbbbbbbbbbbbbb bb bb bb bb bb bb bb bb bb bbbbbbbbbbbbbbbbbbbobbb...
Create class called Mountain that has data fields: name height Override the toString method so is displays output below Override the compareTo method so tallest mountain is listed first you need to ...
Need help setting up both AppointmentTest.java and AppointmentServiceTest.java . Below is my current codebase. -------------------------------------------------------Appointment.java------------------...
Create abstract class named BoardGame that has: a data field of type int called pieces a default constructor a two-argument constructor an abstract method named minutesToPlay() that returns a String...
Please help me on this assignment, I haven't gotten very far because I got stuck on the deep equality. wolf.java public class Wolf { private String title; private double weight; private float numbe...
the international class contains the following fields : A connection fee, first 3 minutes fee, additional minute fee and minutes field. This class should have the following accessor and mutator meth...
Produce a method that increases the list by a factor of n and replaces the original list with n copies of each element. Call this method: stretch i. Parameter(s): an integer n ii. Returns: N/A iii. Ex...
All codes and GUI it is so important to follow all Specifications (for example account number should be generate bythe system same type EXACTLY Like ACC001... ACC002...) I need a Mini Banking Ap...
Produce a method that doubles the size of a list by mirroring the original list and appending the mirror to the end of the list. The mirror of the list are the same values but in a reverse order. Call...
We can see that the average waiting time for the fast queue is very short (12 seconds!). And, the waiting time in the normal queue is very long (nearly 43 minutes!). The manager of supermarket will ha...
All codes and GUI it is so important to follow all Specifications I need a Mini Banking Application. we will add GUI interface to the application. The menu should be displayed on the screen. Yo...
Produce a method that takes in an integer value and removes all occurrences of the given value from the list. Call this method: removeAll i. Parameter(s): an integer n ii. Returns: N/A iii. Ex. Assumi...
***** * * * * * * ** * ** * * * ** * * * ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Firm. java Java Foundations Demonstrates polymorphism via inheritance. ** ...
. Question 24 1 pts How many times will "I love ITSC 1212!" be printed? int i = 0; int j = 0; for ( ; i < 10; it+) { System. out. println("I love ITSC 1212!"); for (; j < 5...
Produce a method that removes and returns the last value from the ArrayIntList. Call this method: removeLast i. Parameter(s): N/A ii. Returns: Integer iii. Ex. Assuming the ArrayIntList values are [60...
please write java program follow all these requirements please use class name CalculateTaxes. Submission: CalculateTaxesjava Program Description: For this assignment, you will explore basic US incom...
en the BoardGameDriver.java Download BoardGameDriver.javafile and do the following (add the classes/interface to bottom of file with BoardGameDriver the public class that contains main): Create ...
complete please all steps. Create a class which represents a Real Estate Transaction. The class will have the following state: Street Number in text notation (type String) O Street Name O City O Purch...
Open the MountainDriver.java Download MountainDriver.javafile and add the following to the file. Add your new class to the bottom of the file - do not make your class public. Create class call...
Open the ReadFromFile.java Download ReadFromFile.javafile and modify it to do the following: Create file called data.txt and write five random integers to it. If the data.txt file already exis...
Please help correct my code! The assignment: The error message: Method isMassive() does not exist, is not public, or is not in correct class. Deducting 10 points out of 10 Star.java public c...
im having trouble getting the code for and solving this problem. . Write a FreshProduce class which extends class Product. This FreshProduce class should: Have an instance data member expirationDa...
For this activity we will use the same account class we have used in the past. This time we will not used inheritance or any other menu driven options. Use the program written at: http://www.cs....
can you please assist with getting answers for the following, please write as pseudocode and give comments on how you got the answer. To help Lungi manage the blankets he has, he will need a proper re...
Q.3.1 Create a Class diagram that will show the planning for Lungi's application. Ensure that your diagram shows: 1. At least six (6) plausible classes; (30) 2. Any five (5) attributes with appropriat...
please answer these questions without writing code and give some brief explanations to each question. . Part 2: Comprehension 8: Exam Prep Instructions: Answer the following questions without writin...
. The Task: Write a program in PLP assembly that repeatedly reads the value of the switches (address: 0xf0100000) and displays a pattern on the LED array based on what switches. Each time the switch...
show workings. An unary articulation went before by the parenthesized name of a kind causes change of the worth of the articulation to the named type. project articulation: unary-expressron ( type-nam...
Hi, I am needing to transform my code to have multiple classes utilizing inheritance & polymorphism but a little stuck on how to proceed: - Deleting user manually entering in the items (tran...
Code a function to go through any list called scores, and print the average of all as above 70.
In this task, you will perform a static design for an AmaZion Warehouse Manager system. Here are the specification and the requirements: Specifications The Amazion Warehouse Manager is an invento...
JAVA Question ReadTextFile.java: import java.io.*; public class ReadTextFile { private String filename; private BufferedReader reader; public ReadTextFile(String str){ ...
. QUESTION 18 Line 4: O if (bt.current != null) O if (bt.empty() O None O if (bt.root != null) O if (!bt.empty() QUESTION 19 Line 5: O bt.current = root; O bt.find(Relative.Parent); O bt.find(Relati...
. Write the method public List<T> colLevel (int k), member of the class BT, which returns a list containing the data of nodes located at level k. We follow the convention that the root is at l...
. QUESTION 1 Question 1 Note: Assume that all the following sorting algorithms sort in increasing order. 1.C0nsider the following elements 6,1,8,3,2,0 . The order of the elements after 3 element ...
. 16. Consider the following 2-D integer array int[.] Foo = new int[5, 10]; Use a for loop to initialize each element in Foo to -1. * Your answer (D This is a required question 17. Consider the foll...
Please do not run the code just need completion on the commented part. public abstract class Account { // TODO : Java // : Extend the Account class witha new class with both features below. // : 1. Re...
Requirements: Instruction on how to do the Calculator Create a file named Calculator.java. Create for Sections in the file named: /***Variable declaration section START****/ Create 4 intege...
. Create a Java Project that exhibits the following properties. 1. Create a package in the LibraryManagement System. Name the package module2.exercise2.3.methodsAndWithoutParameters 2. Copy the foll...
C$ 551540 Quiz Name Vound Patel 1. True or false: An abstract class has to have at least one abstract method An abstract class can't have instance variables, F 2. Why the below code is showing compile...
Modify the following program by increasing the array size by 2 and populate those values: import java.util.Scanner; import java.util.Arrays; public class ZTCW7D{ private static void changeAr...
Section 1: Enter the comment with the section title as described above. develop a base class called scoreKeeper. Include a private property called gamePlayed to contain the name of the game being play...
Coding Exam 2 This project includes the following files: ● Person ● Student ● UndergradStudent ● GradStudent ● REUScholarship ● ScholarshipSpecification ● Main Note tha...
I'm having a hard time figuring out this assignment. Thank you for any assistance. (Name this program StuPreTestNumFileArr) Revise the TestNumFile program from lecture Unit3 File Input and save t...
Write at least 1 sentence recording your understanding of the following classes:. Write at least 1 sentence recording your understanding of the following classes: -> StackADT.java: Answer Queue...
For the following classes, briefly explain how to complete the listed methods. You can either use pseudocode or plain English
Write in plain words how this method works. Feel free to use pseudocode in addition to or throughout your explanation public void sortByState() { Sort.selectionSort(votes, Vote.Comparators.STATE); Sys...
Write in plain words how this method works. Feel free to use pseudocode in addition to or throughout your explanation public class Sort { //TODO selection sort public static <T extends Comparable&l...
Write in plain words how this method works. Feel free to use pseudocode in addition to or throughout your explanation public static <T extends Comparable<T>> int binarySearch(ListADT<T&...
Write in plain words how this method works. Feel free to use pseudocode in addition to or throughout your explanation public static <T extends Comparable<T>> int linearSearch(ListADT<T&...
Write in plain words how this method works. Feel free to use pseudocode in addition to or throughout your explanation public int compare(Vote o1, Vote o2) { //TODO //compare the values of whom2vote fr...
=== Run information === Scheme: weka.classifiers.trees.J48 -C 0.25 -M 25 Relation: CarsARM2 Instances: 1728 Attributes: 7 Buy Maint ...
Overview Sometimes, in the course of a development, the requirements for a project will change and adapt. When this happens, the Product Owner will need to re-prioritize the Product Backlog so that th...
You will write a .php program for each query and upload the .zip file of it on slate. (The zip file will contain 5 .php files and one main file) Requirements: Assume we have a database 'company' and i...
. Safari File Edit View History Bookmarks Develop Window Help Q Thu Mar 31 11:18 AM .. . B V < 0 learn.vccs.edu C + 88 Applications | Rapididentity N Array Design Its NOVA NVCC Spring 2022 Write ...
CODE IN JAVA. IM LEARNING ABOUT NESTED LOOP Assume the input data is structured as follows: first there is a non-negative integer specifying the number of employee timesheets to be read in. This is...
package word; import java.util.ArrayList; public class Wordto { public static void main1(String[] args) { } static char[][] board; static int board_x, board_y; static ArrayList<String> sea...
Need help on how to do this program. There is a given non-generic Box class. This class operates on objects of any type. set method, adds an object to the box. get method, which retrieves ...
I was stuck with io exceptions and read/print files. I need to write a main method that reads a file named 'test.txt" and this method should output each line to another file named "output.txt" that ad...
write a program that prompts the user for information and saves it to a text file. . Safari File Edit View History Bookmarks Develop Window Help $ ( 1) 0 Q 8 0 Thu Mar 31 8:30 AM < canvas.rose.ed...
Part 1 - Basic TypeScript App (18 marks) The aim is to develop a simple TypeScript app for a library to maintain a small database of book information while the browser window is open. You can initiali...
Task: You will create JavaScript code - embedded on an HTML file - according to the requirements listed on the next pages. Create JavaScript program. A GUI (Graphical User Interface) event-driven scre...
necessary sort m ay b e s u b tr a cted from a pointer, and afterward similar transformations and conditionsas for additi o n a p p ly . ' In the event that two pointers to objects of the equivalent t...
operator systems. Intelligent 0R Operator intelligent 0R - articulation: intelligent AND-articulation intelligent OR-articulation l I legitimate AND-articulation The H administrator bunches left-to-ri...
just for s y n ta c t ic c o n v e ni e n c e ; I t I s d I s cu ss e d in § A 8 .9. At m o s t o n e s to r a g e c l a s s s p e c I fi e r m a y b e g I v en in an assertion. Assuming that none is...
part b a construction or association might contain a pointer to an occasion of itself, in light of the fact that pointers to fragmented sorts might be proclaimed. An extremely exceptional rule applies...
Write a code fragment that calculates the product of the last row of an array. The example given in the starter code below represents a 3 x 3 square 2D array. Coding Write a java program base...
Language: Java Create a spring project with the Spring webstarter and Thymeleaf dependencies that tracks page views on your website [2] A class PageCounter that.. - stores a Integer pageCounter - has ...
I need to use this code on the image, to populate a queue with few data elements using enqueue() method. (Note: Use the code on the image only and add main method in it. Do not use any random codes...
package cp213; /** * Represents an individual term of a polynomial, containing the coefficient * (double) and exponent (integer) of a term. Implements term addition, * subtraction, multiplication, neg...
Question First, you need to design, code in Java, test and document a base class, Student. The Student class will have the following information, and all of these should be defined as Private: A. A fi...
Using OpenGL functions answer the following: Question1: (2.5 Marks) Write a program to draw a shaded circle. Question2: (2.5 Marks) Write a program to draw polygon and use glTranslatef command to move...
Can someone please code this assignment for me? I labeled all the pages from 1-7 and then gave the other txt files I was given. Thank you so much for the help. car.txt General Mills, 3, yogurt Jiffy M...
. Write a simple program that creates an ArrayList with 2000 integers in it. Don't make 2000 integers by hand please. . Then copy those 2000 integers into a LinkedList and print all the integers to ...
. . Create a new Java project. . Create a class named Main where you will have the public static void main(String args) . Create another class called PrimitiveFactory in the same package as Main . W...
Given an array of strings (like ["1", "2", "+"])] representing a postfix mathematical expression with integers, an add operator ("+") and a subtraction operator ("-"), write an algorithm to evaluate t...
Given an ArrayList of integers, use a HashSet to remove all of the duplicate integers in the array and return a new array that contains all of the numbers in intArray without duplicates.
Assignment 1: Assignment 2: Assignment 3: Could someone please help me with this? Each assignment is a SEPERATE question with SEPERATE code. Also, for Assignment 3, all 3 pictures are segments of one ...
. Problem Statement Class Write method unique that returns a sorted list of the unique values stored in the tree referenced by root. public class UniqueTreeValues { The TreeNode class will be access...
3. Create a class to test serialization class that implements serializable, it should implement the following: A static void method that serializes an object. A static void method that deserializes an...
Write a program that asks the user for their Height and Weight and calculates their BMI and prints it out. Must use a method! Height should be taken as inches a. BMI Formula: i. (Weight * 703) / (...
Here is my code and instructions: I am getting an error, please let me know how to fix it: class Bear { String name; //iniatiation int height; double speed;...
For each statement, I need help determining whether I think it is True or False and explain why. For statement one, I have to support my decision with two internet resources, cited using APA format. F...
Write JavaScript code to make AIAX requests to the web API regarding resource Students using fetch API discussed in class. The web API is hosted on https://web322.cs and the Student model has simply 3...
Using a while loop, ask the user for numbers (ints are fine) and sum the numbers until all input is greater than 100. Print out how many numbers they had to input plus the final number. a. 10 + 50 + 3...
. Make a method that takes a double as a parameter (you are asking the user for the number) and return their grade based on the value. a. 100-90 = A b. 89-80 = B c. 79-70 = C d. 69-60 = D e. Anything ...
Develop a simple program using java that implements abstraction through the use of abstract class for the problem in performing a bank transaction. . Constructor : Bank Account Transformers : voi...
Ask the user for a number, using a for loop print out "Programming is fun" equal to the input from the user. a. User inputs 3 b. Prints, "Programming is fun" 3 times
Ask the user for the temperature outside in FAHRENHEIT and then convert it to CELSIUS and print the temp in CELSIUS a. The formula for Fahrenheit to Celsius is: i. (F - 32) / 1.8 = C
For this assignment you are going to write a program that simulates what happens when a ball is thrown at a particular angle and initial velocity. You will need to Make a class called Ball that keeps ...
Assignment Description Update your "word occurrences" application. Add unit testing to the word occurrences class. Please perform this task using JUnit. _______________________________________...
Make a method that asks a user for two numbers and determines which is larger, ensure you handle cases for the numbers being equal.
Make a method that takes a double as a parameter (you are asking the user for the number) and return their grade based on the value. a. 100-90 = A b. 89-80 = B c. 79-70 = C d. 69-60 = D e. Anything be...
(1) 5. Find A+B where A - [8 5] and B -2 (2) 6. Find AB where A = 7 5land BB3 619
Make a method that takes an int as a parameter (you are asking the user for the number) and return TRUE if the number is even and FALSE if it is odd.
2d. Convert the binary number 1011001 to hexadecimal. (2) 3. Use Euclid's Algorithm to find the greatest common divisor of 192 and 648. Note: You must demonstrate that you are using Euclid's Algorithm...
(4) 2a. Convert the decimal number 145 to binary. 2b. Convert the binary number 10011010 to decimal. 2c. Convert the hexadecimal number E6 to binary.
(3) 1a. Determine the prime factorization of 756. 1b. The prime factorization of 42,000 is 24 - 3 - 53 - 7. What is the greatest common divisor of 756 and 42,000? 1c. The prime factorization of 42000 ...
Using a while loop, ask the user for numbers (ints are fine) and sum the numbers until all input is greater than 100. Print out how many numbers they had to input plus the final number. a. 10 + 50 + 3...
Using a while loop asks the user for input until they enter the 4. Whenever the user does not enter 4, simply print "Enter another number, if you enter 4 you are finished."
There will be an error with the following program, why? a. Int x = 10, double y = 15, int z; b. z = x + y;
What will x equal in the following questions based on these initial values? Int x = 10 int y = 15; a. x = x + y / 4 b. x = x / y c. x = x * y + 10
The following two statements produce the same result, true or false. a. x = x + 1; b. x = x++;
IN JAVA PLEASE! RUNNER FILE: class WorkerRunner { public static void main(String [] args) { //testing parent class System.out.println("Begin Testing the Worker Class."); Worker worker1 = new Worker("J...
1. An ArrayList can be returned by a method. Group of answer choices True False 2. As we add objects to an ArrayList, how can we be sure it enough capacity? Group of answer choices 1. Use the trimT...
Show a sample of an App named MIRR (Metro Island Rail road) using Xamarin form in which the designer should use the following a. Picker b. Date picker c. Time picker d. Slider
/** * Represents an individual term of a polynomial, containing the coefficient * (double) and exponent (integer) of a term. Implements term addition, * subtraction, multiplication, negation, and diff...
This is the link to the source code (Please don't report this question there is no way to upload files to this website): https://drive.google.com/drive/folders/1Xzbxz3a2uzKXgHsI1IQIS-0oBMO-oyl0?usp=sh...
Distinguish between the use of the logical AND operator (&&) and the logical OR operator (||) along with the comparison operators. Often in a program, we need to compare variables or objects...
How do I make an SVG polygon using HTML and then, using JAVASCRIPT, make an event listener that moves the polygon when the user clicks with the mouse.
JAVa Design a LandTract class that has two fields ( i.e. instance variables): one for the tract's length (a double),and one for the width (a double). The class shouldhave: a constructor...
Model a Bit Behaviour We want to be able to: - Given nothing, create a Bit that is initialized with a random value (random, just for fun) - Given a Bit, compute its complement (NOT) - Give...
Java code with comments if possible so I can follow along, thanks. . Description Department of Human Resources along with Department of Higher Education wants to conduct an online so ryey of...
Consider the following snippet of code. What is the value stored in depth after the statements are executed? int depth; int x, y; x=4; y=4; depth = x + y / 3;
. Question 14 Write a have statement to calculate the wilin of the formula, Averme that & A and a me inc and have been awakened values, Avian the moufit to a variable of the appropriate type. Th...
I have a code for an assignment, but the code has some errors. Please help me fix them. The assignment: Make a telephone lookup program. Read a data set of 1,000 names and telephone numbers from ...
1. In a Java Class that creates a one-dimensional integer array. The array must be populated with data provided by the user. A class description must be at the top of the source file. Validate th...
Hello, Can someone please help me with this?? I appreciate it very much, take care. . IFT370 Lab 2-3 - Design Patterns Exercise 1 Create a file named Lab2_3.cs. Place all your code in this file. Note...
Java program that converts a file format to another. It should support the following formats: - .csv (comma separated values) file: stores tabular data in plain text. Each line of the file represen...
1. A String variable named email contains the email of a person in this format:
[email protected]
Examples are
[email protected]
and
[email protected]
For simplicity, assume that ther...
there are two questions; 1. In a Java class convert a number input by the user to the equivalent Roman Numeral value. The input number must be in the range 1 to 3999 Romans had no idea about zero or n...
import java.util.Arrays; import java.util.Iterator; import java.util.NoSuchElementException; public class LinkedList> implements Iterable { private Node first, last; private int size; public Lin...
please write the code in java along with sample output before tomorrow midnight. Also please make sure the code in java can compile.. Create a class called Employee that includes three instance variab...
Write program that will determine the user's weight on another planet. The program should ask the user to enter his weight (on earth) via the keyboard and then present a menu of the other mythical pla...
You are to advise on the selection of an operating system on which networkaccessible services are to be provided. Each service must be capable of supporting a specified number of simultaneous clients ...
Can I get use case diagram with narratives on UNO CARD game Please...
modify the accounts payable application of Part 2 in week 10 to include the complete functionality of the payroll application of Part 1. The application should still process two Invoice objects, but n...
Output : Display the path that has the fewest number of potholes going from A to DESTINATION, listing the locations in the order they are visited. Example Test Case 1 I A/H - 9...
a program that takes an ArrayList of Strings named list and removes any Strings that are longer than 5 characters
a piece of code that checks if the elements in an array of char form a palindrome
/* * TreeView.java * * This helper class relies on package friendly * elements of the BinarySearchTree class so you can * print trees in a special "dot" language * that allows you to see your tr...
An example of an app named School Bank where you have to add two additional pages , add password , grid, button, padding. Also Insert Pictures.
An example of an App name MIRR (Metro Island Rail road) using Xamarin form in which the designer should use the following a. Picker b. Date picker c. Time picker d. Slider
Complete the code as required in the file. note: I want to print the names in order Codes required to complete it. package algorithms_checkpoint_3; /** * A class to implement a set of sorting al...
Fireworks Implement a particle system in Processing with the following behavior: A sound effect plays when the mouse is pressed. A number of particles (between 50 and 100) is created at the mouse pres...
in java language please I want the same output as the picture. in. Calculator X Option Enter the first number! Enter the second num.. Result: Additon Multiplication Division Subtraction exponentiat...
Implement Rectangle class in two ways we discussed in class default constructor constructor with length, width setLength setWidth getArea getPerimiter Imple...
(Sort the array!) Write the Method public static void randomFillArray(int[] inArray) Use the method randomFillArray to fill an array of any size with random numbers from 1 to 2000 Write the Method pub...
Please use JavaFX Below is the link to Books.txt file: https://drive.google.com/file/d/1rMny6kxjTFzzMdanMZ_omjPO0rIUoCm6/view?usp=sharing. Book Class Create a Book class that contains the following...
What is the output of the following loop? int s = 1; int n = 1; do { s = s + n; n++; } while (s < 10 * n); System.out.println(s); Group of answer choices 123 120 211 210
What is the output of this code snippet? String str = "ABCabc"; char ch; int i = 0; while (i < str.length()) { ch = str.charAt(i); if (Character.isLowerCase(ch)) { System....
INFO 6067 Testing for Development Lab ATDD Name: Student ID: Description - Acceptance Test Driven Development Marks - 20 Instructions Individual Assignment Read the attached requirements carefu...
. date_array problem Create a package named date_array and you will need 2 classes. Create a class called MyDate. This class only needs the following things: Instance variables for month, day and ye...
You have been hired by a travel firm. Design and implement a program to quote currency exchange rates for different currencies from different banks. The advantage is the firm's clients can get the bes...
need help with this questions. Question 1 Are there any compile errors in (a) and (b)? Briefly explain your answer ArrayList dates = new ArrayList ( ) ; ArrayList <Date> dates = dates . add (...
A program with a class called Card that represents a standard playing card. Each card has a suit and a face value. Create a driver class called DealCards that deals five random cards. Helpful Ti...
In this lab the completed program should print the numbers 0 through 10, along with their values multiplied by 2 and by 10. You should accomplish this using a for loop instead of a counter-controlled ...
In this lab, you use a counter-controlled while loop in a Java program provided for you. When completed, the program should print the numbers 0 through 10, along with their values multiplied by 2 and ...
Trying to figure out how to put Linkedlist into my program but I am having trouble understanding how to use them with user input. An explanation and videos I can watch would be great too in helping me...
Taking into account the requirements for the Term Project (LISTED BELOW IN PICTURE), propose a visual design for the webpage that will be displaying patient's information. . Webpage Develop...
public interface Scholar { public final double NONE = 0; public final double FULL = 100; public final double HALF = 50; public final double QUARTER = 25; public double Scholarship(double gpa); //ret...
in java pls . Phase 5. Blackjack Game 1. Using the classes that you developed, write an application that plays Blackjack: you against the computer. 2. Deal two cards to the player and dealer — a...
package word; import java.util.ArrayList; public class Wordto { public static void main1(String[] args) { } static char[][] board; static int board_x, board_y; static ArrayList<String> sea...
Run a recursive method that has one integer parameter (n) and returns the number of binary strings of length n that do not have two consecutive 1's. You should not use any loops in your solution. Fo...
lec.txt: . This project is about implementing a scheduling system of lectures/Labs offered at the Computer Science Department here at UCF (CSD), along with enrolling students to the lectures/labs. M...
The assignment says to create a program that gathers input from the user and writes the information out to a file (output.txt). Your main method should gather the input, calculate the average, and...
. 1 1:0 HW_Lab#7:1 3, U,Lall X HW: Create a java application that has two threads by implementing the Runnable interface (aside from the main thread) . Change the names of all threads . Change th...
3. Use AMPL to find the optimal assignment of your decision variables (produce a print out of your solutions) 2
in java please, please use comments so I can understand. also, provide screenshots of the output. . Exercise 1. Fill Array . Write a method fillArray() that takes three integers: (s, min, max), and ...
(a) Write LISP program for detecting whether a LISP interpreter treats the language as being dynamically scoped (as was the case in historical LISP) or as being statically scoped (as is the case in ...
Class c implements interface D. In each of the following indicate whether the statement is valid or invalid. expain the answer. 1.D d=newD() 2. D d=newC() 2. Class A inherits an abstract class B...
(a) For each n, e ∈ N, let ϕ (n) e denote the partial function N n*N computed by the register machine with index e using registers R1, . . . , Rn to store the n arguments and register R0 to store t...
(a) List two differences between the programming languages FORTRAN and Pascal. [4 marks] (b) List two differences between the programming languages SIMULA and Smalltalk. [4 marks] (c) Explain what is ...
Previous
1
2
3
4
5
6
7
8
9
10
Next
Previous
11
12
13
14
15
16
Next