If the decRate variable contains the number .25, the condition decRate > 1 will evaluate to_________ . a. False b. No c. True d. Yes
Q: Write a statement that displays each of the following numeric variables in a message box. a.…
A: The “MessageBox.Show ()” method accepts only string parameters. If the user directly passes variable…
Q: What will the following code display in the lblSum control?Dim intSum As IntegerDim intY As…
A: The label, “lblSum” will display a value “12”. Hence the correct answer is option (c).
Q: “An application requires a user to enter two numbers. Once the user has entered the two numbers, the…
A: Algorithm: Step 1: Start Step 2: Input N1, N2 Step 3: Sum = 0 ; Avg = 0 Step 4: Calculate Sum = (N1…
Q: The strName variable contains the string “Jane H. Doe”. Write a statement that uses the Substring…
A: The substr() refers to a Substring method which is used to assign the substring to the string…
Q: What will the code in Figure 4-53 assign to the intCost variable when the intAge variable contains…
A:
Q: Examine the code below. Which if statement below will execute? mouseX = 250; mouseY = 50; f(mouseX…
A: Solution :
Q: A retail company must file a monthly sales tax report listing the total sales for the month and the…
A: As no programming language is mentioned, it is solved using basic C++
Q: The strItem variable contains the string “XMredBQ”. Write a statement that uses the Substring method…
A: Substring: This function is used to obtain a part of a specified string. The user has to specify…
Q: This program displays a message box including the name of day when th user input it's number. (For…
A: F) 1 - x = CInt(Text1.Test) 2 - Select Case x 3 - Case 7
Q: The following set of statements disables all buttons in the Form: foreach (Control c in Controls) {…
A: The following set of statements disables all buttons in the Form: foreach (Control c in Controls) {…
Q: Option buttons let the user no select from one of several choices. * True O False
A: A Radio Button also called the Option Button can be used to select one of the many choices/options.
Q: Bright Brains Private Elementary School has three classrooms in each of seven grades, kindergarten…
A:
Q: Create a condition for an if statement that will evaluate as true only if variable x is not within…
A: Consider the below given Program code: //including necessary header files #include…
Q: Welcomes user to the Windchill Temperature (WCT) Weather Report calculator. Prompts the user to…
A: Program approach: Print program heading. Input decimal precision as an integer. Print error…
Q: 16. Which statement will add leading zeroes to x? O string x += "0" string x = "0" + x either of the…
A: If zeroes are present at the starting, then it is called leading zeroes. For example, all the…
Q: When an object is falling because of gravity, the following formula can be used to determine the…
A: To perform the given task, an application in C++ language will be developed by following the below…
Q: If the intTotalScore and intTests variables contain the numbers 0 and 2,respectively, the statement…
A: By given problem, two variables, intTotalScore, and intTests have values 0 and 2 respectively. If we…
Q: What will the code in Figure 4-53 assign to the intCost variable when the intAgevariable contains…
A: Assign a value 33 to the variable named intAge and find that what value is assigned to the variable…
Q: Which statement correctly tests if the user entered the letter Y ? Select one: if userInput == "Y" :…
A: Option 2: if userInput = "y" this statement will assign the y value to the userInput so this…
Q: The goal of this lab is to create a calculator to convert a temperature between different units.…
A: PROGRAM EXPLANATION: Include the header file. Define the main function. Print the menu to the user…
Q: By default the value inside Text Box is String O Integer Val O Double O None of the above
A: (Note: According to given guideline we are only supposed to answer only first question and please…
Q: This question requires that you evaluate the underlined text to determine if it is correct. You are…
A: Required: This question requires that you evaluate the underlined text to determine if it is…
Q: Create a flowchart that finds the sum of the first 50 natural numbers and displays the final sum.…
A: NOTE - Here I have used python programming. Here I have created a variable to store the number and…
Q: lowchart that converts temperature (Fahrenheit to Celsius, and vice versa)
A: Both Flowcharts are given below:
Q: Create a flowchart that will determine your gender
A: XX is female chromosome and XY is male chromosome. Gender is determined with combination from…
Q: create flowchart that will arrange the value of A, b and c assending order where a gets the lowest…
A: - The question is to create a flowchart for the given problem of printing the provided numbers in…
Q: flowchart that will accept 3 integers and display the lowest number
A: ALGORITHM THAT WILL ACCEPT THREE INTEGERS AND DISPLAY THE LOWEST NUMBER - FOLLOWING ARE THE STEPS -…
Q: The quiz should contain at least five questions about a hobby, popular music, astronomy, or any…
A: Class declaration for game. check for input. Inputs an array and output questions as a string.…
Q: If the decPay variable contains the number 1200.76, which of the following statements displays the…
A: Below are some standard numeric format specifiers. 1. "C" : It is a format specifier for currency…
Q: a VB program that will ask the user to enter the value of the radius in the textbox txtRadius.…
A: Algorithm: Start Define 2 textboxes with names txtRadius, txtArea and a button Area with name…
Q: CREATE FLOWCHART THAT WILL ASK THE USER TO ENTER HIS/ HER AGE. •IF AGE =18, Display "You are an…
A: The Answer is in Below Steps
Q: What value will be displayed in the message box when the following code segment is executed? double…
A:
Q: Create a flowchart that will arrange the values of A, B and C in ascending order where; Variable A…
A: Symbols Used in Flowchart Symbol Purpose Description Flowline Indicates the flow of logic by…
Q: Create an application that converts Celsius to Fahrenheit. The formula is F=1.8×C+32 where F is the…
A: Solution:: The program to convert the Celsius to Fahrenhite is given below. Sub convert() Dim…
Q: The value of H after executing the program, g=6 is: Private Sub Command1_Click (.) Dim g, H As…
A: SUMMARY: - hence we discussed all the points
Q: Write a statement that selects all of the text contained in the txtAddress control.
A:
Q: Which statement correctly computes and stores the are Select one O A. double area = Math.PI*r*r; %3D…
A: A. double area = Math.PI*r*r;
Q: Ask the user to enter the charge for the food Calculate the amounts of a 18 percent tip (on the food…
A: Python used to answer this question
Q: Please create using C# A restaurant offers a $10 discount if the total amount is at least $40. If…
A: Add a label and change Text to Discount Coupon and Name to lblDiscount. Add a CheckBox in front of…
Q: Provided below is a select case statement. Which of the following if statements can be used to…
A: 1) Option A is correct - Because we can end, if else condition after else clause if there else…
Q: Create a flowchart that will ask the user for his/her age and will determine whether he/she is a…
A: Flowchart: Flowchart is diagrammatic representation of an algorithm. A flowchart is a visual…
Q: There are n number of students in student in sekolah menengah convent the scool principal would like…
A: Task - need to draw a flowchart for given problem .
Q: You are required to create application in which User will enter the temperature and convert it into…
A: Open Visual Studio. Choose to create a new project option. Select Windows Forms App(.Net) C# then…
Q: What will the code in Figure 4-53 assign to the intCost variable when the intAge variable contains…
A: The value in the variable “intCost” after the execution of the given code is as follows, The given…
Q: The formulas for calculating BMI are BMI= 703 - weightln Pounds/heightininches2 or BMI=weightln…
A: Find the code in C++ as language not mentioned and output:
Q: If the intUnits and dblPrice variables contain the numbers 5 and 12.45, respectively, the intUnits…
A: intUnits = 5 dblPrice = 12.45 intUnits > 0 is true since intUnits is greater than 0. intUnits…
Q: If intPRICE is a named constant, which of the following statements is incorrect? a. intTotal =…
A: declare constantdim constant variable as datatype=value
Q: When entering data in a text box, each key the user presses invokes the text box’s…
A: User presses the key invoking the text box event A control's KeyPress event is executed when the…
Q: What will the code in Figure 4-53 assign to the intCost variable when the intAge variable contains…
A: As given in the question the variable intAge variable has value assigned to it as 12. So after the…
Q: Evaluate: 20 %3 6.666 What will/be displayed/ by the following code? x457t4 y+2 coutee *wend None of…
A: Explanation: Here %(modulo operator) gives the result of a remainder when we perform division of two…
If the decRate variable contains the number .25, the condition decRate > 1 will evaluate to_________ .
a. False
b. No
c. True
d. Yes
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
- 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.The Donut Shoppe sells four varieties of doughnuts: Glazed (1.05), Sugar (1.05), Chocolate (1.25), and Filled (1.50). It also sells regular coffee (1.50) and cappuccino (2.75). The store manager wants you to create an application that displays a customers subtotal, 6% sales tax, and total due. Create a Windows Forms application. Use the following names for the project and solution, respectively: Donut Project and Donut Solution. Save the application in the VB2017\Chap06 folder. Create the interface shown in Figure 6-57. When coding the application, use one independent Sub procedure to determine the subtotal, which is the total cost without the sales tax. Use a function to determine the sales tax. Use an event-handling Sub procedure to clear the output. Save the solution and then start and test the application.A condition such as "pcount < 20" has a _____value. numeric alphanumeric characte boolean
- In the receiving procedure’s header, you use the keyword __________to indicate that a variable is being passed by reference.The CalcEnd procedure is passed four Integer variables named intBegin, intSales, intPurchases, and intEnding. The procedure should calculate the ending inventory using the beginning inventory, sales, and purchase amounts passed to the procedure. The result should be stored in the intEnding variable. Which of the following procedure headers is correct?a. Private Sub CalcEnd(ByVal intB As Integer, ByVal intS As Integer, ByVal intP As Integer, ByRef intFinal As Integer)b. Private Sub CalcEnd(ByVal intB As Integer, ByVal intS As Integer, ByVal intP As Integer, ByVal intFinal As Integer)c. Private Sub CalcEnd(ByRef intB As Integer, ByRef intS As Integer, ByRef intP As Integer, ByVal intFinal As Integer)d. Private Sub CalcEnd(ByRef intB As Integer, ByRef intS As Integer, ByRef intP As Integer, ByRef intFinal As Integer)You declare a named constant with which keyword? 1. Constant 2. Const 3. NamedConstant 4. Dim
- A concert hall has three seating categories: Orchestra, Main floor, and Balcony.Orchestra seats are $25, Main floor seats are $30, and Balcony seats are $15. The manager wants an application that allows him to enter the number of tickets sold in each seating category. The application should calculate the amount of revenue generated by each category, and then display each result using the “N0” format. The application should also calculate the total revenue, displaying the result using the “C0” format.a. List the output, processing (if any), and input items, and then create an appropriate algorithm. b. Create a Visual Basic Windows application. Use the following names for the solution and project, respectively: Concert Solution and Concert Project. Save the application in the ClearlyVB2012\Chap06 folder. Change the name of the form file on your disk to frmMain.vb. If necessary, change the form’s name to frmMain. c. Create a suitable interface. Include an Exit button. d. Code the Exit…age from user‘ and check if user elj:. ie it age>-18L Not ellglble mf adgDORM 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…
- If a condition contains a range of values, the test data should include which of the following? a. the minimum value in the range b. the maximum value in the range c. a value within the range d. all of the aboveCAWINDOWSlsystem32\cmd.exe Enter the number that matches your flooring choice Option 1: Option 2: Option 3: scored concrete carpet wood floors in the living areas, carpet in the bedrooms, and tile in the bath areas Figure 1: Flooring Options Write a program to display the total cost for flooring. The program will prompt the user to choose the flooring options (from 1 to 3) as Figure 1 above program then will calculate and display the total cost. The rate charge for each of the flooring option are as in Table 1 below. Finally, the program will ask user to decide whether they want to continue with other option. If the user input 'y', the program will prompt the user to choose the option again. Otherwise program will be terminated. You are required to use switch and looping structure. Table 1: Flooring charges Flooring Option Option 1 Option 2 Charge RM40 per sqrt/ft RM25 per sqrt/ft RM30000 Option 3Evaluate the following expression: 5 * 4 > 6 ˆ 2 AndAlso True OrElse False. a. True b. False