Lower-of-Cost-or-Market Inventory
Data on the physical inventory of Ashwood Products Company as of December 31 follows:
Description |
Inventory Quantity |
Unit Market Price |
||||
| B12 | 38 | $ 57 | ||||
| E41 | 18 | 180 | ||||
| G19 | 33 | 126 | ||||
| L88 | 18 | 550 | ||||
| N94 | 400 | 7 | ||||
| P24 | 90 | 18 | ||||
| R66 | 8 | 250 | ||||
| T33 | 140 | 20 | ||||
| Z16 | 15 | 752 | ||||
Quantity and cost data from the last purchases invoice of the year and the next-to-the-last purchases invoice are summarized as follows:
| Last Purchases Invoice |
Next-to-the-Last Purchases Invoice |
||||||||||||
Description |
Quantity Purchased |
Unit Cost |
Quantity Purchased |
Unit Cost |
|||||||||
| B12 | 30 | $ 60 | 30 | $ 59 | |||||||||
| E41 | 35 | 178 | 20 | 180 | |||||||||
| G19 | 20 | 128 | 25 | 129 | |||||||||
| L88 | 10 | 563 | 10 | 560 | |||||||||
| N94 | 500 | 8 | 500 | 7 | |||||||||
| P24 | 80 | 22 | 50 | 21 | |||||||||
| R66 | 5 | 248 | 4 | 260 | |||||||||
| T33 | 100 | 21 | 100 | 19 | |||||||||
| Z16 | 10 | 750 | 9 | 745 | |||||||||
Required:
Determine the inventory at cost and also at the lower of cost or market, using the first-in, first-out method. Record the appropriate unit costs on the inventory sheet, and complete the pricing of the inventory. When there are two different unit costs applicable to an item, proceed as follows:
Insert the quantity and unit cost of the last purchase.
On the following line, insert the quantity and unit cost of the next-to-the-last purchase.
Total the cost and market columns and insert the lower of the two totals in the LCM column.
The first item on the inventory sheet has been completed as an example.
| Inventory Sheet December 31 |
|||||||
|---|---|---|---|---|---|---|---|
| Description | Inventory Quantity | Cost Price Unit | Market Value per Unit (Net Realizable Value) |
||||
| Cost | Market | LCM | |||||
| B12 | 38 | 30 | $60 | $57 | $1,800 | $1,710 | |
| 8 | 59 | 57 | 472 | 456 | |||
| 2,272 | 2,166 | $2,166 | |||||
| E41 | 18 | ||||||
| G19 | 33 | ||||||
| L88 | 18 | ||||||
| N94 | 400 | ||||||
| P24 | 90 | ||||||
| R66 | 8 | ||||||
| T33 | 140 | ||||||
| Z16 | 15 | ||||||
| Total | $ | $ | $ | ||||
In: Accounting
Question 4 (Marks: 10)
The following information is an extract of the statement of profit or loss of Palladium Ltd for the
current financial year:
Annual sales (20% cash) R625 000
Cost of Sales R125 000
Purchases (50% on credit) R200 000
The average accounts receivable collection period is 45 days. The average payment supplier period
is 50 days and the cash conversion cycle has been calculated as 55 days.
REQUIRED:
Q.4.1 Calculate the total average investment in the cash conversion cycle (CCC) for
Palladium Ltd.
Assume that there are 365 days in a year.
Round to the nearest Rand.
(10)
In: Finance
C++
I have to create printArray, but I have the error " error C2065: 'ar': undeclared identifier". Just need a little help.
#include
#include
#include
using namespace std;
void fillArray(int a[], int size);
void printArray(int a[], int size);
int main()
{
int ar[10];
fillArray(ar, 10);
printArray(ar, 10);
return 0;
}
void fillArray(int a[], int size)
{
for(int i = 0; i < 10; i++)
a[i] = rand() % 10 + 1;
}
void printArray(int a[], int size)
{
for (int i = 0; i < 10; i++)
cout << ar[i];
}
In: Computer Science
Program Created Last Week:
#Program plays
a guessing the number game with the user.
#Importing random number with min number being 1 and max being
10
import random
min_number = 1
max_number = 10
rand = random.randint(min_number, max_number)
#Prints the header, welcoming the user
print("Welcome to the Guess My Number Program!")
while (True):
#While loop, comparing the users guessed number with the random
number.
#If it matches, it will say you guessed it.
guess = eval(input("Please try to guess my number between 1 and
10:"))
if(guess == rand):
print("You guessed it!")
#break will end the loop once the guess is a match.
#Conditions if the guess is too low or too high to keep
guessing.
break
elif(guess < rand):
print("Too low")
else:
print("Too high")
add to the program you created last week. Python Program You will add input validation and a count to show how many guesses the user took before getting the correct number. The pseudocode is below. Be sure to import random at the beginning of your code and use a comment block explaining what your program does
#Random number, loop while true
#ask user for number. Check to see if the value is a number between 1 and 10
#if number is too high or too low, tell user, if they guessed it break out of loop
Display "Welcome to my Guess the number program!"
random mynumber
count=1
while True
try
Display "Guess a number between 1 and 10"
Get guess
while guess<1 or guess>10
Display "Guess a number between 1 and 10"
Get guess
except
Display "numbers only"
continue
if (guess<mynumber)
Display "Too low"
count=count+1
else if (guess>mynumber)
Display "Too high"
count=count+1
else if (guess==mynumber)
Display "You guessed it in "+ count + " attempts"
When you run the program the result should look like the following:
Welcome to my Guess the number program!
Please guess a number between 1 and 10: a
Numbers only!
Please guess a number between 1 and 10: -3
Please guess a number between 1 and 10: 4
Too low
Please guess a number between 1 and 10: 5
Too low
Please guess a number between 1 and 10: 6
You guessed it! It took you 3 attempts
In: Computer Science
Can you please see what I have done wrong with my program code and explain, This python program is a guess my number program. I can not figure out what I have done wrong. When you enter a letter into the program, its supposed to say "Numbers Only" as a response. I can not seem to figure it out.. instead of an error message.
import random
def menu():
print("\n\n1. You guess the number\n2. You type a number and see if
the computer can guess it\n3. Exit")
while True:
c=int(input("Enter your choice: "))
if(c>=1 and c<=3):
return c
else:
print("Enter number between 1 and 3 inclusive.")
def guessingGame():
min_number=1
max_number=10
#set number of guesses = 0
numGuesses=0
rand=random.randint(min_number, max_number)
#prints the header, welcoming the user
print("\nWelcome to the Guess My Number Program!")
#While loop, comparing the users guessed number with the random
number.
#If it matches, it will say you guessed it.
while (True):
#use try-block
try:
guess=eval(input("Please try to guess my number between 1 and
10:"))
#check if the guess is less than 0, then continye to beginning of
the loop
if(guess<0):
continue;
elif (guess==rand):
#increment the guess count by 1
numGuesses=numGuesses+1
print("You guessed it! It took you ", numGuesses,"attempts")
#break will end the loop once the guess is a match.
#Conditions if the guess is too low or too high to keep
guessing
break
elif(guess < rand):
#increment the guess count by 1
numGuesses = numGuesses +1
print("Too low")
else:
#increment the guess count by 1
numGuesses = numGuesses + 1
print("Too high")
except:
#print exception
print("Numbers only!")
def guessingGameComp():
countGuess=0
userNumber=int(input("\nPlease enter a number between 1 and 10 for
the computer to guess:"))
while userNumber<1 or userNumber>10:
userNumber=int(input("Guess a number between 1 and 10: "))
while True:
countGuess+=1
compRand = random.randint(1,10)
if(userNumber==compRand):
print("The computer guessed it! It took {}
attempts".format(countGuess))
break
elif(userNumber<compRand):
print("The computer guessed {} which is too
low".format(compRand))
else:
print("The computer guessed {} which is too
high".format(compRand))
def main():
while True:
userChoice=menu()
if userChoice==1:
guessingGame()
elif userChoice==2:
guessingGameComp()
elif userChoice==3:
print("\nThank you for playing the guess the number game!")
break
else:
print("Invalid choice!!!")
main()
In: Computer Science
I need help with 3 and 4 of the question. I've already completed step 1 and 2
Note: You should test each step in a client program.
//diceType.h
#ifndef H_diceType
#define H_diceType
class diceType
{
public:
diceType();
// Default constructor
// Sets numSides to 6 with a random numRolled from 1 - 6
diceType(int);
// Constructor to set the number of sides of the dice
int roll();
// Function to roll a dice.
// Randomly generates a number between 1 and numSides
// and stores the number in the instance variable numRolled
// and returns the number.
int getNum() const;
// Function to return the number on the top face of the dice.
// Returns the value of the instance variable numRolled.
protected:
int numSides;
int numRolled;
};
#endif // H_diceType
===================================
//diceTypeImp.cpp
//Implementation File for the class diceType
#include
#include
#include
#include "diceType.h"
using namespace std;
diceType::diceType()
{
srand(time(nullptr));
numSides = 6;
numRolled = (rand() % 6) + 1;
}
diceType::diceType(int sides)
{
srand(time(0));
numSides = sides;
numRolled = (rand() % numSides) + 1;
}
int diceType::roll()
{
numRolled = (rand() % numSides) + 1;
return numRolled;
}
int diceType::getNum() const
{
return numRolled;
}
=========================================
//diceTypeDerived.h
#ifndef diceTypeDerived_H
#define diceTypeDerived_H
#include "diceType.h"
#include
#include
class diceTypeDerived : public diceType
{
friend std::ostream& operator<<(std::ostream&, const
diceTypeDerived &);
friend std::istream& operator>>(std::istream&,
diceTypeDerived &);
public:
diceTypeDerived(int = 6);
void SetSides(int);
};
#endif // diceTypeDerived_H
===================================
//diceTypeDerived.cpp (Implementation file)
#include "diceTypeDerived.h"
diceTypeDerived::diceTypeDerived(int sides) : diceType(sides) { }
std::ostream& operator << (std::ostream& osObject, const diceTypeDerived& dice) {
osObject << dice.numRolled;
return osObject;
}
std::istream& operator >> (std::istream& isObject,
diceTypeDerived& dice) {
int tempNum;
isObject >> tempNum;
if (tempNum < dice.numSides)
dice.numRolled = tempNum;
else
dice.numRolled = dice.numSides;
return isObject;
}
void diceTypeDerived::SetSides(int newSides){
numSides = newSides;
}
==========================================
//test.cpp
#include "diceTypeDerived.h"
#include
using namespace std;
int main() {
diceTypeDerived dice1, dice2;
dice1.roll();
dice1.SetSides(12);
dice1.roll();
cout << "Set value rolled for dice2: ";
cin >> dice2;
cout << "dice1: " << dice1 << " dice2: " << dice2 << endl;
return 0;
}
In: Computer Science
C++
How would I sort my output to evaluate it by sorting the column by it's size? I didn't include my full program but here is the main.cpp where i'm supposed to sort the output by column size.
//User Libraries
#include <cstdlib>
#include <ctime>
#include <iostream>
using namespace std;
//User Libraries
#include "Table.h"
#include "Triangle.h"
//Global Constants
//Function Prototype
void prntRow(RowAray *,int);
void prntTab(Table *);
void prntTri(Triangle *);
//Execution Begins Here!
int main(int argc, char** argv) {
//Initialize the random seed
srand(static_cast<unsigned int>(time(0)));
//Declare Variables
// creates a random number of rows from 1 to 10
int rows=(rand()%10)+ 1;
//creates a random number of columns from 1 to 10
int cols=(rand()%10 )+1;
int perLine=cols/2;
//Test out the RowAray
RowAray row(cols);
//Print the RowAray
cout<<"The Row Array size = "<<row.getSize()
<<" printed "<<perLine<<" per Line";
prntRow(&row,perLine);
//Test out the Table
Table tab(rows,cols);
//Print the Table
cout<<"The table size is [row,col] =
["<<rows<<","<<cols<<"]";
prntTab(&tab);
//Test out the Triangular Table
Triangle tri(rows);
//Print the Triangular Table
cout<<"The triangular table size is [row,row] =
["<<rows<<","<<rows<<"]";
prntTri(&tri);
//Exit Stage Right
return 0;
}
//Fill a triangular matrix
int **fillAry(int *col,int n){
int **array=new int*[n];
for(int i=0;i<n;i++){
array[i]=new int[col[i]];
}
for(int i=0;i<n;i++){
for(int j=0;j<col[i];j++){
array[i][j]=rand()%9+1;//1 Digit numbers [1-9]
}
}
return array;
}
void prntRow(RowAray *a,int perLine){
cout<<endl;
for(int i=0;i<a->getSize();i++){
cout<<a->getData(i)<<" ";
if(i%perLine==(perLine-1))cout<<endl;
}
cout<<endl;
}
void prntTab(Table *a){
cout<<endl;
for(int row=0;row<a->getSzRow();row++){
for(int col=0;col<a->getSzCol();col++){
cout<<a->getData(row,col)<<" ";
}
cout<<endl;
}
cout<<endl;
}
void prntTri(Triangle *a){
cout<<endl;
for(int row=0;row<a->getSzRow();row++){
for(int col=0;col<=row;col++){
cout<<a->getData(row,col)<<" ";
}
cout<<endl;
}
cout<<endl;
}
In: Computer Science
There is a firm which reinvests its profits back in itself. Consequently, it does not distribute any of its profit to the owners for the first 5 years. Afterward, it begins paying $6 per share for the 6th year.
That rises by 200% for the 7th year and by 100% for the 8th. Beyond the 8th year, it grows perpetually at a constant rate. Its dividend payout ratio is .6
Its D/E (debt-to-equity) is 50/50
its tax rate is .2
and its unlevered beta is 1
The net profit margin is .05
The asset turnover ratio is 2
The market premium is .04, and the risk free rate is .02
If the information for the last three sentences is applying to year 9,
compute the price of the company. (show your work)
In: Finance
|
A bond having a face value (F) of Rs.100 is selling at (B) Rs.95 in the market. It pays coupon semi-annually and coupon rate is 10% per annum. It has just paid the last coupon on yesterday and there are 2 more coupon payments left. The first one will be paid exactly 6 months from now and last one exactly 1 year from now. The Face Value will be repaid at maturity along with last coupon payment. |
|
|
Draw the cash flow diagram demarking the inflows and outflows with timings. |
(1) |
|
What is the Current Yield of the bond? |
(1) |
|
What is the Yield to Maturity of the bond? |
(3) |
|
What will be the new bond price if the yield decreases by 50 basis points? |
(2) |
In: Finance
Alset Motors is offering the 2019 Tesla Model S Sedan (basic model) for $79,900. You “wheel and deal” and get the price down to $75,000 with no money down (100%-financing). The only difficulty is that the monthly payments on the 7.2%, six-year loan are at the beginning of the month.
What is the monthly payment on this loan?
How much of the first payment is interest and how much is principal? (label them)
How much of the sixteenth payment is interest and how much is principal? (label them)
How much interest and how much principal would you pay in the loan’s second full year? (label them)
How much interest and how much principal would you pay over the life of the loan? (label them)
In: Finance