The VB.NET online test assesses candidates' knowledge of programming in the VB.NET language and their ability to leverage commonly used parts of the .NET framework's class library.

It's an ideal test for pre-employment screening. A good VB.NET developer needs to be able not only to solve problems using VB.NET but also recognize when to leverage the functionality provided by the .NET framework's class library to write robust and maintainable code.

This online test requires candidates to solve coding problems in VB.NET and find and fix bugs in a VB.NET program.

Recommended Job Roles
.NET Developer
Back-End Developer
VB.NET Developer
Web Developer
Sample Candidate Report

Sample Free Questions

Merge Names

10min
  -  
Easy 
  -  
CODE

VB.NET Arrays Public

Implement the UniqueNames method. When passed two arrays of names, it will return an array containing the names that appear in either or both arrays. The returned array should have no duplicates.

For example, calling MergeNames.UniqueNames({'Ava', 'Emma', 'Olivia'}, {'Olivia', 'Sophia', 'Emma'}) should return an array containing Ava, Emma, Olivia, and Sophia in any order.

User Input

15min
  -  
Easy  
  -  
CODE

VB.NET OOP Public

User interface contains two types of user input controls: TextInput, which accepts all characters and NumericInput, which accepts only digits.

Implement the class TextInput that contains:

  • Public sub Add(c As Char) - adds the given character to the current value
  • Public function GetValue() As String - returns the current value

Implement the class NumericInput that:

  • Inherits TextInput
  • Overrides the Add method so that each non-numeric character is ignored

For example, the following code should output "10":

Dim input As TextInput = New NumericInput()
input.Add(CChar("1"))
input.Add(CChar("a"))
input.Add(CChar("0"))
Console.WriteLine(input.GetValue())

Folders

20min
  -  
Hard 
  -  
CODE

VB.NET Serialization Public

Implement a function FolderNames, which accepts a string containing an XML file that specifies folder structure and returns all folder names that start with startingLetter. The XML format is given in the example below.

For example, for the letter "u" and XML file:

<?xml version="1.0" encoding="UTF-8"?>
<folder name="c">
    <folder name="program files">
        <folder name="uninstall information" />
    </folder>
    <folder name="users" />
</folder>

the function should return "uninstall information" and "users" (in any order).

Use Free Questions On a Trial Plan

Premium Questions

The premium question library contains our unique, hand-crafted questions. We offer a refund if you find any of them answered online.

Questions
Shipping, Log Parser, Paragraph, Hobbies, Prefix
Skills
VB.NET Arithmetic Serialization Strings Arrays Iteration LINQ
Score Distribution
Loading...
Pricing For Premium Questions