General Flashcards

1
Q

What is an algorithm?

A

A logical series of steps that solve a problem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is an in-process component?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is an out-process component?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the main components of the ADO object model?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Why we use Treeview Control?

A

To list the hierarchical list of the node objects. Such of files and Directories.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the different types of error?

A

Syntax Errors, Runtime , Logic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

why are collections better than arrays?

A
  1. A collection objects uses less Memory than an array.
  2. It provides methods to add and delete members.
  3. It does not required reason statement when objects are added or deleted.
  4. It does not have boundary limitations.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what is set value?

A

Set Value is assigned to ActiveX Object from the form.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what is let value?

A

Let Value is retried to ActiveX Object from the form.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

what is get value?

A

Get- Assigns the value of an expression to a variable or property.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

what are the Different type of Instantiation?

A
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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the diff. Between function and sub procedures??

A

Function will return value but a sub procedure wont return values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is difference between datagrid and flexgrid?

A

Datagrid Editable. Flexigrid Non-Editable. (Generally used for Read only purpose.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the diff between the Create Object and Get object?

A

Create Object - To create an instance of an object.

Get Object To get the reference to an existing object.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are types of binding?

A

Early Binding -Memory size is allotted while declaring itself. New Key word is important.
Late Binding - Memory size is allotted in later stage.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is ADO?

A

ActiveX Data Object

17
Q

Different type of Passing Value?

A

By value, By ref, Optional, Param Array

18
Q

what is a class?

A

A class describes the variables, properties, procedures, and events of an object.

19
Q

what is an object?

A

An object is a combination of code and data that can be treated as a unit

20
Q

what is a base class?

A

A base class (inheritance) defines BOTH the code and the names of methods and properties.

21
Q

What is an abstract class

A

An abstract class implements NO CODE it only defines the name of methods and properties

22
Q

what is a static variable

A
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
23
Q

what is binary compatibility?

A

Setting Binary Compatibility makes VB keep all Class and Interface Ids

24
Q

what breaks binary compatibility?

A

changes that would alter the interface

25
Q

what is ok to do once binary compatibility has been set?

A

add methods

26
Q

What is COM?

A

component object model

27
Q

what is instantiating a class?

A

creating an instance of an object

28
Q

when would you use a combo box?

A

when you need to display a drop-down list with many items

29
Q

what is a list box

A

displays the items all at once in a text area

30
Q

what are ocx files

A

a type of dll

31
Q

what is OLE?

A

Object Linking and Embedding

32
Q

what is an array?

A

An array is a consecutive group of memory locations that all have the same name and the same type. To refer to a particular location or element in the array, we specify the array name and the array element position number