Questions
The school bookstore wants you to write a Python script to calculate the point of sale...

The school bookstore wants you to write a Python script to calculate the point of sale (total cost) of their new 25$ gift cards. They are also running a special, if a customer buys a gift card they can buy all books for 5$ dollars each.

The gift card cost is $25.00 plus $5.00 per book. In addition, there is a sales tax which should be applied to the subtotal and it is 8% (multiply the subtotal by 0.08.)

Requirements:

Write a Python script (with meaningful comments) that has a main() function. Have that main() function call another function to display a welcome to the customer. In the main() function, ask the user how many gift cards they would like and how many books they have picked out. Function requirements are as follows: You must write a function to calculate the cost for the gift card(s), a function to calculate the cost of the books, and a function that takes the subtotal applies the 8% (multiply by 0.08) sales tax then returns the total to main(). Display the subtotal in main(). Round all dollar amounts to 2 decimal places (note: python will truncate unnecessary 0s without formatting so do not worry if output only has the tenths place).

Only function definitions and the call to main() can be at 1st level indentation. For a challenge, see if you can make your main function contain less lines that the other functions.

Example:

Welcome to the bookstore!

Gift cards are $25.00 each

Each book costs $5.

How many gift cards do you want? 2

How many books do you have? 4

Your subtotal is $70

Your total is $75.6

In: Computer Science

Personal Budget At the beginning of the school year, Priscilla Wescott decided to prepare a cash...

Personal Budget

At the beginning of the school year, Priscilla Wescott decided to prepare a cash budget for the months of September, October, November, and December. The budget must plan for enough cash on December 31 to pay the spring semester tuition, which is the same as the fall tuition. The following information relates to the budget:

Cash balance, September 1 (from a summer job) $6,000
Purchase season football tickets in September 150
Additional entertainment for each month 250
Pay fall semester tuition in September 3,500
Pay rent at the beginning of each month 450
Pay for food each month 400
Pay apartment deposit on September 2 (to be returned December 15) 450
Part-time job earnings each month (net of taxes) 1,300

a. Prepare a cash budget for September, October, November, and December. Enter all amounts as positive values except cash decrease which should be indicated with a minus sign.

Priscilla Wescott
Cash Budget
For the Four Months Ending December 31
September October November December
Estimated cash receipts from:
Part-time job $ $ $ $
Deposit
Total cash receipts $ $ $ $
Less estimated cash payments for:
Season football tickets $
Additional entertainment $ $ $
Tuition
Rent
Food
Deposit
Total cash payments $ $ $ $
Cash increase (decrease) $ $ $ $
Plus cash balance at beginning of month
Cash balance at end of month $ $ $ $

b. Are the four monthly budgets that are presented prepared as static budgets or flexible budgets?
Static

c. What are the budget implications for Priscilla Wescott?

Priscilla can see that her present plan will not provide sufficient cash. If Priscilla did not budget but went ahead with the original plan, she would be $ short at the end of December, with no time left to adjust.

In: Accounting

A random sample of 100 students at a high school was asked whether they would ask...

A random sample of 100 students at a high school was asked whether they would ask their father or mother for help with a homework assignment in science. A second sample of 100 different students was asked the same question in history. If 46 students in the first sample and 47 students in the second sample replied that they turned to their mother rather than their father for help, test the claim whether the difference between the proportions is due to chance. Use α = 0.02. Identify the claim, state the null and alternative hypotheses, find the critical value, find the standardized test statistic, make a decision on the null hypothesis (you may use a P-Value instead of the standardized test statistic), write an interpretation statement on the decision.

In: Statistics and Probability

A family math night at your school includes the following activity. A bag is filled with...

A family math night at your school includes the following activity. A bag is filled with 10 small bears that are identical except that 3 are yellow and 7 blue. The directions for the game are as follows:

Win a prize if you guess the correct number of yellow bears in the bag! There are 10 bears in the bag. Some are yellow and the rest are blue. Here is what you do:

  1. Reach into the bag, mix well, and pick out a bear.
  2. Get a sticky note that is the same color as your bear and write your name and your guess on the note and add it to the other notes of the same color.
  3. Put your bear back in the bag and mix well.

The sticky notes will be organized in columns of 10 so that they are easy to count.

A.         How will the students be able to use the results of this activity to estimate the number of yellow bears in the bag? (8 points)

B.         What do you expect to happen as more kids play this game? (4 points)

C.        What are at least 2 modifications you would make to this game if you were actually going to use this for your own math night? (8 points)

In: Math

Part a VenRam Stationery & Supplies sells a variety of school supplies including a variety of...

Part a VenRam Stationery & Supplies sells a variety of school supplies including a variety of calculators. The business began the first quarter (January to March) of 2018 with 20 (Casio fx-85MS) calculators at a total cost of $124,800.

During the quarter, the company completed the following transactions. January 8 105 calculators were purchased at a cost of $5,840 each. In addition the business paid a freight charge of $610 cash on each calculator to have the inventory shipped from the point of purchase to their warehouse.

January 31 The sales for January were 85 calculators which yielded total sales revenue of $767,550. ( 25 of these units were sold on account to longstanding customers)

February 4 A new batch of 65 calculators was purchased at a total cost of $448,500

February 10 10 of the instruments purchased on February 4 were returned to the supplier, as they were not of the model ordered.

February 28 During the month 58 calculators were sold at a price of $9,660 each.

March 4 A customer, to whom 9 calculators were sold during the first business day of February, returned 2 of the instruments, as they were of another brand.

March 10 Owing to an increased demand, a further 118 calculators were purchased at a cost of $7,500 each; these were subject to a trade discount of 2% each.

March 31 125 calculators were sold during March at a unit selling price of $10,300.

March 31 An actual count of inventory was carried out which revealed that there were 28 units of that brand of merchandise in the store room.

Unless otherwise stated, assume that all purchases were on account and received on the dates stated. Required: i) Prepare a perpetual inventory record for this merchandise, using the first in, first out (FIFO) method of inventory valuation to determine the company’s cost of goods sold for the quarter and the value of ending.

ii) Given that selling, distribution and administrative costs for the quarter were $112,840, $102,100 and $103,760 respectively,

prepare an income statement for VenRam Stationery & Supplies for the quarter ended March 31, 2018.

iii) Journalize the January transactions, assuming the company uses a: - Periodic inventory system - Perpetual inventory system

iv) The manager of VenRam has stated that his objective is to cut back on his tax liability and is of the view that the FIFO method would be best. Do you agree with him?

Part b Callahan Computers stores its inventory in a warehouse that was destroyed by Hurricane Irma in September 2018. The business began the year with inventory of $350,000. During the year, the business made net purchases of $1,600,000 and had net sales of $2,500,000. The company’s gross profit has historically been 30% of net sales revenue. Use the gross profit method to estimate the cost of the ending inventory destroyed in the hurricane.

In: Accounting

College students are increasingly working while attending school. A study was conducted to determine if there...

College students are increasingly working while attending school. A study was conducted to determine if there is a significant difference in earnings of male college students and female college students during the eight months of the academic year. A sample of 800 male students earned an average of $5,995 with a standard deviation of $2,500. A sample of 700 working female students earned an average of $5,480 with a standard deviation of $2,600. Use .10 level of significance.

Which of the following represents the null hypothesis?

In: Math

A group of high-school parents in Tucson, Arizona, in conjunction with faculty from the University of...

A group of high-school parents in Tucson, Arizona, in conjunction with faculty from the University of Arizona, claim that young women in the Tucson high schools not only are called on less frequently, but receive less time to interact with the instructor than do young men. They would like to see the school district hire a coordinator, spend money (and time) on faculty workshops, and offer young women classes on assertiveness and academic communication.

To make things simple, assume that instructor interactions with young men average 95 seconds, with standard deviation 35 seconds. (Treat this as population information.)

The null hypothesis will be that the average interaction time for young women will also be 95 seconds, as opposed to the alternate hypothesis that it is less, and will be tested at the 2.5% level of significance.

  1. Give interpretations in context of Type I and Type II error in this situation. (Your discussion should not focus on “Null” and “Alternate”.)
  2. What are the social, economic, and other consequences of (separately) Type I and Type II error?
  3. Find the rejection region for this test. That is, what interaction time bounds the lower 2.5% of the distribution?
  4. Assume the true mean interaction time for young women is 90 seconds. Find the power of the test.
  5. Repeat part 4 for a true mean interaction time of 80 seconds.
  6. What do the results in parts (4) and (5) mean in terms of your previous answers?

In: Math

This question is an extension from Q2 above. The high school teacher was also interested in...

This question is an extension from Q2 above. The high school teacher was also interested in whether there is a gender difference in terms of the student’s choice of majors. So he broke the data down by gender in the following table and conducted a Chi-square test for independence with α = .05.

Type of Major

Female

Male

Total

STEM

10

25

35

Social Sciences

11

9

20

Liberal Arts

7

3

10

a. What are the variables in this analysis? What scale of measurement is each variable (nominal, ordinal, or continuous)? (2 points total: 1 for each variable- .5 for variable name, .5 for variable type)

b. State the null and alternative hypotheses in words (1 point total: .5 for each hypothesis)

c. Calculate X2 statistic (2 points total: 1 for final answer, 1 for the process of calculating it)

d. Calculate the degree of freedom and then identify the critical value (1 point total: .5 for df, .5 for critical value)

e. Compare the X2 statistic with the critical value, then report the hypothesis test result, using “reject” or “fail to reject” the null hypothesis in the answer (1 point total, .5 for each answer)

f. Explain the conclusion in a sentence or two, to answer the research question. (1 point)

In: Math

The school bookstore wants you to write a Python script to calculate the point of sale...

The school bookstore wants you to write a Python script to calculate the point of sale (total cost) of their new 25$ gift cards. They are also running a special, if a customer buys a gift card they can buy all books for 5$ dollars each. The gift card cost is $25.00 plus $5.00 per book. In addition, there is a sales tax which should be applied to the subtotal and it is 8% (multiply the subtotal by 0.08.) Requirements: Write a Python script (with meaningful comments) that has a main() function. Have that main() function call another function to display a welcome to the customer. In the main() function, ask the user how many gift cards they would like and how many books they have picked out. Function requirements are as follows: You must write a function to calculate the cost for the gift card(s), a function to calculate the cost of the books, and a function that takes the subtotal applies the 8% (multiply by 0.08) sales tax then returns the total to main(). Display the subtotal in main(). Round all dollar amounts to 2 decimal places (note: python will truncate unnecessary 0s without formatting so do not worry if output only has the tenths place). Only function definitions and the call to main() can be at 1st level indentation. For a challenge, see if you can make your main function contain less lines that the other functions. Examples: Welcome to the bookstore! Gift cards are $25.00 each Each book costs $5. How many gift cards do you want? 1 How many books do you have? 2 Your subtotal is $35 Your total is $37.8 and Welcome to the bookstore! Gift cards are $25.00 each Each book costs $5. How many gift cards do you want? 2 How many books do you have? 4 Your subtotal is $70 Your total is $75.6

In: Computer Science

A school psychologist believes that more positive mood is associated with more creativity. Below are the...

A school psychologist believes that more positive mood is associated with more creativity. Below are the data from a random sample of 4th graders. What can be concluded with α = 0.05?

mood creativity
10
8
9
6
5
5
7
4
1
2
7
7
6
11
4
5
7
6
5
4
2
8


a) What is the appropriate statistic?
---Select--- na Correlation Slope Chi-Square
Compute the statistic selected above:  

b) Compute the appropriate test statistic(s) to make a decision about H0.
(Hint: Make sure to write down the null and alternative hypotheses to help solve the problem.)
critical value =  ; test statistic =  
Decision:  ---Select--- Reject H0 Fail to reject H0

c) Compute the corresponding effect size(s) and indicate magnitude(s).
If not appropriate, input and/or select "na" below.
effect size =  ;   ---Select--- na trivial effect small effect medium effect large effect

d) Make an interpretation based on the results.

There is a significant positive relationship between positive mood and creativity.There is a significant negative relationship between positive mood and creativity.    There is no significant relationship between positive mood and creativity.

In: Math