do the following in r studio Perform the Analysis of Variance of the grade point average of the Design of Experiments subject . According to the following information. trat <- c (1,1,1,2,2,2,3,3,3,4,4,4) y <- c (7.66,6.98,7.80,5.26,5.44,5.80,7.41,7.33,7.04,3.51,2.91,3.66) trat <- as. factor (trat) data <- cbind (trat, y) y "is the dependent variable (grade point average) and the treatment is the variable" trat "is the type of test applied. Perform the following analyzes on the provided data:
1. Define the proposed experiment and identify the response variables, the factor, and the factor levels.
2. Perform exploratory data analysis
3. Indicate if there are outliers and if these would have an effect on the proposed experiment
4. Show graphically whether or not there is a difference of means for the treatment
5. Perform the ANOVA and write the null and alternative hypotheses, indicate the value of the statistic Contrast F and the critical value of F under the null hypothesis
6. Indicate the value of the mean square of the treatment, mean square of the error and square half total
7. Compare paired means and indicate whether there is a relationship between treatment and answer (Tukey's test)
8. Represent graphically the differences found and interpret the results 9. Based on your experiment, what would your conclusions be?
In: Computer Science
what is the cloud delivery models and cloud deployment models of
Huawei Cloud
Eucalyptus
Salesforce Cloud
VMware Cloud
AWS
Google Cloud Platform
Microsoft Azure
Oracle Cloud
SAP Cloud
Rackspace
IBM Cloud
also what should you consider in order virtualising data centre? what services support this process from above providers
In: Computer Science
CP2 Major Project #1:
Design a complete system according to the below requirements.. It Includes:1) A Class called CandyOrder which stores information about the variety of the Candy (such as Snickers), the price per bag/box (such as 2.99), and the amount of bags/boxes (such as 2) ordered. The CandyOrder class should contain a constructor and a default constructor (sets variety to "Snickers", prices to $2.99, and box amount to 1). Accessor and Mutator methods for all instance variables. A toString method returning all instance variable values for thisobject.An equals method which returns true if variety and price are the same.---------------------------------------------------------------------------------------------------------------------
2) A Class called MasterOrder:
private CandyOrder[] orders; //required instance var /** Constructs a new MasterOrder object.
*/ public MasterOrder(int len) {//Constructs array orders (above) with len for length }
public boolean addOrder(int spot, String variety, int boxes, double price) {//create a new CandyOrder object and place in position spot in array orders//validate that spot in orders is null and that spot is not >= length of array orders//if validation fails, return false -- else return true}
public int getTotalBoxes() {//returns the total of amount of boxes in CandyOrder}
public double getTotalCost() {//returns the total cost of all of boxes in CandyOrder}
public CandyOrder[] removeVariety(String candyVar) { //removes any object from CandyOrder that has a variety of candyVar, new possible decreased array of CandyOrder (minus candyVars) returned }
public String printOutInfo() {//returns a combined string of all outputs in array orders using toString method in CandyOrder -- seperate each object by a newline---------------------------------------------------------------------------------------------------------------------
3) Main Driver Class:
a) prompt user for the length of the CandyOrder Array desired.
b) create a MasterOrder object passing the length from item a above
c) enter the amount of CandyOrders objects required in length via the addOrder method
d) call getTotalBoxes to printout total of all boxes
e) call getTotalCost to printout total cost of all CandyOrders in array
f) call removeVariety on a variety you have in the CandyOrder array in MasterOrder
g) call printOutInfo to printout all info in MasterOrder
In: Computer Science
Draw something interesting with JavaFX. The drawing must be something coherent - random shapes on the canvas will not receive near full marks. Your drawing must make use of at least the following:
1) a compound object generated by a for loop
2) each of a rectangle, arc, circle, ellipse, line,
3) at least 15 shapes overall
4) 5 different colours
5) the use of translation, rotation, and scaling
In: Computer Science
What is the code (HTML) for the table (with a letter in each cell in definition order): has 10 columns with 7 rows.
In: Computer Science
Do in c++ programming languages
Question 1: Solve the complete Question with all parts and subparts.
a) What do you understand by the term DATA TYPE?
b) Is it possible to replace for loop with a while loop. Justify your answer with reasoning and example.
c) Draw a flow chart for Do-While loop for controlled/uncontrolled infinite loop iterations.
d) Write down a function prototype that takes an array and its length as an argument and also return the same array by reversing the position of elements.
e) As you know that “the base address or the starting address of any array is its name”. Keeping this information, answer
i) Why the first index of any array always starts from zero. Although it points to the first location of an array.
ii) The reason why the last index is always one less than array length is “the first index starts from zero”. Does it seems to be a correct reason justify.
iii) What is the offset address of any array NAMED AS ARR1 who starting address is A011234h.
iv) Can you find the offset address of the 6th element of array given in 3? If its data type is INT. 5. What is the offset address of last element of an array stated in 3? If the length of array is 5 and data type is char.
Note: If you are not able to do complete question with parts and its subparts so kindly never do any single part ( i need complete question with proper answers.
In: Computer Science
Consider the design of a database for a web site of a web site of videos that teach people how to do things by yourself, such as house renovation. We will call videos as DIY videos. First, all registered users can post DIY questions, such as “how to paint a wall”. Each DIY question is identified by a question ID, the question itself, and a list of tags (each tag is a lower case word) to annotate the question, and the date the question is posted,. For example, for the question “how to paint a wall”, we can add the tags “wall, paint, roller, brush”. A registered user can also post a DIY video (from the existing video website) to an existing DIY question. Each video is identified by a unique URL (use the URL when you click the share button at the video website page, a title and a description of the video, the date on which the video is posted to your database system. A registered user can search for videos by typing a question (ideally, support fuzzy search since a user might not be able to type the exact phrase in a question), all relevant video links will be returned as a list so that a user can click any video link in the result list to play that video. Each registered user is identified by a unique username, which must be an email, a password, a first name, a last name, the gender, and his/her birthday. A registered user can give at most one review for each video, but on a particular day, the user can post at most three videos. The review given by a user has a score of {“Poor”, “Fair”, “Good”, “Excellent”} and then a short remark. A user can also modify an existing review as well as deleting an existing review. Each user has a private favorite list of DIY videos(called my favorite DIYs). Each user can insert or delete a DIY video from that favorite list. When each video is shown, the DIY question will also be shown beside the title of the video, so that a user can click it to see other videos for this DIY question. While a video is on display, there is a button under the video called “Add to my favorite DIYs” so that a user can easily add this video to his/her favorite DIYs. The system has a distinguished user called “root” whose username is root (this is the only username that is not an email).
- Draw an E-R diagram for the system, in particular, use arrows or thick lines to represent constraints appropriately. Write down your assumptions and justifications briefly and clearly.
- Translate the above E-R diagram into a relational model, i.e., write a set of CREATE TABLE statements. In particular, specify primary key, foreign key and other constraints whenever possible.
In: Computer Science
Do you believe a separate policy should be written to address remote access? If so, what should be included in the policy?
In: Computer Science
What will be the values of A, B, C and D after execution of the following procedure using the “Scores”
dataset?
Note: Consider fractions up to 2 decimal places e.g. 10 / 3 =
3.33, 20 / 3 = 6.67
Step 1. Arrange all cards in a single pile called Pile 1
Step 2. Maintain five variables A, B, C, D, percentage and initialize them to 0
Step 3. If Pile 1 is empty then stop the iteration
Step 4. Read the top card in Pile 1
Step 5. Calculate percentage: divide TOTAL marks by 3 and store the result in percentage
Step 6. If percentage ≥ 85 then increment A
Step 7. If percentage < 85 and percentage ≥ 70 then increment B
Step 8. If percentage < 70 and percentage ≥ 60 then increment C
Step 9. If percentage < 60 then increment D
Step 10. Move the current card to another pile called Pile 2 and repeat from step 3
In: Computer Science
In: Computer Science
In: Computer Science
PLEASE DO THIS IN JAVA!Design and implement a programming (name it NextMeeting) to determine the day of your next meeting from today. The program reads from the user an integer value representing today’s day (assume 0 for Sunday, 1 for Monday, 2 for Tuesday, 3 for Wednesday, etc…) and another integer value representing the number of days to the meeting day. The program determines and prints out the meeting day. Format the outputs following the sample runs below.
Sample run 1:
Today is Monday
Days to the meeting is 10 days
Meeting day is Thursday
Sample run 2:
Today is Wednesday
Days to the meeting is 7 days
Meeting day is Wednesday
Sample run 3:
Today is Friday
Days to the meeting is 20 days
Meeting day is Thursday
In: Computer Science
Implement an iterator that produces the moves for the Towers of Hanoi puzzle described in Worked Example 11.2. Provide functions has_more_moves and next_move. The next_move function should yield a string describing the next move. For example, the following code prints all moves needed to move five disks from peg 1 to peg 3:
DiskMover mover(5, 1, 3);
while (mover.has_more_moves())
{
cout << mover.next_move() << endl;
}
Hint: A disk mover that moves a single disk from one peg to another simply has a next_move function that returns a string
Move disk from peg source to target
A disk mover with more than one disk to move must work harder. It needs another DiskMover to help it move the first d – 1 disks. Then next_move asks that disk mover for its next move until it is done. Then the next_move function issues a command to move the dth disk. Finally, it constructs another disk mover that generates the remaining moves.
It helps to keep track of the state of the disk mover:
•BEFORE_LARGEST: A helper mover moves the smaller pile to the other peg.
•LARGEST: Move the largest disk from the source to the destination.
•AFTER_LARGEST: The helper mover moves the smaller pile from the other peg to the target.
•DONE: All moves are done.
In: Computer Science
1. Explain the process used to preserve the verifiable integrity of digital evidence. How does this ensure that data is preserved unmodified? How can an analyst show that the original evidence is modified?
2. What are the major principles of risk analysis? List the common steps in developing a risk analysis strategy.
In: Computer Science
C question
Using a for-loop: (a) calculate the length of a string, (b) find a word in a string
In: Computer Science