Write a C program that will read different data types from the following file and store it in the array of structures.
Given file: (This file have more than 1000 lines of similar data):
| time | latitude | longitude | depth | mag | magType | nst | gap | dmin |
| 2020-10-19T23:28:33.400Z | 61.342 | -147.3997 | 12.3 | 1.6 | ml | 12 | 84 | 0.00021 |
| 2020-10-19T23:26:49.460Z | 38.838501 | -122.82684 | 1.54 | 0.57 | md | 11 | 81 | 0.006757 |
| 2020-10-19T23:17:28.720Z | 35.0501667 | -117.6545 | 0.29 | 1.51 | ml | 17 | 77 | 0.1205 |
| 2020-10-19T22:47:44.770Z | 38.187 | -117.7385 | 10.8 | 1.5 | ml | 15 | 100.22 | 0.049 |
| 2020-10-19T22:42:26.224Z | 54.4198 | -159.9943 | 18.7 | 2.9 | ml |
Create a structure like below and make an array of structures in the main C file and store the data based on their data types.
struct data
{
char time[100];
float latitude;
float longitude;
float depth;
float mag;
char magType[5];
char nst[5];
int gap;
float dmin;
};
In: Computer Science
Here are some important figures from the budget of Wise Corporation for the third quarter of 2020:
| --------- | July | August | September |
| Credit sales | $1,275,800 | $1,483,500 | $1,096,300 |
| Credit purchases | 765,480 | 890,160 | 657,780 |
| Cash disbursements | |||
| Wages , taxes and expenses | 348,600 | 395,620 | 337,150 |
| Interest | 29,900 | 29,900 | 29,900 |
| Equipment | 0 | 158,900 | 96,300 |
| Credit sales collection | |||
| Collected in month of sale | 35% | ||
| Collected month after sale | 60% | ||
| Never Collected | 5% | ||
| June Credit sales | $1,135,020 | ||
June Credit purchases | $681,012 |
Beginning Cash balance $425,000
All credit purchases are paid in the following month after the purchase.
Instructions:
a) Using the above information, complete the following cash budget. (15 points)
July | August | September | |
Beginning cash balance | |||
Cash receipts: | |||
Cash collections from credit sales | |||
Total cash available |
Cash disbursements: | |||
Payments for purchases | |||
Wages, taxes, and expenses | |||
Interest | |||
Equipment purchases | |||
Total cash disbursements | |||
Ending cash balance |
b) What are the steps in preparing cash budget? Explain. (5 points)
In: Finance
During the current year, Ron and Anne sold the following assets: (Use the dividends and capital gains tax rates and tax rate schedules.) Capital Asset Market Value Tax Basis Holding Period L stock $ 54,000 $ 43,000 > 1 year M stock 32,000 41,000 > 1 year N stock 34,000 24,000 < 1 year O stock 30,000 35,000 < 1 year Antiques 11,000 6,000 > 1 year Rental home 304,000* 92,000 > 1 year *$30,000 of the gain is 25 percent gain (from accumulated depreciation on the property). Ignore the Net Investment Income Tax. a. Given that Ron and Anne have taxable income of only $24,000 (all ordinary) before considering the tax effect of their asset sales, what is their gross tax liability for 2020 assuming they file a joint return? (Round all your intermediate computations to the nearest whole dollar amount.)
In: Accounting
During the current year, Ron and Anne sold the following assets: (Use the dividends and capital gains tax rates and tax rate schedules)
| Capital Asset | Market Value | Tax Basis | Holding Period |
|---|---|---|---|
| L Stock | $50,000 | $41,000 | > 1 year |
| M Stock | 28,000 | 39,000 | > 1 year |
| N Stock | 30,000 | 22,000 | < 1 year |
| O Stock | 26,000 | 33,000 | < 1 year |
| Antiques | 7,000 | 4,000 | > 1 year |
| Rental Home | 300,000+ | 90,000 | > 1 year |
*$30,000 of the gain is 25 percent gain (from accumulated depreciation on the property).
Ignore the Net Investment Income Tax
a. Given that Ron and Anne have a taxable income of only $20,000 (all ordinary) before considering the tax effect of their asset sales, what is their gross tax liability for 2020 assuming they file a joint return? (Round all your immediate computations to the nearest whole dollar amount)
In: Accounting
SSG Cycles manufactures and distributes motorcycle parts and supplies. Employees are offered a variety of share-based compensation plans. Under its nonqualified stock option plan, SSG granted options to key officers on January 1, 2018. The options permit holders to acquire 7 million of the company’s $1 par common shares for $27 within the next six years, but not before January 1, 2021 (the vesting date). The market price of the shares on the date of grant is $29 per share. The fair value of the 7 million options, estimated by an appropriate option pricing model, is $8.1 per option.
Required: 1. Determine the total compensation cost pertaining to the incentive stock option plan. 2. & 3. Prepare the appropriate journal entries to record compensation expense on December 31, 2018, 2019, and 2020. Record the exercise of the options if all of the options are exercised on May 11, 2022, when the market price is $30 per share.
In: Accounting
Structure and makeup of Congress in 1789 and in 2020
In: Operations Management
Tesco Exits South Korea
Tesco was founded in 1919 by Jack Cohen (Cohen), who invested his serviceman’s gratuity of £30 in a grocery stall. The first private label product introduced by Cohen was Tesco Tea. The name Tesco was a combination of the initials of the tea supplier TE Stockwell, and the first two letters of Cohen’s name. Tesco opened its first store in 1929 in Edgware, London. In 1947, Tesco Stores (Holdings) Limited was floated on the Stock Exchange with a share price of 25 pence and the first supermarket was opened in 1956 in Maldon, Essex, England. The first superstore was opened in 1968 in Crawley, West Sussex. In the 1960s, Tesco went on an expansion spree and acquired several store chains. The Retail Price Maintenance (RPM) Act in Britain prohibited large retailers from pricing goods below a price agreed upon by the suppliers. To overcome this obstacle to price reduction, Tesco introduced trading stamps. These were given to customers when they purchased products and could be traded for cash or other gifts. RPM was abolished in 1964, and from then on, Tesco was able to offer competitively priced products to its customers in a more direct manner. The first Tesco superstore, with an area of 90,000 square feet, was opened in 1967.
TESCO’S GLOBAL EXPANSION
Tesco’s global expansion began in 1979, when it entered Ireland by
acquiring a 51% equity stake in ‘3 Guys stores’. In 1986, Tesco
divested itself of the stores after it found that it could not
sustain its operations in the country as customers were rejecting
the British products that it sold. During the late 1980s and the
early 1990s, Tesco examined the options available in the US and
European countries after the British government introduced new
regulations on ‘out-of-town’ stores. In December 1992, Tesco
entered France by acquiring an 85% equity holding in Catteau
supermarkets, which operated under the Cedico brand with 72
superstores, 7 hypermarkets, and 24 small stores. However, Tesco
failed to sustain itself in the market due to competition from
French retailers like Carrefour and Promodès. In 1995, a law was
passed in France which prohibited the opening of new large retail
stores. Moreover, the company failed to adapt its products to suit
local tastes and lost market share. In 1996, in spite of investing
an additional £ 300 million in France, sales in the country grew by
a mere 1%. In the year 1997, Tesco sold its operations in France to
Prom odes.
TESCO IN SOUTH KOREA
In the early 1990s, there was a growing demand from consumers in
South Korea for a modern shopping experience owing to rapid
economic growth and increasing disposable incomes. The government
had adopted protectionist policies and the retail sector was not
open for foreign direct investment (FDI). Tesco
entered South Korea in 1999 through a joint venture with Homeplus, a unit of the country’s biggest business group Samsung Corporation (Samsung). In the next few years, Tesco became the most successful international retailer in the country. Its success was attributed to its ability to localize its products and stores to appeal to the South Korean consumers; its operating through local management; and its strong presence through different store formats. South Korea went on to become Tesco’s most successful international business in terms of revenue. As of 2014, it operated d 140 hypermarkets, 609 supermarkets, and 326 convenience stores.
TESCO’S STRATEGIES IN SOUTH KOREA
Immediately after entering into the joint venture, Tesco went about
upgrading the store layouts. The stores were modified to resemble
department stores, which were spacious and clean. Tesco’s stores in
Korea did not resemble its stores in the UK or in other European
locations like Hungary, Poland, the Czech Republic, and
Ireland.
CHANGES IN THE OPERATING ENVIRONMENT
In October 2012, when Tesco posted its first fall in profits in 20
years, the company also announced that its profits in South Korea
would take a £ 100 million hit due to the "retail market
development bill” that had been passed by the government in
November 2010. However, changes in the operating environment in
South Korea due to new laws that were enforced beginning 2010 to
protect small retailers and merchants started to impact Tesco and
other large retailers. These laws placed restrictions on the
locations where supermarkets could be opened. The Distribution
Industry Development Act passed in 2012 imposed restrictions on the
time for which the stores could remain open and also specified that
on two weekends every month the large retail stores should be
closed. As most Koreans shopped during the weekends, these
restrictions started to impact Tesco, which made losses in 2015.
Under the impact of the global recession, the private spending in
South Korea fell. Another factor that impacted Tesco in South Korea
was its UK business, which was not doing well.
TESCO’S EXIT FROM SOUTH KOREA
After several months of speculation, Tesco sold its South Korean
stores to Asian private equity firm MBK Partners for £4.2 billion
on September 07, 2015. On September 07, 2015, Tesco PLC (Tesco), a
British multinational grocery and general merchandise retailer,
announced that it had sold its South Korean business, operated
under the name Homeplus, for £4.2 billion to a consortium of
companies led by MBK Partners, a South Korean buyout firm. The
consortium included Canada Pension Plan Investment Board, Public
Sector Pension Investment Board, and Temasek Holdings (Private)
Limited.
Case study question
The extract above mentions changes in operating environment in
which Tesco functions.
Discuss in this context, the nuances of a Task environment.
In: Economics
Bramble Inc. reported the following accounting income (loss) and related tax rates during the years 2015 to 2021:
| Accounting | Tax | ||||||
|---|---|---|---|---|---|---|---|
| Year | Income (Loss) | Rate | |||||
| 2015 | $72,000 | 25% | |||||
| 2016 | 25,000 | 25% | |||||
| 2017 | 58,000 | 25% | |||||
| 2018 | 79,000 | 30% | |||||
| 2019 | (212,000 | ) | 35% | ||||
| 2020 | 73,000 | 30% | |||||
| 2021 | 85,000 | 25% | |||||
Accounting income (loss) and taxable income (loss) were the same
for all years since Bramble began business. The tax rates from 2018
to 2021 were enacted in 2018.
Assume Bramble Inc. follows ASPE for all parts of this question,
except when asked about the effect of reporting under IFRS in part
(b).
Prepare the journal entries to record income taxes for the years 2019 to 2021. Assume that Bramble uses the carryback provision where possible and expects to realize the benefits of any loss carryforward in the year that immediately follows the loss year. (Credit account titles are automatically indented when the amount is entered. Do not indent manually. If no entry is required, select "No Entry" for the account titles and enter 0 for the amounts.)
Show how the bottom portion of the income statement would be reported in 2019, beginning with “Loss before income tax.” (Enter negative amounts using either a negative sign preceding the number e.g. -45 or parentheses e.g. (45).)
Show how the bottom portion of the income statement would be reported in 2020, starting with “Income before income tax.” (Enter negative amounts using either a negative sign preceding the number e.g. -45 or parentheses e.g. (45).)
Prepare the journa
Assume now that Bramble uses a valuation allowance account along
with its Future Tax Asset account. Identify which entries in the
previous part of the question would differ and prepare them.
(Credit account titles are automatically indented when
the amount is entered. Do not indent manually. If no entry is
required, select "No Entry" for the account titles and enter 0 for
the amounts.)
Indicate how the bottom portion of the income statements for 2019
and 2020 would be reported. Assume that Bramble uses the carryback
provision where possible but is uncertain if it will realize the
benefits of any loss carryforward in the future. Bramble does not
use a valuation allowance. (Enter negative amounts
using either a negative sign preceding the number e.g. -45 or
parentheses e.g. (45).)l entries for the years 2019
to 2021 to record income taxes, assuming that Bramble uses the
carryback provision where possible but is uncertain if it will
realize the benefits of any loss carryforward in the future.
Bramble does not use a valuation allowance. (Credit
account titles are automatically indented when the amount is
entered. Do not indent manually. If no entry is required, select
"No Entry" for the account titles and enter 0 for the
amounts.)
In: Accounting
Schultz Electronics manufactures two ultra high-definition television models: the Royale which sells for $1,480, and a new model, the Majestic, which sells for $1,320. The production cost computed per unit under traditional costing for each model in 2020 was as follows.
|
Traditional Costing |
Royale |
Majestic |
||
| Direct materials |
$620 |
$420 |
||
| Direct labor ($20 per hour) |
120 |
100 |
||
| Manufacturing overhead ($41 per DLH) |
246 |
205 |
||
| Total per unit cost |
$986 |
$725 |
In 2020, Schultz manufactured 25,000 units of the Royale and 10,000
units of the Majestic. The overhead rate of $41 per direct labor
hour was determined by dividing total estimated manufacturing
overhead of $8,202,400 by the total direct labor hours (200,000)
for the two models.
Under traditional costing, the gross profit on the models was
Royale $494 ($1,480 – $986) and Majestic $595 ($1,320 – $725).
Because of this difference, management is considering phasing out
the Royale model and increasing the production of the Majestic
model.
Before finalizing its decision, management asks Schultz’s
controller to prepare an analysis using activity-based costing
(ABC). The controller accumulates the following information about
overhead for the year ended December 31, 2020.
|
Activity |
Cost Drivers |
Estimated |
Estimated Use of |
Activity-Based |
||||
| Purchasing | Number of orders | $1,228,800 | 38,400 | $32/order | ||||
| Machine setups | Number of setups | 846,600 | 16,600 | $51/setup | ||||
| Machining | Machine hours | 5,297,600 | 120,400 | $44/hour | ||||
| Quality control | Number of inspections | 829,400 | 28,600 | $29/inspection |
The cost drivers used for each product were:
|
Cost Drivers |
Royale |
Majestic |
Total |
|||
| Purchase orders | 16,000 | 22,400 | 38,400 | |||
| Machine setups | 4,000 | 12,600 | 16,600 | |||
| Machine hours | 75,000 | 45,400 | 120,400 | |||
| Inspections | 10,000 | 18,600 | 28,600 |
Assign the total 2020 manufacturing overhead costs to the two products using activity-based costing (ABC) and determine the overhead cost per unit. (Round cost per unit to 2 decimal places, e.g. 12.25.)
|
Royale |
Majestic |
|||
| Total assigned costs |
$ |
$ |
||
| Cost per unit |
$ |
$ |
eTextbook and Media
Calculate cost per unit of each model using ABC costing. (Round answers to 2 decimal places, e.g. 12.25.)
|
Royale |
Majestic |
|||
| Cost per unit |
$ |
$ |
eTextbook and Media
Calculate gross profit of each model using ABC costing. (Round answers to 2 decimal places, e.g. 12.25.)
|
Royale |
Majestic |
|||
| Gross profit |
$ |
$ |
In: Accounting
Each change occurs during 2021 before any adjusting entries or
closing entries were prepared. Assume the tax rate for each company
is 25% in all years. Any tax effects should be adjusted through the
deferred tax liability account.
| Loss—litigation | 140,000 | |
| Liability—litigation | 140,000 | |
Late in 2021, a settlement was reached with state authorities to
pay a total of $284,000 in penalties.
Required:
For each situation:
1. Identify the type of change.
2. Prepare any journal entry necessary as a direct
result of the change, as well as any adjusting entry for 2021
related to the situation described.
In: Accounting