Use the function from Q1 to find the sum of ints,n, from 1 to 2500,
inclusive, that satisfy the following boolean:
((n div by 11) and ( n is div by 13) ) or (n is div by 61)
Print out the sum with a labelled print:
The sum of qualifying ints, n, 1 <= n <= 2500, is ___________.
Hint: Remember that you can use a for loop to traverse a list.
For example:
L = [23,37,41,53,61]:
for n in L:
print(n, end = ' ')
23 37 41 53 61
>>>
You can do this even more easily if you use the BIF sum, which returns the sum
of the numbers in a list
L1 = [2,7,13]
Sum = sum(L1)
print(Sum)
22
Write code to find the product of every 19th qualifying int (19th, 38th,...) from Q2, then
print out a labelled print:
The product of every 19th qualifying int is ____________
Then write code to find the sum of every 2nd qualifying int (2nd,4th,...) from Q2, then
print out a labelled print:
The sum of every 2nd qualifying int is ______________
Hint: Set up a counter and initialize the counter to zero.
Increase the counter as the ints from the list returned from Q2 are traversed.
Do not use indices - just use what has been taught. You can tell from the
counter what qualified int you are currently on. Knowing this, you can determine if
you are on a 2nd or a 19th qualifying int.
What is the largest int times the sum that is less than or equal to the product?
Print this out with a labelled print statement:
The largest int times the sum that is less that or equal to the product is _____________.
In: Computer Science
Normative Economics (Efficiency vs, Equity)
there are two types of economic Efifficence Vs Equity why it is more important than the efficiency goal than equity?
why it is more important than the equity goals than efficient too ?
In: Economics
Any amount received or accrued by a taxpayer from an educational
policy, which has
been expended for providing education or training at a recognised
educational
institution of a child or stepchild is exempt according to Section
16(1)(ab).
On the last day of the year of assessment, the child or stepchild
is not required to be? a) Not over the age of 26 years b) Living
with the parents c) All of the above d) None of the above
6. In the case Lategan v CIR (CPD 1926), the word accrued was held
to mean: a) ‘’accrued to” b) “to which he has become entitled” c)
“received on his own behalf” d) “received for his benefit”
7. Jackson Samuel is a 27-year old writer who is a Namibian
resident. He paid a royalty of
N$ 100 000 by Crazy Films for the right to use one of his
copyrighted books in the next
film.
The royalty payment received will be included in Jackson’s Gross
Income for the year. a) False b) True
8. What is the tax treatment of the royalties received? a) Included
in Gross Income only b) Included in Gross Income and then Exempt c)
Not Taxable d) Specifically deductible
Page 12 of 25
9. Mrs Martha retires and is paid a pension retirement of N$10 000
per month from a fund
in Botswana. She has spent the last 9 years of her 16 years of
service in Namibia. What
is the amount deemed to be Namibian source income for the specific
year of
assessment? a) N$ 5 625 b) N$ 90 000 c) N$ 67 500 d) N$ 17
778
10. The onus is on the tax payer to prove that certain amounts are
of a capital nature. If
there is a dispute and the case goes to court, the court will take
into account certain
factors in reaching a decision. Which of the following is not a
factor to consider? a) The intention of the taxpayer b) The
objective of the taxpayer c) The period the assets are held d) The
type of asset held
11. Ms Charon has been working in Namibia for the past 5 months.
She is an employee of a
company operating in Britain and was sent to Namibia to supervise
the opening of the
company’s new branch in Oshakati. The salary that she has earned
for the five months is
taxable in Namibia. a) True b) False
12. Sara Maneti has recently retired after a long career in the
mining industry of Namibia.
Upon retirement, she received N$ 250 000 lump sum from her
employer. She used N$
180 000 to purchase an annuity from a foreign insurance
company.
Page 13 of 25
What amount should the lump sum from employer be in order to be
taxable in three
equal instalments, starting in the year of payment and two
following years? a) Over N$ 500 000 b) Over N$ 300 000 c) Over N$
200 000 d) Under N$ 300 000
13. The following is a requirement for the lump sum from employer
exemption. a) The person attained the age of fifty b) Termination
of service due to criminal conviction c) Termination of service due
to end of employment contract d) The minister is satisfied that the
person is retrenched
14. An employee receives housing benefits provided in terms of
approved housing schemes.
Where the remuneration of the employee does not exceed N$ 15 000
per annum, the
housing benefit is exempted as follows: a) One third of the benefit
is exempt b) Benefit is fully exempted c) Benefit does not qualify
for exemption d) Two third of the benefit is exempt
15. Where an employee’s remuneration exceeds N$ 15 000 per annum
but not N$ 30 000
the housing benefit is reduced by Y% in the formula
? = 100−
? 150
Where X in the formula represents: a) Remuneration less housing
benefit b) Employee’s remuneration c) Amount of housing benefit d)
Excess of employee’s remuneration
Page 14 of 25
16. According to Section 16(1)(q), alimony refers to any amount …
a) Received by a spouse married in community of property b)
Received by a spouse married out of community of property c)
Received by a spouse of behalf of a child d) Received from a former
spouse after divorce settlement
17. Which of the following is not a characteristic of an annuity?
a) Repetitive cash payment b) Annual payment c) Chargeable against
a person d) Continuous payment
18. 65-year old John Smith retired in January 2020. He received N$
200 000 lump sum from
his employer. Some of his receipts for the year also included N$ 8
000 withdrawal
benefit from a pension fund, N$ 300 000 retirement benefit from a
provident fund and
N$ 2 000 war pension. After retirement, John continued running the
business that he
had started a few years ago. During the year, the business earned
N$ 90 000 in profits.
Which one of the above does not constitute John’s income for the
year of assessment
ending 29 February 2020? a) Business profits b) Withdrawal benefit
from pension fund c) War pension d) Retirement benefit from
provident fund
19. If John had deposited N$ 100 000 of his lump sum into a NamPost
saving account and
earned interest on the savings account, the interest received by
John would not be
taxable. a) False b) True
Page 15 of 25
20. Specifically included in John’s Gross Income should be any
amount, excluding all
voluntary award, received or accrued in respect of services
rendered or to be rendered. a) True b) False
21. Lucas Josephat is a Namibian resident employed as a salesperson
at Build-In Wholesaler
in Ongwediva. During the 2019 year of assessment he won a prize for
being its most
productive salesperson of the year. The prize was valued at N$ 20
000 (this amount was
also the cost of this prize to his employer). Why will the prize
received not be included in
his gross income for the year of assessment ending 2019? a) Not
arising out of an operation of business b) Closely connected with
his employment c) Constitute a receipt of a capital nature d)
Benefit of his employment
22. Desmond Xaweb 68-year old pensioner owns three tuck shops in
Kunene Region. He has
lived his whole life in Namibia and has never left the country.
Desmond is also the
owner of a house located a few kilometres outside Okahandja. After
his death in January
this year, Desmond’s grandson, Dion, inherited the house. The house
was valued at N$ 2
500 000 by an independent real estate evaluator. After facing cash
flow problems, Dion
decided to sell the house for N$ 2 000 000 during the same year.
Will the proceeds from
the sale of house by Dion be considered of income nature? a) True
b) False
Page 16 of 25
23. Under which circumstances will the receipts from the house sold
by Dion be considered
of capital nature? a) If he had not inherited the property b) If he
had a scheme of selling the property for profit c) If his intention
was that of speculation or investment d) If he did not enter into
an extensive advertising campaign to sell it
24. Lisa Kutako, a property developer living and trading in
Pretoria, inherited a block of flats
in Windhoek on 3 March 2019, valued at N$ 8 000 000, from aunt who
lived in Outjo.
Since Lisa was at that time selling two other blocks of flats under
sectional title, she
immediately applied for sectional title rights on her inherited
property. By 29 February
2020, she had sold all the flats in her inherited property for N$ 9
000 000.
Where will Lisa be taxed on the receipts from the flats sold? a)
South Africa b) Namibia c) All of the above d) None of the
above
25. All exemptions are first included in gross income and
thereafter deducted. Funds of
certain associations and enterprises are fully exempted from paying
income tax due to
their nature of operation. Which of the following Namibian
associations do not qualify
for such an exemption? a) Namibia Stock Exchange b) Teachers’ Union
of Namibia c) Hope Village d) GIPF
Page 17 of 25
26. After a few years of learning about the tax effects of
different investment options,
Martha Nami, 34-year old woman married in community of property,
decided to buy
treasury bills. Based on their tax implications, why did Martha
decide to purchase them? a) All expenses incurred are deductible b)
Interest earned does not constitute of income c) All of the above
d) None of the above
27. During the 2019 year of assessment, Gina Garises earned N$ 75
000 taxable income.
What is the applicable normal tax rate for her? a) 29% of the
amount by which the taxable income exceeds N$ 50 000 b) 25% of the
amount by which the taxable income exceeds N$ 50 000 c) 29% of the
amount by which the taxable income exceeds N$ 40 000 d) 27% of the
amount by which the taxable income exceeds N$ 40 000
28. The newly appointed non-executive director of Metro Small
Company, Shawn Wilson, is
a Namibian resident who lives and works in Outapi. Upon his
appointed to the office, he
receives an annual housing allowance of N$ 20 000 and a travel
allowance of N$ 15 000
along with the right to use of the company car that has a market
value of N$ 178 000.
Which of the above are fringe benefits? a) The housing and travel
allowances b) The right to use the company car c) None of the above
mentioned benefits d) Only the travel allowance and the right to
use the company car
29. Goldie-Locks is a licenced gold producer headquartered in
Toronto, Canada. Founded in
2010, today, Goldie-Locks has three operating gold mines located in
various countries
including the Philippines, Namibia, and Congo. In 2020,
Goldie-Locks forecasts
consolidated gold production of between 1,000,000 and 1,055,000
ounces.
Page 18 of 25
In which country will the income of Goldie-Locks be taxed? a)
Philippines b) Congo c) Canada d) All of the above
30. If Goldie-Locks is to be taxed in Namibia, what will be the
applicable flat tax rate for
such a mining company? a) 37.5% b) 35 % c) 50.% d) 18.%
31. DiaNam is a Namibian owned licensed diamond company that
performs land-based
prospecting (exploration), mining and rehabilitation operations in
the southwest coast
of the country. What is the applicable tax flat rate for DiaNam? a)
37.5% b) 35 % c) 50.% d) 18.%
32. Mate-Rial is a textile manufacturing company that was
registered at the Ministry of
Trade and Industry in October 2013. With a factory located in
Gobabis, the company
employs over 300 local residents. During the 2019 year of
assessment, hired five
Malaysian textile specialist to assist it with the production of a
new synthetic leather
fabric in order to abide to its vegan cruelty-free policy.
What is current the applicable flat rate for manufacturing company
in Namibia? a) 37.5% b) 34 % c) 50.% d) 18.%
Page 19 of 25
33. Grace Wandje is a local business woman who lives in Khorixas.
She is a teacher at a
primary school in her area and owns property as well as other small
businesses. If her
income for the year of assessment ended 29 February 2020 is as
follows; what will be
her gross income for the year ended 29 February 2020?
Salary 80 000
Rent received 20 000
Dividends received 4 000
Bet win on result of soccer match 1 000
Profit on sale of shares held as trading stock 4 000
Loss of profits insurance claim 2 000
Interest received 2 000
Restraint of trade payment 8 000
N$125 000
a) N$ 112 000 b) N$ 125 000 c) N$ 117 000 d) N$ 122 000
In: Accounting
Write a script that accepts a single character argument (command line parameter), then checks to see if the argument is an upper- or lower-case letter. (You do not have to do any error checking. Just assume that the user will enter a single character.) Hint: use grep to search for a member of the character class [a-z]. Then use the exit code (in an if statement) to see if grep was successful and write the proper response. If the argument is a letter, print (display to screen) “You entered a letter.” If the argument is not a letter, print “You did not enter a letter.”
In: Computer Science
Answer the following questions completely.
Describe some of the differences between tariffs and quotas.
What are the intent and impact of domestic content requirements?
Is a tariff-rate quota a two-tier tariff? Why?
What is an OMA?
In: Economics
Problem 1.
Emily Elizabeth opened Clifford’s Pet Toy Warehouse on July 1, 2020. Clifford’s Pet ToyWarehouse extends credit terms of 2/10, n/30 to all of its customers. During July the following transactions occurred.
July
1 Issued 100,000 shares of common stock for $100,000 cash.
2 Paid $1,800 cash on 1-year insurance policy effective July 1.
3 Purchased pet toys on account for $1,900 from Cleo Toy Company, terms 2/10, n/30.
4 Purchased supplies for $900 on account from Norman Supply.
5 Sold pet toys on account to the Jetta’s Pet Shop for $1,200. The cost of the pet toys sold was $720.
6 Purchased a used delivery truck from Howard Motors for $9,000, paying $2,000 cash and the balance via loan from Howard Motors.
7 Received $100 credit for pet toys returned to Cleo Toy Company.
9 Paid Cleo Toy Company in Full.
15 Received payment in full from Jetta’s Pet Shop.
17 Sold pet toys on account to Charley’s Pet Store for $1,400. The cost of the pet toys sold was $840.
18 Repaid Howard Motors $1,000 cash toward the amount owed on truck and paid $500 toward the amount owed on supplies.
20 Purchased toys on account for $700 from Mac Toy Maker, terms 1/15, n/30.
21 Paid $2000 cash for employee salaries.
24 Received payment in full from Charley’s Pet Store.
26 Sold pet toys on account to T-Bone for $1300. The cost of the pet toys sold was $780.
27 Granted T-Bone $130 credit for pet toys costing $80 that were returned.
29 Paid $260 for delivery truck repairs.
30 Declared and paid $600 cash dividend.
31 Paid Mac Toy Maker in full.
Problem 1: Instructions
(a) Journalize the July transactions for Clifford’s Pet Toy Warehouse.
(b) Prepare a trial balance at July 31. (Hint: you might want to post your journal entries to ledger – i.e., “T” – accounts.)
(c) Consider the following and prepare adjusting journal entries if necessary
(note: if no entry is needed, explicitly say so).
On July 31st, FedEx picked up from Clifford’s Pet Toy Warehouse pet toys that Jetta’s Pet Shop agreed to purchase from Clifford’s for $1100 (the cost of the pet toys was $660). Payment terms for the sale were the usual 2/10, n/30 and the contract specified FOB shipping point. (Clifford’s did not make any entries in its records for this sale.)
On July 31st, FedEx picked up from Cleo Toy Company pet toys that Clifford’s Pet Toy Warehouse agreed to purchase for $2200. Payment terms of the purchase were 2/10, n/30 and the contract specified FOB shipping point. (Clifford’s did not make any entries in its records for this purchase.)
Depreciation on the truck for the month of July was $200 and interest owed to Howard Motors was $50.
One-twelfth of the insurance expired.
An inventory count shows $360 of supplies on hand at July 31.
5. Income taxes owed to the government at July 31 were $400.
(d) Prepare an adjusted trial balance. (Hint: you might want to post your adjusting entries to ledger – i.e., “T” – accounts.)
(e) Prepare a multi-step income statement for Clifford’s Pet Toy Warehouse for July. (Hint: start with Net Sales.)
(f) Prepare a single-step income statement for Clifford’s Pet Toy Warehouse for July.
(g) Explain which income statement (multi-step or single-step) will Emily Elizabeth and other
users would prefer for Clifford’s Pet Toy Warehouse and why.
(h) Calculate the Gross Profit Ratio (also known as the Gross
Margin Ratio) as well as the Profit Margin Ratio. Given the ratios
you calculated, explain why you believe Clifford’s
decision to pay shareholders a $600 dividend was a good or bad
idea.
In: Accounting
If you have a script called testscr, that you execute with the following pipeline:
echo two four six eight ten | testscr
and testscr contains the following lines of code:
# This is a read test
read parm1 parm2 parm3
echo :$parm1:$parm2:$parm3:
What gets printed?
In: Computer Science
Consider a file with a large number of Person(id, name, birth-date) records. Assume that users frequently search this file based on a the field id to find the values of name or birthdate for people whose information is stored in the file. Moreover, assume that users rarely update current records or insert new records to the file. Which file structure, heap versus sorted, provides the fastest total running time for users’ queries over this file? Explain your answer
In: Computer Science
Most calculators come with a book of instructions. Unfortunately, if you misplace the book, you’re left to your own devices in figuring out how to use the calculator. Wouldn’t it be easier if the calculator had a built-in “help” function similar to the one on your computer? You could just punch the “Help” key on your keypad and call up the relevant instructions on your display screen. You just invented a calculator with this feature, and you’re ready to roll it out. First, however, you have to make some pricing decisions: When you introduce the product, should you use skimming or penetration pricing? Which of the following pricing methods should you use in the long term: cost-based pricing, demand-based pricing, target costing, or prestige pricing? Prepare a report describing both your introductory and your long-term alternatives. Then explain and justify your choice of the methods that you’ll use.
In: Economics
Responsive
Interesting
Eye-catching
Desirable
awareness, interest, design, action
attention, information, desire, achievement
awareness, interest, desire, attention
attention, interest, desire, action
awareness, information, desire, achievement
Consumers may be converted to try out the product, but may like other brands too
The doubt in consumers' minds about buying the product needs to be changed into action
The purchase experience has to be made easy and enjoyable
Your product is evaluated and compared against other brands
The challenge facing companies introducing new products or targeting new markets is to create awareness and interest among consumers
The best way to evaluate a new product is through actual use so that performance can be judged
Marketers could encourage trial by using demonstration or sampling programs or allowing consumers to use a product with a money-back commitment
All of the other options
Information processing model adds a stage that is not mentioned in all the other three models. This stage is
Exposure
Retention
Attention
In: Operations Management
Create a method called “concat” that takes three char array parameters. This method should concatenate the second string on to the end of the first string and store the result in the third string. Note: When you concatenate two string you add the contents of one string on to another. Important: Make sure you add null terminators where necessary. No pointer.C++
In: Computer Science
In: Biology
The demand function for a truckload of firewood in a small town with a college is Q = 200 - 1.5p for non-students and Q = 200 - p for students, where p is the price of firewood, in $/truckload.
At a price of $150 per truckload, will college students buy any firewood?
At a price of $150 per truckload, will non-students buy any firewood?
The (inverse) demand curve for the town as a whole has a kink at Q =
For the town as a whole, including the students, the slope of the inverse demand curve to the left of the kink is For the town as a whole, including the students, the slope of the inverse demand curve to the right of the kink is
For the town as a whole, including the students, the slope of the inverse demand curve to the right of the kink is
In: Economics
Determine the percent composition of air in the lungs from the following composition in partial pressures: PN2=565mmHg, PO2=108mmHg, PCO2=37mmHg, PH2O=50mmHg; all at 37∘C and 1atm pressure.
A % N2
B % O2
C %CO2
D % H2O
In: Chemistry
An object (A) of mass m A = 28.0 kg is moving in a direction that makes angle of 50° south of west with a speed v A = 4.90 m/s, while object (B) of mass m B = 18.0 kg is moving due south with a speed v B = 7.85 m/s. The two objects collide and stick together in a completely inelastic collision. Find the magnitude of the final velocity of the two-object system after the collision.
In: Physics