I want to write a program that does the following: Create two arrays of type int. Both arrays should be the same size, and the size should be given by a constant in the program so that you can change it easily.Fill the arrays with random integers. The arrays should have identical contents, with the same random numbers in both arrays. To generate random integers with a wide range of sizes, you could use (int)(Integer.MAX_VALUE * Math.random()).Sort the first array using either Selection Sort or Insertion Sort. You should add the sorting method to your program; you can copy it from Section 7.4 if you want. (It is a good idea to check that you got the sorting method correct by using it to sort a short array and printing out the result.)Time how long it takes to sort the array and print out the time.Now, sort the second (identical) array using Arrays.sort(). Again, time how long it takes, and print out the time.And i want to run the program using array sizes of 1,000, 10,000, and 100,000. Record the sort times. Add a comment to the top of the program that reports the times. (You might be interested in applying Arrays.sort() to a million-element array, but don’t try that with Selection Sort or Insertion Sort!)
How would I formulate the process of a computer program where two user inputted numbers, X and Y, add up to a total, but where the program can only add or subtract 1 from a number instead of just adding X and Y together to get the sum?
in java A year in the modern Gregorian Calendar consists of 365 days. In reality, the earth takes longer to rotate around the sun. To account for the difference in time, every 4 years, a leap year takes place. A leap year is when a year has 366 days: An extra day, February 29th. The requirements for a given year to be a leap year are:1) The year must be divisible by 42) If the year is a century year (1700, 1800, etc.), the year must be evenly divisible by 400Some example leap years are 1600, 1712, and 2016. program that takes in a year and determines whether that year is a leap year.Ex: If the input is:1712 the output is:1712 – leap year Ex: If the input is:1913 the output is:1913 – not a leap year
Computer Science Assignment Writing ServiceEach year, there are many emerging technologies and applications. What are the drawbacks -if any- of relational databases when used with the new technologies? Do you think a new database model should be proposed to keep up with the new technologies?What alternatives are there to SQL query language? Why these alternatives are not as popular as SQL?
foundation in CPS RELATED QUESTION — -1234 4567
How a typical Operations Support System (OSS) differs from the Trunk (logical entity between switches / nodes) maintenance system in data communication scenario. (Give at least one example which is not listed in the textbook and discuss its output)Hint:An operations support system (OSS) is a software component that enables a service provider to monitor, control, analyse, and manage the services on its network.Trunk maintenance system is a way to provide a maintenance in network access to many clients by sharing a set of lines or frequencies instead of providing them individually.
Using Python. A software company sells a package that retails for $99. Quantity discounts are given according to the following table:Quantity Discount 10-19 10% 20-49 20% 50-99 30% 100 or more40%Make a program that asks the user to enter the number of packages purchased. The program should then display the amount of the discount (if any) and the total amount of the purchase after the discount.
idescribe UML. Identify at least two types of UML diagrams that can be used in software development; describe when these diagrams are used. You are describing the registration process to a group of first time students at Ivy Tech. Realizing that a visual representation would be helpful in your explanation, you decide to use a UML diagram. What diagram do you choose to use? Why? Create a UML diagram Using draw.ioUse Case diagram to document the registration process. -Download the following template: SDEV120_M03DB_UML. (Note: this file be downloaded to your computer; use the draw.io (Links to an external site.) – website to open this file.) -Go to draw.io (Links to an external site.) -Click on Open Existing Diagram. -From the browse window, locate the downloaded file on your computer and open the file. -Use the template to create a diagram.
Nowadays, businesses have been trying to incorporate the capabilities of mining and analyzing non-structured data (such as texts, images, videos, etc.) into their existing business intelligence systems and practice. What are some of the most popular text analytics techniques/algorithms? How can text analytics improve Business Intelligence? How has text analytics been applied in practice?