Questions
1. What is fiat money? 2. What is the job of the Federal Deposit Insurance Corporation...

1. What is fiat money?

2. What is the job of the Federal Deposit Insurance Corporation (FDIC)?

3. What are the Fed Goals?

4. What is a subprime mortgage?

5. Name all the elements of M1.

6. Name all the elements of M2

In: Economics

Name the 3 factors that influence margin of error for the mean of a continuous random...

Name the 3 factors that influence margin of error for the mean of a continuous random variable and how each factor needs to change to lower it. One of the 3 factors actually does 2 things in reducing the margin of error, name both of those things.

In: Statistics and Probability

Name the 3 factors that influence margin of error for the mean of a continuous random...

Name the 3 factors that influence margin of error for the mean of a continuous random variable and how each factor needs to change to lower it. One of the 3 factors actually does 2 things in reducing the margin of error, name both of those things.

In: Statistics and Probability

3) for one resonance structure of a nitrate(NO3-) provide the: a) Lewis structure b) formal charge...

3) for one resonance structure of a nitrate(NO3-) provide the:
a) Lewis structure

b) formal charge on each atom

c)name of the electro pair(electron domain) geometry

d) hybridization of the central atom

e)name of the molecular geometry (shape)

In: Chemistry

A) EXPLAIN THE DIFFERENCE BETWEEN A CLASSIC ENTREPRENEUR AND A SOCIAL ENTREPRENEUR. LIST YOUR SOURCES B)...

A) EXPLAIN THE DIFFERENCE BETWEEN A CLASSIC ENTREPRENEUR AND A SOCIAL ENTREPRENEUR. LIST YOUR SOURCES
B) 1) NAME THE 6 TYPES OF BUSINESS OWNERSHIP. 2) DEFINE EACH BRIEFLY AND NAME ONE ADVANTAGE AND ONE DISADVANTAGE FOR EACH. LIST YOUR SOURCES.

In: Finance

Using linux; how would you construct a void function using strfttime() to display time. Also a...

Using linux; how would you construct a void function using strfttime() to display time. Also a function using user_from_uid and group_from_gid to show the users name or group name. Trying to recreate the ls -l command.

Thank you in advance!

In: Computer Science

1)Name two differences between the parasympathetic and sympathetic nervous systems. 2)Describe six steps of transmission at...

1)Name two differences between the parasympathetic and sympathetic nervous systems.

2)Describe six steps of transmission at a neuron to neuron synapse using the illustration below.

3)Name two functions of cerebrospinal fluid.

4)Describe a somatic reflex

In: Anatomy and Physiology

If you've ever opened your computer's device manager, you've likely seen a whole list of devices,...

If you've ever opened your computer's device manager, you've likely seen a whole list of devices, ranging from the obvious (keyboards, printers, monitors) to the internal (processors, memory, host controllers), to the subtle (network hosts, laptop lid closing, internal clock). While these devices can fall in a number of categories (input devices, graphics devices, audio devices, etc), they all share some features in common (they all have a name, a device driver, etc). In this section, we will design a very rudimentary implementation of a generic device driver. We are only interested in three things for the time being: the name of the device, an ID number identifying the device, and a flag indicating whether or not it is enabled. Thus, three fields are necessary, a String for the name, a int for the ID, and a boolean for the enabled status.

Any data elements should be declared private. If you think it is necessary you may include helper methods of your own. The class should implement the following public methods:

  • public Device(String name, int id) Initialize the device object with the given name and ID. Also, initially the device should not be enabled (the enabled flag should begin as false)
  • public final String getName() Retrieves the name of this device. This method is labelled final, meaning that future subclasses cannot change how it behaves.
  • public final int getID() Retrieves the ID of this device. This method is also final.
  • public String getCategory() Retrieves the specific category of this device, which should be the string "generic"
  • public void enable() Sets the state of the device to enabled.
  • public void disable() Sets the stae of the device to not enabled.
  • public boolean isEnabled() Retrieves the current state of the device.
  • @Override public String toString() Returns a string containing the category name, followed by the ID number, followed by a comma and the device name. For example, the followin would be an example of a valid output string: generic 0, x64 processor core

In: Computer Science

8.13 LAB: Warm up: Contacts You will be building a linked list. Make sure to keep...

8.13 LAB: Warm up: Contacts

You will be building a linked list. Make sure to keep track of both the head and tail nodes.

(1) Create three files to submit.

  • ContactNode.h - Class declaration
  • ContactNode.cpp - Class definition
  • main.cpp - main() function

(2) Build the ContactNode class per the following specifications:

  • Parameterized constructor. Parameters are name followed by phone number.

  • Public member functions

    • InsertAfter() (2 pts)
    • GetName() - Accessor (1 pt)
    • GetPhoneNumber - Accessor (1 pt)
    • GetNext() - Accessor (1 pt)
    • PrintContactNode()
  • Private data members

    • string contactName
    • string contactPhoneNum
    • ContactNode* nextNodePtr


Ex. of PrintContactNode() output:

Name: Roxanne Hughes
Phone number: 443-555-2864


(3) In main(), prompt the user for three contacts and output the user's input. Create three ContactNodes and use the nodes to build a linked list. (2 pts)

Ex:

Person 1
Enter name:
Roxanne Hughes
Enter phone number:
443-555-2864
You entered: Roxanne Hughes, 443-555-2864

Person 2
Enter name:
Juan Alberto Jr.
Enter phone number:
410-555-9385
You entered: Juan Alberto Jr., 410-555-9385

Person 3
Enter name:
Rachel Phillips
Enter phone number:
310-555-6610
You entered: Rachel Phillips, 310-555-6610


(4) Output the linked list. (2 pts)

Ex:

CONTACT LIST
Name: Roxanne Hughes
Phone number: 443-555-2864

Name: Juan Alberto Jr.
Phone number: 410-555-9385

Name: Rachel Phillips
Phone number: 310-555-6610

main.cpp:

#include <iostream>
using namespace std;

int main() {

/* Type your code here. */

return 0;
}
__________________

ContactNode.cpp

/* Type code here */

_________________

ContactNode.h

/* Type code here */

In: Computer Science

Modify the following code to make the input and output look like this. Input 5 Vader...

Modify the following code to make the input and output look like this.

Input

5
Vader 1300
Kirk 1250
Adama 1000
Reynolds 1615
Oneill 1470

Output

Enter the number of candidates: 5
Enter candidate's name :Vader 1300
Enter votes received :Enter candidate's name :Kirk 1250
Enter votes received :Enter candidate's name :Adama 1000
Enter votes received :Enter candidate's name :Reynolds 1615
Enter votes received :Enter candidate's name :Oneill 1470
Enter votes received :
Name                Votes               Percentage          
Vader               1300.00             19.59%
Kirk                1250.00             18.84%
Adama               1000.00             15.07%
Reynolds            1615.00             24.34%
Oneill              1470.00             22.16%
Total               6635                
The Winner of the Election is Reynolds

//Abduljabbr sale11/8/2019//

#include <iostream>
#include <iomanip>
using namespace std;

int main()
{
int size;
cout<<"Enter the number of candidates: ";
cin>>size;
string *names= new string[size];
double *votes=new double[size];
double sum=0;
double winner=-1;
string winnerName="";
int total=0;
//reading votes
for(int i=0;i<size;i++){
cout<<"Enter candidate's name :";
cin>>names[i];
  
cout<<"Enter votes received :";
cin>>votes[i];
sum+=votes[i];
//finding the winner
if(winner<votes[i]){
winner=votes[i];
winnerName=names[i];
}
}
  
cout<<endl;
//printing the data
cout << setprecision(2)<<fixed;

cout<<setw(20) << left <<"Name"<<setw(20) << left <<"Votes"<<setw(20) << left <<"Percentage"<<endl;
for(int i=0;i<5;i++){
cout<<setw(20) << left<<names[i]<<setw(20) << left <<votes[i]<<votes[i]/sum*100<<"%"<<endl;
total+=votes[i];
  
}
cout<<setw(20) << left<<"Total"<<setw(20) << left <<total<<endl;
cout<<"The Winner of the Election is "<<winnerName;
  
return 0;
}

In: Computer Science