LimeBike is a start-up founded in 2017 located in San Mateo, California. Its mission is to make shared bicycles accessible and affordable. The company has taken the basic idea of shared bicycles and eliminated the need to return the bike to a docking station, which may not be near the cyclist’s destination.
LimeBike charges $1 per 30 minutes of riding. Students receive a discounted rate of $0.50 per ride.
To use LimeBike, you first use the LimeBike app to locate one of the citrus-colored bikes near your location. Once you are at the bike, you scan the QR code on the bike or enter the bike’s plate number into the app to unlock the bike. When you are finished using the bike, you park the bike by a bike rack or post – anywhere that is legal and visible. Once you press down the back wheel lock, the trip is finalized and your payment is processed – all within the LimeBike app.
LimeBike operates the bicycle networks within cities, eliminating the need for cities to maintain the bikes or deal with other logistics. The shared bicycle network is not dependent on government funding, making it appealing to cities with tight budgets.
LimeBike just raised $12 million in funding from investors to expand its operations. It is set to begin operating in as-of-yet undisclosed cities in April or May of 2017.
You are one of the only accountants in LimeBike headquarter's office.
The company’s CEO, Toby Sun, has tasked you with forming the company's the company’s accounting policies.
For the discussion post, write an email to the company CEO and address all of the following typical company scenarios and whether each item should be expensed or capitalized at LimeBike:
The cost of customized bikes. This includes the bike's purchase price, shipping, assembly and sales tax.
Development costs of the smart phone app for locating, paying, and returning bikes. (Resource: Accounting for Software Development)
Salary of the salesperson who works to get cities to adopt the Lime Bike program.
Replacement tires for bikes.
Routine bike maintenance including chain lubrication, brake pad replacement, and drive train cleaning
Electricity and other utilities in administrative offices
Somewhere in your email, also address why this classification is important. Be sure to include how these decisions would impact the company’s balance sheet and income statement.
In: Accounting
Please make the following modifications to the following code:
# A simple program that gives the user a quiz and gives them a score after
#By Abi Santo
#9/27/20
def main():
print("This Program gives you a quiz and a score after you are done with the quiz")
quiz_set = [{
"type" : "single_answer",
"question" : "What State is Seattle located in?",
"answer" : "Washington"},
{
"type" : "single_answer",
"question" : "Who is the Speaker of the House?",
"answer" : "Nancy Pelosi"},
{
"type" : "single_answer",
"question" : "What is the Capital of the United Kingdon?",
"answer" : "London"},
{
"type" : "multiple_choice",
"question" : "What is the Capital of The United States?",
"answer" : "c",
"choices" : "a. New York City \n b. Los Angeles \n c. Washington DC \n d. Chicago"},
{
"type" : "multiple_choice",
"question" : "Who is the President of the United States?",
"answer" : "a",
"choices" : "a. Donald Trump \n b. Tim Cook \n c. Barack Obama \n d. Bill Gates"},
]
score = 0
for i in range(5):
print("Question "+str(i+1)+": ")
print(quiz_set[i]["question"])
if(quiz_set[i]["type"] == "single_answer"):
ans = input("Enter Answer ")
if(ans.lower() == quiz_set[i]["answer"].lower()):
score +=1
print("Correct")
else:
print("Incorrect")
elif(quiz_set[i]["type"] == "multiple_choice"):
print("Options:\n", quiz_set[i]["choices"])
ans = input("Enter correct choice: ")
if(ans.lower() == quiz_set[i]["answer"].lower()):
score +=1
print("Correct")
else:
print("Incorrect")
if(score >= 0 and score <= 2):
print("Better luck next time.")
elif(score >= 3 and score <= 4):
print("Not bad. Try again soon!")
else:
print("You Rock")
print("Thank you for playing!")
input("Press the <Enter> key to quit.")
main()In: Computer Science
HappyFruit Cell Phones makes consumer grade cellar devices. The Company is currently making their own chargers. The production cost information per charger is presented below. Direct Materials $4.9 Direct Labor $5.97 Variable Overhead $5.5 Fixed Overhead $11.93 Another company has offered to sell HappyFruit the charger they supply with their devices $18 per charger. None of the fixed overhead can be avoided. What is the cost/benefit of purchasing the charger from the outside supplier on a per unit basis. Enter a net cost as a negative number (ie. -1.50). Enter a net benefit as a positive number (ie. 1.50). Round your answer to two decimal places.
The Little Buddy Bench Press Company makes family friendly fitness equipment. They recently received an offer to sell 565 customized kiddo-planks to a Planet Mall Fitness for $28 per kiddo-plank. The company has capacity to fill the order. The average costs for kiddo-plank are:
| Direct Materials | $4 |
| Direct Labor | 9 |
| Variable Manufacturing Overhead | 5 |
| Variable Selling Expenses | 3 |
| Fixed Manufacturing Overhead | 4 |
| Total Cost per Plank | $25 |
The custom order will incur no variable selling expenses. However, due to a special logo needing to be embossed on each product, the direct materials expense will increase by $9 per plank. How much will the profit of the company increase or decrease if they decide to accept the offer? Enter a net decrease as a negative number (ie. -4000). Enter a net increase as a positive number (ie. 4000). Round your answer to the whole dollar.
If you invest $1297 and the investment generates $620 per year, how many years will it take to recover your original investment? Round your answer to one decimal place.
What is the value in today's dollars of $1 each year for the next 9 years if the current discount rate is 9%? Round your answer to three decimal places.
How much would you need to invest today at 5% to have one dollar in 10 years? Enter your answer to three decimal places.
If you invested $1 today an interest rate of 1%, and the interest compounded annually, how much would your dollar be worth in 8 years? Round your answer to two decimal places.
In: Accounting
use *python
Though CPUs, and computer hardware in-general, are not the main focus of this course, it can be useful to know a thing or two about computer hardware. The CPU (Central Processing Unit) is generally the piece of hardware that carries out the instructions of the python programs that you run in this class.
In this short PA, you will write a program that takes a few input values related to CPU performance. The program should determine whether or not the specified CPU is within one of four categories: high-performance, medium-performance, low-performance, and in need of an upgrade. Name the file cpu.py. Shown below is an example of the program prompting the user for three inputs, and then printing out the corresponding CPU performance category:
Press ENTER or type command to continue Enter CPU gigahertz: 2.7 Enter CPU core count: 2 Enter CPU hyperthreading (True or False): False That is a low-performance CPU
The program should spit out one of 4 strings:
How you determine which to print out should be based on the below tables:
If the CPU has hyperthreading
| performance level | min GHz | min cores |
| high-performance | 2.7 | 6 |
| medium-performance | 2.4 | 4 |
| low-performance | 1.9 | 2 |
If the CPU does not have hyperthreading
| performance level | min GHz | min cores |
| high-performance | 3.2 | 8 |
| medium-performance | 2.8 | 6 |
| low-performance | 2.4 | 2 |
There’s also one “special-case” rule: If a CPU has 20 or more cores, regardless of the other stats, it should be considered high-performance.
Examples
Below are several examples of program runs. There will be more tests on Gradescope.
Enter CPU gigahertz: 2.0 Enter CPU core count: 8 Enter CPU hyperthreading (True or False): True That is a low-performance CPU.
Enter CPU gigahertz: 4.0 Enter CPU core count: 6 Enter CPU hyperthreading (True or False): False That is a medium-performance CPU.
In: Computer Science
C++
11.7: Customer Accounts Write a program that uses a structure to store the following data about a customer account: Customer name Customer address City State ZIP code Telephone Account balance Date of last payment The program should use an array of at least 20 structures. It should let the user enter data into the array, change the contents of any element, and display all the data stored in the array. The program should have a menu-driven user interface. Prompts And Output Labels. Your main menu should be the following: 1. Enter new account information 2. Change account information 3. Display all account information 4. Exit the program The user is expected to enter 1 or 2 or 3 or 4. The main menu is displayed at the start of the program and after the handling of choices 1, 2 and 3. If 1 is entered for the main menu, the program prompts for each of the data listed above, in the order listed above, using the above data descriptions (e.g. "ZIP code") as prompts (followed in each case by a colon). After reading in and processing the data, the program prints You have entered information for customer number X where X is the customer number: 0 for the first customer and increasing by 1 for each subsequent customer that is entered. If 2 is entered for the main menu, the program prompts for the customer number: Customer number: Upon entering a valid customer number the program displays all the data for the particular customer that has been saved: Customer name: ... Customer address: ... City: ... State: ... ZIP code: ... Telephone: ... Account balance: ... Date of last payment: ... The program then skips one or two lines and prompts for a change, using the same prompts as in choice 1 above for all the data items associated with a customer. If 3 is entered for the main menu, the program displays all the data for each customer that has been saved, using the display format in choice 2 above. After the display of each customer the program prompts "Press enter to continue..." and waits for the user to hit return. If 4 is entered for the main menu, the program terminates. Input Validation (OPTIONAL).When the data for a new account is entered, be sure the user enters data for all the fields. No negative account balances should be entered.
.make sure it good with codelab
In: Computer Science
Please code in c# (C-Sharp)
Write a program that will ask the user for their name. If the user does not input anything, display a
warning before continuing. The program will then ask the user whether they want to have an addition,
subtraction, multiplication, or division problem. Once the user indicates their choice, the program will
display 2 randomly generated numbers from 1 to 9 in a math problem matching the user’s choice.
Example: user selects addition, the equation presented is:
(random number from 1 to 9) + (random number from 1 to 9)
The user will then input an answer as a whole number. If the answer they entered is not a whole
number, tell the user their input is invalid and end the program. If the input is valid, check to see if it is
the correct answer. If correct, congratulate the user by name. If incorrect, output the correct answer.
Tasks
1) The program needs to contain the following
a.
A comment header containing your name and a brief description of the program
b. At least 5 comments besides the comment header explaining what your code does
c.
A string variable that captures the user’s name
d. A way to validate user input to determine if they entered an empty string
i. Warn the user if they enter an empty string
ii. Continue the program after warning the user
e. A prompt for what type of quiz the user wants
f.
Display of a quiz matching the type the user requested
g.
A prompt for an answer in the form of a whole number
i. A message if the user enters an invalid number
1. Do not check the user’s answer if their input is invalid
ii. If input is valid:
1. Check the answer
2. If the answer is correct, congratulate the user by name
3. If incorrect, output the correct answer
h. “Press enter to continue” and Console.ReadLine(); at the end of your code
i. Note: if you write a try-catch statement, these lines will be after your last catch
2) Upload a completed .cs file onto the Assignment 4 submission folder and a word document
containing the following six (6) screenshots:
a.
The warning displayed when the user enters a blank value for the name
b. One test run for each equation with valid input
i. Answer 2 quizzes correctly
ii. Answer 2 quizzes incorrectly
c.
One test run with invalid input
In: Computer Science
| If 180 is increased by 55%, what is the result? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shona ate 100 grapes yesterday. Today she eats 90% more than yesterday. How many grapes did she eat today? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| John took 140 photographs last month. This month he took 85% more. How many photographs did he take this month? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| What number is 75% more than 80? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Increase 950 by 10%. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Last time Orange Floyd released an album, 900 copies were downloaded in the first 24 hours. By the end of the first week fans had downloaded 26% more copies. How many albums had been downloaded in total at the end of the first week? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Jamie decided to order 38% more flour for his restaurants than last year. If he ordered 1000kg last year what weight of flour should he order this year? | kg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Judith swam 93000 metres last month. Her target for this month is to swim 78% more metres than last month. How many metres must she swim this month to achieve her target? | m | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Find the new amount if 96500 is increased by 14%. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Find the new amount if 63000 is increased by 57%. This is level 2: find the new amount after a percentage decrease. You can earn a trophy if you get at least 7 questions correct. You can use a calculator.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
In: Accounting
Given snippet code below that you are required to complete. You are not allowed to make a new function or change any given code. Please complete each section that are marked with the notation “INSERT YOUR CODE HERE”.
Once you complete the snippet below, your output should have the same result with the given output below.
Descriptions:
This function is for checking that there is no duplicated employee data in the linked list. This function will check the name, jobPos, grade and age. It will return to 1 if no duplicated data found at those properties and return to 0 vice versa.
This function is built for inserting a new data in the linked list. You are required to check whether the inputted is novel data. If the inputted data is not valid, the program will print “ The inputted data is duplicated!”.
Note : please analyze how to push a data by given sequence of inserting in the main function and please compare it to the given output!
this function is built for deleting a data. If you are trying to delete a data when the list is empty, then the program will prompt you “the list is empty!”.
Note : please analyze how to pop a data by given sequence of deleting in the main function and please compare it to the given output!
this function is built for printing all the data in the list along with the total employee number. If you are trying to delete a data when the list is empty, then the program will prompt you “the list is empty!”.
//
// Created by Hanry Ham on 2020-05-24.
//
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
struct Employee{
char name[20];
char jobPos[15];
int grade;
int age;
Employee *next;
}*head = NULL, *tail = NULL;
bool isValid(char *name, char *jobPos, int grade, int age){
// [15%] (1) INSERT YOUR CODE HERE
}
void push(char *name, char *jobPos, int grade, int age){
struct Employee *curr = (struct Employee *) malloc(sizeof(Employee));
// [10%] (2) INSERT YOUR CODE HERE
if( ){
}else{
}
}
void pop(){
struct Employee * curr = head;
// [15%] (3) INSERT YOUR CODE HERE
}
void printAll(){
printf("\n\n");
struct Employee * curr = head;
int empCtr = 0;
if(!curr){
printf("the list is empty!");
}else{
// [10%] (4) INSERT YOUR CODE HERE
}
int main(){
pop();
printAll();
push("Hanry", "Supervisor", 12, 27);
push("Yen", "Manager", 13, 40);
pop();
push("Derwin", "Manager", 15, 31);
push("Andry", "Manager", 15, 30);
pop();
push("Saka", "Manager", 15, 32);
pop();
push("Afan", "Manager", 16, 35);
push("Fredy", "Senior Manager", 18, 45);
pop();
printAll();
return 0;
} |
Output:
|
the list is empty the list is empty! ======================================================= | Name| Job Position| Grade| Age| ======================================================= | Fredy| Senior Manager| 18| 45| | Afan| Manager| 16| 35| | Saka| Manager| 15| 32| ======================================================= Total Employee : 3 ======================================================= |
In: Computer Science
The 10th Amendment addresses the division of powers between the U.S. and the states. What issue(s) from the past or present can you think of that may cause states to clash with the U.S. Constitution?
A federal system has a number of advantages. A key one, as Supreme Court Justice Louis Brandeis noted in 1932, is that states can be “laboratories” of democracy. In particular, he argued, “It is one of the happy incidents of the federal system that a single courageous state may, if its citizens choose, serve as a laboratory; and try novel social and economic experiments without risk to the rest of the country.”47 Another advantage, as the Supreme Court argued in Bond v. United States (2011), is that “By denying any one government complete jurisdiction over all the concerns of public life, federalism protects the liberty of the individual from arbitrary power.”48 Other advantages, as one law professor has pointed out, are that federalism can accommodate a diversity of preferences in a heterogeneous society, that the most appropriate level of government can be utilized for a particular purpose, and that the states can compete and their citizens can move to places that have an attractive particular mix of public policies.49
Constitutional Distribution of Powers
The U.S. Constitution distributes power between the national and state governments. It grants and denies powers. In some cases, powers are granted exclusively to the national government and in other cases exclusively to the states. There are also instances where powers are granted to both the national and the state governments. The same can be said for denied powers. Some are denied to the national government, others are denied to the states, and some are denied to both.
page 59
Division of Powers between National and State Governments
Figures 2.3 and 2.4 present a clear summary of the division of powers between the national and state governments. Although the division of powers may seem straightforward, these figures belie the true complexity of our federal system of government. It is complicated, and the meaning of each power has been subject to interpretation by the federal courts. If we examine four areas of the Constitution and the courts’ interpretations, we gain a much better understanding of American federalism. These four areas are the Necessary and Proper Clause versus the Tenth Amendment; the Interstate Commerce Clause; Equal Protection and Due Process Clause of the Fourteenth Amendment; and the power to tax and spend to promote the general welfare.
The “Necessary and Proper” Clause and the Tenth Amendment
Article 1, Section 8, paragraph 18 of the United States Constitution states that Congress shall have the power “To make all Laws which shall be necessary and proper for carrying into Execution the foregoing Powers, and all other Powers vested by this Constitution in the Government of the United States, or in any Department or Officer thereof.” This seems to grant considerable power to the national government. However, the Tenth Amendment states: “The powers not page 60 delegated to the United States by the Constitution, nor prohibited by it to the States, are reserved to the States respectively, or to the people.” This seems to grant most powers not expressly granted to the federal government to the states, or that they would remain with the people. The meanings of these two sections of the Constitution were the cause of conflict early in the history of the Republic.
Tenth Amendment
Amendment of the U.S. Constitution that delegates or reserves some powers to the state governments or to the people
In: Economics
Van Hatten Consolidated has three operating divisions: DeMent
Publishing Division, Ankiel Security Division, and Depp Advisory
Division. Each division maintains its own accounting system but
follows IFRS.
| DeMent Publishing Division The DeMent Publishing Division sells large volumes of novels to a few book distributors, which in turn sell to several national chains of bookstores. DeMent allows distributors to return up to 30% of sales, and the distributors give the same terms to bookstores. While returns from individual titles fluctuate greatly, the returns from distributors have averaged 20% in each of the past five years. A total of $7 million of paperback novel sales were made to distributors during fiscal 2020. On November 30, 2020 (the end of the fiscal year), $1.5 million of fiscal 2020 sales were still subject to return privileges over the next six months. The remaining $5.5 million of fiscal 2020 sales had actual returns of 21%. Sales from fiscal 2019 totalling $2 million were collected in fiscal 2020 less 18% returns. This division records revenue according to the revenue recognition method when the right of return exists. |
| Ankiel Security Division The Ankiel Security Division works through manufacturers’ agents in various cities. Orders for alarm systems and down payments are forwarded from agents, and the division ships the goods f.o.b. factory directly to the customers (usually police departments and security guard companies). Customers are billed directly for the balance due plus actual shipping costs. The company received orders for $6 million of goods during the fiscal year ended November 30, 2020. Down payments of $600,000 were received, and $5.2 million of goods were billed and shipped. Actual freight costs of $100,000 were also billed. Commissions of 10% on product price are paid to manufacturing agents after goods are shipped to customers. Such goods are covered by the warranty for 90 days after shipment, and warranty claims have been about 1% of sales. Revenue is recognized at the point of sale by this division. |
| Depp Advisory Division The Depp Advisory Division provides asset management services. This division grew out of Van Hatten’s own treasury and asset management operations, which several of its customers asked to have access to. On January 1, 2020, Depp entered into a contract with Scutaro Co. to perform asset management services for one year. Depp receives a quarterly management fee of 0.25% on Scutaro’s assets under management at the end of each quarter. In addition, Depp receives a performance-based incentive fee of 20% of the fund’s annual return in excess of the return on the S&P 500 index at the end of the year. At the end of the first quarter of 2020, Depp was managing $2.4 million of Scutaro assets. The annualized return on the portfolio was 6.2%. (The S&P 500 index had an annualized return of 5.7%.) |
(a)
For each division’s revenue arrangements, identify the separate
performance obligations, briefly explain the allocation of the
transaction process to each performance obligation, and indicate
when the performance obligations are satisfied.
In: Accounting