The writer is very fast, professional and responded to the review request fast also. Thank you.
Question 17. 17. (TCO 3) If you have only two choices to offer the user, you should use two ____ rather than a list box. (Points : 5) |
check boxes
text boxes
combo boxes
radio buttons
Insert IndexOf Contains Substring |
charpos index chardex pos |
Insert method Like operator Contains method MenuStrip control |
by reference by parameter by data type by value |
End Function End Procedure End Sub End Sub Procedure |
1 2 3 4 |
strOceans(1, 1) = {Arctic} strOceans(0, 0) = (Arctic) strOceans(1, 0) = “Arctic” strOceans(0, 1) = “Arctic” |
structures classes procedures control characters |
event class method attribute |
verb noun adjective preposition |
when its members have the same data types even when its members have different data types anytime there are no members anytime there are less than three members |
TableAdapter TblEmployBindingSource BindingSource DataGridView |
a group of related records columns and rows multiple tables formatted reports |
fax server file server e-mail server application server |
TCP/IP ADO.net NetBIO/NetBEUI IPX/SPX |
Authorization Encryption Authentication Password control |
Question 1. 1. (TCO 8) Define a bound control and describe the two ways to bind an object to a control. Give examples of when you might use a bound control and of when you would use an unbound control. (Points : 10)
|
Question 2. 2. (TCO 6)
A. Given a large array named intOunceArray, which stores weight in ounces, use a loop to set the value of each element in the array to the value of the subscript (index) of the element. For example, if the first element is set to the value 0, then the second element will be set to the value 1, and so on.
B. Write a Visual Basic statement to sort the elements in the inOunceArray. (Points : 10)
|
Question 3. 3. (TCO 5) Explain the functionality of arrays, including the benefits of storing data in an array. Explain how variables are distinguished in a one-variable array. (Points : 10)
|
|
Question 4. 4. (TCO 3) Name and describe the functionality of three different selection structures. Provide examples of when each might be used. (Points : 10) |
|
Question 1. 1. (TCO 2) You recently accepted the position as donations coordinator of your favorite charitable organization. You are surprised to learn that all the records are kept on 3×5 cards. Your first project is to transfer the data on the cards to a database. After that is complete, you want to be able to display all the items in the database. To that end, use the space below to define a class that will store the donor’s name, the item donated, and the date of the donation. 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 donor’s name and the item donated and the donation date. Set the caption of the message box to the name of the club (you name it). Each item should be displayed on a separate line. For example, the message box for a member’s donation could look like this.
Donor’s Name: Sam Bradley Item Donated: $50 cash Donation Date: May 29, 2011 (Points : 15)
|
|
|
Question 2.
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, write 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? (Points : 15)
|
Question 3. 3. (TCO 3) You are part of a team given the task of designing an application to determine a student’s letter grade for a short course. The application will process a quiz, a project, a midterm exam, and a final exam to determine the total score. The result of dividing the total score by the total points available will be used to determine the letter grade for the student. The application will then display the total score with one place to the right of the decimal point and the letter grade. The calculations will require a constant to store the total points available for the course.
A. Your first task is to declare each variable and constant that the form’s event handler sub procedure will need. Use an appropriate naming convention.
B. What name will you give the form?
Note: Your answer will be more readabl |
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more