Preview

Sample Content

Satisfactory Essays
Open Document
Open Document
630 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Sample Content
Question 1
The bicycle shop has devised two plans, A and B, for bicycle hiring. Plan A is on a daily basis and plan B is on an hourly basis. The charging rate for plan A is HKD50 per day, that for plan B is HKD15 per hour.

The shop owner wants to computerise the hiring system. He labels every bicycle with a unique code. For each new customer, a record is created in the table User.dbf to store the name and ID card number.

For each transaction, a new record is created in the table Hire.dbf to store the date of transaction and plan of hiring. The tables involved have the following structure:

User.dbf Field Name Type Width Dec User_id Char 10 Name Char 20

Hire.dbf Field Name Type Width Dec User_id Char 10 Bicycle_id Char 5 Date Date 8 Plan Char 1 Hours Numeric 2

The field Hours records the number of hours in which the bicycle is hired.

a. Using an SQL statement, produce a list of users.
b. Using an SQL statement, determine the total number of visits by ‘David Chan’.
c. Determine the total income of the shop in one week starting from 25th March, 2010.
d. Using an SQL statement, determine the total income earned by each bicycle.

Question 2
A hair saloon records the performance of the hairdressers in the following tables:

Staff.dbf
|Field Name |Type |Width |Dec |
|Staff_id |Char |4 | |
|Name |Char |20 | |
|Address |Char |60 | |
|Phone |Char |10 | |

Perform.dbf

You May Also Find These Documents Helpful

  • Powerful Essays

    9. During 20A, Burton Company delivered products to customers for which customers paid or promised to pay $3,820,000. The company collected $3,670,000 in cash from customers during the year. Indicate which of these amounts will appear on the income statement and which on the statement of cash flows. A) $3,670,000 appears on both the income statement and statement of cash flows. B) $3,670,000 appears on the statement of cash flows, and $3,820,000 appears on the income statement. C) $3,820,000 appears on both the income statement and the statement of cash flows. D) $3,820,000 appears on the statement of cash flows, and $3,670,000 appears on the income…

    • 554 Words
    • 3 Pages
    Powerful Essays
  • Better Essays

    Midterm Comm293

    • 5099 Words
    • 21 Pages

    No programmable calculators are permitted. Please show all calculations in an orderly and clear format for part marks. Time management is crucial. Be sure to attempt each question. No questions will be permitted during this examination. If you need to make an assumption, state it and continue. Read the questions carefully before making any assumptions. Question 1 (18 marks; suggested time 18 minutes) Revenue Recognition…

    • 5099 Words
    • 21 Pages
    Better Essays
  • Good Essays

    Mr. Z, a non-dealer, sold assets on an installment plan. Determine Mr. Z's gross income for 2012. Relevant data include:…

    • 562 Words
    • 3 Pages
    Good Essays
  • Good Essays

    5. Which of the following budgetary entries would the town of Geneva make upon adoption of its Special Revenue Fund Budget for the year? Assume the following:…

    • 1977 Words
    • 12 Pages
    Good Essays
  • Satisfactory Essays

    Acg 320

    • 496 Words
    • 2 Pages

    Determine which method would result in the greatest net income for the year ending December 31, 2005.…

    • 496 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    2). On October 2, 2011, Starbucks Corporation reported, on its Form 10-K, the following (in…

    • 7004 Words
    • 61 Pages
    Satisfactory Essays
  • Powerful Essays

    Acctstuff

    • 1954 Words
    • 14 Pages

    A customer purchased and received $5,000 of goods on credit from Discount Paper Supply on September 1. The customer received the bill on September 13 and mailed a $5,000 check on September 30. Discount Paper Supply received the check on October 4. On which of the following dates should Discount Paper Supply record sales revenue?…

    • 1954 Words
    • 14 Pages
    Powerful Essays
  • Satisfactory Essays

    Managerial Accounting

    • 628 Words
    • 3 Pages

    Warren Company makes candy. During the most recent accounting period, Warren paid $3,000 for raw materials, $4,000 for labor, and $2,000 for overhead costs that were incurred to make candy. Warren started and completed 10,000 units of candy, of which 7,000 were sold. Based on this information, Warren would recognize which of the following amounts of expense on the income statement?…

    • 628 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    WEEK 3 ASSIGNMENT

    • 787 Words
    • 4 Pages

    1. Specific identification method. Boston Galleries uses the specific identification method for inventory valuation. Inventory information for several oil paintings follows.…

    • 787 Words
    • 4 Pages
    Powerful Essays
  • Good Essays

    Tax and Gearing

    • 709 Words
    • 3 Pages

    A) In general, the gain to investors from the tax deductibility of interest payments is referred to as the interest tax shield.…

    • 709 Words
    • 3 Pages
    Good Essays
  • Good Essays

    B. Discuss how Prime’s net income could decline between year 6 and 8 while its cash flow from operations increased…

    • 845 Words
    • 3 Pages
    Good Essays
  • Best Essays

    Termpaper

    • 4159 Words
    • 22 Pages

    1.Identify the potential sales and department store transactions that can be stored within the database.…

    • 4159 Words
    • 22 Pages
    Best Essays
  • Good Essays

    Andre's Hair Salon

    • 482 Words
    • 2 Pages

    3. What will be the operating income if 20,000 haircuts are performed? Show calculations to support your answer.…

    • 482 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Bus 630 Week 2 Assignment

    • 404 Words
    • 2 Pages

    * Calculate the annual break-even point in dollar sales and in unit sales for Shop 48.…

    • 404 Words
    • 2 Pages
    Good Essays
  • Good Essays

    2. At December 31, 2015, Seasons Construction estimates that it is 75% complete with the building; however, the estimate of total costs to be incurred has risen to $14,400,000 due to unanticipated price increases. What is the total amount of Construction Expenses that Seasons will recognize for the year ended December 31, 2015?…

    • 2563 Words
    • 16 Pages
    Good Essays