Assume a runner completes a 24-mile run in 1 hour, 40 minutes, and 35 seconds. Create an application that displays the average speed in kilometres per hour. (Keep in mind that one mile equals 1.6 kilometres.)
Q: Which best describes this axiom: ( List ( ) ) . getLength ( ) = 0 None of these You can...
A: getLength() method is been used to find the length of list. a newly created list ha zero length.
Q: How would you implement a distinct operator with a Hash function?
A: A function that converts a given large integer to a small practical integer value. The mapped integ...
Q: Using Matlab, please provide the script code necessary to find the result: By simulation, generate ...
A: Code: %Generating 10000 random samples of size n=1 from an %exponential distribution with mean...
Q: In terms of technology, what are some of the consequences of Moore's Law? What impact will it have o...
A: Introduction: Moore's Law's Economic Consequences One of the law's economic effects is that computer...
Q: Write a program that prompts the user to input three positive angle values in degrees to determine w...
A: PROGRAM INTRODUCTION: Import the required libraries. Start the definition of the main function. Cre...
Q: ( What the deferent between Encoding and Encryption??
A: Encoding and Encryption are two different techniques to transform a normal data into a specific patt...
Q: ist two advantages and two disadvantages of having international standards for network protocols.
A: 2 advantages of having international standards for network protocols Numerous PCs from all over the...
Q: 11. What will be the output of the following Python code?
A: The following code wont work as this has got a syntax error There must not be a space in the last li...
Q: Which RAID level makes use of a mirror (shadow) set and which does not?
A: Introduction: Mirror set is used to create a RAID level. RAID levels are a collection of RAID config...
Q: What is it about buses that makes them such a communication bottleneck?
A: What is it about buses that makes them such a communication bottleneck?
Q: business process for insurance claims. After a claim is registered, it is examined by a claims offic...
A: given - Model the following fragment of a business process for insurance claims. After a claim is re...
Q: Write a function named lowerLeftQuarter that takes one argument, a matrix. The function then returns...
A: Since no programming language is mentioned, I am using matlab Code: lowerLeftQuarter([1 2 3 4;5 ...
Q: PROBLEM: Write a program that prompts the user to input the amount of money that an ATM machine will...
A: Answer: Below Are the solution of given use cases: Please find the Code, Code Screenshots, and the O...
Q: Represent the number 1.01011010101 x 2-19 in IEEE Standard 754 single precision floating point binar...
A: stating that as per our guidelines we are supposed to answer only one question. Kindly repost other ...
Q: 2) Create in PL/SQL a stored procedure called 'Del Details' to delete the record of orderedProduct t...
A: 2. The SQL query is given below: CREATE PROCEDURE [dbo].[Del Details] -- Add the parameters for the ...
Q: Print specific number of the substrings use c# code
A: The answer is
Q: ASSIGNMENT-4 1. You have to create a memory size calculator in the C language that inputs the number...
A: Please upvote. I am providing you the correct answer below.
Q: Fill in the blank in the following pseudocode: if someCondition is true then do oneProcess do theOth...
A: These statements of algorithm are the part of the basic structures, where in the structure in the pr...
Q: What will be the output of the given program class A { int m-20, n3D30; void display() 14 out of que...
A: Please refer below for your reference: The above code will cause give output as 40 as it is a mutipl...
Q: Following the Learning Analytics Reference Model developed by Chatti et al., what are the many goals...
A: Learning analytics goal.
Q: e form in which knowledge is represented and the way in which the knowledge is used. Discuss five (...
A: Introduction Humans are particularly good at comprehending, reasoning, and interpreting data. Human...
Q: Logic and reasong: Implications and Equivalence Give two example statements of implications encounte...
A: The question is: Give two example statements of implications encountered in everyday life. Give two...
Q: cost
A: Consider the dual of a minimum cost network flow problem in which the costs are integer. Prove that ...
Q: Create a simple online store using Javascript events, HTML and, CSS
A: The program is written in HTML, Javascript and CSS. Check the program screenshot for the correct ind...
Q: Question (): Answer the following statements with True or Fakse and correct the false one (Ans wer E...
A: Given questions are true or false questions so we provide both true and false explanation.
Q: What are the three pieces that make up a floating-point number and how do they work together?
A: Floating-point number: A floating-point number is a real number with a fractional component. There ...
Q: or for your application
A: given - Create a segment selector for your application.
Q: Why is a sliding window a better option than the stop-and-go method?
A: Stop and go method is the least difficult stream control convention. Here the shipper will send each...
Q: Describe the three solutions that do help prevent injection attacks and how they work. Do any of the...
A: The answer is given below.
Q: PROBLEM: Write a program that prompts the user to input three (3) integers: MM, DD, and YYYY. For ex...
A: #include <iostream>using namespace std;// to check if year is leap year or notbool isLeap(int ...
Q: a,c; c a, Z; Z g0 q3 c.C;A q5 q7 q9 c, b; cb q1 q2 94 g6 q8 b,Z; bZ b,c; bc
A: To create a grammar for the given PDA.
Q: Find the compliment 1 (A+B')C = ?
A:
Q: Discuss the applications of Internet of Things (IoT) in various domain/sector. Briefly explain the m...
A: IoT Application: IoT applications run on IoT devices and can be created to be specific to almost eve...
Q: Is it possible to implement a search algorithm that runs in logarithmic time for a linked list? Why ...
A: To answer If it is possible to implement a search algorithm that runs in logarithmic time for a lin...
Q: Consider the following code: INPUT A, B DO A = A + B B = B - 1 LOOP WHILE B >0 PRINT A, B When the i...
A: 4,0 is the correct answer Explanation:- Because in this firstly we will enter a=1 and b=2 than after...
Q: ( What the deferent between Encoding and Encryption??
A: The reason for encoding is to change information with the goal that it tends to be appropriately (an...
Q: In your opinion, what was it about the von Neumann architecture that made it stand out from the comp...
A: Introduction: The five components of von Neumann architecture are: The memory unit. The Arithmetic ...
Q: Present State Next state for Input 0 Next State of Input 1 -q0 Initial q1 q2 q1 q0 q2 *q2 Final q2 q...
A: We are going to draw transition diagram from the given transition table. Please refer to the image f...
Q: In this c# program please convert into c++ program and please put the height (feet into inches. Sou...
A: Start Accept student name, grade, weight, and height Calculate height in inches Calculate bmi <- ...
Q: Write a program that prompts the user to input any digit then swap the position of the first and the...
A: #include <iostream>#include <string.h>using namespace std; int main(){ string number;...
Q: Draw a push down automata for an+1bn | n>=1
A: We are going to design PDA for the given language : an+1bn | n>=1 . Please refer to the image for...
Q: Define and implement the following functions using a C project structure: int sum(int x, int ...
A: To find the quotient we use / operator. To find the modular we use % operator.
Q: The requirement for flow control may be explained as follows: Explain the various ways to flow contr...
A: Controlling the Flow of Information Flow control not only monitors, but it also synchronises the dat...
Q: you can check if the counter is currently set to 0 by looking for the bottom of the stack. In partic...
A: given - A counter automaton is a pushdown automaton that only uses one stack symbol (in additionto t...
Q: Problem # 1 Four points on the graph of f(x) = ln(x) are given: (1, 0), (3, 1.099), (6, 1.792), and ...
A:
Q: Which of the following is a significant advantage of Linked Lists over Dynamic Arrays? a. Linked ...
A: According to the question the array from which of the many elements are removed and also have to res...
Q: In this question, you will need to create a design for a program that helps the user compare the rat...
A: The inputs will be details of both companies and also the distance that user has to be travelled
Q: a) Knowledge representation is a set of syntactic and semantic conventions that make it possible to ...
A: Knowledge representation (KR), The concern of knowledge representation (KR), a subfield of study wit...
Q: In what ways does cloud computing differ from other types of computing?
A: Introduction: Cloud computing is a term that refers to the omnipotent and omniscient, as well as the...
Step by step
Solved in 2 steps
- Design an application that accepts 10 numbers and displays them in descending order.To help Lungi manage the blankets he has, he will need a proper report which provides him with the following information: ● Blanket description Blanket size (area of the blanket) Lungi's risk manager has advised him never to have more than 30 blankets in stock. Write the pseudocode for two modules which could be incorporated into the application planned for Lungi in Question 1. The first module must: a. Allow Lungi to enter the description and size of the blankets. b. Store the details entered in arrays. C. Provide Lungi with the option to view the list of blankets captured. If Lungi wishes to view the list of blankets, the contents of the arrays should be passed to another module. The second module should: a. Receive the arrays as arguments. b. Write the contents of the arrays to a text file that Lungi can print.1. Design and implement an application that reads an integer value representing a year input by the user. The purpose of the program is to determine if the year is a leap year (and therefore has 29 days in February) in the Gregorian calendar. A year is a leap year if it is divisible by 4, unless it is also divisible by 100 but not 400. For example, the year 2003 is not a leap year, but 2004 is. The year 1900 is not a leap year because it is divisible by 100, but the year 2000 is a leap year because even though it is divisible by 100, it is also divisible by 400. Produce an error message for any input value less than 1582 (the year the Gregorian calendar was adopted). 2. Modify the solution to the previous project (i.e., Leap year) so that the user can evaluate multiple years. Allow the user to terminate the program using an appropriate sentinel value. Validate each input value to ensure it is greater than or equal to 1582.
- Please provide answer in C#: Slot Machine Simulation A slot machine is a gambling device into which the user inserts money and then pulls a lever (or presses a button). The slot machine then displays a set of random images. If two or more of the images match, the user wins an amount of money that the slot machine dispenses back to the user. Create an application that simulates a slot machine. Figure 8-23 (on page 539 of your book) shows an example of how the form should look. The application should let the user enter into a TextBox the amount of money he or she is inserting into the machine. When the user clicks the Spin button, the application should display three randomly selected symbols. (Slot machines traditionally display fruit symbols. You will find a set of fruit symbols attached to this dropbox for your use - from the Student Sample Programs provided by the book author.) If none of the randomly displayed images match, the program should inform the user that he or she has won…A company approaches you to create an algorithm for calculating the tax and the tip on a restaurant bill. Assume that the application will only tip on the food and beverage total without the tax added in. Your algorithm will allow the user to input the amount of the tip in custom mode or your algorithm will give the tip in 12%, 15%, 18%, 20% recommended increments. Your job is to create the first three steps of the problem-solving process for this algorithm design. Please make sure that you explore the problem space to determine the criteria and constraints in Part 1. Be creative think of all the inputs and outputs you will be using. For Part 2 think of all the questions that you might have in determining how to actually make such a program. And for Part 3 make sure that you specify (pencil and paper – take a picture of it and include it in your document) a couple of examples of your algorithmic process.3. Solar Panel InstallationThe Megawatt solar panel company installs solar panels on home rooftops. The base installation charge of $2,000 includes two panels. The charge for each additional panel is $300. The normal waiting time for installation is two weeks, but customers can pay an express charge of 5% of the total cost to reduce this time. Create an application that collects the required information from the user and calculates the charges for the installation.The user should input the following information: first name, last name, phone, number of panels, deposit amount, and a check box for the express installation option. When the user clicks a button to view the charges, display a group box containing the following information: base installation charge, cost of installing additional panels, total installation cost, deposit amount, and balance due.Error checking should include the following criteria:• The name and phone fields cannot be blank• The number of panels must be an…
- create an application for Bob’s E-Z Loans. The application accepts a client’s loan amount and monthly payment amount. Output the customer’s loan balance each month until the loan is paid off. Write a pseudocode for this program. (text form please :) )Design an application for Bob’s E-Z Loans. The application accepts a client’s loan amount and monthly payment amount. Output the customer’s loan balance each month until the loan is paid off. create a pseudocode for this pleaseHi! I am having trouble with this problem: Each week, the Pickering Trucking Company randomly selects one of its 30 employees to take a drug test. Write an application that determines which employee will be selected each week for the next 52 weeks. Use the Math.random() function to generate an employee number between 1 and 30. After each selection, display the number of the employee to test. Display four employee numbers on each line. It is important to note that if testing is random, some employees will be tested multiple times, and others might never be tested. Run the application several times until you are confident that the selection is random. Save the file as DrugTests.java. My code is on the photo. I want to add the text "Week # (insert week number here). Employee # (insert employee number here)" but I have been unsuccessful in my attempts. Any help would be great!
- 2. Write an application that will calculate the Cummulative Grade Point Average [CGPA] using While Loop for 3 students. You have to enter the GRADE POINT of 5 different subjects for a student. You have to enter the CREDIT for each of the 5 subjects for a Student. GRADE POINT can take any value as given [5,6,7,8,9,10] CREDIT can take any value as given [2,3,4] CREDIT POINT = GRADE POINT * CREDIT CGPA = CREDIT POINT / Sum of the CREDIT values of all the 10 semesters. Display all the 5 subjects GRADE POINT Display all the 5 subjects CREDIT Display the CREDIT POINT Display the Total of all the CREDIT values Display the CGPA Do the above program for 3 students totally. Save your Shell script as cgpa.shFor each of the following exercises, you may choose to write a console-based or GUI application, or both. Write a program for The Carefree Resort named ResortPrices that prompts the user to enter the number of days for a resort stay. Then display the price per night and the total price. Nightly rates are $200 for one or two nights; $180 for three or four nights; $160 for five, six, or seven nights; and $145 for eight nights or more.Danielle, Edward, and Francis are three salespeople at Holiday Homes. Write an application named HomeSales that prompts the user for a salesperson initial (D, E, or F). Either uppercase or lowercase initials are valid. While the user does not type Z, continue by prompting for the amount of a sale. Issue an error message for any invalid initials entered. Keep a running total of the amounts sold by each salesperson. After the user types Z or z for an initial, display each salespersons total, a grand total for all sales, and the name of the salesperson with the highest total.