Friday, December 27, 2019

Use a Function as a Parameter in Another Function

In Delphi, procedural types (method pointers) allow you to treat procedures and functions as values that can be assigned to variables or passed to other procedures and functions. Heres how to call a function (or procedure) as a parameter of another function (or procedure) : Declare the function (or procedure) that will be used as a parameter. In the example below, this is TFunctionParameter.Define a function that will accept another function as a parameter. In the example below this is DynamicFunction type   Ã‚   TFunctionParameter function(const value : integer) : string;...function One(const value : integer) : string;begin   Ã‚   result : IntToStr(value) ; end;function Two(const value : integer) : string;begin   Ã‚   result : IntToStr(2 * value) ; end;function DynamicFunction(f : TFunctionParameter) : string;begin   Ã‚   result : f(2006) ; end;...//Example usage: var   Ã‚   s : string; begin   Ã‚   s : DynamicFunction(One) ;   Ã‚   ShowMessage(s) ; //will display 2006   Ã‚   s : DynamicFunction(Two) ;   Ã‚   ShowMessage(s) ; // will display 4012end; Important Notes Of course, you decide on the signature of the TFunctionParameter: whether it is a procedure or a function, how many parameters does it take, etc.If TFunctionParameter is a method (of an instance object) you need to add the words of object to the procedural type name, as in:TFunctionParameter function(const value : integer) : string of object;If you expect nil to be specified as the f parameter, you should test for this using the Assigned function.Fixing the Incompatible type: method pointer and regular procedure

Thursday, December 19, 2019

Questions On Finance Lease And Operating Lease Essay

Question a It can be found from the IAS 17; the lease is defined that â€Å"A lease is an arrangement whereby the lessor coveys to the lessee in return for a payment or series of payments the right to use an asset for an agreed period of time†. (IAS 17, 2003). There are two types of lease: finance lease and operating lease. The following parts will identify them separately and accounting treatments will be discussed in lessees’ and lessors’ aspect. Firstly, it is the finance lease and it is a lease that transfers substantially all risks and rewards incidental to ownership of an asset (IAS 17, 2003). In the lessees’ financial statement aspect, the finance leases should be recognized as assets and liabilities in their balance sheet at the amounts equal to the fair value of the leased property at the inception of the lease term. Separately, the leased asset should be â€Å"capitalized in property, plant and equipment at the lower of lease payments and its fair value† (Barry Elliott Jamie Elliott, 2013), besides, the initial direct cost incurred should be recognized as the amount of its assets. When the subsequent measurement carries on, for each accounting period the leased asset depreciates in accordance with the lessee’s normal depreciation policy (IAS 16 PPE). Further more, if there is an ownership transferred at the end of the lease, the depreciation should cover the useful life of the asset; otherwise the asset is depreciated over the shorter of the lease term and its usefulShow MoreRelatedCase 11 6 Lessee Ltd Essay671 Words   |  3 PagesCase 11-6 deals with Lessee Ltd., a company that operates in Britain and uses IFRS. The question in this case is how to classify a lease that Lessee, Ltd. acquired from Lessor Inc. The accounting standard that deals with leases under IFRS is IAS 17. IA S 17 was originally issued in September 1982 and was reissued in December 2003. It classifies leases as either finance leases or operating leases. Finance leases make it so that the lessee recognizes an asset and a liability and the lessor recognizesRead MoreBrief Description Of Different Leasing Options1213 Words   |  5 PagesDescribe different leasing options. Before beginning the brief description of different leasing options, it would be best to define the term ‘lease.’ According to Investopedia, the term ‘lease’ is a contract outlining the terms under which one party agrees to rent property owned by another party (Investopedia, no date). Furthermore, it seals/guarantees the ability for the lessee, the tenant, use of an asset and guarantees the lessor, the property owner or landlord, regular payments from the lesseeRead MoreDepreciation and Correct Answer1282 Words   |  6 Pagesï » ¿Question 1 1 out of 1 points Which of the following disclosures are optional under IAS 12? Selected Answer: b.   a numerical reconciliation between the average effective tax rate and the applicable tax rate, disclosing also the basis of calculating the applicable tax rate Correct Answer: b.   a numerical reconciliation between the average effective tax rate and the applicable tax rate, disclosing also the basis of calculating the applicable tax rate Question 2 0 out of 1 points WhichRead MoreQuestions On Financial Accounting Assessment Essay1502 Words   |  7 Pages Paper-368903, Financial Accounting Assessment 2 Case Study Question 1. 1. RBD has complied with revenue recognition norms and provided following disclosures in accordance with NZIAS18:- a) Revenue of $329,269 (NZ’000’s) from sale of burgers, pizzas, coffee and beer has been reported only after completion of transaction and fulfillment of conditions. b) Revenue of $ 1130 (NZ’000s) from services is reported in the same year in which services are rendered. c) Unrecognized revenue due toRead MoreAccounting for Leases 41538 Words   |  7 PagesIntroduction Accounting for leases is regulated by the Financial Accounting Standards Board (FASB) in United States .Standards for accounting leases have been effective since 1977 (Accounting Standard Board, 2004). The primary standard for lease accounting is Statement of Financial Accounting Standards No. 13 (FAS 13). According to FASB (1976), a lease is an agreement conveying the right to use property, plant, and equipment (PPE) usually for a stated period of time. Examples of assets that canRead MoreWhat Changes Were Made As A Result From The New Accounting Standards?755 Words   |  4 PagesStandards Board and the Financial Accounting Standards Board both released new requirements for leases that will be in effect for public companies 2018 and others in 2019. The purpose of this paper is to attempt to understand the thought process of the two organizations behind this change. The questions that are delved into are what changes have been made, whether managements were ethical in reporting of leases, the impact on financial reporting, the reason behind the changes, and the similarities asRead MoreFinancial Accounting 31644 Words   |  7 Pages FINANCIAL ACCOUNTING III – ACCT 3018 ASSIGNMENT 1 DUE : TOTAL MARKS = 50 QUESTION 1 Marks=10 Listed below are items that are treated differently for accounting purposes than they are for tax purposes. Indicate whether the items are permanent differences OR temporary differences. For temporary differences, indicate whether they will create future tax assets or future tax liabilities 1. Advance rental receipts Temporary difference, deferred tax asset 2. Membership costs in aRead MoreFinancing Activities of Nordstrom and the Gap1385 Words   |  6 Pagescompanies’ financing activities in relation to management reporting versus user decisions regarding risk. Analysis of each company’s long-term debt obligations and shareholder’s equity provides a deeper understanding of financial position, and the question of whether the information given by preparers is quality information for users can be answered. Backgrounds and Strategies Gap, Inc. was founded in 1969 by Doris Fisher and her husband Don and operates as an apparel retail company with productRead MoreAnalyzing Lease vs. Buy Decision1620 Words   |  7 PagesAnalyzing Lease vs. Buy Dec To buy or not to buy is the question for many companies acquiring assets for their business. Equipment and other assets are extremely important when a company is trying to get off the ground in a new business. The chief executive officer would have to ask how would we finance the equipment needed, pay back investors, and make the company profitable for all. This new biotech company is seeking financial remedies in becoming a profitable companyRead MoreRestructuring Debt1323 Words   |  6 Pagesobligations that are not payable within a year or the operating cycle of the company, whichever is longer. Long term debt is a way to finance and gain capital when the company cash flow is minimal. To name a few types of long term debt: bonds payable, notes payable, mortgages payable, pension liabilities, and lease liabilities. This assignment will define basic terms such as long-term debt, bonds, mortgage, and capital leases. In addition answer questions in referenc e to the ABC Company journal entries

Tuesday, December 10, 2019

Underlying Statistical Technique Involved †Myassignmenthelp.Com

Question: Discuss About The Underlying Statistical Technique Involved? Answer: Introducation Statistical techniques play a vital role in the presentation, processing and analysis of the different kinds of data. The underlying statistical technique involved may be descriptive or inferential. The descriptive statistical techniques aim at representing the data provided while inferential statistical techniques aim to derive conclusion about the population based on sample data (Eriksson Kovalainen. 2015). The objective of the given essay is to analyse certain selected charts, tables and graphs in relation to the source, type of data, descriptive or inferential statistical techniques and suggestion of potential improvements in the given figures so as to enhance their underlying utility. The source for Chart 2 is authentic considering that the data used for the same has been obtained from World Bank. The data type is quantitative since the data is expressed in the form of percentages while the scale of management is ratio considering numerical data with a defined zero (Flick, 2015). The given data has been graphically represented through a line graph. The given data is descriptive as it is not based on sample but rather the population (i.e. whole world). Also, the respective statistics in terms of GDP and export is based on actual figures and not estimates. Further, no probability technique or measure of central tendency has been deployed as only the population data has been depicted using line graph. A minor improvement could be in the form of introduction of minor gridlines which would have made it possible to decipher the exact data for a particular year (Hair et. al., 2015). The source of data for Chart 3 is authentic considering that the information represented in the tables has been obtained from government departments in Australia and New Zealand. The nature of the data is qualitative since it consists of names while the scale of measurement seems nominal as the data cannot be arrangement in any particular order (Hillier, 2006). The time series data has been represented in the form a table. The given data for 1995, 2005 and 2015 is descriptive as population export data for Australia and New Zealand has been considered. However, the data for 2025 seems inferential as the same seems to have been estimated rather than being available at the present. A graphical representation of data using bars may have been a more attractive manner to represent the same data (Liebermann et. al., 2013). The source of data for Chart 5 is authentic since the data has been retrieved from ABS or Australian Bureau of Statistics. The nature of data is quantitative as it has been expressed in the form of numbers and the measurement scale is ratio. The data that is presented in the form of chart is descriptive as no inference is being drawn from any particular sample about the population. Inference would have been drawn in case estimated figures for future projection would have been provided (Eriksson Kovalainen. 2015). The line graph seems suitable for the determination of a time based trend for the two countries. One potential improvement in the given graph could have been the representation of annual growth rates for the two countries which would have enhanced the information being provided (Flick, 2015). The source of data for Chart 11 is authentic considering that the same has been obtained from Reserve Bank of New Zealand. The nature of data is quantitative as it has been expressed in the form of numbers and the measurement scale is ratio. The data is descriptive as no inference about any other year is being drawn based on the given trend. The objective of the pie charts is to capture the given data in a presentable format (Hastie. Tibshirani Friedman, 2011). Further, it would have been better if the import trends for the two countries would have also been listed which would have allowed the user to better understand the trade patterns. Additionally, the total GDP values for the respective nations as on the relevant date should have been listed similar to the listing of the total exports (Hair et. al., 2015). The Chart 12 is based on the survey results of the Chartered Accountant Australia and New Zealand which implies the high degree of authenticity for the data represented. The data type is quantitative with a ratio measurement of scale. The presentation in graphical form allows easy comparison across industries besides facilitating understanding of data. The objective of the given graph is to represent the information collected by the survey and does not aim to derive any conclusions about the population and hence cannot be termed as inferential (Hair et. al., 2015). As a result, the data seems to be descriptive even though the data has been collected from a sample and not the population. It would have been prudent if the representation of each of the sectors highlighted in the survey could have been mentioned in the graph which would have further increased the credibility of the results obtained (Hillier, 2006). Based on the above analysis, it is apparent that the information presented through the selected charts had their roots in authentic sources. Further, the data types were both qualitative and quantitative. Also, the objective of all the charts, table and diagrams was to represent the given information and hence there was very limited use of any inference. Further, descriptive statistics techniques in the form of arithmetic calculations coupled with graphical techniques have been used to represent the information in a user friendly format. References Eriksson, P. Kovalainen, A. (2015).Quantitative methods in business research (3rd ed.). London: Sage Publications. Flick, U. (2015).Introducing research methodology: A beginner's guide to doing a research project (4th ed.). New York: Sage Publications. Hair, J. F., Wolfinbarger, M., Money, A. H., Samouel, P., Page, M. J. (2015).Essentials of business research methods (2nd ed.). New York: Routledge. Hastie, T., Tibshirani, R. Friedman, J. (2011).The Elements of Statistical Learning (4th ed.).New York: Springer Publications. Hillier, F. (2006). Introduction to Operations Research. (6th ed.). New York: McGraw Hill Publications. Lieberman, F. J., Nag, B., Hiller, F.S. Basu, P. (2013). Introduction To Operations Research (5th ed.). New Delhi: Tata McGraw Hill Publishers.

Tuesday, December 3, 2019

Were they really Star

Were they really Star-crossd lovers? Essay Were Romeo and Juliet victims of predestination and fate, or were their tragic ends brought about through conscious choices? Include a discussion of language, literary conventions and dramatic devices to support your position For never was a story of more woe, than this of Juliet and her Romeo, (Act 1, Scene 1). This quote clearly shows the tragedy of Romeo and Juliets demise. In this essay, I will explore the reasons why Romeo and Juliet were star-crossd victims of fate, instead of blaming their conscious choices for their heartbreaking deaths. Although there were some wrong choices made, the majority of their fate was preordained. We will write a custom essay on Were they really Star-crossd lovers? specifically for you for only $16.38 $13.9/page Order now Shakespeare makes it very apparent to the audience that Romeo and Juliet are controlled by Fate. Before the play begins, Shakespeare summarizes the plot of the play in the prologue. A pair of star-crossed take their life. (Shakespeare, Act 1 Prologue L.6) Shakespeare refers to Romeo and Juliet as star-crossed, Furthermore, the prologue indicates a subsequent instance where their lives are driven by fate. Fate was believed at the time of Shakespeare because of the fascination of astrology. The planets thus were communicating agents from eternity to mankind, and the stars were said to dictate how everything under the moon changes. The stars were the medium between God and man, yet sometimes an Elizabethan audience may live in terror of them. This terror was mostly superstitious, as many believed the stars could actually cause bad things to happen, especially natural disasters. The fearful passage of their death-marked love. (Act 1 Prologue L.9). The romance between Romeo and Juliet is death-marked, meaning that it is intended to conclude their demise. Fate is the dominant force in Romeo and Juliet, more than any other character in the play. Romeos initial inciting with Juliet is based on Fate. God gi go-den. I pray, sir, can you read? (Act 1 Sc.2 L.58) The illiterate servant who asks Romeo to read the Capulet invitation list provides him the opportunity to be present at the Capulet party, if this event had not taken place, Juliet would most probably have married Paris. The whole balcony scene where Romeos love for Juliet is created as a result of fate. It is my lady! O, it is my love! (Act 2 Sc.2 L.10) Romeo avoided his friends and staggered into the Capulets orchard as Juliet came out on the balcony, a surprising occurrence of fate. Fate appears to work against Romeo. At the masque, Romeo encounters Tybalt, a conflict that eventually concludes in death for Tybalt and Mercutio, as well as banishment for Romeo. This, by his voice, should be a Montague. (Act 1 Sc.5 L.56) Tybalt discovers Romeos presence by over hearing a barely audible musing. It is predestination that provokes Romeo to encounter Juliet, and fate that irrevocably separates them. Juliet is subject to fate very similarly to Romeo. Juliets association with Romeo happens as a consequence of fate as well. Had Juliet initially identified Romeo as a Montague, she would not have associated with him, but she was unaware of this since she later asks her Nurse, What is yond Gentleman? (Act 2 Sc. 5 L.130). This proves that Juliet is infatuated with Romeo and falls immediately in love with him, only later finding out he is a Montague. Juliet had already fallen in love with Romeo when she states, My only love sprung from my only hate. Just like with Romeo, it is incidences of fate, such as this meeting, that guides her into the relationship. Mercutio is also affected powerfully by predestination; he dies because of it. Mercutio dies in a battle against Tybalt, but fate is his real murderer. Mercutio is brought into this circumstance by Fate. The conflict between Romeo and Tybalt caused Mercutio to attempt to provoke Tybalt to fight him instead. Romeo doesnt want to fight Tybalt, rather he says, good Capulet, which name I tender (Act 3 Sc.1 L.72). Mercutio finds this shameful, O calm dishonourable, vile submission! (Act 3 Sc.1 L.74) Romeo tries to stop the fight, any by doing so, causes Mercutio to be left open for a bother. Tybalt takes benefit of the circumstances and stabs Mercutio. Mercutio then dies, but because he was controlled by Romeo, not because Tybalt was the better fighter. Mercutio is evidently affected strongly by fate; it results his death. .ue912030c69ad684d2e4712344296436e , .ue912030c69ad684d2e4712344296436e .postImageUrl , .ue912030c69ad684d2e4712344296436e .centered-text-area { min-height: 80px; position: relative; } .ue912030c69ad684d2e4712344296436e , .ue912030c69ad684d2e4712344296436e:hover , .ue912030c69ad684d2e4712344296436e:visited , .ue912030c69ad684d2e4712344296436e:active { border:0!important; } .ue912030c69ad684d2e4712344296436e .clearfix:after { content: ""; display: table; clear: both; } .ue912030c69ad684d2e4712344296436e { display: block; transition: background-color 250ms; webkit-transition: background-color 250ms; width: 100%; opacity: 1; transition: opacity 250ms; webkit-transition: opacity 250ms; background-color: #95A5A6; } .ue912030c69ad684d2e4712344296436e:active , .ue912030c69ad684d2e4712344296436e:hover { opacity: 1; transition: opacity 250ms; webkit-transition: opacity 250ms; background-color: #2C3E50; } .ue912030c69ad684d2e4712344296436e .centered-text-area { width: 100%; position: relative ; } .ue912030c69ad684d2e4712344296436e .ctaText { border-bottom: 0 solid #fff; color: #2980B9; font-size: 16px; font-weight: bold; margin: 0; padding: 0; text-decoration: underline; } .ue912030c69ad684d2e4712344296436e .postTitle { color: #FFFFFF; font-size: 16px; font-weight: 600; margin: 0; padding: 0; width: 100%; } .ue912030c69ad684d2e4712344296436e .ctaButton { background-color: #7F8C8D!important; color: #2980B9; border: none; border-radius: 3px; box-shadow: none; font-size: 14px; font-weight: bold; line-height: 26px; moz-border-radius: 3px; text-align: center; text-decoration: none; text-shadow: none; width: 80px; min-height: 80px; background: url(https://artscolumbia.org/wp-content/plugins/intelly-related-posts/assets/images/simple-arrow.png)no-repeat; position: absolute; right: 0; top: 0; } .ue912030c69ad684d2e4712344296436e:hover .ctaButton { background-color: #34495E!important; } .ue912030c69ad684d2e4712344296436e .centered-text { display: table; height: 80px; padding-left : 18px; top: 0; } .ue912030c69ad684d2e4712344296436e .ue912030c69ad684d2e4712344296436e-content { display: table-cell; margin: 0; padding: 0; padding-right: 108px; position: relative; vertical-align: middle; width: 100%; } .ue912030c69ad684d2e4712344296436e:after { content: ""; display: block; clear: both; } READ: What does Priestley show the audience about responsibility EssayIn addition to prevailing in the lives of many main characters, predestination exerts a considerable influence on the plot a vastly authoritative pressure on the result of the play. Even though every character in the play worked against fate to attain their goals, in the end, fate manages to give Romeo and Juliet its tragedy difference rather successfully. Towards the end of the play, it looks as if Romeo and Juliet have a low chance of living happily ever after. Juliet is to wed Paris and Romeo is banished from Verona. Friar Lawrences arrangement is fully thought out and, if executed correctly, seems to be ab le to allow independence to Romeo and Juliet. Nevertheless, predestination strikes back, and the complete plan becomes a chaos. Firstly, the letter never gets to Romeo. The cause for this is that Friar Lawrences messenger was subjected to quarantine. This was not the fault of Friar Lawrence, the messenger, or Romeo; it was Fate. Because of this, Romeo and Juliets likelihood of happiness became very minute. Romeo goes to Juliets tomb and kills himself. Incredibly, had he waited just a few moments, he would have witnessed Juliets awakening; they would have escaped and lived happily ever after. But, due to a bizarre incidence of fate, Juliet awakens sees Romeo. This surprising ending alone is enough to propose that the entire plot has a hinged on Fate. Fates affect on the overall conclusion is disastrous. These two incidents alone alter the outcome entirely; let alone the numerous occurrences in the play. A pertinent question is: Is Shakespeare showing us spiritual fate, or is it purely a sequence of outlandishly unintentional events? In order to respond to this question, one must develop of an understanding the use of Fate earlier in plays. Early plays by Greek dramatists like Sophocles were encumbered with numerous references to Fate. In Oedipus Rex, for instance Oedipus is told he is destined to kill his father and married to his mother, which he does it. Due to religion, Shakespeare had to make Friar Lawrence a bad person to make sure that it would be accepted by the Protestant religion. come young waverer, come go with me, In one respect Ill thy assistant be: For this alliance may so happy prove (Act 2, Scene 3, Line 89-91) This quote shows that Friar Lawrence was made to be devil-like. Shakespeare had to do this so that the Queen approved of the play and allowed it to be shown in the theatre. A final account that includes features of both of the other explanations is also valid. Many viewers of the play think that Shakespeare was not referring to predestination in his work, and was not referring to luck either. An ordinary justification is that Shakespeare did have a religious belief that events that take place happen as a result of a superior energy. On the other hand, Shakespeare alleged these events were controlled, but not that they were prearranged. Somewhat the rationalization is that events take place ultimately as a consequence of our behaviour. Or simply, Shakespeare believed that the result of Romeo and Juliet happened as an effect of their sin. This view is also a suitable explanation of Shakespeares examples of fate in Romeo and Juliet. Nevertheless, one may believe Fate to be logically determined, directing the lives of Romeo and Juliet. In conclusion, predestination is the main influence in the tragedy of Romeo and Juliet. The several aspects in the play that signify the presence of predestination include, the unlikely coincidence of Romeo not receiving the letter from Friar Lawrence, and Romeo and Juliet just missing the fact that they were both alive by just a few seconds. Clearly, Fate did play a crucial role in the play Romeo and Juliet.