Write a simple console application to accept the item name and item price. The program should calculate the Value Added Tax(VAT) and print a slip with price, VAT and total price. Assume that the VAT percentage is 15% as in South Afric
Q: Why isn't virtual memory utilised more often in embedded systems?
A: We need to explain why virtual memory is not utilizes in embedded systems.
Q: A machine cycle is a four-part closed-loop process. Explain why the machine cycle is so important. I...
A: Here we have given answer regarding the importance of machine cycle and feasibility to swap.
Q: What faults in the Whetstone, Dhrystone, and Linpack benchmarks are addressed by the SPEC CPU benchm...
A: Answer:
Q: Flow chart and User Interface design ("Prototype") for snake and ladders: Functional requirements: ...
A: Write user interface design and flowchart of snake and ladder game.
Q: Java Programming A dentist requests you to develop the Dental Payment application. This application ...
A: Answer: I have done code and also I have attached code and code screenshot as well as output
Q: A filesystem must be utilised by all partitions on a hard disc drive once it has been formatted. Is ...
A: a file system must be utilised by all partition on a hard disc once it has been formatted true or f...
Q: What does the term "reduced" imply in the context of a computer with a restricted instruction set?
A: Computer with a Reduced Instruction Set (RISC): When compared to complicated instruction set compute...
Q: Write a three-line piece of code, that declares a variable and its data type and print the output to...
A:
Q: What is the difference between cohesion and coupling in terms of software design and development?
A: Your question is about difference between cohesion and coupling is given below :
Q: Use a request for proposal to gather information on hardware and system software, and explain why it...
A: A request for proposal (RFP) is a document that asks vendors to submit proposals for hardware and sy...
Q: Variables
A: Given: What are Variables?
Q: Why isn't virtual memory utilised more often in embedded systems?
A: A virtual memory is a memory layer apart from primary and secondary memory. Here, as the virtual m...
Q: Exercise 5: The Konditorei coffee shop sells coffee at $10.50 a pound plus the cost of shipping. Eac...
A: The required python program for the coffee shop will be, # Required functiondef OrderCoffee(weight):...
Q: Compare the advantage of doubly linked list over single linked list by giving a reason to perform th...
A: Advantages of doubly linked list over the single Linked list.
Q: Incident response guidelines explain the essential components of incident teams and how they are uti...
A: answer is
Q: How do I decode the NIOS II machine code 0x1845c83a into an instruction?
A: I have answered this question in step 2.
Q: (a). Computers understands human instructions using low-level machine codes. Machine codes are actua...
A: C++ code to convert decimal number to binary: #include <bits/stdc++.h>using namespace std; i...
Q: Distinguish the advantages and disadvantages of concurrent processing.
A: Running parallel execution of processes is known as concurrent processing.
Q: The following data was published by R. C. Seagrave: Temperature (°C) Wind Chill with 10 mph wind (°C...
A: Q: Code the given problem
Q: Write a program, in python, that checks if the last data item entered appears earlier in the list. O...
A: Answer: I have done code and also I have attached code and cod screenshot as well as output
Q: For Σ= {a, b, c, d, e, ..., z}, consider the set L of words w such that the last symbol of w is a fi...
A: For Σ= {a, b, c, d, e, ..., z}, consider the set L of words w such that the last symbol of w is a fi...
Q: Is it easier for you to identify someone using their fingerprints, speech intonation, face features ...
A: Person Identification : Person identification is one of the most important machine learning tasks n...
Q: Use multiple-row subquery in a WHERE clause. List order numbers of books, written by an author whose...
A: Multiрle-rоw subqueries аre nested queries thаt саn return mоre thаn оne rоw оf results...
Q: Filter programmes such as sed and awk are often used to format data in pipelines. Is this a true or ...
A: Explaination As the name suggest filter programs . We already know what is filtering right ? Filter...
Q: What does the first compound notation mean?
A: Notation for 1st complement The value of a binary number's 1s complement is defined as the value obt...
Q: In the realm of cryptography, what are the three basic operations?
A: Given To know the basic three operations of cryptography.
Q: Is it easier for you to identify someone using their fingerprints, speech intonation, face features ...
A: Introduction: Biometrics Technology: The term bio refers to life, while metrics refers to the act of...
Q: What are the benefits and drawbacks of caching disc write operations?
A: Disk caching reduces the time it takes to read or write data from or to a hard drive. In modern comp...
Q: Given that both cache memory and random access memory (F unclear why cache memory is required becaus...
A: given - Given that both cache memory and random access memory (RAM) are transistor-based, it'sunclea...
Q: ?- checkeven(12). Your answer_ ?- checkeven(11). Your Answer ?- 10=\=8+3. Your Answer:
A: As per our guidelines, we are supposed to answer only 1st three parts. Kindly repost the remaining q...
Q: What are the two strongest justifications for layering protocols? Give examples to back up your clai...
A: Introduction : Two of the most compelling arguments for layered protocols are as follows: The layers...
Q: Cache memory is important in today's computers. Explain how cache memory works and why there was no ...
A: Cache Memory Introduction: Cache memory is a chip-based computer component that retrieves data incre...
Q: Write the following DFA as 5-tupple
A: DFA consists of 5 tuples {Q, Σ, q, F, δ} where Q represents the set of states involved and here it i...
Q: Write a program in Python to get basic salary, house rent allowance and transportation allowance fro...
A: Answer: I have done code and also I have attached code and code screenshot as well as output
Q: What does the first compound notation
A: Lets see the solution.
Q: Compare and contrast pivot tables to multidimensional analyses.
A: The answer is
Q: How to Use Dynamic apex to identify sObject Type and use it write the question and download the reco...
A: Developers can create more flexible applications with Dynamic Apex. Using dynamic apex, we can say t...
Q: Write an application with following method to resolve two player game of Rock-Paper-Scissors. rockPa...
A: Actually, program is an executable software that runs on a computer.
Q: As CISO, you are in charge of developing an information security programme that is backed by a frame...
A: Answer Information security program is based on following 3 principles: confidentiality availability...
Q: Convert the binary number 101011002 to its decimal (base 10) equivalent:
A: convert binary number to decimal number binary number to 10101100
Q: An incident response (IR) is a set of activities aimed at anticipating, detecting, and resolving the...
A: Plan for Reaction to an Incident: The Occurrence Reaction Plan is primarily concerned with the immed...
Q: What are the benefits and drawbacks of caching disc write operations?
A: Benifits Caching disc write operations improves performance by allowing the operating system to av...
Q: Please Explain when creating Why we use the MOCK Class
A: We often use the MOCK class to build stubs for methods that will be invoked throughout the testing p...
Q: Give a minimal state DFA that recognizes the language of strings which encode natural numbers in dec...
A: There are only three choices when dividing an integer by three. Either 0 or 1 can be used as the rem...
Q: 1. What is comparator in Python? 2. What is logical operators? 3. What are input and output operat...
A: 1. What is comparator in Python? 2. What is logical operators? 3. What are input and output operator...
Q: What scientific knowledge serves as a basis for the development of the internet. Explain also how in...
A: What scientific knowledge serves as a basis for the development of the internet. Explain also how in...
Q: * :Q4. Choose the worst complexity a) O(70n+4n°). b) O(n+n*n). O(100+n+n'). All the answers are equi...
A: Complexities given As we know that in the complexities lower complexities are ignored Now option 1...
Q: A list of five common network topologies should be included. Which one do you think is the most trus...
A: There are six types of topology. Bus topology Ring topology Mesh topology Star topology Tree top...
Q: write a function in python : def find_avg ( dataframe, column): takes 2 input. one is a data frame(d...
A: The solution to the given problem is below.
Q: Write the MARIE assembly language equivalent for the machine instruction: 1011000000001111 and 10001...
A: MARIE is a Machine Architecture that is Really Intuitive and Easy which is a system that consists of...
Write a simple console application to accept the item name and item price. The
Step by step
Solved in 3 steps with 1 images
- XYZ Company, LLC uses a program to manage the information of their employees. The program gets the name of the employee, number of hours worked and rate per hour. It computes the salary by multiplying the number of hours worked with rate per hour. If the salary is more than 1000, tax is computed as 5% of the salary, otherwise, tax is computed as 2% of the salary. The program will display the name of the employee, salary and tax.Assume that the population of Mexico is 128 million and the population of the United States is 323 million. Write a program called Population that accepts two values from a user: an assumption of an annual increase in the population of Mexico and an assumption for an annual decrease in the U.S. population. Accept both figures as percentages; in other words, a 1.5 percent decrease is entered as 0.015. Write an application that displays the populations of the two countries every year until the population of Mexico exceeds that of the United States, and display the number of years it took. An example of the program is shown below: Enter the percent annual increase for Mexico population Enter as a decimal. For example, 0.5% is entered as 0.005 Enter the value >> 0.008 Enter the percent annual decrease for U.S. population Enter as a decimal. For example, 0.5% is entered as 0.005 Enter the value >> 0.002 Mexico population U.S. Population 1 129.024 million 322.354 million 2…Write a program which should display 4 items (keyboard, mouse, monitor and speaker) with their product numbers (1111, 1112, 1113 and 1114) and Rate/Unit (3,000, 2,000, 30,000, 10,000) respectively. Customer will enter the product code and quantity to be purchased. Customer can select one product at a time. Your program will display the Product Number, Product Name, Rate, Quantity Purchased and Total cost (Quantity x Rate) on the screen. If Total cost is greater than Rs. 5,000/= then a discount of 10% will be given to the customer. Display discounted figure on the screen and then print the amount payable (cost- discount) on the screen.
- Question: Party budget planning - complex Prompt the user to enter their current budget and the number of people who need to share a meal. You are ordering food from a restaurant that has two menu items: Tacos $4 Empanadas $3 Calculate and print out all the options of meals where the budget is used entirely(where possible) and each person has an equal number of items to eat. They may eat different things, but everyone gets the same number of food items, e.g. 2 tacos or 1 empanada and 1 taco or 2 empanadas. Hints: Here are some things that might help you in your solution. If total items purchased does not equally divide by the number of diners, then abandon that combination. It may help to calculate the max number of empanadas that the budget can buy and also the max number of tacos that the budget could buy. These can be thought of as upper bounds in your loops. In your solution, keep track of items per person Also, keep track of total number of viable solutions, as that might…Question: Party budget planning - complex Prompt the user to enter their current budget and the number of people who need to share a meal. You are ordering food from a restaurant that has two menu items: Tacos $4 Empanadas $3 Calculate and print out all the options of meals where the budget is used entirely(where possible) and each person has an equal number of items to eat. They may eat different things, but everyone gets the same number of food items, e.g. 2 tacos or 1 empanada and 1 taco or 2 empanadas. Hints: Here are some things that might help you in your solution. If total items purchased does not equally divide by the number of diners, then abandon that combination. It may help to calculate the max number of empanadas that the budget can buy and also the max number of tacos that the budget could buy. These can be thought of as upper bounds in your loops. In your solution, keep track of items per person Also, keep track of total number of viable solutions, as that might…The BlueMont chain hotels have 4 different types of room: Single room: $60/night Double room: $75/night King room: $100/night Suite room: $150/night The size of the hotel chains in different locations may be different in terms of the number of floors and the type and the number of rooms on each floor. You are required to write a program that calculates the occupancy rate and the total hotel income for one night and displays this information as well as some other information described below. The program starts by asking the location where this hotel chain is located and the number of floors in the hotel. The number of floors may not exceed 5. The User then enters the total number of rooms for each floor. The program then asks specifically the number of occupied rooms for each room type on this floor. The total number of rooms on each floor may not exceed 30 and the program should check that the total number of occupied rooms on each floor does not exceed the total of rooms on…
- In Python Text-based adventure game: Pretend you are creating a text-based adventure game. At different points in the game, you want the user to select to fight, run, or hide from certain enemies. The selection variable must be sent as an argument into the choice() function. The user should enter 1 to fight, 2 to run, or 3 to hide in the main(). The choice() function should print one of the three options. Add an if statement in the choice() function to make the correct selection.code for this in C: In college, a student may get a grade of 1.0 (as the highest) to 5.0(lowest). Anyone who gets a Final Grade of at most 3.0 is considered a passing grade. Create a program that will ask the user to input a student's midterm grade and tentative final grade. After calculating the student's final grade using the formula below, main() will then call on DisplayStatus() to display if the student passed the subject or not. FG= MG+TFG/2The BITI Students Club is offering a new travelling package or membership. People can choose either one of three packages : a) business, b) family or c)single package. Each packages have different prices for monthly subscription. A business package is RM40, a family package is RM20 and single package is RM30. People can choose any package and duration-in-month for subscription. The program will calculate and display the total of payment. The program can be repeated as long as the option to exit is not selected. Any invalid input will result in an error message to retry. Create a program that have at least three user defined functions. Three of the functions are having the return type void and calculating the total of each packages. The display is done in separate function.
- Hi, I need the answer to this question using the C++ programming language. Thank you. Question: Markup Write a program that asks the user to enter an item’s wholesale cost and its markup percentage. It should then display the item’s retail price. For example: If an item’s wholesale cost is 5.00 and its markup percentage is 100%, then the item’s retail price is 10.00. If an item’s wholesale cost is 5.00 and its markup percentage is 50%, then the item’s retail price is 7.50. The program should have a function named calculateRetail that receives the wholesale cost and the markup percentage as arguments and returns the retail price of the item. Input Validation: Do not accept negative values for either the wholesale cost of the item or the markup percentage.Use C++ programming language A customer in a store is purchasing five items. The prices of the five items are:Price of item 1 = $15.95Price of item 2 = $24.95Price of item 3 = $6.95Price of item 4 = $12.95Price of item 5 = $3.95Write a program that holds the prices of the five items in five variables. Display each item’sprice, the subtotal of the sale, the amount of sales tax, and the total. Assume the sales tax is7%.The BITI Students Club is offering a new travelling package or membership. People can choose either one of three packages : a) business, b) family or single package. Each packages have different prices for monthly subscription. A business package is RM40, a family package is RM20 and single package is RM30. People can choose any package and duration-in-month for subscription. The program will calculate and display the total of payment. The program can be repeated as long as the option to exit is not selected. Any invalid input will result in an error message to retry. OUTPUT BITI CARAVAN TRAVELLING CLUB MEMBERSHIP 1.BUSINESS (40RM) FAMILY (20RM) SINGLE (RM 30RM) QUIT THE PROGRAM ENTER YOUR CHOICE: 1