Are you a candidate looking to sharpen your skills? Try our practice tests or view sample interview questions & Get hired by the best. Click Here×

Winform With VB.Net Online Assessment Test

Topics Covered

  • Context Menu
  • Trackbar Control
  • Button Events and Timer
  • Tree View
  • Anchor Property
  • WebBrowser Control
  • PrintPage Control

Useful for hiring

  • VB.Net Developer

Start hiring job-fit candidates using this assessment

GET A DEMO

"We are impressed with Interview Mocha's comprehensive IT skill test batteries and their ability to provide tailor-made assessments quickly. The results we got from Interview Mocha exceeded our expectations, employees found the tests quick, fun, and a benchmark of their knowledge."

Ajay Garg, Siemens,
Associate Manager
Question

What will happen after execution of the following code?

MustInherit Class Shape
    Public MustOverride Sub draw()
End Class

Class Circle
    Inherits Shape
    Public Overrides Sub draw()
    End Sub
    'Some more member functions.....
End Class

Class CCheck
    Public Shared Sub Main()
        Dim objShape As Shape
    End Sub
End Class

Note: There can be multiple correct answers to this question.

Answer
    • The code will compile and run.

    • Compile error for draw method will be encountered first

    • Defining the body of the draw() method in class Rectangle would let the class compile.

Question

Below is the code writen to ensure that there is only one instance of my application running
Some part of the code is missing which is indicated by (//missing part).
Select the correct option to complete the code.

Code:
 

Public Shared Function RunningInstance() As Process
Dim current As Process = Process.GetCurrentProcess()

//missing part 1

'Loop through the running processes in with the same name
Dim process As Process
For Each process In processes
'Ignore the current process
If process.Id <> current.Id Then
'Make sure that the process is running from the exe file.

//missing part 2

Return process
End If
End If
Next process
'No other instance was found, return null.
Return Nothing
End Function 'RunningInstance

Answer
    • Missing Part 1 : Dim processes As Process() = Process.GetProcessesByName()

      Missing Part 2 : If [Assembly].GetExecutingAssembly().Location.Replace("/", "\") = current.MainModule.FileName Then
      'Return the other process instance.
       

    • Missing Part 1 : Dim processes As Process() = Process.GetProcessesByName(current.ProcessName)

      Missing Part 2 : If [Assembly].GetExecutingAssembly().Location.Replace("/", "\") = 
      Return process
       

    • Missing Part 1 : Dim processes As Process() = Process.GetProcessesByName(current.ProcessName)

      Missing Part 2 : If [Assembly].GetExecutingAssembly().Location.Replace("/", "\") = current.MainModule.FileName Then
      'Return the other process instance.
       

Question

Below is the code written to create an error provider : Please enter your name

Some part of the code is missing which is indicated by (//missing part).
Select the correct option to complete the code.

Code:
 

private Sub textBox1_Validating(sender As Object, e As System.ComponentModel.CancelEventArgs)
ValidateName()
End Sub

Private Function ValidateName() As Boolean
Dim bStatus As Boolean = True
If textBox1.Text = "" Then
errorProvider1.SetError(textBox1, "Please enter your Name")
bStatus = False

//Missing Part

Return bStatus
End If
End Function

Answer
    • Else IF
      errorProvider1.Error(textBox1, "")
       

    • Else
      errorProvider1.SetError(textBox1, "")
       

    • Else
      SetError(textBox1, "")
       

Test details:

This online Winforms VB .Net test enables employers and recruiters to identify potential hires by evaluating working skills and job readiness. For this reason, the emphasis is laid upon evaluating the knowledge of applied skills gained through real work experience, rather than theoretical knowledge. 

Test Details: 20 minutes 

15 Application Questions

05 Theory Questions 


The combination on Application and Theory questions helps to evaluate Technical as well as practical Skills of Candidates

Test description:

Winform with VB.Net Test helps Recruiting Team & Hiring Managers to validate the skills of applicant about winforms using VB .Net. In VB.NET, the Windows Form (WinForms) is used as a representation of the System. Windows.Forms.Formsclass in the .Net Framework. Winforms is a graphical user interface API and Visual Studio creates a default form for when we create a Windows Forms Application. This Winforms VB .Net pre-hiring test is specially designed to check development and practical skills of a Winforms VB.Net developer – as per Industry Standards.

The Winform VB.Net online test contains questions on following Topics:
 

  • Context Menu

  • Trackbar Control

  • Button Events and Timer

  • Tree View

  • Anchor Property

  • WebBrowser Control

  • PrintPage Control  

 
This Winforms VB .Net pre-employment test has been developed and reviewed by our qualified and experienced Subject Matter Experts (SME)s. Using powerful reporting, you can have a detailed analysis of the test results to help you make a better hiring decision and predict the candidate’s performance.

The test contains high difficulty level MCQ's (Multiple Choice Questions), MAQ's (Multiple Answer Questions), Fill in the Blank, Descriptive, True or False.

Good News! You can customize this test as per your requirement

  • Choose and add questions from Interview Mocha question libraries

  • Add your own set of questions

  • Customize test settings like duration, number of questions, passing score, web proctoring and much more

  • Mail us at support@interviewmocha.com to create a custom test

Looking for a tailor-made test, to suit your assessment needs?

Get in touch

Global companies using Mocha assessments

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • akamai

How Mocha assessments are brewed

Speed up your IT recruitment with Interview Mocha

  • 500+ IT skill tests
  • 20+ coding languages
  • 50+ domain knowledge tests
  • 100+ digital 2.0 skill tests
  • Customer focus aptitude tests
  • Enterprise ready features & more...
GET A DEMO

Why hiring managers and recruiters across the globe love Interview Mocha

Take your first step to hire job fit candidates

GET A DEMO