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×

.Net Web Forms Online Test with Visual Basic (VB)

Topics Covered

  • Button Click Control
  • Adding Calendar
  • Server-side Validation
  • DNS Loop up
  • String query
  • Authentication
  • Roles
  • Content Updates

Useful for hiring

  • VB.Net Web Programmer
  • .Net Web Developer
  • .Net Developer - Webforms

Start hiring job-fit candidates using this assessment

GET A DEMO

"Interview Mocha has provided UNEECOPS with a veritable assessment platform with a comprehensive test library, online test platform, and intelligent reports. This made it easier for us to map different job openings with job-fit candidates and recruit faster."

Nisha Chandila, UNEECOPS,
Talent Acquisition Manager
Question

Which of following snippets describes the function that returns the character which follows the input character according to the ASCII table?

Answer
    • Private Sub Button1_Click(…) Handles Button1.Click
      Dim InputString As String
      MsgBox(NextChar(InputString))
      End Sub
      Private Function NextChar(ByVal InputString As String) As String
      Dim AsciiCode As Integer
      AsciiCode = Asc(InputString)
      AsciiCode = AsciiCode + 1
      NextChar = Chr(AsciiCode)
      End Function

    • Private Sub Button1_Click(…) Handles Button1.Click
      Dim InputString As String
      InputString = InputBox("Enter a character")
      MsgBox(NextChar(InputString))
      End Sub
      Private Function NextChar(ByVal InputString As String) As String
      Ascii = Asc(InputString)
      Ascii = AsciiCode + 1
      NextChar = Chr(AsciiCode)
      End Function

    • Private Sub Button1_Click(…) Handles Button1.Click
      Dim InputString As String
      InputString = InputBox("Enter a character")
      MsgBox(NextChar(InputString))
      End Sub
      Private Function NextChar(ByVal InputString As String) As String
      Dim AsciiCode As Integer
      AsciiCode = Asc(InputString)
      AsciiCode = AsciiCode + 1
      NextChar = Chr(AsciiCode)
      End Function

Question

What will happen to this code after execution?

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

Which of the following code example uses the X and Y properties to display the current position of the mouse pointer in a ToolTip window?

Answer
    • Dim TrackTip As ToolTip

      Private Sub TrackCoordinates()Handles Me.MouseMove
      Dim TipText As String = String.Format("({0}, {1})", e.X, e.Y)
      TrackTip.Show(TipText, Me, e.Location)
      End Sub

    • Dim TrackTip As ToolTip

      Private Sub TrackCoordinates()
      TrackTip = New ToolTip()
      End Sub

      Private Sub Form1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseMove
      Dim TipText As String = String.Format("({0}, {1})", e.X, e.Y)
      TrackTip.Show(TipText, Me, e.Location)
      End Sub

    • Dim TrackTip As ToolTip

      Private Sub TrackCoordinates()
      TrackTip = New ToolTip()
      End Sub

      Private Sub Form1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseMove
      TrackTip.Show(TipText, Me, e.Location)
      End Sub

Test details:

This .Net Webforms assessment test with VB enables employers and recruiters to identify experts by evaluating their working skills and job readiness.

The VB.Net Webforms quiz test contains MCQ's (Multiple Choice Questions), MAQ's (Multiple Answer Questions), Fill in the Blank, Descriptive, True or False.

Test Details: 20 minutes 

20 Application Questions


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

Test description:

.Net Web Forms Online Test with VB assists recruiters & hiring managers to validate .Net web forms knowledge of candidate along with Visual Basic before an interview.

VB.Net Webforms helps to build dynamic websites using drag-and-drop, event-driven model.  .Net Web forms are compatible with languages like Visual Basic (VB) or C#. The .Net Web Forms provides features like server controls, security, Internationalization, Debugging and Error Handling, Deployment and Hosting, etc.

The Online VB.Net Web Forms test specially designed to check application, practical skills of the VB .NET application developer – as per Industry Standards.

Our .Net Web Forms skill test with Visual Basic is created and validated by Subject Matter Experts.

VB.Net Web Forms test contains questions on following Topics:
 

  • Button Click Control

  • Adding Calendar

  • Server-side Validation

  • DNS Loop up

  • String query

  • Authentication

  • Roles

  • Content Updates 


Our powerful reports help you in making a better hiring decision and predict the candidate’s performance.  You can also ask for the customizable .NET Web Forms assessment as per your specific need.

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