VB.NET Quiz # 5

Instructions
Quiz: VB.NET Quiz # 5
Subject: Basic Vb Net
Total Questions: 160 MCQs
Time: 160 Minutes

Note

  • Do not refresh the page while taking the test.
  • Results along with correct answers will be shown at the end of the test.
VB.NET Quiz # 5
Question 1 of 160
00:00
  • Which of the following helps assemblies become self describing?


  • You have an array list named "alCustomer" containing 200 items. The array list is sorted, and you want to copy customers 21 to 50 from this list to a new array list named "alSpecial". Which of the following methods will you use?


  • The global assembly cache:


  • On a user form, to catch the user key strokes in the key press event of a text box, you would use:


  • A programmer wrote a small function to return the sum of two bytes:
      
    Public Function add(ByVal b1 As Byte, ByVal b2 As Byte) As Byte
          
            Return b1 + b2
      
    End Function

    What will happen when add(200, 80) is called by the program?

  • Which transport protocol is used to call a Web Service?


  • Which of the following is not correct with regard to shared assembly?


  • In .NET generics, the type parameter:


  • Which of the following options represents the possible values for the 'DataRowVersion' class?


  • Which of the following tools can be used to modify and grant permissions to code groups?


  • You have written a simple function to multiply two integers:

    Line 1 Public Function multiply(ByVal a As Int32,
    Line 2                                  ByVal b As Int32) As Int32
    Line 3         return (a * b)
    Line 4 End Function

    What will happen on running the program?


  • Which namespace contains the DataSet class?


  • You have a table named 'FirstQTR' and want to create another table named 'SecondQTR' which is exactly the same as 'FirstQTR', including DataTable schema and constraints. Which of the following methods will fulfill this requirement?



  • Which one of the following statements is true about MSIL code?  
      


  • What will be the result of the following code:

            Dim employeeDS As DataSet
            employeeDS.Tables.Add(new DataTable("FirstQTR"))




  • What does Managed Data refer to?


  • With VB.Net, controls can be created at run time. The statement that can be used to add events to such runtime controls is:


  • Which of the following manages the code during execution?


  • Which of the following is not correct about DataReader?



  • Which of these files is used for debugging an application?


  • You have placed an OpenFileDialog control to let users select image files. How will you set the filter to display image files only? The name of the control is "ofdImage".


  • Which of the following is true for overriding?


  • In which file can you define the "Process Model" attribute?

  • You have to update some values in the database. Which method will you execute on a command object named "cmdUpdate"?


  • What is the value range of the SByte data type?


  • Which of the following should you use to serialize instances of a class?


  • You declared an object variable named 'obj'. How will you check if it is initialized or not?


  • You passed an array as an argument to the following function:

    Public Function Modify(ByVal ar[] as Integer) as Boolean

    What will happen to the original value of the array (ar), if the function modified the values?


  • Delay signing allows a shared assembly to be signed with:


  • Which of the following is true for the 'instance' methods?


VB.NET Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

VB.NET Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it