Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

1. (TCO 2) The vintage-car club you belong to needs to replace its antiquated software that is used to keep track of the club members' cars. Define a class that will store a member's name, car year and model, and the year the member joined the club. Be sure to restrict access to these variables to methods that belong to the class. At this time, the only method you need to define for your class is a method to create a message box to display the member name, car year and model, and the year the member joined the club. Set the caption of the message box to the member's name. In the message box, each item should be displayed on a separate line. For ex, the message box for member John Smith could look like the following.

Member Name: John Smith
Car Year and Model: 1965 Mustang
Member Since: 1995 

2. (TCO 5) 

A. You are asked to create a form with a textbox named txtQty, a label named lblStatus, and a button named btnGetStatus. In the space below, prepare the Visual Basic code to be placed in the button-click event handler. After your code declares variables and retrieves the quantity on hand entered by the user, create a three-alternative selection statement that does the following. 

sets a string named strStatus to "Surplus" if the quantity entered by the user is greater than or equal to 100
sets a string named strStatus to "Reorder" if the quantity entered by the user is less than 35
sets a string named strStatus to "No Action" if neither of the conditions above is true
The last step is to display the status string in the label.

B. What will be the Handles clause at the end of the sub procedure? 
3. (TCO 3) You have a friend who lives in Canada and makes road signs. He is often asked to make signs that specify distance in miles and kilometers. His boss gives him only the number of kilometers, and he must convert kilometers to miles. When he complains about using a calculator for the conversion, you tell him that, because you completed BIS311, you are confident that you can build an application to help him. Your application will input the number of kilometers, find out the number of miles, and then display the number of miles. You will use a constant to store the kilometers-to-miles conversion factor.

A. In the space given below, list each control element that your form will need. Provide the following information about each control element, separated by commas:
the Control type, the control's Name property (using a naming convention), and an event.

Note: your answer will be more readable if you separate each control element with a blank line.

B. Declare each variable and constant the form's event handler sub procedure that the form will need. The kilometer-to-mile conversion factor is 0.621371. Assume that all values will have a fractional part. 

You do not need to do any calculations. Use an appropriate naming convention in your answer

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M994238

Have any Question?


Related Questions in Computer Engineering

Suppose that you have 5000 and you are contemplating the

Suppose that you have $5000 and you are contemplating the purchase of two investments, IBM and Walgreen's. One year from now, IBM can be sold at $ X per dollar invested, and Walgreen's can be sold for $ Y per dollar inve ...

With respect to bus request interruptswhat must be allowed

With respect to bus request interrupts: What must be allowed to complete before the interrupts is serviced? What resources (CPU, buses, memory, etc..) is the ISR expected to use? What is the ISR typically expected to do? ...

Case study the acme corporation is a new startup that

Case Study: The Acme Corporation is a new startup that wishes to sale their new phone to the public called Acmephone, a more secure version of the phone to business organizations, called the Acmephone B+, and highly secu ...

Draw supply and demand curve to illustrate the following

Draw supply and demand curve to illustrate the following sequences of events. Show changes in one graph. Assume upward sloping for supply curves and downward sloping for demand curves 1. In year 1, the rental apartment m ...

Question suppose the array begins with 0 followed by the

Question : Suppose the array begins with 0, followed by the remaining even integers in descending order, followed by the odd numbers in descending order. (For n = 8, the array would be [0,8,6,4,2,7,5,3,1].) How many comp ...

Koh aq cuno32 aq precipitatekbr aq srno32 aq no

KOH (aq)+ Cu(NO3)2 (aq) = precipitate KBr (aq) + Sr(NO3)2 (aq) = no precipitate a) What are the possible products when solutions of KOH and Cu(NO3)2 are mixed? b) What are the possible products when solutions of KBr and ...

Given a list of numbers l a value x is said to be a

Given a list of numbers L, a value x is said to be a majority value if the value of over half the elements in L is x; in other words, if L has n elements and nx is the number of elements in L with value x, then x is a ma ...

We say that a binary tree t is perfectly balanced if for

We say that a binary tree T is perfectly balanced if, for each node n in T , the number of keys in the left and right subtrees of n differ at most by 1. Write an algorithm called Is-Perfectly-Balanced that, given a binar ...

Tablet recommendationpreparation imagine the following

Tablet Recommendation: Preparation Imagine the following scenario: A hospital has hired you as a consultant to recommend a tablet for their employees to use, with these parameters: The hospital provides wifi access to th ...

For the following c statement what is the corresponding

For the following C statement, what is the corresponding RISC-V assembly code? Assume that the variables f, g, h, and i are given and could be considered integers as declared in a C program. Use a minimal number of assem ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As