Transcribed Image Text from this Question1. For each of the arrays below show a visual representation of running both merge sort and quick sort. You should draw merge-sort-trees and quick-sort-trees for each, showing both the input array being broken down into smaller parts as well as being recombined into a sorted array. When applying the quick-sort algorithm, you should choose the last index value as your pivot value. A) 4 7 2 9 6 31 8 B) 7 8 1 4 6 5 4 N C) 95 37 2 5 4 6 2. Starting with the following binary search tree, draw a new tree representation after each of the following method calls. You should treat these method calls as cumulative. 11 5 21 8 15 33 N 1 4 6 9 12 19 27 39 tree:put (10); tree:put (14); tree remove (33); free:Rut (23); tree, remove (11); WWW
Write A Shell Script To Develop An App For The “Toronto Bank” Which Has
Write a shell script to develop an app for the “Toronto bank” which has the proposal to offer loans to the customers, you are assigned the job to execute the following tasks: Accept customer name, Account no, loan_amount. If loan_amount exceeds $5000 then the Interest = 10 % and tax = 3%. If the loan_amount is in between $5000 to $4000 then the Interest = 8%
The Task For Composite Experiments On Database System 1. Objective: The Objective Of This
Transcribed Image Text from this QuestionThe Task for Composite Experiments on Database System 1. Objective: The objective of this course is learning to solve the practical problem using the knowledge on database system. From this process, the student can exercise how to design the database for a practical case, how to create the database including tables, views, primary keys etc, how to use SQL commands to complete querying tasks and other tasks, and how to use a programming language to communicate with the database. This experiment will train the skills of database designing. SQL commands and database programming 2. Project Description There is an administrator who manages student-learning information of the college. The administrator needs to deal with much querying about students’ information. Of course, it is very boring. So he wants to design a database to help him to complete the work efficiently and conveniently. According to his daily works, he lists his requirement as follows: 1. The college has some different majors, for example, computer science, software engineering, digital media, network engineering, etc. Each major has several classes and cach class has about 30 students 2. The information about a student involves student ID, name, sex, age, hometown, province, total credits, etc. 3. The information about the course involves course ID, course name, major, credits, etc. One course often has several sections, and one section is taught by one teacher in a semester. The information about the section involves course ID, section ID, semester, year, teaching location, etc. 4. The information about the teacher involves teacher ID, name, sex, age, title, contact phone, office, email, etc. 5. The information about a student’s marks involves student ID, course ID, semester, course marks, etc. 6. Note that: One major has more than one class. One course in a semester needs more than one teacher. And one teacher can take more than one course in a semester 7. Functions and querying to be done a) To list one student’s marks of all courses grouping by semester; b) To list all students’ marks about some course in the ascending or decreasing order. And each querying only lists the marks of students in one class, c) To compute the average marks of each course. And the average marks can be grouped by class; d) To count the number of courses that one student has learned, and compute his total credits: e) To query marks of one student about some course; f) To query courses that are taught by some teacher in one semester; g) To query courses that are taken by some class in one semester, h) Other possible functions and querying that you can imagine. And extra functions and querying will give you extra marks. 8. If possible, please use one advanced programming language (C/C , Java, C#. ete) to develop a GUI program to realize all functions and querying above-mentioned. And it will give your additional marks. 3. Requirement 3. Requirement 1) Database: Microsoft’s SQL Server and Oracle’s MySQL are both fine. You can select one to complete your experiment. 2) Rules: You must create a database and name it with your name. Different students must have different database names 3) Working: You need to create all tables, attributes, domains, primary and foreign keys, constraints, views and indexes with SQL DDL sentences, do querying with SOL DML sentences 4) Experiment Report: Your experiment report must include several parts as follows: • Cover Sheet: One cover sheet including the title of the report, your name and student ID, and submit date, cte; • Project Introduction and Requirement: Make a detailed description about this project. And you can add the above content into your description • Project Design Design your database with E-R model. You need to draw all E-R models in this project. And list all entities, relationships, and their attributes, mapping cardinalities. At the same time, cach E-R model nats an explanation with your own words • Project Realization: Write down all SQL sentences with an explanation, and attach its snapshot picture, that is, paste the picture of the SQL querying window • Project Conclusion: Give a summary of your working 5) Report Writing Software: You’d better write your report with Microsoft Word software 6) Submission: You’d better translate the word report to the pdf one by using Acrobat software, and send to my emailbox (firstname.lastname@example.org) 7) Deadline: The end of July, i.e., July 31, 2020 8) Notation: No plagiarism is permited.
(1) Explain How Do You Deal With In The Model On Excel In Detail.
(1) Explain how do you deal with in the model on Excel in detail. ◼ Create a text box on this sheet and answer the following questions. ◼ (2) Explain your new solution with the prohibited route of Des Moines – Chicago! ◼ (3) What is your decision as a supply chain manager to complete your task under the emergency of spring flood between Des Moines and Chicago
Need Help With 1. Write A Generic Interface Matchable. 2. Create A Generic Class
Computer Science Assignment Writing ServiceTranscribed Image Text from this QuestionOVERVIEW: 1. Write a generic interface Matchable. 2. Create a generic class MatchableContainer. 3. Create a generic class MatchableImpl that implements Matchable. 4. Write a JUnit tester for Queue data structure. 5. Download and use a tester module to ensure that your programs are correct. The programs can also be tested using Dr Java’s interactive window. 6. Prepare the assignment for submission and submit it This is a lab exercise on which collaboration (including discussing the solution on Piazza or searching online sources) is explicitly permitted. It is still in your interest to understand and prepare your final submission yourself. OVERVIEW The GMU housing administraion office needs to develop a systematic way of matching students for dormitory assignments. The office wants to match students based on different parameters such as hobbies, interests, major/minor subject, political affliation, age, etc. You are tasked with the development of a computer program that can make this matching process easy. The following interface and class help you develop the program generically . MATCHABLECONTAINER CLASS Now let’s define a class called MatchableContainer that will represent the objects to be matched. The abould be donaria in anabowo that it containeolamento afcome alone tuno MATCHABLECONTAINER CLASS Now let’s define a class called MatchableContainer that will represent the objects to be matched. The MatchableContainer should be generic in such a way that it contains elements of some class type. The MatchableContainer class has an attribute called elements, which is an ArrayList that stores the matchable attributes, together with public get and set methods. The elements in the MatchableContainer are distinct objects by their own right. The objects that make up the MatchableContainer (also known as the elements or members) can be anything such as numbers, people, countries, letters of the alphabet, other MatchableContainer data structures, and so on. Note that the class should be generic. The matchableContainer class must support the following operations: • A default constructor. • A constructor that accepts an argument to initilaize the elements. • set and get methods for the elements attribute. • A toString method that returns the string representation of the matching attributes in the class. For example, if the objects in the class are politics, physics, chemistry, the method returns[politics, physics, chemistry] . Note the white space. Use the method signature: public String toString() MATCHABLE INTERFACE MATCHABLE INTERFACE Define a generic interface called Matchable. This interface helps to detect a degree of similarity between any MatchableContainer objects based on some parameters. A matchable object can compare different types of things, such as hobbies, interests, numerical attributes, etc. Thus, the interface should be generic. For example, two students can be mathcable for dormitory matching program based on the list of interests or two users can be matchable in a social networking app for friend suggestion based on a list of friends, or two houses can be mathcable for a real state managment app based on a list of attributes. The matchable interface has the following behaviours: . public combinedMatches (firstData, secondData); returns a new MatchableContainer object containing the combined elements of the two parameters, which are both MatchableContainer. For example, if the firstData has reading, cooking, hiking and secondData has cooking, running, the output will be an object that contains reading, cooking, hiking, and running as its four elements. (Note: the data type of the return type as well as the parameter of the method has been purposely omitted – be sure to include it in your implementation) • public commonMatches (firstData, secondData); returns a new object containing all common elements of the two MatchableContainer objects. For example, if the firstData object has reading, cooking, hiking while secondData has cooking, running, the output will be an object that contains only cooking. four elements. (Note: the data type of the return type as well as the parameter of the method has been purposely omitted – be sure to include it in your implementation) • public commonMatches (firstData, secondData); returns a new object containing all common elements of the two MatchableContainer objects. For example, if the firstData object has reading, cooking, hiking while secondData has cooking, running, the output will be an object that contains only cooking. • public onlyFirst (firstData , secondData, element) : returns true if the specified element is only in the firstData MatchableContainer object but not in secondData. Returns false if it is not in firstData object or if it is in secondData. • public int cardinality (data) : returns the number of elements in the data MatchableContainer object. • public boolean equalMatches (firstData, secondData) : returns true if the two MatchableContainer are the same (the number of elements in both are the same, and every element in each is also in the other). • public boolean nonMatches (firstData, secondData) : returns true if the firstData object has nothing in common with the secondData . For example, if the firstData object has 4, 2 ,6 as elements, and the secondData has 8, 10, 12, then the method returns true. MATCHABLEMPL CLASS Define a class named MatchableImpl that implements the Matchable interface.
Overview You Are A Part Of A Team That Will Be Completing At A
Transcribed Image Text from this QuestionOverview You are a part of a team that will be completing at a Catapult Contest. Your team will be attacking the castle. The goal is to launch the catapult over the wall surrounding the castle but not go beyond the far castle wall. To help your team to victory, you need to write a program to calculate the trajectory of a projectile based on launch angles and launch velocities. It will create a matrix of all of the possible trajectories as well as the trajectories to help your team hit the target range. Review the information about calculating projectile trajectories in the Background Information section below. Look up the toRadians() and the sin() methods in the Java API for the Math class. Remember, the sin() method parameter must be in radians so the degrees given must converted to radians. Take time to plan your project. The program must use an OOP design Specifications Rules The program will create a Catapult object that will create a searchable matrix of trajectories for the given speeds and angles. The object should store these values in a 2D array. Given a target range of minimum and maximum distances, representing the near and far castle walls, the program should search the calculated trajectories and return a list of speed and angle combinations that can be used by your team to successfully launch the catapult. The output should be in an easy to read human readable format. If there are no speed and angle pairs in the current set that will accomplish the goal in the current matrix, the program should also graciously tell the users that they do not have a viable launch. The program will have a number of potential sets of speeds and angles. The program should be able to run the simulation as many times as indicated by the user (found in the text file). Input will be done from a text file rather than keyboard input. The program will take input from a text file containing the following information on each line: Number of sets Florida Internationa… Si Number of sets Number of speeds, followed by a list of speeds Number of angles, followed by a list of angles Minimum trajectory Maximum trajectory **speeds, angles, maximum and minimum repeated for the specified number of sets Download the test data file linked from the same section as the assignment. Sample Text File contents: Number of Sets 2 Number of Speedy 5 10 20 30 40 50 Speed Elements Number of Angle 8 10 20 30 40 50 60 70 80 Ang Elements Max and Min Values 100 300 8 10 15 20 25 30 35 40 45 8 10 15 20 25 30 35 40 45 10 1000 Expected Output: When your program runs correctly, the program should output a table of possible distance values and under the table there should be a list of the speed and angle pairs that match. Note, there will be a series of projectile tables in the output – one for each of the tests. When the program is run, there should be a projectile table and a set of best trajectory values for each set. If there are 7 sets of data, there should be 7 tables in the output. The image below is an example for 1 set of data. The format of the output table should resemble the following, but with the appropriate data for each row and column. uw is an example for 1 set of data. The format of the output table should resemble the following, but with the appropriate data for each row and column Le Tale SOR J. 23 1. 3. 2. 1. 2. 4.8 5444 S. 11. 37. a. L. 4.4 T. 12. 15 2.1 8.37 L. 5. 11.92 11. 24. 38.4 is 48 3.06 S. 32.24 . 2754 ET 14. 12. 11.11 . 48.3 BAR 6. 24.12 9.504 . 54. . 1. 58.14 6. Sy west IL 12 15 17 18 19 36 13 15 486 Java Requirements The program must utilize single dimensional arrays to store the speeds and angles. At a minimum, you will need one 2D array to store the values for the trajectories. How you define the logic and utilize these arrays is up to you The program must be created from an object-oriented perspective. Most of the work should be completed in the object class. The program must use methods appropriately. Background Information: Trajectory of a Projectile The distance (R) of a projectile can easily be calculated using the following simple algebraic formula, if a few complicating factors are ignored (e.g., wind speed, drag coefficient, etc.). ve sin(20) R= g where, Vo is the launch speed, O is the launch angle, and g is the acceleration due to gravity Suppose you could launch a projectile at a speed of 40 meters/second (about 90 miles per hour) and a launch angle of 25 degrees. How far down range (R) in meters could the projectile be hurled? The solution for finding the down range distance of a projectile launched at a speed of 40 m/s and a launch angle of 25° is shown here. Remember, that Angles are giving in degrees, so the degrees must first be converted to radians. Be sure that you can work through the algebra and solve the equation with a calculator. Soon, you will turn it into an arithmetic expression in Java vsin) R = g 40m/s’ sin(2-25°) R= 9.8m/s 1600m R (0.7660) 9.8m R = 125m s? S In programming pseudocode, the calculation would look something like this: result current speed raised to the power of the sin of the angle in radians 2/gravitational constant Be sure that the gravitational constant in the correct form for the unit of measure you are using. Work out several answers with pencil, paper, and calculator first, before attempting to write the program Pay close attention to units. The final units should be in meters.
Can Someone Help Me With Jave Net Beans IDE In This Project You Will
Can someone help me with jave net beans IDE In this project you will be doing the following: Create a NetBeans project named lab10 and ensure it is imported into your SVN repository. For this assignment you are going to implement several search tree algorithms. Task 1: (repeat of lab09): Create an employee Class that encapsulates the concept of an employee. The attributes of an employee are: id a random integer in the range 0 to 999,999,999 inclusive modify your code that generates the id value to insure that duplicate id values do not occur. we will be using the id attribute as the key value and we want this key to be unique name a String of a random length between 5 and 10 characters (inclusive) made up of a random set of lower case characters dept a random integer in the range 1 to 5 (inclusive) hired a random integer in the range 1995 to 2005 (inclusive) You may also want to create a factory method that allows you to generate a new employee with random attributes. Task 2: Create the following classes (you may use the code from the text book): TreeMap AVLTreeMap SplayTreeMap RBTreeMap Task 3: Create a client class that Generates an array of 100,000 employees in random order Create a second array of 10,000 unique integers in the range 0 to 99,999. These integer values should be in a random order. For each of the tree map classes created in Task2 do the following: Start a timer Insert each employee object from the first array into the tree class Stop the timer and record the insertion/build time Start a timer Walk across the second array using its stored integer values as the key values (id value) to look up each entry in the tree. Stop the timer and record the search/lookup time. Create and display a nicely formatted ASCII table that shows the insertion/build time and search/lookup time for each of the tree classes. Be sure to include the value of N as part of the table. Consider upping N to 1,000,000/100,000 and possibly 10,000,000/1,000,000 if it appears that your program will run in a “reasonable” amount of time. You only need to include the result table for the highest value of N used. Turning in your assignment: Make sure that all of your code is properly documented. Ensure that your code is committed to your Subversion repository.
Comparing Two Models, A Full Model With 4 Regressors(m.full) And A Reduced Model With
Transcribed Image Text from this QuestionComparing two models, a full model with 4 regressors(m.full) and a reduced model with 2 regressors (m.reduced) using the Torsten Hothorn “bodyfat” data set, answer the following questions using R. The models: > m. reduced call: In(formula – Dexfat – waistcirc hipcirc) Coefficients: (Intercept) waistcirc hipcirc -53.485 0.368 0.495 > m. full Call: In(formula – Dexfat – waistcirc hipeire elbowbreadth kneebreadt h) Coefficients: (Intercept) waistcirc hipcirc elbowbreadth -55.1908 0.3464 0.4240 -0.6698 kneebreadth 1.6593 Summary of the models: > Summary(full) In(formula – sexfat – waistcirc hipcirc elbowbreadth kneebreadth) Residuals: Min 10 Median -8.6424 -2.8692 0.2289 2.4698 12. 2769 coefficients: Estimate std. Errort value Pr (1) (Intercept) -55.19062 8.16968 -6.756 4.402-09 waistcirc 0.34636 0.07317 4.733 1. 21-05 hipeiro 0.42395 0.09685 4.377 4. 38-05 elbowbreadth -0.66934 1.21520-0.551 0.5833 kneebreadth 1.65927 0.87474 1.897 0.0622 Signif. codes: **** 0.001 0.01 0.05 0.11 Residual standard error: 4.045 on 66 degrees of freedom Multiple R-squared: 0.8735, Adjusted R-squared: 0.8658 F-statistic: 113.9 on 4 and 66 OF P-value: summary(m. reduced) Call: In(formula – Dexfat – waistcirc hipcirc) Residuals: Min 1Q Median 30 Max -8.9135 -2.5354 0.3551 2.2543 13.9465 Coefficients: Estimate std. Errort value pr(it) (Intercept) -53.48508 5.12745 -10.431 9.46e-16 *** waistcirc 0.36796 0.07105 5.179 2.16e-06 * hipcirc 0.49501 0.09028 5.483 6.64e-07 *** Signif. codes: 0′ 0.001 0.01 0.05. 0.1”1 Residual standard error: 4.093 on 68 degrees of freedom Multiple R-squared: 0.8666, Adjusted R-squared: 0.8626 F-statistic: 220.8 on 2 and 68 DF P-value: <2.2e-16 The Questions: 1. Test whether the additional variables in the full model are significant in the regression compared with the reduced model by performing an F test. 2. Calculate the coefficients of determination for the full and reduced models. Is there an appreciable difference? 3. Calculate the prediction intervals for the data. Discuss this difference in terms of t statistic, MSE, and SE. Which factors contribute to the narrower prediction interval for the reduced model? 4. Calculate the coefficient of partial determination for elbow breadth and knee breadth (together) given a model that already includes waist circumference and hip circumference. Discuss your answer in the context of the significance test for the full and reduced model. JUnit Testing Task: Queue Is One Of The Basic Data Structures In Programming. It JUnit Testing Task: Queue is one of the basic data structures in programming. It is a linear data structure which follows a particular order in which the operations are performed. The order is called FIFO (First In First Out), i.e., the first element to be added will be the first one to be processed. A queue data structure typically has the following basic operations: Needs to be done in Java Show transcribed image text Take Your ER Diagrams And Convert Them Into Relational Schema. Be Sure To Apply Transcribed Image Text from this QuestionCustomer Customer Account Rep. Sales Rep Customer Name: VARCHAR NOT NULL Account Balance : VARCHAR NOT NULL Account Number : VARCHAR NOT NULL Credit Limit: VARCHAR NOT NULL Name: VARCHAR NOT NULL * Rep_Email: VARCHAR NOT NULL Rep_ID: VARCHAR NOT NULL Name: VARCHAR NOT NULL SalesRep_ID: VARCHAR NOT NULL SalesRep_email: VARCHAR NOT NUL Customer Customer Account Rep. Sales Rep Customer Name: VARCHAR NOT NULL Account Balance : VARCHAR NOT NULL Account Number : VARCHAR NOT NULL Credit Limit: VARCHAR NOT NULL Name: VARCHAR NOT NULL * Rep_Email: VARCHAR NOT NULL Rep_ID: VARCHAR NOT NULL Name: VARCHAR NOT NULL SalesRep_ID: VARCHAR NOT NULL SalesRep_email: VARCHAR NOT NUL 1. Create a table for each entity: Specify primary key (consider surrogate keys as appropriate) Specify properties for each column: Data type Null status Default value (if any) Specify data constraints (if any) Verify normalization 2. Create relationships by placing foreign keys: Strong entity relationships (1:1, 1:N, N:M) ID-dependent and non-ID-dependent weak entity relationships Subtypes Recursive (1:1, 1:N, N:M) An Organization Is Developing An Authentication Service For Use At The Entry And Exit An organization is developing an authentication service for use at the entry and exit ports of country borders.The service obtained from passport systems passenger manifests, and high-definition video feeds from CCTV systems that are located at the ports me service will incorporate machine-learning techniques to eliminate biometric enrollment processes while still allowing authorities to identify passengers increasing accuracy over time. The more frequently passengers travel, the more accurately the service will identify them. Which of the following biometrics will MOST likely be used without the need for enrollment? (Select TWO). Voice Gait Vein Facial Retina Fingerprint
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more