Preview

AVB Exam Paper June 2010 Final

Powerful Essays
Open Document
Open Document
1585 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
AVB Exam Paper June 2010 Final
NCC EDUCATION
INTERNATIONAL ADVANCED DIPLOMA
IN
COMPUTER STUDIES
ADVANCED VISUAL BASIC
JUNE 2010 – LOCAL EXAMINATION

SECTION A
Answer all questions in this section.

SECTION B
Answer any two questions in this section.

Time: 2 hours

Clearly cross out surplus answers.
Failure to do this in Section B will result in only the first two answers being marked.

Any reference material brought into the examination room must be handed to the invigilator before the start of the examination.

Advanced Visual Basic

June 2010

Final

© NCC Education Ltd 2010

SECTION A
ANSWER ALL QUESTIONS IN THIS SECTION
Marks
QUESTION 1
Describe the process used by the .Net Framework in executing a Visual Basic .Net program.

4

QUESTION 2
Explain the concept of encapsulation and state ONE (1) advantage of encapsulation.

4

QUESTION 3
The following Visual Basic.Net statement defines a class named WaitingList:

4

Class WaitingList
Dim Limit As Decimal
End Class
Change the above statement so that all instances of WaitingList will automatically have a Limit value of 100 when instantiated.
[Note: Your answer should NOT change the declaration statement for the class-level variable Limit in the class definition.]

QUESTION 4
Explain the effect of declaring variables in a class with Protected access.

4

QUESTION 5
ASP.Net 2.0 provides built-in validation control objects to help validate data entered in a Web form.
Describe FOUR (4) such validation control objects.

QUESTION 6
Write the Visual Basic code to create an instance of the class named MotorVehicle. This newly created object is to be stored in a variable named mv1. [You can assume that the class MotorVehicle has already been defined and is accessible from your code. There is no explicit declaration of a constructor in the class.
You must explicitly declare the variable mv1.]

QUESTION 7
List FOUR types of application that you can create using Visual Studio 2005 .NET.

4

4

4

QUESTION 8
Explain the following concepts:
• Abstraction

You May Also Find These Documents Helpful

  • Satisfactory Essays

    On the basis of the following data for Seller Co. for 2008 and the preceding year ended December 31, 2007, prepare a statement of cash flows. Use the indirect method of reporting cash flows from operating activities. Assume that equipment costing $125,000 was purchased for cash and equipment costing $85,000 with accumulated depreciation of $65,000 was sold for $15,000; that the stock was issued for cash; and that the only entries in the retained earnings account were net income of $51,000 and cash dividends declared of $13,000.…

    • 618 Words
    • 6 Pages
    Satisfactory Essays
  • Satisfactory Essays

    ASP.NET is a web application framework developed by Microsoft to build dynamic data driven web applications and web services.…

    • 485 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Pt1420 Unit 1 Assignment 2

    • 1305 Words
    • 6 Pages

    Das, D., Gregersen, E., Hosch, L., Lotha, G., Sampaolo, M., Sinha, S. (2014). C++. In Encyclopedia Britannica.…

    • 1305 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    ISA 650 Final Exam Paper

    • 4435 Words
    • 18 Pages

    3. The 1976 Act that established OSTP also authorizes it to lead interagency efforts to develop and…

    • 4435 Words
    • 18 Pages
    Satisfactory Essays
  • Satisfactory Essays

                  …

    • 306 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    a.x is available to code that is written outside the Sphere class. b.radius is not available to code written outside the Sphere class. c.radius, x, y, and z are called members of the Sphere class. d.z is available to code that is written outside the Sphere class.…

    • 1368 Words
    • 9 Pages
    Satisfactory Essays
  • Satisfactory Essays

    BA 4101 SU II Syllabus 1

    • 2839 Words
    • 10 Pages

    All lower and upper division core requirements must be successfully completed before registering for BA 4101.…

    • 2839 Words
    • 10 Pages
    Satisfactory Essays
  • Good Essays

    3. Be able to plan shared approaches to the care and support of individuals with families…

    • 714 Words
    • 4 Pages
    Good Essays
  • Good Essays

    2. What type of additional support would you require to move from conscious incompetence to unconscious competence?…

    • 867 Words
    • 4 Pages
    Good Essays
  • Better Essays

    II. The general syntax for defining a class is shown here. It may look complicated, because it’s written in very general form here, but it’s very simple.…

    • 939 Words
    • 4 Pages
    Better Essays
  • Powerful Essays

    Eng 225 Final Paper

    • 2260 Words
    • 10 Pages

    However, several months later Shelby begins showing signs of kidney failure and starts dialysis. The mother offers to donate a kidney to her daughter and the transplant…

    • 2260 Words
    • 10 Pages
    Powerful Essays
  • Good Essays

    ASP.NET is a web application framework developed by Microsoft to build dynamic data driven Web applications and Web services. ASP.NET is a subset of .NET framework, a framework is a collection of classes, and ASP.NET is the successor to classic ASP. ASP.NET web pages, known officially as…

    • 411 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Automobiles have been around for a long time and have had an interesting history. They have changed throughout the years, from Benz's Motorwagen to the thing we all know and love today. Although they have many negative attributes, however, life is better with them than without. Whether for better or for worse, automobiles have and will continue to make a huge impact in our everyday…

    • 414 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    The impact of the automobile between 1900 through 1945 was immense. It paved the way for a future dependency on the automobile. To paint a better picture, imagine life without an automobile. Everyday life would be dull, cumbersome, and tedious. An individual's mobility would be very limited. Basically, the life without an automobile could not be fathomed. The importance of the automobile is often taken for granite. Society may not know what appreciate the impact of the automobile and effects it has created. The impact of the automobile had both positive and negative effects on America between 1900 through 1945. Automobile provided an outlet for individuals and spread the freedom of travel among all classes of people. It also helped to introduce rural dwellers to the aspects of urban life and vice versa. One of the negative effects was that automobiles helped to put of big decline in the use of railroads. Over the course of the paper, I will try to expose the huge impact of the automobile an early twentieth century life.<br><br>The image of a self-propelled vehicle dates back around the early thirteenth century. Europe is the birthplace of the automobile, but it was adopted by America. Roger Bacon had a vision of cars being made without animals so they can be at astonishing speeds and maneuverability . About three hundreds years later, Leonardo Da Vinci rejuvenate Bacon's idea with hopes of creating a military vehicle. His idea was transformed into the modern day tank. The first step in making a self-propelled vehicle was taken by Nicholas Joseph Cugnot. He was an eighteenth century French artillery officer. "In 1769 he built and ran a three-wheeled carriage mounting a steam engine of his own design, with the idea that it might be used for pulling guns"2. It was very clumsy vehicle that was shot into the air when it reached the top speed of three miles an hour. Cugnot's vehicle provided almost no improvement of the horse. In the early years of the nineteenth century…

    • 2317 Words
    • 10 Pages
    Satisfactory Essays
  • Good Essays

    Many studies have been performed that prove marijuana can help with the treatment of many types of cancers. Metastasis is when cancer cells spread from one part of the body to another (Mandal, n.d., What is Metastasis). Scientists at California Pacific Medical Center have found a compound in marijuana that can actually stop metastasis. This compound is called Cannabidiol. They learned this first by testing the compound on animals that had cancer and have proven that it works. They are now waiting on approval to begin human testing (Wilkey, 2012, Marijuana and Cancer). It can also be used to replace many pain pills that damage our kidneys and cause major addictions. Studies show that smoking marijuana can help lessen nerve pain or pain caused by surgery. "About 10% to 15% of patients attending a chronic pain clinic use cannabis as part of their pain control strategy"(Doheny, 2010, Marijuana Relieves Chronic Pain).…

    • 766 Words
    • 4 Pages
    Good Essays

Related Topics