Results 1 to 2 of 2

Thread: Visual Basic questions on array and structure?

  1. #1
    Join Date
    Jan 2008
    Posts
    2

    Default Visual Basic questions on array and structure?

    Could you please help me out with the practice questions.
    1.The value stored in an array’s Length property is always ____ the highest subscript in the array.
    a.exactly the same asc.one number more than
    b.twiced.one number less than



    2.You refer to a member variable in an array element using the syntax ____.
    a.arrayname(subscript).memberVariableName
    b.arrayname(subscript)->memberVariableName
    c.arrayname(subscript)[memberVariableName]
    d.arrayname(subscript)@memberVariableName




    3.When referring to a member variable of a structure variable, you use the ____ member access operator to separate the structure variable’s name from the member variable’s name.
    a.indirectionc.asterisk
    b.arrowd.dot



    4.In most applications, you enter the Structure statement in the form’s ____ section in the Code Editor window.
    a.MainFormc.Declarations
    b.Loadd.Definitions


    5.The members of a structure can be variables, constants, or ____.
    a.structuresc.procedures
    b.classesd.control characters



    6.You can create your own data types in Visual Basic using the ____ statement.
    a.DataTypec.UserDefinedType
    b.Structured.Define



    7.When defining a structure, each member variable’s definition contains the keyword ____ followed by the name of the variable, the keyword As, and the variable’s datatype.
    a.Dimc.Private
    b.Memberd.Public
    Powered by Yahoo!

  2. #2
    Join Date
    Jan 2008
    Posts
    3

    Default

    take a time to study this VB tutorial:

    http://www.vbtutor.net/
    Powered by Yahoo!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •