Examine the following case from Turner, Weickgenannt, and Copeland (2017):
Arminello, Inc. does not use a database system; rather, it maintains separate data files in each of its departments. When a sale occurs, the transaction is recorded in the sales department. Next, documentation is forwarded from the sales department to the accounting department so that the transaction can be recorded there. Finally, the customer service group is notified so that its records can be updated. (p. 499)
Describe the data redundancy and concurrency issues that are likely to arise under this scenario at Arminello, Inc. Then determine the requirements for the database system and recommend a solution to achieve the desired results. The recommendation must reflect best practices for timeliness and completeness of the information, the controls that need to be in place, and the best platform for the system.
In: Accounting
Create short flowcharts for each of the following examples:
1. Data gathered from magnetic disk is displayed on a computer screen and printed out on a report
2. Manually updating the sales journal using the sales invoices
3. Using the employee pay detail report to manually prepare employee payroll checks. The completed payroll checks are then sent to the employees
4. Data from a source document is manually copied into a ledger then stamped to indicate is has been processed. Afterwards, the stamped document is filed in alphabetical order.
5. Customer sales orders are received into the system and processed electronically, then the sales order data is saved to a database. The sales order data is then pulled from the database and used to prepare three copies of the monthly sales report.
In: Accounting
Consider the automobile insurance company database we use for examples in class. For each problem, write an SQL statement to retrieve the specified data.
Database Schema:
• People (ssn, fname, lname, city, state)
• Agents (ssn, salary, photo)
• Autos (vin, make, year, agent_ssn)
• Owns (ssn, vin)
• Accidents (aid, accident_date, city, state)
• Involvements(aid, vin, damages, driver_ssn)
In: Computer Science
Janet, after years of working as a hairdresser and as a makeup artist, decided to go into business for herself. Over time the business has grown into a spa and beauty retreat and she now employs a few staff. With her growing operation she has identified the need to implement a computerized accounting information system. In order to have a system that meets her needs exactly and also to save cost, she has asked you to create a simple, customized solution for her business. Her immediate need is for a customer sales information system, so that is what you will now create. With customer service being so important to Janet, her customers tend to become regulars and she wants to maintain a record of each customer’s contact information and preferences so that the spa will know what is important to the customer without having to be told each visit. The customer information that Janet considers important to maintain is the full name, cellphone number, favourite treatment, and special considerations (e.g. some customers have allergies or require fragrance-free products). For employees, Janet just needs to record the names and cell phone numbers in the database. The spa also has a standard list of services which each have a standard name, description and price. Janet also wants a database record of each customer visit both for customer billing at the time of service, as well as for future analysis. Janet wants to refer to these sales transactions as “Visits” in the database in order to reflect the spa’s focus on customers’ experiences. For each of these customer visits it is important to record a unique visit identifier, the date, the customer, the main staff member who served the customer, and the service or services experienced (sold)
Based on Janet’s requirements, list out the entities and relationships that should be present in the database, indicating the cardinality of each relationship.
In: Accounting
QUESTION FOUR
Margaret Kale Ltd has provided you with the latest two Statements of Cash Flow for the business and some additional information from previous and the current Balance Sheets and Income Statements.
|
Margaret Kale Ltd |
||||
|
Statement of Cash Flow for the ended 30TH MAY |
||||
|
2018 $ |
$ |
2019 $ |
$ |
|
|
Cash flow from Operating Activities: |
||||
|
Receipts from the customers |
366,500 |
401,500 |
||
|
Payments to the suppliers |
(139,000) |
227,500 |
(163,413) |
238,088 |
|
Expenses paid: |
||||
|
Rent |
(11,092) |
(15,727) |
||
|
Advertising |
(9,630) |
(8,213) |
||
|
Insurance |
(5,888) |
(2,648) |
||
|
Salaries |
(28,890) |
(16,625) |
||
|
Income tax |
(45,000) |
(100,500) |
(39,375) |
(82,588) |
|
Net cash flow from Operating Activities |
127,000 |
155,500 |
||
|
Cash flow from Investing Activities: |
||||
|
Sale of non-current assets |
9,000 |
7,875 |
||
|
Purchase of non-current assets |
(16,875) |
(11,250) |
||
|
Net cash flow from Investing Activities |
(7,875) |
(3,375) |
||
|
Cash flow from Financing Activities: |
||||
|
Ordinary shares dividend paid |
(3,375) |
(3,375) |
||
|
Repayment of long term borrowings |
(73,375) |
(52,875) |
||
|
Net cash flow from Financing Activities |
(76,750) |
(56,250) |
||
|
Net increase in cash |
42,375 |
95,875 |
||
|
Cash at the beginning of the year |
(5,625) |
36,750 |
||
|
Cash at the end of the year |
36,750 |
132,625 |
||
QUESTION FOUR CONTINUED
Additional Information:
|
Item |
2017 |
2018 |
2019 |
|
Total Assets |
401,250 |
418,500 |
495,000 |
|
Total Non-Current Liabilities |
200,813 |
166,438 |
|
|
Net Profit |
150,000 |
131,250 |
Required:
Comment on the significance of each ratio and its impact on the business in terms of cash flow adequacy, return on assets, debt coverage and operations index over the two years, in comparison with the industry average.
In: Accounting
Apply specific models developed from economics to demonstrate how domestic and foreign events (e.g., wars, changes in trade barriers, development abroad) have impacted the level of and changes in imports and exports in the United States from 2000 - 2010.
Please make sure to relate the answer to the time period of 2000 - 2010 in the US.
In: Economics
Write the SQL DDL to create the following 5 tables for an App store: Publisher, Category, App, AppVersion, AppVersionReview:
A Publisher table where each publisher is identified by an integer id and has a name (up to 40 characters). (1 mark)
A Category table where each category has an id (integer), a name (up to 50 characters), and a parentId to identify its parent category. The parentId should be a foreign key to the Category table. (1.5 marks)
An App table storing each app that is identified by a field called id that is an integer. Other attributes include name (string up to 40 characters), publisherId (integer), categoryId (integer), and description (string up to 255 characters). Make all foreign keys set to null on delete and no action (generate error) on update.
A AppVersion table that stores each version of the app. The primary key is the appId and version (exactly 10 characters). Each release has a releaseDate (DATETIME), an integer rating, a price (up to 10 digits with 2 decimals), and a description (up to 500 characters). Make all foreign keys set to perform cascade on delete and cascade on update.
A AppVersionReview table that stores ratings for each application version. The primary key is the appId, version, and reviewer (exactly 20 characters). There is also a reviewDate (DATETIME), rating (int), and review (up to 1000 characters). Make all foreign keys set to cascade on both update and delete. A value for the reviewDate field is always required.
In: Computer Science
Reversing Digits - Complete the template program in C++ (Be Original)
// reverseNumber.cpp
// Reverse the digits of a number.
#include <iostream>
using std::cin;
using std::cout;
using std::endl;
#include <iomanip>
using std::setw;
/* Write prototype for reverseDigits */
// STUDENT WRITES CODE HERE
int main()
{
int number; // input number
cout << "Enter a number between 1 and 9999: ";
cin >> number;
cout << "The number with its digits reversed is: ";
// find number with digits reversed
// STUDENT WRITES CODE HERE ***************
cout << /* Write call to reverseDigits */ << endl;
return 0; // indicate successful termination
} // end main
// reverseDigits returns number obtained by reversing digits of n
/* Write function header for reverseDigits */
// STUDENT WRITES CODE BELOW ***************
{
int reverse = 0; // reversed number
int divisor = 1000; // current divisor
int multiplier = 1; // current multiplier
// loop until single-digit number
while ( n > 9 )
{
// if n >= current divisor, determine digit
if ( n >= divisor )
{
// update reversed number with current digit
reverse += n / divisor * multiplier;
n %= divisor; // update n
/* Write a line of code that reduces divisor by a factor of 10 */
// STUDENT WRITES CODE HERE ***************
/* Write a line of code that increases multiplier by a factor of 10 */
// STUDENT WRITES CODE HERE ***************
} // end if
else // else, no digit
divisor /= 10; // update divisor
} // end while
reverse += n * multiplier;
return reverse; // return reversed number
} // end function reverseDigitsIn: Computer Science
Note I did not post the city jail database because it was too long and it couldnt let me post, however, there was another question answered with the same database right here, so please use that. It is exactly the same. If not let me know how i can post the database subqueries)
Your files must be in sql script format so that they can be run in SQL Developer.
Using the City Jail database to answer the questions.
Use an sql sub-query statement to answer the following:
HINT:
The following memo was used to create an initial database design (E-R model) for the City Jail that indicates entities, attributes (columns), primary keys, and relationships.
MEMO
To: Database Consultant
From: City Jail Information Director
Subject: Establishing a Crime-Tracking Database System
It was a pleasure meeting with you last week. I look forward to working with your company to create a much-needed crime-tracking system. As you requested, our project group has outlined the crime-tracking data needs we anticipate. Our goal is to simplify the process of tracking criminal activity and provide a more efficient mechanism for data analysis and reporting. Please review the data needs outlined below and contact me with any questions.
Criminals: name, address, phone number, violent offender status (yes/no), probation status (yes/no), and aliases
Crimes: classification (felony, misdemeanor, other), date charged, appeal status (closed, can appeal, in appeal), hearing date, appeal cutoff date (always 60 days after the hearing date), arresting officers (can be more than one officer), crime codes (such as burglary, forgery, assault; hundreds of codes exist), amount of fine, court fee, amount paid, payment due date, and charge status (pending, guilty, not guilty).
Sentencing: start date, end date, number of violations (such as not reporting to probation officer), and type of sentence ( jail period, house arrest, probation).
Appeals: appeal filing date, appeal hearing date, status (pending, approved, and disapproved).
Note: Each crime case can be appealed up to three times.
Police officers: name, precinct, badge number, phone contact, status (active/inactive)
Additional notes: A single crime can involve multiple crime charges, such as burglary and assault. Criminals can be assigned multiple sentences. For example, a criminal might be required to serve a jail sentence followed by a period of probation. Answer each or the questions with an sql statement that contains at least one subquery.
Hint: Use subqueries, and work “inside out” toward the result; that is, retrieve the
employee number of N. Smith, search for the codes of all courses he ever taught, and so on.
In: Computer Science
Explain the significance of gatekeepers or ‘watchdogs.’ Cite several examples. Explain the Federal Sentencing Guidelines for boards. Briefly discuss the conflicts of interests/implications involved in excessive executive compensation. Cite several (2+) credible examples of excessive wage compensation for CEO’s and/or board members. *Use proper APA in-text citations for ALL examples and list your references at the end of your post.
In: Economics