Using Scratch 3.0, answer the given scenario below. 14. Create a Scratch program for Sohar Flower Shop that accepts flower type and the quantity. If flower type is "BUNDLE", then the unit price is equal to 20 OMR, otherwise the unit price is 12 OMR. Total amount is unit price multiplied by quantity. Display all data.
Q: 9. Display all orders with their calculated total amount. For example, an order purchased 1 iPhone…
A: Solution: Creating tables based on requirement: create table orders( order_id Integer primary…
Q: A company accepts user orders for its products interactively. Users might make the following errors…
A: public class OrderMessages{ //array of error messages public static String[] errorMessages=…
Q: use visual basic Depreciation to a Salvage Value of 0 . For tax purposes an item may be depreciated…
A: Design
Q: What type of information system(s) should Strauble-Dytisa be considering to help support their…
A: The question pertains to the need for information systems (IS) within the operations of…
Q: nds simple, doesn't it? Well, Sgt Johnny thought the same, until one day he faced with a new…
A: Below is the detailed Python Code for given problem statement:
Q: Program Specifications Write a FancyCar class to support basic operations such as drive, add gas,…
A: Below I have provided Python Programming. Also, I have attached the screenshot of the code and…
Q: Write an application that reads a user basket list and produces the bill receipt. Check the given…
A: Problem: An online grocery store sells items on a web page. A user adds items to a basket and he…
Q: VBA - EXCEL Engine – optional – this indicates the solving method that needs to be used to get to…
A: VBA code Engine:=1, EngineDesc:="GRG Nonlinear" GRG Nonlinear This is the most commonly used method…
Q: The accompanying Homeownership spreadsheet contains a partially completed spreadsheet model for…
A: Introduction: Financial modeling is the process of creating mathematical models or representations…
Q: Compare userNumber with compareNumber and display 'Numbers are not equal' if the numbers are…
A: 1. Define a variable named compareNumber and set it to a numeric value (e.g., 3).2. Define a…
Q: During a trivia game, you answered 18 out of 25 questions correctly. Your friend answered 0.7 of the…
A: In the trivia game, you and your friend both participated and answered a set of questions. Your…
Q: نقطة واحدة values" column (value“ labels) in SPSS contain two item (1= car), (2= airplane), and when…
A: Dear Student, As item 2 is the most frequently occurring , and mode is the value that occurs more…
Q: You are given an integer A. Let's define an infinite sequence S(A) = A%P, A²%P, AP,...viere P = 10…
A: In this question we have to understand and code for the Java program to find the D(S(A)) Let's code…
Q: Your program has a list of professors and their office location and office hours per day of the…
A: Dear Student, The source code, implementation and expected output is given below -
Q: fice of plane 1000$ by default, but discounts are applied to it based on different criteria. 1-…
A: As per the given question, Case 1: If the person is student, then the student gets 20%discount. Case…
Q: Payment = months Principal [rate ((1 + rate)mo [(rate + 1)months – 1] - For the formula to compute…
A: The question is to write the JAVA code for the given question.
Q: In C++ please, using basic programming one coding The main menu should show the available…
A: C++ is a cross-platform language that can be used to create high-performance applications, and it…
Q: In this exercise you will write a program for printing out grade statistics for a university course.…
A: As the programming language is not mentioned here we are using Python The Python code is given below…
Q: You are required to write a program,to store the 10 lab scores of 10 students. Also find the sum &…
A: To write a program - To store the 10 lab scores of 10 students, and also find the sum and average…
Q: Create the following variables: Gender (e.g. male or female) Age (e.g. 0, 1, 2, etc.) Handedness…
A: Note: Answering the first three subparts and in python as no language is mentioned. Task : Create…
Q: Which of the following statements are true with respect to the DFS traversal of a graph. Statement…
A: Introduction :Given ,2 statements based on concept of graphs . We have to choose True / False out of…
Q: rite an algorithm that will calculate the salary of an employee for the month, and then display on…
A: The given details are related to calculating the salary of employees working for a Car company. The…
Q: Months Given the current month X, find out what month it will be after Y months have passed. You may…
A: I have provided a detailed answer in the Explanation section.Explanation:The image you've provided…
Q: 3. Which among the following shows a valid use of the Direction enumeration as a parameter to the…
A: Ans - b) moveCharacter(x: 0, y: 0, facing: Direction.north) option (b) would be correct.
Q: Using C++ For each game played you will write the final results for the player and the computer.…
A: I gave the code in c++ as per your requirement along with output screenshot and code screenshot
Q: In the following procedure, the parameter age represents a person's age. The procedure is intended…
A: Database Management System(DBMS) is a software for storing and retrieving users data while…
Q: Slappy’s Software Sales Assignment You have been hired by Slappy’s Software Sales to write a program…
A: Note: Screenshots of the running program are not provided as specified in question to Set the tab…
Q: verview: Create a coin flip game that allows the user to guess whether the coin will be heads or…
A: import randomht = ['heads','tails']guesses = 0correct_guess = 0all_guess =[]while guesses<10:…
Q: The company « Super discounted used cars inc.» pays their employees according to this chart: 250$…
A: Introduction The given details are related to calculating the salary of employees working for a Car…
Q: bob employs a painting company that wants to use your services to help create an invoice generating…
A: Display "Please enter the working hours in week" Declare a variable workingHours Input the number of…
Step by step
Solved in 2 steps with 1 images
- Please help me with the following:Please help me create a cave class for a Hunt the Wumpus game. You can read the rules in it's entirety of the Hunt the Wumpus game online to get a better idea of the specifications. It's an actual game. INFORMATION: The object of this game is to find and kill the Wumpus within a minimum number of moves, before you get exhausted or run out of arrows. There is only one way to win: you must discover which room the Wumpus is hiding in and kill it by shooting an arrow into that room from an adjacent room. The Cave The Wumpus lives in a cave of 30 rooms. The rooms are hexagonal. Each room has up to 3 tunnels, allowing access to 1, 2 or 3 (out of 6) adjacent rooms. The attached diagram shows the layout of rooms in the cave. The map wraps around such that rooms on the edges (white cells) have neighbors from the opposite edge (blue cells). E.g., the neighbors of room 1 are rooms 25, 26, 2, 7, 6, and 30, and you could choose to connect room 1 to any of these rooms. Observe how room 1…The InstantRide Driver Relationship team wants to create groups for drivers according to their ratings such as 3+ or 4+. For instance, a driver with the rating 3.8 will be 3+; whereas a driver with the rating 4.2 will be 4+. You need to return a two column output with DRIVER_ID and DRIVER_RATING which has first FLOOR applied and then CONCAT with + sign for all drivers with a rating greater than 0.
- The Financial officer at RGI wants you to develop an application that will evaluate the company's asset's annual depreciation using the double-declining balance and sum-of-the years' digit method. The Financial officer will enter the asset's cost, useful life (in years), and salvage value (which is the value of the asset at the end of its useful life). The sample of the application can be seen in Figure 2. The interface provides text boxes for entering the asset cost and salvage value. It also provides a list box for selecting the useful life, which ranges from 3 to 20 years. The depreciation amounts are displayed in the list boxes. (You can use the DDB and SYD functions in Microsoft Excel to verify the amounts shown in Figure 2 are correct). Create a windows form application using the name RGI annual asset depreciation App. You can use the visual basic's Financial.DDB method to calculate the double-declining balance depreciation and use its Financial.SYD method to calculate the…The Financial officer at RGI wants you to develop an application that will evaluate the company's asset's annual depreciation using the double-declining balance and sum-of-the years' digit method. The Financial officer will enter the asset's cost, useful life (in years), and salvage value (which is the value of the asset at the end of its useful life). The sample of the application can be seen in Figure 2. The interface provides text boxes for entering the asset cost and salvage value. It also provides a list box for selecting the useful life, which ranges from 3 to 20 years. The depreciation amounts are displayed in the list boxes. (You can use the DDB and SYD functions in Microsoft Excel to verify the amounts shown in Figure 2 are correct). Create a windows form application using the name RGI annual asset depreciation App. You can use the visual basic's Financial.DDB method to calculate the double-declining balance depreciation and use its Financial.SYD method to calculate the…Implement the following class. Refer to the below notes for more details. SimCard phoneNumber: String internationalService: boolean minutes: int // default 0 costPerMinute: double + SimCard ( ) + SimCard ( newPhoneNumber: String, newInternationalService: boolean ) + getters and setters of phoneNumber, internationalService and costPerMinute + callLocal (duration: int): void + callInternational(duration: int): boolean + bill(): double o phoneNumber: private String representing the phone number. Default is "00-000000" o internationalService : private boolean indicating whether international calls are allowed or not. Default is false. o minutes: private int representing the number of minutes to be invoiced (added to the bill). Default is 0. o costPerMinute: private double representing the cost of 1 minute. This value should be positive. Default value is 0.2. Assume all the sim card has the same cost rate per minute. LS) The no-arg constructor that will create a new SimCard with the default…
- Compute the acceleration of gravity for a given distance from the Earths center, distCenter, assigning the result to accelGravity. Please helpBob employs a painting company that wants to use your services to help create aninvoice generating system. The painters submit an invoice weekly. They charge $30 perhour worked. They also charge tax – 15%. Bob likes to see an invoice that displays all theinformation – number of hours, the charge per hour, the total BEFORE tax and the totalAFTER tax. Since this is an invoice, we also need to display the name of the company(Painting Xperts) at the top of the invoice. Display all of the information on the screen.Using Pseudocode, develop an algorithm for this problem.For this milestone, you will be submitting a working draft of the code for a simplified version of the text-based game that you are developing for Project Two. You will focus on displaying how a room dictionary works with the “move” commands. This will include the if, else, and elif statements that move the adventurer from one room to another. Before beginning this milestone, it is important to understand the required functionality for this simplified version of the game. The game should prompt the player to enter commands to either move between rooms or exit the game. Review the Milestone Simplified Dragon Text Game Video and the Milestone Simplified Text Game Flowchart to see an example of the simplified version of the game. A video transcript is available: Transcript for Milestone Simplified Dragon Text Game Video. IMPORTANT: The “Move Between Rooms” process in the Milestone Simplified Text Game Flowchart is intentionally vague. You designed a more detailed flowchart or pseudocode…
- Using DrawingPanel.java (from chapter 3G), draw a grid for filling in a 4 x 4 square of cell containing integers. For this part of the assignment the values are not important, but you are welcome to use the values shown in the magic square from below. Note that the values in any horizontal row, vertical column or main diagonals add up to 34, in addition to various sub-squares in the larger square also add up to the same value. Requirements: The magic square should be centered in the panel The values in each of the cells should be centered in that cell (both horizontally and vertically). You can assume the values will be <= 99 (i.e., at most 2 digits). For this part of the assignment, you can hard-code the values; you will store them in a 2-dimensional array (from chapter 7) when implementing Part B of the assignment. The title "CSC 142 Magic Square" is centered horizontally in the panel and at y = 50 You are free to choose the colors, fonts, font sizes and effects. This is what I used…Add a method to search about a particular student using his/her name. The method should display all student details if found or display a suitable massage otherwiseCreate functional tests where arguments are given, use a parameterized test. testSimpleInit(size): the first constructor works as expected. getTiles shows suitable values. The edges of the board (the smallest and biggest conceivable values) are accessible and contain the values that they have to (BASE_TILE_SCORE). testCustomInit(x, y, expected): the second constructor works as expected. On positions where values smaller than three were passed, the board contains the value BASE_TILE_SCORE. If you pass an array to the constructor and later modify a value in it, the respective tile retains the originally passed value. If you modify an element in the return value of getTiles(), and get the value of the respective tile again, this newly received content has to be the originally set value. testMoves(): take four or five steps and check that the board’s contents are changed just right. Include a step that tries to move to the x coordinate Integer.MIN_VALUE and another one that moves to…