Amazon wants to reward the customer who has done the most number of transactions, by providing a gift hamper worth 1000 pesos. Find out the customer who has done the most number of transactions [Note: One invoice number corresponds to one transaction]. The output should the one as below: Hurray! The most number of transactions is done by Customer I0: 17850. He has made 45 transactions. He will be rewarded with ou gift hanper worth 1000 pesos
Q: Question 2 What is the Big O notation of the following growth function? 64 n^1 +12 n^6 + 88 n^3 + 76…
A: The question asks to find the big-oh notation of the following function.
Q: What is the type of multiplicity shown in the below illustration: Customer DebitCards 0.1 has a. One…
A: The notation 0..* in the diagram means “zero or many”. The notation 0..1 in the diagram means “zero…
Q: Given the following salaries in $1,000, the average salary is and the most common salary is…
A: Answer : total salary is given = $1000 We have given number of salaries count = 8 Salaries : 50 ,…
Q: ou are tasked with shipping a number n of goods gi € {1,., n} to a target location t;. In your very…
A: According to the question we have to (a) Formulate the problem as an ILP, and relax to an…
Q: You are organizing a conference that has received n submitted papers. Your goal is to get people to…
A: A concept of game theory where the optimal outcome of a game is one where no player has an incentive…
Q: 4) You are asked to calculate the weekly take home pay for a group of employees at your company (for…
A: Solution There is a table name employee ID of employee= 87,43,99 ,5; Regular hours =40,40,32,40;…
Q: You make a contingency table that compares if a person made a purchase and if they were exposed to…
A: As per our guidelines we are suppose to answer only first question. Post the remaining question as…
Q: Below is the answer that I have but it is incorrect can anyone help? select PROJ_NUM,…
A: Here you have simply used the ROUND(value,2) function. This will simply round the value to 2 places…
Q: Which of the following statements is incorrect (the respective function does NOT belong to the…
A: incorrect option about time complexity is detailed in step 2.
Q: A thief is robbing a jewelry store showcasing various gems. Having an empty knapsack which can fill…
A:
Q: The chef has N marks. Each marker has a cap. For each valid i, the ith tag has color ai And…
A: Input - Output Description: First input contains a single integer T denoting the number of test…
Q: Let c1, c2, and c3 be the confidence values of the rules {p} → {q}, {p} → {q, r}, and {p, r}→{q},…
A: The table given is as follows Customer ID Transaction ID Items Bought1…
Q: What is the minimum number of students required in a school to be sure that at least 23 students…
A:
Q: F1= P’ST + PS’T + PST’ + PST + PS’T’ + PS’T + PST’ + PST How would I simplify the logic expression…
A: You need to know some rules of the k-map to simplify logic expression. K- map rules First identify…
Q: How do I get the total of bal of top4(
A: Get the list Then sort the list in reverse order Extract first 4 elements and store its sum
Q: Customers are arriving at a queue at the rate of 6 customers per hour. Of these. 20% require a fored…
A: l = 6/hr = 0.1/min20% - 2 min duration or service rate is 1/2 (entities/min) = 0.580% - expo service…
Q: From the sale records of XYZ Groceries, Mr. Francis wants to find out the most frequent items, and…
A: A set of items is called frequent if it satisfies a minimum threshold value for support and…
Q: You own a fruit shop. You buy fruit from suppliers by weight (cost per kg), and then you sell it…
A: This schema will have multiple tables.
Q: Suppose the cover price of a book is $24.95, but bookstores get a 40% discount. Shipping costs $3…
A: Algorithm: Start Set totalUnits=60 Set perbookPrice=24.95 Compute: totalbookPrice=…
Q: Suppose that G(x) = B0 + B1*x + B2*x^2 + B3*x^3 + B4*x^4 + .... Suppose that G'(x) = F(x). What is…
A: We solve assuming that the highest degree in G(x) is 4.
Q: Given the following lists, how would you create a new list that matches the desired output? fruits =…
A: Below i explain the above problem by giving proper code along with the output of it by which you…
Q: Suppose, you are working in a company 'X' where your job is to calculate the profit based on their…
A: Note:- I am taking the Python part. Program: class FinalQ: def print(self,array,idx):…
Q: Draw a decision tree to represent the scenario above
A: To draw a Decision tree and to represent the decision table in English. A decision tree is a…
Q: Let A = {2, 4, 6, 8}, B = {6, 9}, C = {4, 8}. Answer each of the following questions. Justify your…
A: 1) We have three sets A = {2, 4, 6, 8}, B = {6, 9} and C = {4, 8} 2) ⊆ means is subset of 3) A…
Q: 1-For J = I+1 To 20 2-lf B( J) > B(1) Then 3- Next J, 1 4-Endlf 1-For J = I+1 To 20 2-lf B( J) >…
A: The question is on choosing correct sequence of statements given as options.
Q: Suppose, you are working in a company ‘X’ where your job is to calculate the profit based on their…
A: Answer : GIVEN THAT:-- Step 1 Note:- I am taking the Python part. Program Plan:- In First TODO part…
Q: Let C (x, y) =" x likes y "and domain of x and y are all people. Then the statement "There are…
A:
Q: A gym offers personal trainers for a customized 45-minute lunch hour workout special. Customers…
A: the correct statement is
Q: Given: NFA M1 = ({A,B,C}, {a,b}, delta, A, {C}) where delta: (A,a) -> {A}, (A,b) -> {A,B}, (B,a)…
A: We are given a NFA M1 and we are asked the equivalent DFA for it.
Q: 3- Suppose you have the information of some of chickens farms (F1 , F2) as fallow: A в D F G chicken…
A: Given, The chicken farms(F1, F2) information in excel. To calculate 1. chicken price depending on…
Q: Consider the following snapshot of a system: Allocation: A B C D T0 0 0 1 2 T1 1 0 0 0 T2…
A: Unsafe
Q: ou have 3 homework to finish in 5 consecutive (ardisik in Turkish) days. How many ways can you…
A: Number of ways = 11
Q: A paint company is trying to recycle unpopular paint colours by mixing them together to create…
A: MATLAB is a programming platform designed specifically for engineers and scientists to analyze and…
Q: Which of the following is the size of the state space? Ο ΜΝ Ο ΜΝΤ Ο ΜΝB Ο ΜΝΤB O (MN)B+1 O 2MN MN O…
A: solution 8.2) The state space can be addressed utilizing the option C which is only a combination…
Q: Amazon wants to reward the customer who has done the most number of ransactions, by providing a gift…
A: Algorithm: Start the program. Establish the database connection. Select the sql query to fetch the…
Q: A store provides 10 percent discount on all items with a price of at least $100. No discount is…
A: I have given an answer in step 2.
Q: If j%k is equivalent to k^j, what is the value of k%(j%k)
A: % modulus operator is useful in finding the remainder when one divides the other ^ exponentiation…
Q: You are given n users, and their times that they log in and out of a website: You are interested in…
A: Solution:-- 1)As given in the question it has required for the solution which is to be provided as…
Q: Amazon wants to reward the customer who has done the most number of transactions, by providing a…
A: NOTE Below is the answer for the given question. Hope you understand it well. If you have any…
Q: The equation N(t)=650/1+49e^-0.7t models the number of people in a town who have heard a rumor after…
A: The equation N(t)=(650)/(t(1+49e^−0.7t)) models the number of people in a town who have heard a…
Q: For this particular example, consider your ID. Take first 5 digits and last 3 digits Le. if your ID…
A: The binary tree is constructed for the specified prefix expression using the stack method. The…
Q: Q_1 Let f:R⟶R be defined by fx=2x^2+2x-12. Is fone-to-one? Justify your answer.
A: Let f:R⟶R be defined by f(x)=2x2 +2x-12. f(x) is one-to-one?
Q: As of early 2022, the global bitcoin hashrate is 160∗1018 hashes per second. The Antminer S19 can…
A: Given The answer is given below.
Q: Fix the example such that the cost of frozen yogurt is O if you pour exactly 1 Ib. in your cup. * 1…
A: Here, we are checking if weight is less than 1 and also weight is greater than 1 So, you can add the…
Q: Which of the following is a "Domination Law"?
A: There are two Domination Law - p ∧ 0 ⟺ 0 p ∨ 1 ⟺ 1
Q: Order the following functions in increasing order of growth rate (i.e. O(.) classes). log n log log…
A: The function in increasing order of growth rate
Q: You found an exciting summer job for five weeks. It pays, say, $15.50 per hour. Suppose thatthe…
A: The given problem is related to the calculation of various amounts based on the earning where the…
Q: Which of the following is a "Domination Law"?
A: There are two Domination Laws- (p ∨ 1) ⇐⇒ 1 (p ∧ 0) ⇐⇒ 0
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 4 images
- After increasing the monthly rent of each large property by $150 in Task 3, StayWell decides to decrease the monthly rent of any property whose monthly rent is more than $1750 by 1%. Update the monthly rents in the LARGE_PROPERTY table accordingly.A school has 100 lockers and 100 students. All lockers are closed on the first day of school. As the students enter, the first student, denoted as S1, opens every locker. Then the second student, S2, begins with the second locker, denoted as L2, and closes every other locker. Student S3 begins with the third locker and changes every third locker (closes it if it was open and opens it if it was closed). Student S4 begins with locker L4 and changes every fourth locker. Student S5 starts with L5 and changes every fifth locker, and so on, until student S100 changes L100. After all the students have passed through the building and changed the lockers, which lockers are open? Write a program to find your answer and display all open locker numbers separated by exactly one space. (Hint: Use an array of 100 Boolean elements, each of which indicates whether a locker is open (true) or closed (false). Initially, all lockers are closed.)Saira owns a small business and she frequently makes transactions. Sometimes she makes payments and other times payments are credited in her account. One of her customer Tania purchased a product and credited payment while another payment by Saira was in progress. Now the sequence of transaction is as follows:1. Tania’s account read amount in saira’s account2. Saira’s account read amount in saira’s account3. Tania added Rs. 500/- in original amount (that was lets suppose Rs. 60,000/ 4. Saira’s account subtracted Rs. 2000/- that she debited in someone else’s account form the original amount (that was Rs. 60,000) 5. Tania’s account committed the transaction 6. Saira’s account committed the transaction Draw the above-mentioned sequence in form of a table and see if there is a problem. What this problem is called and how can we avoid such kind of problem? Propose some solutions (at least two) and then explain which one is better and why?
- You have a group of friends coming to visit for your high school reunion, and you want to take them out to eat at a local restaurant. You are not sure if any of them have dietary restrictions, but your restaurant choices are as follows: Joe’s Gourmet Burgers—Vegetarian: No, Vegan: No, Gluten-Free: No Main Street Pizza Company—Vegetarian: Yes, Vegan: No, Gluten-Free: Yes Corner Café—Vegetarian: Yes, Vegan: Yes, Gluten-Free: Yes Write a program that asks whether any members of your party are vegetarian, vegan, or gluten-free, to which then displays only the restaurants to which you may take the group.Task An ATM only has 100, 50 and 20 dollar bills (USD) available to be dispensed. Given an amount between 40 and 10000 dollars (inclusive) and assuming that the ATM wants to use as few bills as possible, determinate the minimal number of 100, 50 and 20 dollar bills the ATM needs to dispense (in that order). Here is the specification for the withdraw method you'll complete: withdraw(amount) Parameters amount: Integer - Amount of money to withdraw. Assume that the amount is always divisible into 100, 50 and 20 bills. Return Value Array (of Integers) - An array of 3 integers representing the number of 100, 50 and 20 dollar bills needed to complete the withdraw (in that order). Constraints 40 ≤ amount ≤ 1000 Can you please help me I will rate! Code is in Python 3.7Exercise A: In this exercise, you are asking the user to set a alpha numeric password for any website. Put some conditions. Password must be 8 characters long. There must be at-least one uppercase letter There must be at least one number. Then show the user, you have set the correct password or not. Exercise B: This exercise is the extension of the above Exercise. In this exercise we are not checking all the criteria of having a good password. Here ask the user to enter his/her password twice. If both matches, thanks the customer otherwise loop your code until user enters both passwords same.
- Correct answer will be upvoted else Multiple Downvoted. Don't submit random answer. Computer science. You found a new line of work as an advertiser in a pet shop, and your present errand is to support deals of feline food. One of the methodologies is to sell jars of food in loads with limits. Assume you chose to sell loads with a jars in a load with a rebate and some client needs to purchase x jars of feline food. Then, at that point, he follows a covetous methodology: he purchases ⌊xa⌋ loads with a markdown; then, at that point, he needs to purchase the leftover (xmoda) jars individually. ⌊xa⌋ is x separated by an adjusted down, xmoda is the remainer of x isolated by a. However, clients are insatiable as a rule, so assuming the client needs to purchase (xmoda) jars individually and it happens that (xmoda)≥a2 he chooses to purchase the entire bunch of a jars (rather than purchasing (xmoda) jars). It makes you, as an advertiser, cheerful since the client purchased more…Kevin plans to use a Boolean operator since he wants to learn about two separate things. In order to receive accurate search results, Kevin must choose the proper Boolean operator.Task 12: List the item ID, description, and category for each pair of items that are in the same category. (For example, one such pair would be item FS42 and item PF19, because the category for both items is FSH.) Order the output by category. -- Task # 12SELECT CATEGORY, ITEM_ID, DESCRIPTIONFROM ITEMWHERE EXISTS (SELECT COUNT(*) FROM ITEM I WHERE I._____________ = ITEM._______________ GROUP BY CATEGORYHAVING ___________________)ORDER BY ________________;
- Suppose you can buy chocolate bars from a vending machine for $1 each.Inside every chocolate bar is a coupon. You can redeem 7 coupons for 1chocolate bar from the machine.For example, if you have $20, you can initially buy 20 chocolate bars.This gives you 20 coupons. You can redeem 14 coupons for 2 additionalchocolate bars. These 2 chocolate bars have 2 more coupons, so you now have atotal of 8 coupons. This gives you enough to redeem for 1 final chocolate bar.Write a recursive function that would accept the amount of dollars andcoupons as its parameters and output the total number of chocolate bars thatcan be bought (including those redeemed via coupons).Write a test program in C++that would allow the user to enter amount of dollarsand then use the recursive function to compute the number of chocolate barsthe user can buy, and output the number to the screen.Which of the following statements is incorrect (the respective function does NOT belong to the associated efficiency class)? 1.13n log n + 13 n belongs to O(n^2) 2.5n belongs to O(n^2) 3.4n^2 + 4 n log n belongs to O(2^n) 4.10n^2-10n-21 belongs to O(n log n)Kevin is interested in gaining information on two separate topics and wants to utilize a Boolean operator to accomplish this. Which Boolean operator should Kevin use to do the search that will get the desired results?