Choose a topic to test your knowledge and improve your VB.Net skills
Which of the following accesss modifier specifies that one or more declared programming elements are accessible only from within their own class or from a derived class?
Which of the following accesss modifier specifies that Visual Basic should marshal all strings to Unicode values regardless of the name of the external procedure being declared?
Which of the following operator returns the address of a procedure?
Which of the following Collection class of VB.NET represents a first-in, first out collection of object?
Which of the following keyword of VB.NET is used to throw an exception when a problem shows up?
Which of the following converts the expression to Char data type in VB.NET?
Which of the following converts the expression to Long data type in VB.NET?
Which of the following accesss modifier specifies that a class cannot be used as a base class?
Which of the following accesss modifier allows you to pass an arbitrary number of arguments to the procedure?
Which of the following accesss modifier indicates that a conversion operator (CType) converts a class or structure to a type that can hold all possible values of the original class or structure?
Which of the following operator uses short-circuit evaluation to conditionally return one of two values?
Which of the following is a true about Object in VB.NET?
Which of the following converts the expression to Decimal data type in VB.NET?
Which of the following accesss modifier specifies that the type is covariant?
Which of the following accesss modifier indicates that a class or structure declaration is a partial definition of the class or structure?
Which of the following statement declares the operator symbol, operands, and code that define an operator procedure on a class or structure?
Which of the following operator is applied to an operand in an asynchronous method or lambda expression to suspend execution of the method until the awaited task completes?
Which of the following property of Array class in VB.NET gets the rank (number of dimensions) of the Array?
Which of the following block of VB.NET identifies a place to catch an exception with an exception handler at the place in a program where you want to handle the problem?
Which of the following accesss modifier specifies that one or more declared member variables refer to an instance of a class that can raise events?
Which of the following statement declares a user-defined event?
Which of the following Collection class of VB.NET represents an array of the binary representation using the values 1 and 0?
Which of the following converts the expression to Boolean data type in VB.NET?
Which of the following converts the expression to SByte data type in VB.NET?
Which of the following accesss modifier specifies that a property or procedure redeclares one or more existing properties or procedures with the same name?
Which of the following statement declares an enumeration and defines the values of its members?
Which of the following property of Array class in VB.NET checks whether the Array is readonly?
In Vb.net, data is handled through ………………… which facilitates development of web applications.
A …………………… is a collection of one or more record sets as well as the relationships between those tables or record sets.
Both COM and distributed COM(DCOM) technology has been replaced by the .NET framework, although you still have access to COM through what VB.NET calls ……………
………………… is built on a disconnected data model that uses snapshots of data that are isolated from the data source.
………………. are based on XML schema, so they can be strongly typed.
………… is the ability to create procedures that can operate on objects of different types.
……… is the process by which you can derive new classes from other classes.
……. namespace in vb.net includes classes and interfaces that return information about types, methods and fields and also have the ability to dynamically create and invoke types.
……………. namespace in vb.net provides an interface to many of the protocols used on the internet.
……… namespace in vb.net includes essential classes and base classes that define commonly used data types, events and event handlers, interfaces, attributes, exceptions and so on.
The file extension …………….. in vb.net represents a global application class, used to handle global application class, used to handle global ASP.NET application level events.
The file extension ……………… in vb.net represents a web form.
When you save a solution, it’s give the file extension .sln and all the projects in the solution are saved with the extension ……………
The .NET platform and the .NET framework class library were developed in an effort to address these weakness of ………………….
…. are virtual base classes; that is they consist of members; methods, properties and events that have no implementations.
A …………… is a reference type that represents a strongly typed function pointer.
Most of the primitive data types; Boolean, Byte, Char etc. defined in FCL are implemented as …………
Specialized classes include the stack class, a last-in first-out structure, the queue class, first-in, first-out structure in the …………………… namespace.
………….. allow custom items of information about a program element to be stored with an assembly’s metadata.
……… datatype in .Net FCL corresponds integer data type in vb.net.
The data data type in visual basic .net equivalent to ……………… data type in .net FCL.
………………… are symbols used to perform operations; like +, which performs addition operations, -, which performs subtraction operations and so on.
………… are symbolic names given to values stored in memory and declared with the Dim keyword.
The keyword ……………………, gives variables protected access, which means they are accessible only from within their own class.
The variables in ………………. access means they are accessible only from within their declaration context, including any nested procedures.
The …………….. variable is not associated with a specific instance of a class or structure.
The ……………… variable are accessible from within the program that contains their declaration, as well as anywhere else in the same assembly.
…………….. is used to declare arrays; which gives upper sounds of the dimensions of an array variable.
……….. function in vb.net is used to convert character code to character.
function in vb.net converts character to character code.
……………. function in vb.net converts string to number data type.
Which of the following string handling functions and methods are used to compare two strings. i) StrComp ii) String.Compare iii) String.Equals iv) String.CompareTo
The string handling function, “Mid” in visual basic .net is used to …………….. i) get a substring ii) insert a substring iii) remove text iv) format string
The …………… property in array class of vb .net, returns an integer indicating the number of dimensions of the array.
State the following statements are True or False for arrays in visual basic .net are i) Array are objects in vb .net ii) Array variables can have the public, protected, friend, private or protected friend specifier
In Int32structure ……………….. function converts the string representation of a number of its Int32 equivalent.
………………. method converts the value of the instance to a double representing the OLE Automation date.
………………… property on windows forms, gets or sets the size and location of the form on the windows desktop.
Windows forms public object property, …………….. gets or sets the bounding rectangle for the form.
………………. method on windows forms public object methods, gets the child control that is located at the specified co-ordinates.
……………. method finds the location of the specified screen point to client co-ordinates.
……………. event occurs when a key is pressed while the form has the focus.
In the new sub procedure of windows forms, the code calls a procedure named ………………., which adds and arranges the controls in the form.
…………….. keyword is used to refer to the current object. a. b. c. d.
The possible values for the FormBorderStyle property is/are the following i) Fixed3D ii) None iii) FixedSingle iv) VariableDialog
Form’s ………………. property is used to specify t he initial position on the screen.
We can assign form’s start position property values from the FormStartPosition enumeration, with the following values. i) Certerpart ii) CenterScreen iii) Manual iv) Location
Which of the following is the correct way of assigning value “centerscreen” for form’s startposition property.
………….. class is built into the .Net Framework to display messages and accept input from the user.