Visual Basic Interview Questions

Started by nithyasubramanian, Jan 15, 2009, 04:41 PM

previous topic - next topic
Go Down


Visual Basic Interview Questions

1)   Explain what is Visual basic ?
Visual basic is a event driven language from Microsoft for its Component object model programming language. It is associated with integrated development environment of Microsoft. It enables RAD tools and accesses the database using RDO and DAO.

2)   Explain about event driven programming language?
Event driven programming language chiefly depends upon the user and sensors (functionalities) implemented by the developer. It is also dependent upon the messages from other programs. Programming is divided into two events one is event selection and the other is event handling.

3)   Explain about the basic features of Visual basic?
Primarily visual basic was designed for simplicity. It allows programmers to develop GUI applications and also complex applications. It is much concerned with arranging complex functions to graphical controls onto a form for greater functionality. Default attributes and actions make it easy for programmer to write code.

4)   Explain about form creation in visual basic?
Forms are basically created in the form of drag and drop techniques. Predefined tools can be placed on the form which defines the form compatibility. Default values are present in the form which can be changed by the programmer for efficient functionality. Attributes, controls, event handlers, etc can be modified for greater efficiency.

5)   Explain about creation of exe files with visual basic?
Visual basic can create EXE files, DLL files, Active x controls, etc. It is primary goal is to create windows applications and desktop applications. Pop up capabilities can be created with the help of Visual Basic for web interface. This has made visual basic primarily useful for creating windows files and advertising files.

6)   How can visual basic be used for server side scripting?
Visual basic can be used for server side scripting. A component designed with Visual basic will not have any user interface instead provides the functionality of Active X to other programs via COM. This form of technique allows server side functionality and add in module.

7)   Is visual basic case sensitive?
Visual basic is not case sensitive unlike many other programming languages. Visual basic transforms keywords into a standard configuration. Also it matches the case of the entry with the symbol table entry. String comparisons are case sensitive.

8)   Explain about arrays?
Arrays are declared in a similar way to Pascal and FORTRAN. They are specified by the upper and lower bonds. Option base statement is also used to set the default lower bond. Lower and upper bonds are programmable.

9)   What are the different procedures associated with the object?
There are different procedures associated with the object some of them are Activate, Dblclick, Click, keypress, DragDrop, etc. Every object has its own set of procedures. Object can be selected and code can be written which can module the application in a certain way.

10)    Explain about control properties?
Control properties help in determining the appearance and its function characteristics with the event procedure. Certain properties should be written before setting its characteristics for working on application. Actually you should define its appearance. Properties of the controls can be set in the windows at run time.

11)    State about the different types of visual basic data?
Visual basic divides into different types they are
1)   Numeric data type
2)   Non numeric data type
Numeric data is divided into seven different types they are adding, minus, multiplication, division, etc.
Non numeric data consists of data which cannot be manipulated with standard operators.

12)    Explain about literals?
Data can be assigned to literals. In certain cases suffix is added so that literals can perform the calculation in a much better way. Strings can have many characters. Sometimes it is enclosed within double quotes.

13)    What are the rules which should be followed while naming a variable in VB?
Some of the rules which should be followed while naming a variable in VB are as follows: -
1)   Characters should be less than 255.
2)   Space between characters should be allowed.
3)   A variable should begin with a number.
4)   Period may not be permitted.

14)    Explain about declaring variables in Visual basic?
A variable should be declared by assigning them name and data type before using them in the code. They are generally declared using the Dim statement in the general section of the codes. In case you forget to define the data type VB will declare it automatically.

15)    Explain about conditional operators?
There are many conditional operators which are used to control the program flow. They look like mathematical operators. These operators cannot be neglected because they are very powerful and they let the Visual basic to compare data values for output.

16)    Explain about ADO control?
If you want your applications to move out of the Visual Basic environment then it is very important to use ADO control units. Active X data control is the full form for ADO. It is interoperable and could be accessed in many data applications.

17)    Explain about creating VB applications in excel?
User defined functions can be created into the Microsoft spreadsheet. Spreadsheets can be customized according to the user needs by using VB applications. To create visual basic functions useful for spreadsheet you need to click Tools and select Macros where you will need to click on Visual basic editor.
Thanks and Regards
- Nithya Subramanian
Kenvivo Communications

Go Up

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Please leave this box empty:

Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

shortcuts: alt+s submit/post or alt+p preview
IT Acumens Web Designing Chennai | GinGly :: Build your Personal Website | CineBuzz :: Cinema News | My Kids Diary :: Gift your Kids Memories :: Book Website @ 349 Rs monthly
Copyright © 2005 - 2021 :: IT Acumens :: All Rights Reserved. :: XML Sitemap
ITAcumens Discussion Forum with 2 lakhs post running for 15 years - Powered by IT Acumens Pro Dedicated Server

My Kids Diary