Question # 01: [CLO1, PLO1] Calculate the “loss in percentage” due to delayed entry in the market for a product launch. The product life time is “2 years” and the delay time is given below: No Delay 1 month delay 6 months delay
Q: program Credit Card Validator - Takes in a credit card number from a common credit card vendor…
A: program in C++
Q: e
A: you forgot to provide the table names. that really does not matter here. let us call the first table…
Q: C++ please! Suppose you have a certain amount of money in a savings account that earns compound…
A: Start Input principal amount Input rate of interest Input the term Calculate final amount Print…
Q: you are working as a freelancer. A company approached you and asked to create an algorithm for…
A:
Q: Input Format The first line of input contains a positive integer T denoting the number of test cases…
A: We need to write a Java code for the given scenario.
Q: Select all of the following statements about shoots which are true. All calls to shoots with a…
A: Given Select all of the following statements about shoots which are true. All calls to shoots…
Q: There is a secret organization and they want to create a secret language for the calculation…
A: According to 1st and 2nd operation +will subtract the numbers and -will divide the numbers.…
Q: You've been hired by Data Dandelions to write a C++ console application that displays population…
A: Below is the C++ program: - Explanation: - In the given program, four arrays are used to store the…
Q: Task 11 Imagine Salman Khan is going to the sets of a new movie. He decides to cycle everyday on his…
A: To handle exceptions we need to try and error blocks, whereas try blocks tests for the errors where…
Q: Consider the following code. What should be the smallest value assigned to num such that the number…
A: Ans : the smallest value that assigned to num such that the number 3 is printed from the last…
Q: Activity 1: Direction: make the following variables into constants. 1. int a- 100; 2. double b-…
A: Note: This is a multipart-based problem. As per company guidelines, only the first three parts are…
Q: You are required to draw flow chart and write a Pseudocode for the following draw flowchart problem…
A: FLOWCHART
Q: 3. Examine the given flowchart and answer the following question. start input employee #, hours, pay…
A: - We have to work on the flowchart to make it work for the instructions. - We have to add the loop…
Q: A company has 45 employers, 25 work as system developers (D) and (N) work as sales representer while…
A: Find the required queries given as below :
Q: My Solutions > Tax Calculator (conditional flow control) The simplest income tax calculation for a…
A: We need to write a function using Matlab to compute income tax.
Q: User Satisfaction team wants to send monthly summaries for each user. They need the following…
A: ANSWER:-
Q: Orders for a stock trading system are coded as follows from left to right: i. The first character is…
A: Answer : B -> Buy2300 -> No of sharesHPQ -> ticker symbol in all caps, because we are…
Q: 1- You are required to draw flow chart and write a Pseudocode for the following problem statement:…
A: The flow chart is a way of analyzing, designing a program. It is a diagrammatic representation of…
Q: In the Department of Mathematics and Computer Science (MACS), undergraduate course codes begin with…
A: Given, Course codes can be If start with M, then digit 1 can be 1-6, digit 2 can be 1-5, digit 3 and…
Q: 3. Write a line of code to calculate the new sales price by multiplying the original price by the…
A: logic:- read original_price set discount value…
Q: QUESTION 2 An event for a company is designed to bring customers from Kuala Lumpur to a gathering in…
A: As the language is not specified answer written in c++ Introduction to the problem: 1)using if…
Q: Among the following which statement or statements are not False? Select one or more: OAdding equal…
A: Attenuation-to-Crosstalk Ratio (ACR-F and ACR-N) ACR-N is calculated by subtracting the attenuation…
Q: Bob employs a Landscaping company that wants to use your services to help create an invoice…
A: We need to take input the number of hours worked by an employee. Then we know that they charge $30…
Q: Assume that the population of Mexico is 128 million and that the population increases 1.01 percent…
A: Since programming language is not mentioned in the question, we will answer this question in the…
Q: This is not a programming assignment You have the following alphabet. Please write down the code…
A: Answer
Q: C Code The salary of a company is paid according to working hours: Within 4 hours, including 4…
A: Algorithm: Start Read number hours hrs Initialize wages to 0 if hrs>0 and hrs<=4 calculate…
Q: QUESTION 1 Melody Piano Club provides a piano course for a student based on lesson hours. The…
A: NOTE: The output image contains an error in the total charge calculation its shows Total charge is…
Q: 9. Display the product with the most total sales amount (sale amount = price*quantity, total sales…
A: We have to get the highest price for the items. Here is the script for creating the table and adding…
Q: Its operation function returns a value you specify if a formula evaluates to an error; otherwise, it…
A: The IFERROR function in Excel is used to manage errors in formulas and calculations. IFERROR checks…
Q: ete the function that calculates the sum of the first n+1 terms of the geometric series a, ar,…
A: Please find the answer below :
Q: X is integer value based on your the last TWO(2) digit Matric Card number. If the value X is ODD,…
A: #include<stdio.h>int main(){ int x; printf("Enter the value of x: "); scanf("%d",&x);…
Q: Ask the user to enter the new rating for food. Validate the rating. If the rating is not within the…
A: Objective: This program receives details of some restaurants (like food and service ratings) and…
Q: 1. At Papaye fast-food joint, on entry, customers take a number to be served. The salespersons press…
A: In the given situation, the counter variable is the shared variable that is being used by both the…
Q: Input Format The first line of input contains a positive integer T denoting the number of test cases…
A: We need to write a Java code for the given scenario.
Q: Cecilia’s Boutique wants several lists of salesperson data. Design a flowchart or pseudocode for the…
A: Answer : Pseudocode:- 1) Start 2) Accept ID Number, No of items sold in last month, total value of…
Q: You are required to draw flow chart and write a Pseudocode for the following problem statement.…
A: Pseudo code: 1) Take input all the five values: customer name, mobile model, visit date, total…
Q: 13: Evaluate (or (= 50 13) (> 16 88)) 00 #T 1 This expression would produce an error message when…
A: Answer 13: after run value is NIL.#F so correct option is e Answer 14: after run it in lisp so…
Q: A company has 45 employers, 25 work as system developers (D) and (N) work as sales representer while…
A: Below is the flowchart:
Q: Q3. A company has 45 employers, 25 work as system developers (D) and (N) work as sales representer…
A: In the given question we are required to Draw a Flowchart for the Following Tasks : A.) To Find the…
Q: At Papaye fast-food joint, on entry, customers take a number to be served. The salespersons press…
A: 1. a. This is an example of Starvation in computer terms. In computer system, the term starvation…
Q: $51.00 |→ solution ./salesTax Enter the price: 54.30 $54.30 + $4.20 $58.50 solution So you'll print…
A: - We have to write a code for calculating the total price after adding tax.
Q: Write C++ code to handle the following tasks. Every course offered in university has credit hours.…
A: Purpose of the program: This program computes the grade obtained by a student when total credit…
Q: Which of the following statements is false? The following assignment statement adds the values…
A: Actually, the answer has given below;
Q: One large chemical company pays its salespeople on a commission basis. The salespeople receive $200…
A: Given data, One large chemical company pays its salespeople on a commission basis. The salespeople…
Q: A company has 45 employers, 25 work as system developers (D) and (N) work as sales representer while…
A: Below is the flowchart:
Q: Please answer in C++ Code Admission to college is just beginning and Chef has also just finished his…
A: Coded using C++.
Q: A company has 45 employers, 25 work as system developers (D) and (N) work as sales representer while…
A: Answer: We have draw the flowchart of given question and given user input as name ,price ,size,…
Please Do it Fast
Question # 01: [CLO1, PLO1]
Calculate the “loss in percentage” due to delayed entry in the market for a product launch. The product life time is “2 years” and the delay time is given below:
- No Delay
- 1 month delay
- 6 months delay
- 1 year delay
Step by step
Solved in 4 steps with 33 images
- Richardson Ski Racing (RSR) sells equipment needed for downhill ski racing. One of RSR's products is fencing used on downhill courses. The fence product comes in 150-foot rolls and sells for $215 per roll. However, RSR offers quantity discounts. The following table shows the price per roll depending on order size: Quantity Ordered From To Price per Roll 1 30 $215 31 60 $195 61 ཙཙ 120 $175 121 and up $155 Click on the datafile logo to reference the data. (a) Use the VLOOKUP function with the preceding pricing table to determine the total revenue from these orders. $ (b) Use the COUNTIF function to determine the number of orders in each price bin. From To Price per Roll Number of Orders 1 30 $215 31 60 $195 61 120 $175 121 and up $155 172 12calculate_new_balance Given a starting balance (a number), and a list of transaction tuples, calculate the final balance for an account. Transaction tuples are of the shape ("description", amount, "withdrawal") , or ("description", amount, "deposit"). The last entry in the tuple will be either "withdrawal" or "deposit". Every withdrawal decreases the balance of the account by the specified amount, and every deposit increases the balance. The return value is the new account balance, as a number. (which could be negative) Sample calls should look like: >>> calculate_new_balance(100, [("payday", 20, "deposit"), ("new shoes", 50, "withdrawal"), ("illicit winnings", 200, "deposit")])270>>> calculate_new_balance(100, [])100Richardson Ski Racing (RSR) sells equipment needed for downhill ski racing. One of RSR's products is fencing used on downhill courses. The fence product comes in 150-foot rolls and sells for $215 per roll. However, RSR offers quantity discounts. The following table shows the price per roll depending on order size: Quantity Ordered From To Price per Roll 1. 30 $215 31 60 $195 61 120 $175 121 and up $155 Click on the datafile logo to reference the data. DATA file (a) Use the VLOOKUP function with the preceding pricing table to determine the total revenue from these orders. (b) Use the COUNTIF function to determine the number of orders in each price bin. From To Price per Roll Number Orders 30 $215 31 60 $195 61 120 $175 121 and up $155 172
- Cell C5 contains a formula that calculates how many days late an assignment was submitted, based on the dates on C3 and C4. Provide a correct formula for cell C5. Your formula should work if the dates in C3 and C4 were to change. Do not include spaces in your answer. 1 2 ольши 3 4 5 6 A BO Used Assignment Late Days Due Date Date of Submission Number of Late Days C A 2021-02-22 2021-02-25 3 DPYTHON CODE Using Artists.csv (link below), write a query that returns all lines that are female artists only, with begin date greater than 1950 but no greater than 2000 Write a query that will return all lines of British Male artists, who's first names starts with the letter ‘A’ and has an end date earlier than 1990 Write a query that will write to a file all lines that have Japanese Artists who’s difference of end date and begin date exceeds 100 years. I.e. if artist begins in 1900 and ends in 2005, then they would be included in the output (2005-1900 = 105 years) Write a query that will write and find to a file the artist who’s been at the Museum the longest (the widest gap between Begin Date and End Date) Artists.csv: https://media.githubusercontent.com/media/MuseumofModernArt/collection/master/Artists.csvID At_fault_claims 1001 0 1001 1 1002 0 1002 1 1002 1 1003 0 1004 1 1005 1 1005 0 Aggregate the the dataframe above at the ID to create the following claim count variables: : Number of At Fault claims Number of Not At Fault claims it should be written with python We should now have two additional columns 'at fault count' and 'not at fault count' in our aggregate dataframe
- HW7_3 Ball bearings are hardened through a process known as quenching-submersion of the heated ball bearing in oil or water in order to cool it rapidly. The data below represent the temperature of the ball at various points in the cooling process time (sec) 0 30 Temp (C) 800 457 269 79 46 60 150 240 Plot the data (as discrete points). In the same figure window, also plot a) interpolating polynomial, (use polyfit and polyval) b) piecewise cubic interpolation (not-a-knot) and c) piecewise cubic interpolation (shape-preserving) Include a legend for the three methods used: polynomial interpolation, not-a-knot, shape-preserving. Then looking at the plot, choose the method you believe to be the best and smoothest fit of all these to predict the temperature after 3 minutes of cooling. Print the result using fprintf.123 4 5 6 7 8 A B Paper Type Name Letter Stock 65lb Cover Stock Premium White Copy Paper 2 Hole punch Letter Ultra-White Cardstock C Quantity 100 17 25 66 87 DE Discount 25% 5% 10% 15% 20% F Order Discounts G Minimum Quantity Discount 0 25 50 75 100 5% 10% 15% 20% 25% In the above spreadsheet, create a formula in cell D4 that uses the VLOOKUP function with the table array $F$4:$G$8. The formula will determine the applicable discount for each paper type order. You should be able to autofill this formula down through cells D4:D8.Use Python Programming - restaurant reservation program. The application offers different reservation rate for adults and children. (see sample below) RESTAURANT RESERVATION SYSTEMSystem Menua. View all Reservationsb. Make Reservationc. Delete Reservationd. Generate Reporte. Exit 2. When the VIEW RESERVATIONS is clicked, this will display all the reservations made: # Date Time Name Adults Children 1 Nov 10, 2020 10:00 am John Doe 1 1 2 Nov 25, 202011:00 am Michelle Franks 2 1 3 Dec 10, 2020 9:00 am Ella Flich 1 1 4 Dec 21, 2020 12:00 pmDylan Cloze 2 1 3. If the user selects MAKE RESERVATION, the user needs to input the following: a. Name (String)b. Date (String)c. Time (String)d. No of Adults (Integer)e. No of Children (Integer) Note: Adult is 500 per head and Kids is 300 per head reservation, save the data in a text file. 4. If DELETE RESERVATION is selected, the user needs to input the reservation number to remove the existing reservation. 5. If the GENERATE REPORT is clicked,…
- Use Python Programming - restaurant reservation program. The application offers different reservation rate for adults and children. (see sample below) RESTAURANT RESERVATION SYSTEMSystem Menua. View all Reservationsb. Make Reservationc. Delete Reservationd. Generate Reporte. Exit 2. When the VIEW RESERVATIONS is clicked, this will display all the reservations made: # Date Time Name Adults Children 1 Nov 10, 2020 10:00 am John Doe 1 1 2 Nov 25, 202011:00 am Michelle Franks 2 1 3 Dec 10, 2020 9:00 am Ella Flich 1 1 4 Dec 21, 2020 12:00 pmDylan Cloze 2 1 3. If the user selects MAKE RESERVATION, the user needs to input the following: a. Name (String)b. Date (String)c. Time (String)d. No of Adults (Integer)e. No of Children (Integer) Note: Adult is 500 per head and Kids is 300 per head reservation, save the data in a text file. 4. If DELETE RESERVATION is selected, the user needs to input the reservation number to remove the existing reservation. 5. If the GENERATE REPORT is clicked,…Write a stored procedure called sp_apply_discount() that will apply percent discount to books in a subject. The stored procedure takes in 2 parameters, percentDiscount (DECIMAL(8,2)) and subject (VARCHAR(120)). Using these parameters, the stored procedure computes the discount for the book cost and stores it in the FINAL_PRICE field. For example, the following stored procedure call: call sp_apply_discount(0.15, 'Database');would compute 15% percent discount from the book cost in the Database subject category and store it in the FINAL_PRICE column as depicted in this image:Whoever must play, cannot play def subtract_square(queries): Two players play a game of "Subtract a square", starting with a positive integer. On their turn to play, each player must subtract some square number (1, 4, 9, 16, 25, 36, 49, ...) from the current number so that the result does not become negative. Under the normal play convention of these games, the player who moves to zero wins, leaving his opponent stuck with no possible moves. (In the misère version of the game that has otherwise identical rules but where you win by losing the original game, these definitions would be adjusted accordingly.) This and many similar combinatorial games can be modelled with recursive equations. This game is an example of an impartial game since the moves available to both players are exactly the same, as opposed to “partisan games” such as chess where each player can only move pieces of one colour. A game state is therefore determined by the remaining number alone, but not by which player has…