In: Economics
( 1 ) What were the critical historic events ( or policy changes ) that propelled ( changed ) the former "Communist China" into the "modern China" as we know it by now? ( From massive famine to World's #2 economy ).
Give specific examples ( events ).
In: Economics
Q5) Explain: A) why we see the sky is blue? B) why we see the Sun red at Sunset?
Q6) Explain: why when we rotate a polarized sun glasses looking at the reflection from a non-metallic surface, we can almost block all the reflection.
In: Physics
Suppose that in the same Atwood setup another string is attached to the bottom of m1 and a constant force f is applied, retarding the upward motion of m1. If m1 = 5.70 kg and m2 = 11.40 kg, what value of f will reduce the acceleration of the system by 50%?
In: Physics
6. Describe the general tissue structure that makes up the main body membranes. a). Describe the relationship of these tissues in the function and structure of serous and mucous membranes.
In: Biology
On January 1, 2021, M.T. Toombe Mausoleum granted restricted
stock units (RSUs) representing 60 million of its $1 par common
shares to executives, subject to forfeiture if employment is
terminated within three years. After the recipients of the RSUs
satisfy the vesting requirement, the company will distribute the
shares. The common shares had a market price of $15 per share on
the grant date. At the date of grant, Toombe anticipated that 5% of
the recipients would leave the firm prior to vesting. In 2022, 3%
of the options are forfeited due to executive turnover. Toombe
chooses the option not to estimate forfeitures.
Required:
1. Prepare the appropriate journal entry to record
compensation expense on December 31, 2021. Ignore taxes.
2. Prepare the appropriate journal entry to record compensation expense on December 31, 2022. Ignore taxes.
In: Accounting
A tortoise and hare start from rest and have a race. As the race begins, both accelerate forward. The hare accelerates uniformly at a rate of 1.2 m/s2 for 4.3 seconds. It then continues at a constant speed for 11.2 seconds, before getting tired and slowing down with constant acceleration coming to rest 84 meters from where it started. The tortoise accelerates uniformly for the entire distance, finally catching the hare just as the hare comes to a stop. How fast is the hare going 1.7 seconds after it starts? How fast is the hare going 9.6 seconds after it starts? How far does the hare travel before it begins to slow down? What is the acceleration of the hare once it begins to slow down? What is the total time the hare is moving? What is the acceleration of the tortoise?
In: Physics
Report for Movie: The Matrix
What philosophical issues were addressed or raised in the book(s) and movie(s)? Give your points of view on these issues. (400 words or above)
In: Computer Science
In: Anatomy and Physiology
Citation Builders, Inc., builds office buildings and single-family homes. The office buildings are constructed under contract with reputable buyers. The homes are constructed in developments ranging from 10–20 homes and are typically sold during construction or soon after. To secure the home upon completion, buyers must pay a deposit of 10% of the price of the home with the remaining balance due upon completion of the house and transfer of title. Failure to pay the full amount results in forfeiture of the down payment. Occasionally, homes remain unsold for as long as three months after construction. In these situations, sales price reductions are used to promote the sale. During 2018, Citation began construction of an office building for Altamont Corporation. The total contract price is $15 million. Costs incurred, estimated costs to complete at year-end, billings, and cash collections for the life of the contract are as follows: 2018 2019 2020 Costs incurred during the year $ 3,000,000 $ 7,125,000 $ 3,375,000 Estimated costs to complete as of year-end 9,000,000 3,375,000 — Billings during the year 1,500,000 7,500,000 6,000,000 Cash collections during the year 1,350,000 6,050,000 7,600,000 Also during 2018, Citation began a development consisting of 12 identical homes. Citation estimated that each home will sell for $720,000, but individual sales prices are negotiated with buyers. Deposits were received for eight of the homes, three of which were completed during 2018 and paid for in full for $720,000 each by the buyers. The completed homes cost $540,000 each to construct. The construction costs incurred during 2018 for the nine uncompleted homes totaled $3,240,000.
| 2018 | 2019 | 2020 | ||
| costs incurred during the year | 3,000,000 | 7,125,000 | 3,375,000 | |
| estimated costs to complete as of year-end | 9,000,000 | 3,375,000 | -0- | |
| Billings during the year | 1,500,000 | 7,500,000 | 6,000,000 | |
| cash collections during the year | 1,350,000 | 6,050,000 | 7,600,000 |
Required:
1. Which method is most equivalent to recognizing revenue at the point of delivery?
2. Answer the following questions assuming that Citation uses the completed contract method for its office building contracts: 2-a. How much revenue related to this contract will Citation report in its 2018 and 2019 income statements? 2-b. What is the amount of gross profit or loss to be recognized for the Altamont contract during 2018 and 2019? 2-c. What will Citation report in its December 31, 2018, balance sheet related to this contract? (Ignore cash.)
3. Answer the following questions assuming that Citation uses the percentage-of-completion method for its office building contracts. 3-a. How much revenue related to this contract will Citation report in its 2018 and 2019 income statements? 3-b. What is the amount of gross profit or loss to be recognized for the Altamont contract during 2018 and 2019? 3-c. What will Citation report in its December 31, 2018, balance sheet related to this contract? (Ignore cash.)
In: Accounting
11.) which of the following is a function of the integument?
a.) attract pollinators
b.) protect against animal predation
c.) ensure double fertilization
d.) form a seed coat
12.) which one of the following statements about nitrogen and plant nutrition is FALSE?
a.)some plants are provided with nitrogen by nitrogen-fixing bacteria that live in nodules associated within the roots
b.) Nitrogen is a plant micronutrient, plants require very small quantities
c.) plant roots absorb nitrogen in the form of NH4+ and NO3-
d.) organic nitrogen from decomposing organic matter is a converted by ammonifying bacteria into a form of nitrogen that can be...
In: Biology
Paper I: Letter to the CEO
RE: - Accounting Principles: Why ethics is a fundamental business
concept
Accounting is an information system that identifies, records, and
communicates the economic events of an organization to interested
users. Because of the confidential nature to which the creating and
maintaining of these reports are handled, honesty and integrity are
highly regarded traits to the hospitality professional accountant.
Professional ethics, or the standards of conduct to which actions
are judged to be right or wrong, depends on the honesty of the
individuals you deal with as a manager of a business.
For this paper, assume you are the Director of Operations for a
hypothetical chain of 24 mid-service roadside motels. The CEO of
the chain has sent you a memo stating that he would like to replace
the current accounting firm that handles all the operational
accounting for the firm. The reason he has decided that their
services are no longer needed was not made evident to you in the
memo. However, you suspect it may have something to do with the
fact that their accounting practices were brought up as
“questionable” at last month’s operations meeting, where last
cycles income statements were openly discussed and examined by
upper management.
The CEO further outlines in his memo that he wishes for you to
begin researching new accounting firms. Write a letter addressed to
the CEO, Days Inn of America outlining how you propose to value
ethical conduct when interviewing prospective companies. In your
letter, you should include / address the following areas:
1. Your “personal” philosophy on ethics as a fundamental business
concept
2. How you plan on identifying and analyzing the principle elements
of business ethics within the prospective accounting firms (be
specific)
3. How you plan to ensure the non-ethical conduct of the previous
firm will not happen again (internal control measures) specifically
under three headings:
a. Cost analysis
b. Analysis of new contracts
c. Participation in efforts to control expenses efficiently
4. An analysis of what challenges you anticipate facing during this
project
In: Accounting
In your summary you should address the following questions:
What is simple diffusion?
What factors determine the amount of solute that can diffuse across a cell membrane?
How does facilitated diffusion differ from simple diffusion?
What is active transport and how does it differ from diffusion?
What are the characteristics of active transport?
What are the two types of active transport?
In: Anatomy and Physiology
I am having issues using bool CustomerList::updateStore(). I am using strcpy in order to update input for the Store class, but all I am getting is the same input from before. Here is what I am trying to do:
Ex.
(1234, "Name", "Street Address", "City", "State", "Zip")
Using the function bool CustomerList::updateStore()
Updating..successful
New Address:
(1234, "Store", "111 Main St.", "Townsville", "GA", "67893")
CustomerList.h
#pragma once;
#include
#include "Store.h"
class CustomerList
{
public:
Store *m_pHead;
CustomerList();
~CustomerList();
bool addStore(Store *s);
Store *removeStore(int ID);
Store *getStore(int ID);
bool updateStore(int ID, char
*name, char *addr, char *city, char *st, char *zip);
void printStoresInfo();
};
CustomerList.cpp
#include
#include "CustomerList.h"
#include "Store.h"
using namespace std;
CustomerList::CustomerList()
{
m_pHead = NULL;
}
CustomerList::~CustomerList()
{
delete m_pHead;
}
bool CustomerList:: addStore(Store *s)
{
if(m_pHead==NULL)
{
m_pHead = new
Store(s->getStoreID(),s->getStoreName(),
s->getStoreAddress(), s->getStoreCity(),
s->getStoreState(), s->getStoreZip());
return true;
}
else
{
Store * temp;
temp=m_pHead;
while(temp->m_pNext != NULL)
{
temp =
temp->m_pNext;
}
temp->m_pNext = new Store(s->getStoreID(),s->getStoreName(), s->getStoreAddress(), s->getStoreCity(), s->getStoreState(), s->getStoreZip());
return true;
}
}
Store *CustomerList::removeStore(int ID)
{
Store *temp, *back;
temp = m_pHead;
back = NULL;
while((temp != NULL)&&(ID != temp ->getStoreID()))
{
back=temp;
temp=temp->m_pNext;
}
if(temp==NULL)
return NULL;
else if(back==NULL)
{
m_pHead = m_pHead
->m_pNext;
return temp;
}
else
{
back -> m_pNext = temp->
m_pNext;
return temp;
}
return NULL;
}
Store *CustomerList::getStore(int ID)
{
Store *temp;
temp = m_pHead;
while((temp != NULL) && (ID != temp ->getStoreID()))
{
temp =
temp->m_pNext;
}
if(temp == NULL)
return NULL;
else
{
Store *retStore = new
Store();
*retStore = *temp;
retStore->m_pNext = NULL;
return retStore;
}
}
bool CustomerList::updateStore(int ID, char *name, char *addr, char *city, char *st, char *zip)
{
Store *temp;
temp = m_pHead;
while((temp!=
NULL)&&(ID != temp->getStoreID()))
{
temp = temp->m_pNext;
}
if(temp == NULL)
{
return false;
}
else
{
strcpy(temp->getStoreName(),name);
strcpy(temp->getStoreAddress(),addr);
strcpy(temp->getStoreCity(),city);
strcpy(temp->getStoreState(),st);
strcpy(temp->getStoreZip(),zip);
return
true;
}
}
void CustomerList::printStoresInfo()
{
Store *temp;
if(m_pHead == NULL)
{
cout << " The List is
empty.\n" ;
}
else
{
temp = m_pHead;
while(temp != NULL)
{
temp->printStoreInfo();
temp = temp->m_pNext;
}
}
}
Store.h
#pragma once;
#include
#include
using namespace std;
class Store
{
private:
int
m_iStoreID;
char
m_sStoreName[64];
char
m_sAddress[64];
char m_sCity[32];
char
m_sState[32];
char m_sZip[11];
public:
Store *m_pNext;
Store();
// Default constructor
Store(int ID,
// Constructor
char
*name,
char
*addr,
char
*city,
char *st,
char
*zip);
~Store();
// Destructor
int getStoreID();
// Get/Set
store ID
void setStoreID(int ID);
char *getStoreName();
// Get/Set store name
void setStoreName(char
*name);
char
*getStoreAddress(); // Get/Set store
address
void setStoreAddress(char
*addr);
char *getStoreCity();
// Get/Set store city
void setStoreCity(char
*city);
char *getStoreState();
// Get/Set store state
void setStoreState(char
*state);
char *getStoreZip();
// Get/Set store zip
code
void setStoreZip(char *zip);
void printStoreInfo();
// Print all info on this
store
};
Store.cpp
#include "Store.h"
#include
using namespace std;
Store::Store()
{
m_pNext = NULL;
}
Store::Store(int ID, char *name, char *addr, char *city, char *st,
char *zip)
{
m_iStoreID = ID;
strcpy(m_sStoreName, name);
strcpy(m_sAddress, addr);
strcpy(m_sCity, city);
strcpy(m_sState, st);
strcpy(m_sZip, zip);
m_pNext = NULL;
}
Store::~Store()
{
// Nothing to do here
}
int Store::getStoreID()
{
return m_iStoreID;
}
void Store::setStoreID(int ID)
{
m_iStoreID = ID;
}
char *Store::getStoreName()
{
char *name = new char[strlen(m_sStoreName) + 1];
strcpy(name, m_sStoreName);
return name;
}
void Store::setStoreName(char *name)
{
strcpy(m_sStoreName, name);
}
char *Store::getStoreAddress()
{
char *addr = new char[strlen(m_sAddress) + 1];
strcpy(addr, m_sAddress);
return addr;
}
void Store::setStoreAddress(char *addr)
{
strcpy(m_sAddress, addr);
}
char *Store::getStoreCity()
{
char *city = new char[strlen(m_sCity) + 1];
strcpy(city, m_sCity);
return city;
}
void Store::setStoreCity(char *city)
{
strcpy(m_sCity, city);
}
char *Store::getStoreState()
{
char *state = new char[strlen(m_sState) + 1];
strcpy(state, m_sState);
return state;
}
void Store::setStoreState(char *state)
{
strcpy(m_sState, state);
}
char *Store::getStoreZip()
{
char *zip = new char[strlen(m_sZip) + 1];
strcpy(zip, m_sZip);
return zip;
}
void Store::setStoreZip(char *zip)
{
strcpy(m_sZip, zip);
}
void Store::printStoreInfo()
{
cout << m_iStoreID << setw(20) <<
m_sStoreName << setw(15) << m_sAddress
<< setw(15) << m_sCity
<< ", " << m_sState << setw(10) << m_sZip
<< "\n";
}
Employee Record.h
#pragma once
#include "CustomerList.h"
class EmployeeRecord
{
private:
int m_iEmployeeID;
char m_sLastName[32];
char m_sFirstName[32];
int m_iDeptID;
double m_dSalary;
public:
CustomerList
*getCustomerList();
CustomerList
*m_pCustomerList;
//The default
constructor
EmployeeRecord();
EmployeeRecord(int ID, char *fName,
char *lName, int dept, double sal);
~EmployeeRecord();
int getID();
void setID(int ID);
void getName(char *fName, char *lName);
void setName(char *fName, char *lName);
int getDept();
void setDept(int d);
double getSalary();
void setSalary(double sal);
void printRecord();
};
Employee Record.cpp
#include
#include "EmployeeRecord.h"
#include "CustomerList.h"
using namespace std;
//Default Constructor
EmployeeRecord::EmployeeRecord()
{
// The default constructor shall set the member variables to the
following
m_iEmployeeID = 0;
m_sFirstName[0] = '\0';
m_sLastName[0] = '\0';
m_iDeptID = 0;
m_dSalary = 0.0;
}
EmployeeRecord::EmployeeRecord(int ID, char *fName, char *lName,
int dept, double sal)
{
strcpy(m_sFirstName, fName);
strcpy(m_sLastName, lName);
m_iEmployeeID = ID;
m_iDeptID = dept;
m_dSalary = sal;
fName = NULL;
lName = NULL;
}
// Default Desctrutor
EmployeeRecord::~EmployeeRecord()
{
delete m_pCustomerList;
}
int EmployeeRecord:: getID()
{
return m_iEmployeeID;
}
void EmployeeRecord::setID(int ID)
{
m_iEmployeeID = ID;
}
void EmployeeRecord::getName(char *fName, char *lName)
{
strcpy(fName, m_sFirstName);
strcpy(lName, m_sLastName);
}
void EmployeeRecord::setName(char *fName, char *lName)
{
strcpy(m_sFirstName, fName);
strcpy(m_sLastName, lName);
}
int EmployeeRecord::getDept()
{
return m_iDeptID;
}
void EmployeeRecord::setDept(int d)
{
m_iDeptID = d;
}
double EmployeeRecord::getSalary()
{
return m_dSalary;
}
void EmployeeRecord::setSalary(double sal)
{
m_dSalary = sal;
}
void EmployeeRecord::printRecord()
{
cout << "ID: " << m_iEmployeeID << "\t";
cout << "\tName: " << m_sLastName <<
" , " << m_sFirstName << "\t";
cout << "\tDept: " << m_iDeptID <<
"\t" << "\t";
cout << "Salary: $" << m_dSalary <<
"\t" << endl << endl;
}
CustomerList *EmployeeRecord::getCustomerList()
{
CustomerList *m_pCustomerList = new
CustomerList();
return m_pCustomerList;
}
MainProgram.cpp
#include
#include "EmployeeRecord.h"
#include
using namespace std;
int main()
{
int employee_id = 100, dept_id = 42, IDNum;
char fname [32];
char lname [32];
double salary = 65000;
double salaryp;
double *p_salary ;
salaryp = 65000;
p_salary = &salaryp;
//=========================================================================EmployeeRecord
Testing==========================================================================================
EmployeeRecord *Employee1 = new
EmployeeRecord(dept_id, fname, lname, dept_id, salary);
Employee1->setID(employee_id);
Employee1->setName("John", "Doe");
Employee1->setDept(42);
Employee1->setSalary(salary);
IDNum = Employee1-> getID();
Employee1->getName(fname,lname);
Employee1->getDept();
Employee1->getSalary();
if(IDNum == employee_id)
//Test Successful
if((strcmp(fname, "John") ==
0)&&(strcmp(lname,"Doe") == 0))
//Test Successful
if(dept_id == 42)
//Test Successful
if(*p_salary == salary)
//Test Successful
Employee1->printRecord();
Employee1->setID(456);
Employee1->setName("Jane", "Smith");
Employee1->setDept(45);
Employee1->setSalary(4000);
IDNum = Employee1-> getID();
Employee1->getName(fname,lname);
Employee1->getDept();
Employee1->getSalary();
if(IDNum == 456)
//Test Successful
if((strcmp(fname, "Jane") ==
0)&&(strcmp(lname,"Smith") == 0))
//Test Successful
if(dept_id == 45)
//Test Successful
if(*p_salary == 4000)
Employee1->printRecord();
//=====================================Customer List Testing====================================
cout
<<"\n==============================================================================================================="
<< endl;
cout <<" Adding stores to the list "
<< endl;
cout
<<"==============================================================================================================="
<< endl << endl;
CustomerList *cl = Employee1
->getCustomerList();
//----Testing the addStore, and printStoresInfo
functions:--------------------------------------
Store *s = new Store(4567,"A Computer Store", "1111
Main St." ,"West City" ,"Alabama", "12345");
Store *s1 = new Store(7654,"Jones Computers", "1234
Main St." ,"North City" ,"Alabama", "54321");
Store *s2 = new Store(1234, "Smith Electronics", "2222
2nd St." ,"Eastville", "Alabama","12346");
cout <<"Calling printStoresInfo() after adding
one store to list."<< endl;
cout
<<"\n==============================================================================================================="
<< endl;
cout << " Stores in List " <<
endl;
cout
<<"==============================================================================================================="
<< endl;
cl -> addStore(s);
cl -> printStoresInfo();
cout
<<"==============================================================================================================="
<< endl << endl;
cout <<"Calling printStoresInfo() after
adding second store to list."<< endl;
cout
<<"\n==============================================================================================================="
<< endl;
cout << " Stores in List " <<
endl;
cout
<<"==============================================================================================================="
<< endl;
cl -> addStore(s1);
cl -> printStoresInfo();
cout
<<"==============================================================================================================="
<< endl<< endl;
cout <<"Calling printStoresInfo() after adding
third store to list."<< endl;
cout
<<"\n==============================================================================================================="
<< endl;
cout << " Stores in List " <<
endl;
cout
<<"==============================================================================================================="
<< endl;
cl -> addStore(s2);
cl -> printStoresInfo();
cout
<<"==============================================================================================================="
<< endl << endl;
//---Testing the get store function:---------
Store *s3 = NULL;
s3=cl->getStore(1234);
if((s3 != NULL) && (s3->getStoreID() ==
1234))
cout << "Testing
getStore(1234)...successful" << endl;
Store *s4 = NULL;
s4=cl->getStore(7654);
if((s4 != NULL) && (s4->getStoreID() ==
7654))
cout << "Testing
getStore(7654)...successful" << endl;
cout << "Testing getStore(9999)..." <<
endl;
Store *s9 = NULL;
s9 = cl->getStore(9999);
if(s9 == NULL)
cout << "getStore() correctly
reported failure to find the store." << endl;
//-------------------------------------------
//---Testing updateStore Function:
----------------------------------------------------------------------
bool chk = cl->updateStore(1234, "hello", "1111
TestAddress", "TestCity", "TestState", "TestZip");
if(chk)
{
cout
<<"\n==============================================================================================================="
<< endl;
cout << " Stores in List " <<
endl;
cout
<<"==============================================================================================================="
<< endl;
cl ->printStoresInfo();
cout
<<"==============================================================================================================="
<< endl;
}
else
cout << "updateStore test
failed\n";
bool chk1 = cl -> updateStore(9999, "NoName", "1111 NoAddress", "NoCity", "NoState", "NoZip");
if(!chk1)
cout << "updateStore negative
test passed.\n";
else
cout << "updateStore negative
test failed.\n";
//---------------------------------------------------------------------------------------------------------
//--Testing the removeStore function-------------------------------------------------------------------------------------------------
Store *s5;
s5 = cl ->removeStore(4567);
if(s5 == NULL)
Store *s5 = cl -> removeStore(4567);
if(( s5 != NULL) &&
(s5->getStoreID() == 4567))
cout << "\nRemoving store 4567 from the
list...successful" << endl;
cout << "Calling printStoresInfo after deleting
a store from the head of the list." << endl;
cout
<<"==============================================================================================================="
<< endl;
cout << " Stores in List " <<
endl;
cout
<<"==============================================================================================================="
<< endl;
cl -> printStoresInfo();
cout
<<"==============================================================================================================="
<< endl << endl;
Store *s6;
s6 = cl ->removeStore(1234);
if(s6 == NULL)
Store *s6 = cl -> removeStore(1234);
if(( s6 != NULL) && (s6->getStoreID() ==
1234))
cout << "\nRemoving store 1234 from the
list...successful" << endl;
cout << "Calling printStoresInfo after deleting
a store from the head of the list." << endl;
cout
<<"==============================================================================================================="
<< endl;
cout << " Stores in List " <<
endl;
cout
<<"==============================================================================================================="
<< endl;
cl -> printStoresInfo();
cout
<<"==============================================================================================================="
<< endl << endl;
Store *s7;
s7 = cl ->removeStore(7654);
if(s7 == NULL)
Store *s7 = cl -> removeStore(7654);
if(( s7 != NULL) &&
(s7->getStoreID() == 7654))
cout << "\nRemoving store 7654 from the
list...successful" << endl;
cout << "Calling printStoresInfo after deleting
a store from the head of the list." << endl;
cout
<<"==============================================================================================================="
<< endl;
cout << " Stores in List " <<
endl;
cout
<<"==============================================================================================================="
<< endl;
cl -> printStoresInfo();
cout
<<"==============================================================================================================="
<< endl << endl;
//---------------------------------------------------------------------------------------------------------------------------------------
//---Testing the
destructor-----------------
EmployeeRecord *e = new
EmployeeRecord();
delete e;
//------------------------------------------
system ("pause");
return 0;
}
In: Computer Science
In: Chemistry