Interview Tips Interview Tips, Interview Questions and Answers

29Jun/110

What is OOP?

OOPs - Object Oriented Programming Languages & Systems
Everything in the world is an object. The type of the object may vary. In OOPS, we get the power to create objects of our own, as & when required. OOPs is a programming methodology where each entity is an object.
It is a method of computer programming where entities of related data together with routines associated with it are treated as one object in the program.

27Mar/110

What is Bugzilla?

Bugzilla is Defect Tracking Systems allow individual or groups of developers to keep track of outstanding bugs in their product effectively. Bugzilla is a open-source bug-tracking software.
Bugzilla offers superior performance on commodity hardware, better price (free!), more developer- friendly features (such as stored queries, email integration, and platform independence), improved scalability, open source code, greater flexibility, and superior ease-of-use.

8Mar/110

What is analytical or analytic mean?

If someone is analytical then it means the person is always thinking about things - analyzing, pondering, etc. A person who is analytical will have all of the facts about something before doing it.

Analytical is one of the 4 types of people. The other 3 are Promoters, Supporters and Controllers. Most everyone has a portion of every personality trait, but resembles 1-2 for the majority.

3Feb/110

CreateTextFile in VBScript

Method: CreateTextFile
Description: Creates a specified file name and returns a TextStream object that can be used to read from or
write to the file
Use: Set objFile = objFolde.CreateTextFile(filename[, overwrite[, Unicode]])
Arguments: objFolder
Required. The name of a Folder Object previously instantiated.
filename
Required. A string expression that identifies the file to create
overwrite
Optional. Boolean value that indicates whether you can overwrite an existing file. The value is
True if the file can be overwritten, False if it can't be overwritten. If omitted, existing files are
not overwritten (default False).
unicode
Optional. Boolean value that indicates whether the file is created as a Unicode or ASCII file. If
the value is True, the file is created as a Unicode file. If the value is False, the file is created
as an ASCII file. If omitted, an ASCII file is assumed.

31Jan/110

CopyFile in VBScript

Description: Copies one or more files from one location to a new location
Use: fso.CopyFile (source, destination[, overwrite])
Arguments: fso
Required. The name of a FileSystemObject object previously instantiated.
source
Required. A character string file specification, which can include wildcard characters, for one
or more files to be copied.
destination
Required. Character string destination where the file or files from source are to be copied.
Wildcard characters are not allowed in the destination string.
overwrite
Optional. Boolean value that indicates if existing files are to be overwritten. If True, files are
overwritten; if False, they are not. The default is True. Note that CopyFile will fail if
destination has the read-only attribute set, regardless of the value of overwrite.

28Jan/110

Randomize in VBScript

Randomize uses number to initialize the Rnd function's random-number generator, giving it a
new seed value. If you omit number, the value returned by the system timer is used as the new
seed value. If Randomize is not used, the Rnd function (with no arguments) uses the same
number as a seed the first time it is called, and thereafter uses the last generated number as a
seed value.
To repeat sequences of random numbers, call Rnd with a negative argument immediately before
using Randomize with a numeric argument. Using Randomize with the same value for number
does not repeat the previous sequence

25Jan/110

Property Set in VBScript

Property Set is very similar to Property Let except that the Property Set procedure is used exclusively for object-based properties. If not explicitly specified using either Public or Private, Property Set procedures are public by default, that is, they are visible to all other procedures in your script. The value of local variables in a Property Set procedure is not preserved between calls to the procedure. You can't define a Property Set procedure inside any other procedure (e.g. Function or Property Let). The Exit Property statement causes an immediate exit from a Property Set procedure. Program execution continues with the statement that follows the statement that called the Property Set procedure. Any number of Exit Property statements can appear anywhere in a Property Set procedure. Like a Function and Property Get procedure, a Property Set procedure is a separate procedure that can take arguments, perform a series of statements, and change the value of its arguments. However, unlike a Function and Property Get procedure, both of which return a value, you can only use a Property Set procedure on the left side of an object reference assignment (Set statement). Note: Every Property Set statement must define at least one argument for the procedure it defines. That argument (or the last argument if there is more than one) contains the actual object reference for the property when the procedure defined by the Property Set statement is invoked. That argument is referred to as reference in the preceding syntax.