QUESTION
Lemonade Bhd , a manufacturing company was incorporated two years ago. The following is the statement of financial position of the company as at 31 December 2018.
Lemonade Bhd
Statement of financial position as at 31 December 2018
|
+ |
RM |
|
Issued and paid up capital |
|
|
5,000,000 Ordinary shares |
10,000,000 |
|
1,000,000 7% Preference Shares |
5,000,000 |
|
Reserves |
|
|
Retained earnings |
10,767,000 |
|
Non Current Liabilities |
|
|
5% Debenture |
10,000,000 |
|
Current Liabilities |
|
|
Account payable |
573,000 |
|
36,340,000 |
|
|
Financed by: |
|
|
Non current asset |
34,343,000 |
|
Investment |
850,000 |
|
Current Assets |
|
|
Inventory |
250,000 |
|
Account receivables |
657,000 |
|
Bank |
240,000 |
|
36,340,000 |
|
During the year ended, the company resolved the following matters
Required:
In: Accounting
Lemonade Bhd , a manufacturing company was incorporated two years ago. The following is the statement of financial position of the company as at 31 December 2018.
Lemonade Bhd
Statement of financial position as at 31 December 2018
|
RM |
|
|
Issued and paid up capital |
|
|
5,000,000 Ordinary shares |
10,000,000 |
|
1,000,000 7% Preference Shares |
5,000,000 |
|
Reserves |
|
|
Retained earnings |
10,767,000 |
|
Non Current Liabilities |
|
|
5% Debenture |
10,000,000 |
|
Current Liabilities |
|
|
Account payable |
573,000 |
|
36,340,000 |
|
|
Financed by: |
|
|
Non current asset |
34,343,000 |
|
Investment |
850,000 |
|
Current Assets |
|
|
Inventory |
250,000 |
|
Account receivables |
657,000 |
|
Bank |
240,000 |
|
36,340,000 |
|
During the year ended, the company resolved the following matters
Required:
In: Accounting
Data Structures
Use good style. Make sure that you properly separate code into .h/.cpp files. Make sure that you add preprocessor guards to the .h files to allow multiple #includes.
Overview
You will be writing the classes Grade and GradeCollection. You will be writing testing code for the Grade and GradeCollection classes.
Part 1 – Create a Grade Class
Write a class named Grade to store grade information.
Grade Class Specifications
Part 2 – Create a GradeCollection Class
Write a class that will store a collection of Grade. This class will be used to keep track of data for multiple grades. You MUST implement ALL of the specifications below.
GradeCollection Class Specifications
If lowerBound is 70 and upperBound is 80 then the returned value should be 3. Any values that fall on the boundaries should be included in the count.
Part 3 – Main Function
In main you should create instances of the Grade and GradeCollection classes and demonstrate that ALL functions work properly on both classes. You can write unit testing code if you want but you are not required to. Make sure you call ALL functions.
Part 4 – Comments
In addition to the normal comments, EVERY function that gets updated because of the required changes should have an update comment added to the function commenting header. The update comment should have your name, the date of the change, and a short description of the change. For example:
//****************************************************
// Function: SetName
//
// Purpose: Sets the name of the grade.
//
// Update Information
// ------------------
//
// Name:
// Date: 9/20/2016
// Description: mName member variable was changed to a
// pointer. Updated code so that it works // with a pointer.
//
//****************************************************
Part 5 – Updated Grade and GradeCollection Classes
Grade Class Updates
The Grade class should implement all the specifications from the first assignment plus the updates and features listed below.
std::string GetName(); void SetName(std::string name);
These signatures should remain exactly the same. The same goes for any other functions that use these member variables. Only the internal implementation of the functions will change to accommodate the use of pointers.
GradeCollection Class Updates
The GradeCollection class should implement all the specifications from the first assignment plus the updates and features listed below.
This function should create a new array that has the passed in size. You MUST retain any values that were previously in the array. The new array size can be larger or smaller. If the new array size is SMALLER just retain as many elements from the previous array that can fit.
Hint: C++ arrays have a fixed size. You may need to delete and then reallocate memory. Be careful for memory leaks.
GradeCollection *Clone();
This function should allocate a new dynamic instance of GradeCollection that is a deep copy of the current instance. This method should return a pointer to the new instance.
Hint: Any function that calls Clone is responsible for releasing the returned memory address.
Part 6 – Main Function
In main you should create instances of the updated Grade and GradeCollection classes and demonstrate that ALL functions work properly. You can write unit testing code if you want but you are not required to. Make sure you call ALL functions.
You program should not have memory leaks.
In: Computer Science
Two aeroplanes with the same specification each that has an engine rotates at 2000 rpm with the moment of inertia for all rotating parts is 420 (kg)(m^2). The engine rotates anti-clockwise when viewed from the front. One of the aeroplanes turn to the left and the other turn to the right. Compare the magnitude and effect of the gyroscopic action resulting on the plane if the turning radius is 2000 m at a speed of 2000 km/h.
In: Mechanical Engineering
what is super key, candidate key, and primary key, and foreign key in terms of database? and plz provide some examples, thanks.
In: Computer Science
Using PHP and MYSQL and with a simple customer database, how can I create a simple log in and registration system for an ecommerce site
In: Computer Science
Describe the structure of codification. Codification of accounting standards reduces the time and effort of researching the vast database of GAAP. Do you agree?
In: Accounting
How important is it that a company's systems be based on a database? What advantages does it provide? Include in your answer an example from a company.
In: Operations Management
what aggregate functions priobably would be usefull to school administrators to analyze student population and why? (school environment database management)
In: Computer Science
In: Computer Science