In C++
Create a program that uses Selection Sort and Insertion Sort for the National Football League list of current players. It's going to be a big list(over 1000 names). Please identify, in comments, which part of the code is for the Selection Sort and which part of the code is for Insertion Sort. It must have both.
Inputting data from a text file named "Players.txt"
Only want the name of the player(first name then last name), their team name, and position they play.
Example is:
| Name | Team | Position |
| Patrick Mahomes | Chiefs | Quarterback |
| Julio Jones | Falcons | Wide Receiver |
| Fletcher Cox | Eagles | Defensive Tackle |
Structure of the input file is:
Patrick Mahomes, Chiefs, Quarterback
Julio Jones, Falcons, Wide Receiver
Fletcher Cox, Eagles, Defensive Tackle
Output both lists separately(please indicate which lists goes with which sorting method) to a text file along with how long it took to go through the Selection Sort and Insertion Sort and how many iterations it took for each.
Thanks.
If you can't do this then can you please let someone else.
In: Computer Science
Sub HW4_1_1()
'a. Using the properties window in the VB editor assign
' the code name wsEx2 to the sheet with tab name Sheet1.
'b. Using VBA code and the code name for worksheet Sheet1,
' make this worksheet the active sheet.
'c. Declare a range variable and assign to this variable
' the range from A2 to A10 in the worksheet Sheet1.
'd. Write VBA code to create a range name and call it
“Scores”.
' This range name should refer to the range B6to B14 in
' the worksheet labeled Sheet2
'e. Write VBA code that uses an Excel worksheet function
' that calculates the weighted average score (i.e.,
' the dot product of the range defined in part c. and the range in
part d.
' and place the calculated value in cell A12 of the Sheet1
worksheet.
'f. Using VBA code change the background color of cell A12 to
green.
'g. Using VBA code change the font type in cell A12 to italic and
bold.
'h. Using VBA code change the format property of cell A12 so
that
' it is displayed as a number with exactly three digits to the
right
' of the decimal point and at least three digits to the left of the
decimal point.
End Sub
In: Computer Science
This class models people moving in together in real life using pointers in C++.
What test(s) could be added with the code below? At the end of this task, add them! (Answer this.)
class Person {
public:
Person(const string& name) : name(name) {}
void movesInWith(Person& newRoomate) {
roomie = &newRoomate; // now I have a new roomie
newRoomate.roomie = this; // and now they do too
}
const string& getName() const { return name; }
// Don't need to use getName() below, just there for you to use in debugging.
const string& getRoomiesName() const { return roomie->getName(); }
private:
Person* roomie;
string name;
};
// write code to model two people in this world
Person joeBob("Joe Bob"), billyJane("Billy Jane");
// now model these two becoming roommates
joeBob.movesInWith(billyJane);
// did this work out? (Answer this and explain why.)
cout << joeBob.getName() << " lives with " << joeBob.getRoomiesName() << endl;
cout << billyJane.getName() << " lives with " << billyJane.getRoomiesName() << endl;
What changes can be made to the Person class above to keep the methods "safe"? For example, the movesInWith method.
I dont understand what this above question means, please help!
In: Computer Science
1 Pick the HTML snippet that uses a non-modifiable input named “recipient” with the value “edmonds [email protected]”.
Group of answer choices
a <input type="submit" name="recipient" value="[email protected]">
b <input type="text" name="recipient" value="[email protected]">
c <input type="value" name="recipient" value="[email protected]">
d <input type="hidden" name="recipient" value="[email protected]">
2 Which of the following is the most accurate statement regarding internal hyperlinks?
Group of answer choices
a The “internal” refers to the host machine on which the browser is running
b The “internal” refers to the internal contents of a table
c Internally-linked location names can be assigned to any id in an HTML5 document
d href="page.html&name" is the proper format used to link to an internal location of another page
3 The ______________ element provides input options for a text input element. The browser can use these options to display autocomplete options to the user (hint: this can be used regardless of a user’s previous form inputs).
a value
b datalist
c step
d autocomplete
In: Computer Science
Financial information for Kurzen Inc. is presented below.

Instructions
Prepare a schedule showing a horizontal analysis for 2017 using 2016 as the base year.
In: Finance
How would you do a horizontal analysis, vertical analysis and ratio analysis for IBM? Can someone an example of this? Can it be done for years 2016 and 2017?
In: Accounting
How to use the COUNTIFS Function in Excel. Need to calculate the number of days. Independent Challenge 4. #g page 127 Microsoft Excel 2016 Comprehensive
In: Computer Science
How to analyse a company by this ratio? Or what can these ratios tell us?
Quick Ratio
|
2017 |
2016 |
2015 |
|
|
Quick Ratio |
1.77 |
1.95 |
2.28 |
In: Finance
If you are an investor in Apple, what impact to you think the Upgrade Program will have on your ability to assess Apple’s
financial performance as of 09/24/2016?
In: Accounting
An electric eel develops a potential difference of 500 V, driving a current of 0.90 A for a 1.0 ms pulse.
A.Find the power of this pulse.
B. Find the total energy of this pulse.
C.Find the total charge that flows during the pulse.
In: Physics