General Flashcards
What is an algorithm?
A logical series of steps that solve a problem
What is an in-process component?
is implemented as a DLL
runs in the same process space as its client enabling the most efficient communication between client and component.
Each client app that uses the component starts a new instance of it
What is an out-process component?
An out of process component is implemented as an EXE
runs in its own process space.
Exe’s are slower then dll’s because
communications between client and component must be marshalled across process boundaries
What are the main components of the ADO object model?
Used to make a connection between your app and an external data source, ie, sql server
Used to build queries, including user-specific parameters, to access records from a data source
Why we use Treeview Control?
To list the hierarchical list of the node objects. Such of files and Directories.
What are the different types of error?
Syntax Errors, Runtime , Logic
why are collections better than arrays?
- A collection objects uses less Memory than an array.
- It provides methods to add and delete members.
- It does not required reason statement when objects are added or deleted.
- It does not have boundary limitations.
what is set value?
Set Value is assigned to ActiveX Object from the form.
what is let value?
Let Value is retried to ActiveX Object from the form.
what is get value?
Get- Assigns the value of an expression to a variable or property.
what are the Different type of Instantiation?
Private Only for the Specific Module. Public not creatable Private & Public Multi Use - Variable we have to declare. Single Use Not possible through dll. Global Multiuse Have variable not Required to Declare. Global Single Use - Only for exe.
What is the diff. Between function and sub procedures??
Function will return value but a sub procedure wont return values
What is difference between datagrid and flexgrid?
Datagrid Editable. Flexigrid Non-Editable. (Generally used for Read only purpose.)
What is the diff between the Create Object and Get object?
Create Object - To create an instance of an object.
Get Object To get the reference to an existing object.
What are types of binding?
Early Binding -Memory size is allotted while declaring itself. New Key word is important.
Late Binding - Memory size is allotted in later stage.
What is ADO?
ActiveX Data Object
Different type of Passing Value?
By value, By ref, Optional, Param Array
what is a class?
A class describes the variables, properties, procedures, and events of an object.
what is an object?
An object is a combination of code and data that can be treated as a unit
what is a base class?
A base class (inheritance) defines BOTH the code and the names of methods and properties.
What is an abstract class
An abstract class implements NO CODE it only defines the name of methods and properties
what is a static variable
A static variable continues to exist and retains its most recent value. The variable is not reinitialized still holds the latest value that you assigned to it. A static variable continues to exist for the lifetime of the class or module that it is defined in
what is binary compatibility?
Setting Binary Compatibility makes VB keep all Class and Interface Ids
what breaks binary compatibility?
changes that would alter the interface