|
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 |
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
Our Services
Custom Writings Help is a Quality-Oriented Company in Online Writing as a result of hiring exceptional professionals to execute clients' tasks.
Essays
At Custom Writings Help,We understand the struggle of research paper writing, and that is why at Custom WritingS Help, we are all out to help you. We pride ourselves on having a team of clinical writers. The stringent and rigorous vetting process ensures that only the 'BEST' Writers are chosen for the job. We have highly qualified Ph.D. and MA writers working with us; we equally offer these experienced writers specific bonuses and incentives to make them deliver highly original, unique, and informative content at reasonably low prices.
Admissions
Thesis Writing Service
Worlwide, Many Masters Students are struggling with Thesis Completion. A thesis is likely to be the longest and most challenging piece of work a student has ever completed. However, unlike essays and other assignments, a student can pick a particular interest topic and work on their initiative. Fortunately, we are there for you. At Custom Writings Help, you are assured of an authentic, imaginative, informative, linguistically great, and advantageous thesis that adheres to all your needs. So, why continue considering different writers when you have discovered the best in the field?
Editing
Custom Papers
Not a single student can avoid writing custom papers. However, a total lack of experience, skills, and time makes it very hard to produce a superb writing piece. Therefore, if you are seeking professional help, turn to us. Our specialized and experienced writers compose a variety of model papers, including custom essays, college term papers, research papers, book reports, MBA essays, executive summaries, dissertations, Ph.D. theses, admission essays, and research proposals for college and university students at any level.
Coursework
Essay Writing
Most of the students disregard the critical principles of essay writing and compose papers below sensible guidelines. Therefore, with Custom Writings Help, one should not worry about his/her essay. Our Writers compose informative and engaging content on all complexities and topics. We write meaningful and smart essays while prioritizing all aspects that bring about a good grade, such as impeccable grammar, proper structure, zero-plagiarism, and conformance to guidelines.
Coursework
Coourse Work Writing
Don't let the seemingly never-ending onslaught of writing assignments get you down. If you are looking where to get course work assistance online, the writers at Custom Writings Help are here to assist you with all of your writing needs. We undertake to unique delivery of papers that meet the professor's requirements. The content is proofread, edited, and checked plagiarism before submission to customers. No matter how big or small your work is, we will deliver on time. Try US Now! !
Coursework
Dissertation Writing Service
High-Quality Dissertation Writing Services are rare. They require Ph.D. academicians – not easily found. However, are an exception. The years, time, and resources we have invested in the dissertation world has given us a competitive advantage over others. Choose to come to Custom Writings Help; You will find perfect Ph.D. consultants who have written hundreds of dissertations theses ready to help you. Let our dissertation-writing services help you craft your dissertation, for you are assured we will give you the results.