Visual Basic Questions and Answers

Visual Basic Interview Questions and Answers

Our 1000+ Visual Basic questions and answers focuses on all areas of Visual Basic subject covering 100+ topics in Visual Basic. These topics are chosen from a collection of most authoritative and best reference books on Visual Basic. One should spend 1 hour daily for 2-3 months to learn and assimilate Visual Basic comprehensively. This way of systematic learning will prepare anyone easily towards Visual Basic interviews, online tests, examinations and certifications.

Highlights

– 1000+ Multiple Choice Questions & Answers in Visual Basic with explanations
– Every MCQ set focuses on a specific topic in Visual Basic Subject

Who should Practice these Visual Basic Questions?
– Anyone wishing to sharpen their knowledge of Visual Basic Subject
– Anyone preparing for aptitude test in Visual Basic
– Anyone preparing for interviews (campus/off-campus interviews, walk-in interview and company interviews)
– Anyone preparing for entrance examinations and other competitive examinations
– All – Experienced, Freshers and Students

advertisement

Here’s list of Questions & Answers on Visual Basic Subject covering 100+ topics:

1. Questions & Answers on Introduction

The section contains questions and answers on properties window, application starting and ending process.

Properties Window Starting and Ending an Application

2. Questions on ToolBox Window

The section contains questions on label tool, picture box tool, buttontool, code editor, timer tool, formborder style, minimizebox, maximizebox and controlbox properties.

Label Tool
Picture Box Tool and ButtonTool
Code Editor
Timer Tool
FormBorder Style, MinimizeBox, MaximizeBox and ControlBox Property

3. Questions & Answers on User Interface

The section contains questions and answers on user interface buiding, interface border style and autosize properties, access keys assinging and tab order controlling.

advertisement
Building the User Interface
Border Style and AutoSize Properties
Assigning Access Keys
Controlling the Tab Order

4. Questions on Coding the Application

The section contains questions on application coding using psedocode and flowchart, writing arithmetic expressions, application testing and debugging.

Coding the Application Using Pseudocode and Flowchart
Writing Arithmetic Expressions
Testing and Debugging Application

5. Questions & Answers on Variables and Constants

The section contains questions and answers on variables data type selection, declaring and assigning data to existing variable, variable scope and lifetime, static variables, named constants, option explict, option inner and strict.

Selecting Data Type and Name for the Variable
Declaring and Assigning Data to an Existing Variable
Scope and Lifetime of a Variable
Static Variables and Named Constants
Option Explicit, Option Inner and Option Strict

6. Questions on Modifying the Playtime Cellular Application

The section contains questions on strings concatenation, inputbox function and tostring method, controlchars.newline constant and designing default button.

Concatenating Strings, InputBox Function and toString Method ControlChars.Newline Constant and Designing Default Button

7. Questions & Answers on Selection Structures

The section contains questions and answers on single alternative and dual alternative selection structures, logical operators, selection structures, nested and multiple alternative selection structures.

Single-Alternative and Dual-Alternative Selection Structures
Logical Operators
Strings in Selection Structures
Nested Selection Structures
Multiple Altenative Selection Structures

8. Questions on Making an Application & Interface Design

The section contains questions on financial.pmt method, messagebox show method, addition of groupbox, radio button and check boxes in the form.

advertisement
Adding a GroupBox to the Form and Using Financial.Pmt Method
Using the MessageBox.Show Method
Adding a Radio Button & Check Box to the Form

9. Questions & Answers on Repetition Structure

The section contains questions and answers on do loop statement, counters, accumulators, for next statement, list box, refresh and sleep methods in interface.

Do Loop Statement
Counters and Accumulators
For..Next Statement
Refresh and Sleep Methods, Including List Box in an Interface

10. Questions on Sub and Function Procedures

The section contains questions on passing variables, function procedures and interface.

Passing Variables
Function Procedures
Including a ComboBox in an Interface

11. Questions & Answers on String Manipulation

The section contains questions and answers on string working and searching, comparing strings using pattern matching, menu addition to form and mnufilenew object click event procedure coding.

Working with String
Searching a String
Using Pattern Matching to Compare Strings
Adding a Menu to a Form
Coding the mnuFileNew Object’s Click Event Procedure

12. Questions on Arrays

The section contains questions on one dimensional array, for each next statement, parallel and two dimensional arrays, total and average values calculations, arrays, collections, accumulator, counter arrays, searching and sorting of one and two dimensional arrays.

One-Dimensional Array
For Each..Next Statement
Sorting a One-Dimensional Array
Parallel & Two-dimensional Arrays
Calculating the Total and Average Values
Finding the Highest Value
Arrays and Collections
Accumulator and Counter Arrays
Two-Dimensional Arrays
Traversing a Two-Dimensional Array
Totaling the Values Stored in a Two-Dimensional Array
Searching a Two-Dimensional Array

13. Questions & Answers on Structures and Sequential Access Files

The section contains questions and answers on structure variable declaration, information alignment, writing, closing and reading data of a sequential access file.

advertisement
Declaring and Using a Structure Variable
Writing Data to a Sequential Access File
Closing an Output Sequential Access File
Reading Data from a Sequential Access File
Closing an Input Sequential Access File
Aligning Columns of Information

14. Questions on Classes and Objects

The sections covers questions on oop terminology, class creation, working and reuse, classes that contains parameterized constructor, readonly property, auto-implemented properties and overloaded methods, base and derived class.

Object Oriented Programming Terminology
Creating a Class
Working with Classes
Class that Contains a Parameterized Constructor
Reusing a Class
Class that Contains a ReadOnly Property
Class that Contains Auto-implemented Properties
Class that Contains Overloaded Methods
Using a Base Class and a Derived Class

15. Questions & Answers on Web Applications

The section contains questions and answers on web applications and dynamic web pages.

Web Applications Dynamic Web Pages

16. Questions on Working with Access Databases and LINQ

The section contains questions on database terminology and query creation.

Database Terminology Creating a Query

17. Questions & Answers on Access Databases and SQL

The section contains questions and answers on structured query language, parameterized queries, adding, deleting and sorting records in datasheet.

Adding, Deleting and Sorting Records in a Datasheet
Structured Query Language
Parameterized Queries
If you would like to learn Visual Basic thoroughly, you should attempt to work on the complete set of questions and answers mentioned above. It will immensely help anyone trying to crack an exam or an interview.

Here’s the list of Best Reference Books in Visual Basic.

Wish you the best in your endeavor to learn and master Visual Basic!

advertisement
advertisement
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He is Linux Kernel Developer & SAN Architect and is passionate about competency developments in these areas. He lives in Bangalore and delivers focused training sessions to IT professionals in Linux Kernel, Linux Debugging, Linux Device Drivers, Linux Networking, Linux Storage, Advanced C Programming, SAN Storage Technologies, SCSI Internals & Storage Protocols such as iSCSI & Fiber Channel. Stay connected with him @ LinkedIn