Internal auditors sometimes check random samples of transactions within a database. Suppose that in a particular set of transactions, 2% contain an error of some kind. The auditor takes a random sample of 20 transactions for checking. Let X denote the number of transactions found to be in error in the sample.
(a) State the probability distribution of X (including the values of all parameters) and find the probability that 2 transactions are found to be in error.
(b) If three or more transactions are found to be in error then a larger sample is taken for checking. How often will this happen? (Use the appropriate template).
(c) What assumption is required for the validity of the above answers?
In: Statistics and Probability
A private kindergarten, Happy Learning, wants to build a database to manage their operations. You were assigned to create an initial design based on the following customer description of their operations.
There are 3 age levels in the kindergarten (turtles, foxes and monkeys). At each level there 3 classes (red, blue and green). For a class we keep a code based on the initial of group color and level (e.g. RT for red turtles, GF for green foxes). Each class has a room number and a phone number. Also, each class has a maximum capacity (between 25 and 31). Also, we will keep brief directions to the class location in the building.
For a student we will keep the name, any nickname, date of birth, address, and the class in which the student is currently enrolled. We will process students based on their first and last name, or nickname, if present. We will process the address based on the city, zipcode and street to identify recruiting areas.
For each student we will keep information about one or more parents (or caretakers). A parent may have several students enrolled in the kindergarted. For a parent (or caretaker) we will keep the name, home phone number, mobile phone number, work phone number, the personal email and relationship to the child (e.g. father, mother, grandfather). At least one type of phone is required, but some parents may not provide all types of phone numbers. Some parents do not provide emails. We will process parents based on their last name.
Each class has a teacher assigned. A teacher is assigned to a single class. For a teacher we keep the name, home phone number, work email, personal email, the graduated college and their major. All the teachers must have a bachelor degree. We will process teachers based on their first and last name.
In: Computer Science
Create data for the purchase of an automobile. There should be 10 automobiles in your database. You can get this from the newspaper or go online and find a site that will give you some possible purchases.
You should use the following fields: Manufacturing, Model, Year, Doors, Cylinders and Sales Price.
1. Print the spreadsheet you created for your data.
2. Create and print 2 pivot tables to find some information you need to help you make your decision.
3. Do a VLOOKUP and a HLOOKUP for the purchase selected. Print a copy of your formula and the result.
4. Use MATCH command to find what position your decision appears on the spreadsheet. Highlight your decision on your spreadsheet.
In: Accounting
A college records the module registration information of their students in a database named College.mdb,which contains three tables,STUDENT,MODULE andMODULE_REG. A student may enroll in the same module as many times as they like. However, they can only enroll each module at most once in each semester. The design of the three tables are shown below:
Table STUDENT
|
Field Name |
Data Type |
Note |
|
SID |
Short Text |
primary key |
|
FirstName |
Short Text |
|
|
LastName |
Short Text |
|
|
Contact |
Short Text |
|
|
Gender |
Short Text |
“M” or “F” |
Table MODULE_REG
|
Field Name |
Data Type |
Note |
|
StudentID |
Short Text |
|
|
ModuleCode |
Short Text |
|
|
Year |
Number |
|
|
Semester |
Number |
|
|
Score |
Number |
Table MODULE
|
Field Name |
Data Type |
Note |
|
ModuleCode |
Short Text |
primary key |
|
ModuleName |
Short Text |
Download the database file College.mdbfrom Moodle. Rename it as College_Lxx_syyyyyy.mdb(where Lxxis your class andsyyyyyyis your student number, e.g. College_L01_s170001.mdb/College_L01_s170001.accdb) and complete the following tasks.
(a) Create a primary key of the table MODULE_REG. (1 mark)
(b) Establish the relationships between the tables STUDENT,MODULE andMODULE_REG. (1 mark)
(c) Create queries to perform the following tasks:
(ii) Display the total number of students in each gender. Save the query as Q2.
Produce a list of module codes, module names, student names
(including both first name and last name), and student IDs of
enrolled students for all modules with module codes beginning with
“COM” being registered in the firstsemester of
2019. Arrange the records in
ascendingorder of module codes. Save the query as
Q4.
Note: You mustnotshow the
semester and the year in the output.
In: Computer Science
Prompt: Using the SEC’s EDGAR database, search for a large public company and download the most recent Form 10-K. This form contains all the information that must be reported annually to the SEC. Within this form, ensure that it includes footnotes, the management discussion and analysis (MD&A) sections, review each of the previously listed sections, and discuss any off-balance sheet financing, management concerns, management’s expectations for the future, and anything interesting or out of the ordinary. Feel free to supplement your search with current articles that discuss your chosen company and the industry in which it operates.
Specifically, the following critical elements must be addressed:
I. Company Selection: Select and name the public company along with the fiscal year-end of the annual report that includes footnotes and the management discussion and analysis (MD&A) sections. - Company Apple
II. Footnotes: Review the footnotes of the financial statements and describe off-balance sheet financing in general or with specific examples provided within the Form 10-K of the selected company (e.g., operating lease or through special purpose entities).
III. Management Discussion and Analysis (MD&A): Review the MD&A of the annual report. Management often discusses issues of concern in this area of their report. They also include projected financial statements, which may suggest ideas about the firm’s potential for future earnings.
a. Describe any management concerns listed and/or explain anything you find interesting or out of the ordinary.
b. Describe any projections and/or future expectations of the management.
In: Accounting
The database for a pet supply company includes the following
table, named tblCollar, that contains product data for pet collars.
The ItemDesc and Color fields contain text. The ItemNum, Price, and
Quantity fields contain numbers.
|
ItemNum |
ItemDesc |
Color |
Price |
Quantity |
|
2358 |
leather studded collar |
black |
30.00 |
35 |
|
2693 |
leather collar |
brown |
25.00 |
25 |
|
3547 |
striped collar |
red |
20.00 |
75 |
|
3855 |
striped collar |
blue |
15.00 |
42 |
|
3764 |
striped collar |
green |
15.00 |
48 |
|
5782 |
solid collar |
pink |
12.00 |
36 |
|
5785 |
solid collar |
red |
12.00 |
10 |
|
5787 |
solid collar |
blue |
10.00 |
15 |
Which of the following clauses would allow a user to select the records for collars with a cost of between 10 and 20?
| a. |
WHERE Price >= @Price1 AND Price <= @Price2 |
|
| b. |
WHERE Price LIKE 10 AND Price LIKE 20 |
|
| c. |
WHERE Price <= 10 AND Price >= 20 |
|
| d. |
WHERE @Price1 < Query < @Price2 |
In: Computer Science
Write a SQL script to add another table to your database. Include these fields in
your Product table:
|
Field Name |
Description |
Data Type |
Sample Value |
|
ProductID |
Product ID |
integer |
5 |
|
ProductName |
Product Name |
varchar(50) |
candle |
|
Description |
Product Description |
varchar(255) |
Bee’s wax candle |
|
picUrl |
Filename of the product’s picture |
varchar(50) |
candle.gif |
|
Price |
Product Price |
decimal |
10.99 |
ProductID should be the Primary Key. It is an auto-increment field.
The Price field stores prices to 7 significant digits and to 2 decimal places.
Add at least ten records to the Product table using INSERT.
In: Computer Science
1) Use Excel to develop a regression model for the Consumer Food Database (using the “Excel Databases.xls” file on Blackboard) to predict Annual Food Spending by Annual Household Income for those living in the Metro area only.
Suppose a household in the metro area has an annual income of $60,000. Predict how much they spend on food per year. Write your answer as a number (do not include the $ sign or comma) and round to 2 decimal places.
| Annual Food Spending ($) | Annual Household Income ($) | Non mortgage household debt ($) |
| 8909 | 56697 | 23180 |
| 5684 | 35945 | 7052 |
| 10706 | 52687 | 16149 |
| 14112 | 74041 | 21839 |
| 13855 | 63182 | 18866 |
| 15619 | 79064 | 21899 |
| 2694 | 25981 | 8774 |
| 9127 | 57424 | 15766 |
| 13514 | 72045 | 27685 |
| 6314 | 38046 | 8545 |
| 7622 | 52408 | 28057 |
| 4322 | 41405 | 6998 |
| 3805 | 29684 | 4806 |
| 6674 | 49246 | 13592 |
| 7347 | 41491 | 4088 |
| 2911 | 26703 | 15876 |
| 8026 | 48753 | 16714 |
| 8567 | 55555 | 16783 |
| 10345 | 71483 | 21407 |
| 8694 | 50980 | 19114 |
| 8821 | 46403 | 7817 |
| 8678 | 51927 | 14415 |
| 14331 | 84769 | 17295 |
| 9619 | 59062 | 16687 |
| 9286 | 57952 | 14161 |
| 8206 | 58355 | 19538 |
| 16408 | 81694 | 15187 |
| 12757 | 69522 | 14651 |
| 17740 | 96132 | 0 |
| 7739 | 57796 | 22057 |
| 15383 | 88276 | 1896 |
| 4579 | 32264 | 7979 |
| 11679 | 65928 | 0 |
| 12877 | 69924 | 27330 |
| 16232 | 91108 | 9876 |
| 9621 | 54070 | 19908 |
| 8171 | 47238 | 17819 |
| 12128 | 77427 | 31340 |
| 8642 | 59805 | 4963 |
| 12400 | 60334 | 6632 |
| 9185 | 54114 | 18593 |
| 7862 | 40680 | 15202 |
| 9775 | 58263 | 1486 |
| 6771 | 52008 | 21713 |
| 3059 | 39643 | 12179 |
| 13211 | 70309 | 13221 |
| 7408 | 46450 | 5602 |
| 11581 | 76140 | 33874 |
| 14233 | 80833 | 11478 |
| 3352 | 31899 | 2762 |
| 2630 | 21647 | 2663 |
| 9093 | 65924 | 11355 |
| 12652 | 65923 | 5132 |
| 9559 | 62811 | 12613 |
| 6112 | 42335 | 3149 |
| 10431 | 65134 | 15196 |
| 12630 | 64621 | 21433 |
| 4578 | 36553 | 5502 |
| 9551 | 62910 | 11376 |
| 10262 | 70727 | 13287 |
| 9551 | 57634 | 11857 |
| 10143 | 56549 | 16136 |
| 8955 | 59662 | 11627 |
| 10197 | 57350 | 18432 |
| 11234 | 56447 | 10871 |
| 9320 | 61136 | 0 |
| 9089 | 51526 | 4902 |
| 12300 | 79979 | 17270 |
| 11484 | 66733 | 15145 |
| 11215 | 75359 | 15611 |
| 7204 | 40795 | 8975 |
| 5579 | 39128 | 6576 |
| 11723 | 75482 | 12508 |
| 9353 | 63998 | 0 |
| 7761 | 45845 | 6671 |
| 4261 | 38223 | 8576 |
| 9830 | 66787 | 1178 |
| 12386 | 77852 | 936 |
| 8673 | 55825 | 14167 |
| 10944 | 57022 | 9018 |
| 9910 | 64263 | 12768 |
| 9928 | 75881 | 17423 |
| 4264 | 34343 | 21323 |
| 7971 | 41243 | 21009 |
| 8290 | 53021 | 20151 |
| 12669 | 66991 | 9250 |
| 7272 | 49719 | 20838 |
| 9784 | 58399 | 16065 |
| 9187 | 50477 | 9407 |
| 5866 | 39112 | 20409 |
| 9456 | 51886 | 11668 |
| 6270 | 34797 | 146 |
| 9518 | 62348 | 5201 |
| 10968 | 78704 | 17002 |
| 8865 | 53620 | 32004 |
| 9226 | 51577 | 15922 |
| 4913 | 34761 | 17704 |
| 6976 | 60968 | 17799 |
| 8152 | 51281 | 8167 |
| 2887 | 25013 | 18763 |
| 8062 | 59238 | 10815 |
| 8895 | 47344 | 11814 |
| 8444 | 52645 | 22469 |
| 6148 | 35309 | 17139 |
| 4563 | 34355 | 10612 |
| 8185 | 50630 | 21187 |
| 3391 | 29056 | 15735 |
| 7436 | 48721 | 18363 |
| 9522 | 50459 | 16478 |
| 11290 | 72805 | 21238 |
| 10403 | 56954 | 22218 |
| 4693 | 39343 | 24696 |
| 5626 | 38833 | 14371 |
| 11869 | 55021 | 35576 |
| 13055 | 77605 | 817 |
| 8783 | 57937 | 18591 |
| 13031 | 63343 | 25531 |
| 3681 | 36479 | 17950 |
| 5549 | 40381 | 14257 |
| 4108 | 26309 | 26581 |
| 6314 | 41421 | 22470 |
| 7700 | 54579 | 29065 |
| 7479 | 40551 | 31757 |
| 9093 | 50369 | 6404 |
| 9863 | 54422 | 24334 |
| 8043 | 51836 | 26213 |
| 9552 | 73600 | 36374 |
| 9286 | 51873 | 29631 |
| 7987 | 48003 | 17261 |
| 3875 | 36519 | 13579 |
| 10746 | 75152 | 10659 |
| 6888 | 44974 | 23711 |
| 5479 | 48923 | 4594 |
| 6949 | 43769 | 21221 |
| 10650 | 75947 | 33357 |
| 5188 | 41423 | 33641 |
| 5311 | 40189 | 17791 |
| 4691 | 36772 | 5829 |
| 8056 | 59690 | 19594 |
| 11304 | 53654 | 23066 |
| 8112 | 59067 | 240 |
| 8696 | 65962 | 0 |
| 5869 | 37254 | 10157 |
| 3776 | 33568 | 14143 |
| 11829 | 56934 | 0 |
| 13087 | 88822 | 17565 |
| 10986 | 59635 | 27863 |
| 5762 | 38407 | 18867 |
| 11617 | 78627 | 11894 |
| 9895 | 47710 | 22930 |
| 16293 | 64443 | 31687 |
| 8185 | 58871 | 35424 |
| 13972 | 87954 | 11549 |
| 11243 | 54778 | 12552 |
| 4635 | 39825 | 19494 |
| 10063 | 49536 | 12195 |
| 8426 | 60102 | 13787 |
| 7436 | 49139 | 22356 |
| 11747 | 51052 | 4553 |
| 15397 | 70500 | 12025 |
| 6842 | 54894 | 16217 |
| 9678 | 60570 | 4106 |
| 12852 | 57625 | 31228 |
| 10114 | 56956 | 25907 |
| 8496 | 61400 | 1093 |
| 6689 | 50532 | 17106 |
| 15696 | 72774 | 17793 |
| 9841 | 69981 | 21607 |
| 12529 | 66891 | 17689 |
| 10210 | 67431 | 19995 |
| 8868 | 64782 | 14489 |
| 6426 | 38987 | 17864 |
| 11096 | 64867 | 5839 |
| 10086 | 50421 | 8689 |
| 2587 | 27076 | 17534 |
| 12492 | 51784 | 20284 |
| 8456 | 54135 | 22037 |
| 6801 | 53291 | 23342 |
| 6339 | 49804 | 34943 |
| 7802 | 52205 | 28579 |
| 9717 | 72841 | 22349 |
| 6026 | 46238 | 20165 |
| 5618 | 45938 | 10538 |
| 10217 | 77716 | 18516 |
| 8338 | 59711 | 7980 |
| 9048 | 42106 | 19786 |
| 4017 | 36462 | 9935 |
| 10906 | 53403 | 18177 |
| 15148 | 71290 | 6696 |
| 8830 | 66759 | 20972 |
| 8481 | 57616 | 28767 |
| 11358 | 76221 | 1373 |
| 10553 | 78202 | 5920 |
| 6969 | 55164 | 24795 |
| 13219 | 61171 | 21482 |
| 3543 | 34093 | 25969 |
| 7326 | 50647 | 10750 |
| 8458 | 59898 | 22940 |
| 11766 | 52884 | 25970 |
| 9908 | 73629 | 7112 |
In: Statistics and Probability
Researchers investigating temperament in dogs have a database of reactivity scores from a population of N = 1000 puppies. The reactivity scores are normally distributed with a mean of mu = 175 and a standard deviation of sigma = 20; higher scores indicate higher reactivity (that is, the puppy is more likely to become aroused by novel stimuli).
Dr. Kobe is also conducting temperament testing, but his local shelter is much smaller than Dr. Santos’. Thus, he is only able to obtain a sample size of n = 20 puppies.
a. What is the likelihood that Dr. Kobe will obtain a mean reactivity score of 168 or lower?
b. What is the likelihood that Dr. Kobe will obtain a mean reactivity score of 190 or higher?
c. Why should the probability of obtaining a sample mean less than M = 165 be larger for Dr. Kobe than Dr. Santos?
In: Statistics and Probability
Create a database with two tables as follows:- Students - StudentID, Name, Program FeePayment - StudentID, Date, Description, Amount 1. Create a stored procedure that receives all the details of a student including fees and proceeds to insert insert the student details into the student details and the fee payment into the FeePayment table. All the operations should be done within a single transaction in a stored procedure. Note that the stored procedure works like a function that receives parameters. Copy and submit your code for creating the tables as well as your stored procedure code in a word document.
In: Computer Science