Professor Zak allows students to drop the four lowest scores on the ten 100-point quizzes she gives during the semester. Design an application that accepts a student name and 10 quiz scores. Output the student's name and 10 quiz scores. Output the student's name and total points for the student's six highest-scoring quizzes. Modify the application so that the student's mean and median scores on the six best quizzes are display
Q: (4) Extend the program to allow the user to enter a dash (-), which indicates no service. (3 pts)…
A: Please find the answer below :
Q: In Java SE netbeans: Extreme IT Products is a local supplier that specialises in the sales of the…
A: Answer: Java Source Code: package products; import java.util.Scanner;import…
Q: First, launch NetBeans and close any previous projects that may be open (at the top menu go to File…
A: Given: create a new Java application called "WeightedAvgDropSmallest" (without the quotation marks)…
Q: Write a line of code that asks the user to Enter the original retail price , and stores the value…
A: The escape sequence for making text bold is '\033[1m'
Q: You are required to create a console application that will determine the value of the customer coin…
A: Note: This code should be rewritten instead of copying to the compiler otherwise it will throw a…
Q: Write a statenent that increments (adds 1 to) one and only one of these five…
A: if(speed<0) { ++reversedrivers; } else if(speed>0 || speed<1) { ++parkedDrivers; } else…
Q: which design principle is violated in the above code? what is the issue/ limitation of this code?…
A: Given Code: public double calculatePerimeter(Shapes [] shapes) { double p = 0;for…
Q: Bright Brains Private Elementary School has three classrooms in each of seven grades, kindergarten…
A:
Q: The Financial icer at RGl wants you to develop an application thất will evaluate the company's…
A: RGI Annual asset depreciation App : It uses virtual basic GUI Functions It Contains Button…
Q: Black Gold Oil Company accepts job trainees with pay. They want you to create a simple Payroll…
A: Input - Trainee Type, Number of Months, Number of Days Absent Output - Gross pay and Net pay
Q: Write a JavaScript code that calculate that a Turkish Citizen federal taxes, state taxes, social…
A: Given that Write a JavaScript code that calculate that a Turkish Citizen federal taxes, state taxes,…
Q: I am trying to create a application that generates a random number in the range of 1 through 100 and…
A: Actually, the code has given below:
Q: Write an application that prompts the user for two integers and then prompts the user to enter an…
A: The code is written below- import java.util.Scanner; // importing util packagepublic class Main {…
Q: Q2/What will be displayed when you run the codes below? A > disp(3) >x = 1:4; disp(x) > y = 3-x;…
A: Given: Required: the output of these commands.
Q: Write a statement that uses an arithmetic assignment operator to add the number 1 to the intAge…
A: Solution: original statement : intAge = intAge+1; abbreviated statement : intAge+=1; //+= is the…
Q: The Financial officer at RGI wants you to develop an application that will evaluate the company’s…
A: Public Class RGI Private Sub Display_Click(sender As Object, e As EventArgs) Handles…
Q: In Chapter 4, you created a Die application that randomly “throws” five dice for the computer and…
A: public class FiveDice2 { /** * Application that randomly "throws" five dice for the computer and…
Q: Create a lottery game application and name the program as LotteryGame.java. Generate three random…
A: import java.util.Random;import java.util.Scanner; public class LotteryGame{ private int…
Q: First, launch NetBeans and close any previous projects that may be open (at the top menu go to File…
A: Program: import java.util.ArrayList;import java.util.Scanner; public class WeightedAvgDropSmallest…
Q: evaluate a int data type using switch, the evaluated variable needs to be enclosed in single…
A: The idea is that when building text strings that contain quote marks and apostrophes, you must be…
Q: Using C#, create an application that will ask the user to enter password and username set in the…
A: using System;class HelloWorld { static void Main() { int n=1,score=0; while(n <= 3){…
Q: Computer Science Build an application which checks eligibility to enter a party venue. Prompts the…
A: Younger than 18 is denied entry Between 18 and 35 is allowed entry 35 and older is too old. Extend…
Q: Bob employs a painting company that wants to use your services to help create an invoice generating…
A: An algorithm is created during the early stage of a program design. It helps in understanding how a…
Q: Write a Java program to do the following task: Assign your id number (2017296004) to an integer…
A: Actually, Java is a programming language originally developed by James Gosling at Sun Microsystems…
Q: Starting Out With Visual Basic 8th edition chapter 6 #1 made in visual studio 2017 Retail…
A: i have divided the steps for better understanding :- Program Plan: • Implement an application that…
Q: Chapter 4: Making Decis ions I. Mass and VWeight (Nr 2, Page 282) Scientists measure an object's…
A: FORM DESIGN:
Q: Then after clicking the 'Calculate Net Income' button do the following: - 1) The resident name is…
A: Introduction to Python Program It is defined as a powerful general-purpose programming language.…
Q: Hospital Charges Create an application that calculates the total cost of a hospital stay. The…
A: Steps to create the C# windows application Open micro soft visual studio C# application Click on…
Q: Assume that the following variables contain the values shown: numberBig = 100 numberMedium = 10…
A: Given Data numberBig = 100numberMedium = 10numberSmall = 1wordBig = "Constitution"wordMedium =…
Q: In the following expression, the variable truckWeight has the value 70000 and the variable…
A: Explanation: here truckweight < weightLimit actually trying to compare 70000 < 80000. which is…
Q: Online Book Merchants offers premium customers 1 free book with every purchase of 5 or more books…
A: GIVEN:
Q: Programming language C# 5. Joe’s Automotive Joe’s Automotive performs the following routine…
A: Actually, Given information Joe’s Automotive Joe’s Automotive performs the following routine…
Q: Trainers at Tom's Athletic Club are encouraged to enroll new members. Write an application that…
A: Step 1 Algorithm Step 1 : Begin Step 2 : Declare an array of strings with size 25 and an array of…
Q: help with an example in Java programming, of a ComboBox control to allow a user to select choices…
A: Save code with the name Car.java Compile and Run the code to test ComboBox control to allow a user…
Q: Write an application that allows the user to choose insurance options in JCheckBoxes. Use a…
A: The JCheckBox class is used to create a checkbox. It is used to turn an option on (true) or off…
Q: Evaluate the following expression: ((8.0 / 2) * 8) + 10 % 6
A: Given ((8.0 / 2) * 8) + 10 % 6
Q: . Write an application for a college’s admissions office. Prompt the user for a student’s numeric…
A: PROGRAM INTRODUCTION: Import the required header files. Start the definition of the main function.…
Q: Read the following scenario, then answer the question that follows: “An application requires a user…
A: "if" statement is a type of decision structures. A Decision Structure allows a Program to perform…
Q: Open the Proper Case Solution.sln file contained in the VB2017\Chap07\Proper Case Solution folder.…
A: The, code has given below:
Q: As part of the discussion forum for this unit, you will be solving a programming problem from the…
A: Modulus operator(%) is used to remainder of division.
Q: Write an application that computes a business's potential profits each year for 20 years using the…
A: Source Program: //header files #include<iostream> #include<conio.h> //main body int…
Q: Q2 Draw a flowchart of a Body Mass Index (BMI) calculator, which receives input of user's height…
A: Flow Chart is nothing but the pictorial representation of a process.It has some symbols like…
Q: Write an application that prompts the user for two integers and then prompts the user to enter an…
A: The switch statement is a useful way to write a menu-driven program. It is used to implement…
Q: Trainers at Tom's Athletic Club are encouraged to enroll new members. Write an application that…
A: As Language is not provided , doing it in Java Programming Language.
Q: 2. Write an application that will calculate the Cummulative Grade Point Average [CGPA] using While…
A: The code and the output has been given in step 2.
Q: Write an assignment statement that increments the intTotal variable by the contents of the…
A: The assignment statement that increments the intTotal variable by the contents of the intQuantity…
Q: what will the following code display? 3*9-3+48/2**3
A: Star operator(*) : It is used to multiply the numbers. Example: 3*9 = 27 Double Star operator: It…
Q: Create an application that lets the user enter the following pieces of data: • The user’s first name…
A: Open visual studio. Click on file and select project. Enter project name and then click on OK.…
Q: What will be displayed by the following segment of code? int option = 7; switch(option) {case 1:…
A: b) IUPUI Explantion: As option holds the value 7, and switch statement tries to find case value…
Q: Professor Zak allows students to drop the four lowest scores on the ten 100-point quizzes she gives…
A: Since you haven't mentioned the programming language, we are answering this question in python.…
Professor Zak allows students to drop the four lowest scores on the ten 100-point quizzes she gives during the semester. Design an application that accepts a student name and 10 quiz scores. Output the student's name and 10 quiz scores. Output the student's name and total points for the student's six highest-scoring quizzes.
Modify the application so that the student's mean and median scores on the six best quizzes are displayed.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images
- Correct answer will be appreciated.else downvoted.Assignment details: Replace all the 0 (Zero) digits in your ID by 4. Example: If your ID is 38104680, it becomes 38144684 Take the first 6 digits and substitute them in this expression (( A + B) / C) * ((D-E)/F)-2) according to the following table; Letter Replace by Digit Example Digit A 1st 3 B 2nd 8 C 3rd 1 D 4th 4 E 5th 4 F 6th 6 After substitution your expression will be similar to this (( 3 + 8) / 1) * ((4-4)/6)-2). Draw a rooted tree that represents your expression. [3 marks] What is the prefix form of this expression. What is the value of the prefix expression obtained in step 2 above?A company accepts user orders for its products interactively. Users might make the following errors as they enter data: The item number ordered is not numeric, too low (less than 0), or too high (more than 9999). The quantity is not numeric, too low (less than 1), or too high (more than 12). The item number is not a currently valid item. The company’s current inventory consists of the following items listed in Table: item number price 111 0.89 222 1.47 333 2.43 444 5.99 Create a class that stores an array of usable error messages; save the file as OrderMessages.java. Create your own OrderException class that stores one of the messages; save the file as OrderException.java. Create an application that contains prompts for an item number and quantity. Allow for the possibility of nonnumeric entries as well as…
- For 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.In this exercise, you modify the Grade Calculator application from this chapter’s Apply lesson. Use Windows to make a copy of the Grade Solution folder. Rename the copy Grade Solution-Intermediate. Open the Grade Solution.sln file contained in the Grade Solution-Intermediate folder. Open the CourseGrade.vb file. The DetermineGrade method should accept an integer that represents the total number of points that can be earned in the course. (Currently, the total number of points is 200: 100 points per test.) For an A grade, the student must earn at least 90% of the total points. For a B, C, and D grade, the student must earn at least 80%, 70%, and 60%, respectively. If the student earns less than 60% of the total points, the grade is F. Make the appropriate modifications to the DetermineGrade method and then save the solution. Unlock the controls on the form. Add a label control and a text box to the form. Change the label control’s Text property to “&Maximum points:” (without the quotation marks). Change the text box’s name to txtMax. Lock the controls and then reset the tab order. Open the form’s Code Editor window. The txtMax control should accept only numbers and the Backspace key. Code the appropriate procedure. The grade should be cleared when the user makes a change to the contents of the txtMax control. Code the appropriate procedure. Modify the frmMain_Load procedure so that each list box displays numbers from 0 through 200. Locate the btnDisplay_Click procedure. If the txtMax control does not contain a value, display an appropriate message. The maximum number allowed in the txtMax control should be 400; if the control contains a number that is more than 400, display an appropriate message. The statement that calculates the grade should pass the maximum number of points to the studentGrade object’s DetermineGrade method. Make the necessary modifications to the procedure. Save the solution and then start and test the application.The purpose of this exercise is to demonstrate the importance of testing an application thoroughly. Open the FixIt Solution.sln file contained in the VB2017\Chap04\FixIt Solution folder. The application displays a shipping charge that is based on the total price entered by the user, as shown in Figure 4-64. Start the application and then test it by clicking the Display shipping button. Notice that the Shipping charge box contains $13, which is not correct. Now, test the application using the following total prices: 100, 501, 1500, 500.75, 30, 1000.33, and 2000. Here too, notice that the application does not always display the correct shipping charge. (More specifically, the shipping charge for two of the seven total prices is incorrect.) Open the Code Editor window and correct the errors in the code. Save the solution and then start and test the application.
- Computer Science Build an application which checks eligibility to enter a party venue. Prompts the user for their age and apply the following rules: Younger than 18 is denied entry Between 18 and 35 is allowed entry 35 and older is too old. Extend this application to prompt whether the person female or male. Females are granted free entry and males pay R10 per person in their group. After prompting for number of guests, display the price to be paid, if any. Use JOptionPaneDORM AND MEAL PLAN CALCULATOR A university has the following dormitories: Allen Hall $1,500 per semesterPike Hall $1,600 per semesterFarthing Hall $1,800 per semesterUniversity Suites $2,500 per semesterThe university also offers the following meal plans:7 meals per week $ 600 per semester14 meals per week $1,200 per semesterUnlimited meals $1,700 per semesterCreate an application with two forms. The main form should allow the user to select a dormitory and a meal plan. The application should show the total charges on the second form. For this assignment, you will create two forms (each form is an object). On the first form you will have two list boxes. One will display the Dormitories and the other one will display the Meal Plans. The user will select one Dorm and one meal plan. The user will then click a button the will open up a second form and show the results. I would suggest that you store the Dormitories is a two dimensional array for name and cost. I would suggest that you…For the code below can you varify the card number, card exp date, card cvv and address for example the card number should be 13 numbers if any more it should say "invalid" for the card exp date it should be like 12/35 if not then its invalid for card cvv it should only be 3 numbers and address should be like 11-11-11st as long as it has the "-" and "st" also when ever its invalid can you make it print on the bottom of the box like the example in the image below. thank you <!DOCTYPE html> <html> <head> <style> input { height: 25px; border-radius: 5px; } </style> <script> function validate() { if (!validateVal(document.getElementById("number").value)) { alert("Please Enter the number"); return; } var num = parseInt(document.getElementById("number").value); if (num < 1 || num > 9) { alert("Enter a number between 1 and 9(Including 1 and 9)"); return; } if (!validateVal(document.getElementById("name").value)) {…
- comment : True / False ?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…