Preview

Object-oriented Programming and Answer Options A.

Satisfactory Essays
Open Document
Open Document
2982 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Object-oriented Programming and Answer Options A.
Model Question Paper

Subject Code: MT0040

Subject Name: VB.Net

Credits: 4 Marks: 140

Part A (One mark questions)

1. The _is a systematic class framework used for the development of system tools and utilities.
A. .Net Framework Class Library (FCL)
B. .Net tools
C. Visual Basic 2005
D. Visual Basic 6

2. The model does not offer a model for source code reuse. A. COM+
B. DCOM C. COM D. .Net

3. allow custom items of information about a program element to be stored with an assembly's metadata.
A. Properties B. Attributes C. Methods D. Classes

4. The corresponding .Net FCL type for Short is . A. System.Int32
B. System.Int64
C. System.Int16
D. System.Object

5. The member "clear" of the Array class that sets a range of array elements to zero, false or null reference is a method.
A. Shared
B. Method

C. Class
D. Object

6. The method converts an OLE automation date value to a DateTime Instance. A. Today
B. TimeOfDay
C. Now
D. FromOADate

7. The function procedures are by default. A. public
B. private
C. protected
D. inherited

8. Every optional argument in the procedure definition must specify a value which must be a constant expression.
A. constant
B. default
C. integer
D. character

9. Type casting in VB.Net is implemented by means of statement. A. Type()
B. TypeDef() C. Btype()
D. Ctype()

10. The enable us to pass data between a program and a class. A. Functions
B. Properties C. Procedures D. Variables

11. Using a variable does not enable us to create read-only properties that are often required by a class.
A. public
B. private
C. protected
D. friend

12. A performs invisible tasks even if you write no code. A. destructor
B. private method
C. constructor
D. function

13. The does not describe inherited member functions, inherited operators, and overridden virtual member functions.
A. Class Library Reference
B. Library C. Objects

You May Also Find These Documents Helpful

  • Good Essays

    Exercise 1: Review of array-based lists Create a project using the classes in the DocSharing area labeled “User-defined array list." Compile it, run it, and review the code that is given carefully. This code tests the ArrayList class provided in the lecture.…

    • 714 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Nt1310 Unit 3 Quiz

    • 6337 Words
    • 26 Pages

    /*question number 3*/ Code: void *ptr; myStruct myArray[10]; ptr = myArray; Which of the following is the correct…

    • 6337 Words
    • 26 Pages
    Good Essays
  • Good Essays

    This paper will describe the variable naming rules of three different programming languages. These three languages are Visual Basic, Python, and Java. Each of these languages has different rules that apply to them and some similarities. I will describe the rules and the similarities and differences in the next few paragraphs.…

    • 878 Words
    • 4 Pages
    Good 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

    Structured Query Language (SQL) is a standard database computer language used for querying, modifying and managing data in Relational Database Management Systems (RDBMS). SQL was developed in the 1970's by IBM to initially manipulate and retrieve data in IBM System R. The SQL language was standardized in 1986 by the American National Standards Institute (ANSI); however, later releases were released as International Organization for Standardization (ISO) standards.…

    • 612 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    unit 3

    • 313 Words
    • 2 Pages

    Some languages assign a default value as 0 to uninitialized variables. In many languages, however, uninitialized variables hold unpredictable values.…

    • 313 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    2. A ball dropped from rest picks up speed at 10 m per second. After it falls…

    • 1043 Words
    • 9 Pages
    Good Essays
  • Good Essays

    Chapter 8 Quiz

    • 469 Words
    • 2 Pages

    5. Which of the following arguments must be passed when passing an array as an argument? (Points : 6)…

    • 469 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Unit 6 Assignment 2 Choosing the right programming language. (P2) There are several factors to consider when choosing the right programming language, these include Organisational policy, suitability in terms of available features and tools, availability of trained staff and development and maintenance costs. Organisational policy Organisations which make and develop loads of computer software’s and programs tend to have a policy of using a certain language, a reason for this might be because that language allows them to make all their software consistent and easier to maintain.…

    • 1542 Words
    • 7 Pages
    Good Essays
  • Satisfactory Essays

    Cs Programming Chapter 1

    • 2450 Words
    • 10 Pages

    ____ data items may involve organizing or sorting them, checking them for accuracy, or performing calculations with them.…

    • 2450 Words
    • 10 Pages
    Satisfactory Essays
  • Good Essays

    “New York Freelance Technology is a web based organization affiliated with Montana Freelance Technology and GMR Web Services that continues to give you quality hosting at an affordable cost.” (New York Freelance Technology, 2011) Not only does NY Freetech perform web specific tasks, they also handle numerous person to person tasks such as custom computer building, videography and DVD authoring. Their web related tasks include web design, web development, graphics design, web hosting and DNS (domain name system). One thing NY Freetech does not have is a support forum for their customers. To contact customer service, currently you have to email them and wait for a reply. What is needed is a support forum. Customers or prospect customers can post in the forums and ask questions and the administrators can answer the questions. If other customers or users know the answer to the question, they can also answer. That will help the customers questions get answered faster. Upon reviewing the company website, I noticed there was no support forum. There is a small FAQ (frequently asked questions) but no forum. The personnel involved in the project have a certain role they must play, the steps of the program development cycle must be followed and the project should be performed in a modular fashion. For every task performed in any organization, personnel involved have roles they must play.…

    • 930 Words
    • 4 Pages
    Good Essays
  • Good Essays

    7 and Array

    • 500 Words
    • 2 Pages

    7. When a single array element, such as myArray[2], is passed to a method, the method receives _____.…

    • 500 Words
    • 2 Pages
    Good Essays
  • Good Essays

    8. A(n) sentinel is a special value that denotes the end of a list and is used to terminate loop processing when reading input values from a user, or a data file.…

    • 719 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    It 210

    • 2960 Words
    • 12 Pages

    Although the value of a variable may change during execution of a program, in all our programs so far, a single value has been associated with each variable name at any given time. In this chapter, we will discuss the concept of an array—a collection of variables of the same type and referenced by the same name. We will discuss one-dimensional arrays (lists) at length and focus briefly on twodimensional arrays (tables). You will learn how to set up and use arrays to accomplish various tasks.…

    • 2960 Words
    • 12 Pages
    Powerful Essays
  • Satisfactory Essays

    If you add a table to a slide that already has a theme applied to it, the table will appear in a style that complements the theme.…

    • 446 Words
    • 2 Pages
    Satisfactory Essays

Related Topics