Docstoc

How to Face Interview

Document Sample
How to Face Interview Powered By Docstoc
					How to Face Interview - Frequently Asked Questions
1.) If Interview Asks a question and if i dont know the answer,what i have to do?can i say wrong answer? If you don‟t know the answer for the question asked by the interviwer , never say wrong answer.Tak atleast few seconds and say , i am sorry sir/madam , at this moment i haven‟t able to answer you , i will make sure that i will update my knowledge soon. The above points makes you to present frankness and your presentation abilities. your

2.) What to answer and what not to answer for "Tell me something about you"? hi,This kind of questions are best answered by focusing on 5 to 6 strong selling points of yours. when asking this question, the interview is not looking for your history of school work and employment but kind of giving you a chance to sell yourself in about 60 seconds. Why 60 seconds? Try to limit your answers to 60 seconds as far as possible because if you go on talking about your past at length then the interviewer might loose interest in you and the interview might end at that very point. The answer should include your achievements, skills and talents that would enable you to succeed in the position that is being discussed. Make a short, organized statement of your education and professional achievements and professional goals. Then, briefly describe your qualifications for the job and the contributions you could make to the organization.

1

3.) Would you be willing to relocate if required? If I get a better learning opportunity & growth, then certainly yes. Otherwise, I have to think how much it is feasible from organization's point of view. 4.) What if we don't hire you? Well, your current position will still remain open and you have to interview atleast one more person. It may be difficult for you to find a more dedicated and knowledgable person than myself. As for me, I have to continue my search for excellent and best in Class Company where I can get challenging and rewarding work experiance. I thought we had win-win situation. 5.) If you were hiring a person for this job, what would you look for? In my point of view I would recommend the following things: 1. Required skills for the role. 2.Can work in team 3.Pro-activeness 4.Loyalty to the work. 6.) Speak about yourself professionally? You should highlight your projects and your experience with other companies if you have worked with other comapnies

2

HR - Frequently Asked Questions
1.) How much salary Your Expecting? Answer1: I would expect a salary which reflects the experience and qualifications that I bring to the role. Answer 2: I‟ve got a strong background in this industry and my skills are a perfect match for this role. I would expect my compensation to be at the upper end of the position‟s salary band. Answer 3: Based on the information I have about the position, a salary in the range 15,000 - 18,000 would reflect the experience and expertise that I would bring to the role. 2.) Why did you take HR as a specialization? Basically i am a peoples person and enjoy interacting with different levels of people which is a basic requisite for any HR Personnel.Even i belive i can excel in people management too and hence for me HR is the right field where i can utilise my skills 3.) What kind of person would you refuse to work with? This is a very tricky question to test your attitude to others. So you must start the answer in a positive note.Eg., Well, I am a person, who can work with all kinds of people. However, I feel bit uncomfortable to work with persons of selfish and ingratitude in nature.

3

4.) What have you done to improve your knowledge in the last year? Every should learn from his mistake. I always try to consult my mistakes with my kith and kin especially with elderly and experienced person. 5.) What is more important to you: the money or the work? Money and work both are like believe when you work hard; money So work is more important than work can help you put another success cap. siblings. But I will flow to you. money. Only hard feather in your

6.) Why do you want to join in industry? Industry is a place where the gradutes have the opportunity to apply thier skills n knowledge which they learn from their respective institutions.so feel industry is a best way for a person to applying their practical knowledge. 7.) Are you a team player? while answering this question, try to keep yourself on both sides. For example, if the interviewer asks if you prefer to work alone or on a team, he may be trying to get you to say you are one way or the other. But you don't have to play this game. The reality is that most jobs require us to work both independently and in teams. Your response to this question should show that you have been successful in both situations or (In case you dont find yourself comfy with team work say this) - I beleive in individual work recognition [this would not put your weakness in front of others that strongly, Remember people who take interviews are super masters, do not fool them]

4

C/C++
1.) How To Split an Image File In C Launguage? To split an image file various logics are there.the best logic in such a way that take the size of the file using c file functions and split into the pieces how many required by asking the input. 2.) What is the difference between an ARRAY and a LIST? Array is collection of homogeneous elements. List is collection of heterogeneous elements. For Array memory allocated is static and continuous. For List memory allocated is dynamic and Random. Array: User need not have to keep in track of next memory allocation. List: User has to keep in Track of next location where memory is allocated. 3.)Define a constructor - what it is and how it might be called? constructor is a member function of the class, with the name of the function being the same as the class name. It also specifies how the object should be initialized 4.)Define a constructor - what it is and how it might be called? constructor is a member function of the class, with the name of the function being the same as the class name. It also specifies how the object should be initialized Ways of calling constructor: 1) Implicitly: automatically by complier when an object is created. 2) Calling the constructors explicitly is possible, but it makes the code unverifiable.
5

5.)You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. new() and malloc()? 1.) “new and delete” are preprocessors while “malloc() and free()” are functions. [we dont use brackets will calling new or delete]. 2.) no need of allocate the memory while using “new” but in “malloc()” we have to use “sizeof()”. 3.) “new” will initlize the new memory to 0 but “malloc()” gives random value in the new alloted memory location [better to use calloc()]. 6.)Explain term POLIMORPHISM? POLYMORPHISM : A phenomenon which enables an object to react differently to the same function call. in C++ it is attained by using a keyword virtual 7.)What are 2 ways of exporting a function from a DLL? 1.Taking a reference to the function from the DLL instance. 2. Using the DLL‟s Type Library 8.)Describe PRIVATE, differences? PROTECTED and PUBLIC – the

The Difference Between The private Public And Protected member are: public methods/attributes are accessible to all classes. protected are accessible to class and derived classes. private are only for class (not for derived classes)

6

Java
1.) Difference between Enumeration and Iteration? Both will help you to travel into collection bag, but Enumeration is a legacy classes, Iterator have introduced in Collection framework. In enumeration we can modify the collection objects but throw Iterator it is possible. Enumeration can be used for Collection objects as well as Iterator can be used for legacy classes. Enumeration acts as Readonly interface, where as using Iterator we can manipulate the objects also like adding and removing the objects. So Enumeration is used whenever we want to make Collection objects as Read-only. 2.) What’s Volatile? the difference between Transient and

Transient: The transient modifier applies to variables only and it is not stored as part of its object‟s Persistent state. These variables are not serialized. Transient instance fields are neither saved nor restored by the standard serialization. You have to handle restoring them yourself. Volatile: Volatile modifier tells the compiler that the variable modified by volatile can be changed unexpectedly by other parts of the program. For example a Variable might be read from Cache and not update the content if it has been changed by another thread. Specifying a variable as volatile tells the JVM that any threads using that variable are not allowed to cache that value at all. Making the Variable Volatile will ensure that the compiler will get the content of the variable every time it is used and not cache its content. If not used Carefully this modifier might introduce bugs.

7

3.) Is JVM platform dependent? Although java is platform independent but still JVM IS platform dependent one of the feature called byte code makes JVM platform dependent. Byte code is an intermediate machine code of compiled source code. The byte code can run on all machines, however the JVM must be installed in each machine. 4.) What are wrapper wrapper classes? classes? Why do we need

Java provides specialized classes corresponding to each of the primitive data types. These are called wrapper classes. They are Boolean, Byte, Character, Double, Float, Integer, Long, and Short. We can create instances of these classes hence we can store them in any of the collection classes and pass them around as a collection. Also we can pass them around as method parameters where a method expects an object. 5.) What are Checked and Unchecked Exception? A checked exception is generally known as Compiletime Exception. Checked exception forces client programmers to deal with the possibility that the exception will be thrown hence the programmer has to handle these types of exceptions. e.g., IOException thrown by java.io.FileInputStream‟s read( ) method. Where as Unchecked exceptions are Runtime Exception. With an unchecked exception, however, the compiler doesn‟t force client programmers either to catch the exception or declare it in a throws clause. In fact, client programmers may not even know that the exception could be thrown. e.g., StringIndexOutOfBounds Exception thrown by String‟s charAt () method· Checked exceptions must be caught

8

at compile time but Runtime exceptions do not need to be. 6.) What is deadlock and how it can be avoid? Deadlock is a situation when two threads are waiting on each other to release a resource. Each thread waiting for a resource, which is held by the other waiting thread. In Java, this resource is usually the object lock obtained by the synchronized keyword. 7.) What is the difference between interface and abstract class? Difference between interface and abstract: All the methods declared inside interface should be abstract, and there is no need to use the key word “abstract” for those method, but in case of abstract class at least one method should be abstract, most importantly u have to use the “abstract” key word for that method, besides that it may contain concrete methods. Abstract class must be extended abstract () methods generally contain only declaration part without definition part. 8.) Why are there no global variables in Java? Global variables are variety of reasons:


considered

bad

form

for

a



Adding state variables breaks referential transparency (you no longer can understand a statement or expression on its own: you need to understand it in the context of the settings of the global variables). State variables lessen the cohesion of a program: you need to know more to understand how something works. A major point of ObjectOriented programming is to break up global

9



state into more easily understood collections of local state. When you add one variable, you limit the use of your program to one instance. What you thought was global, someone else might think of as local: they may want to run two copies of your program at once.

9.) What are the steps in the JDBC connection? For making a JDBC connection we need to go through the following steps: Step 1: Register the database driver by using: Class.forName (\” driver class for that specific database\”); Step 2 : Create a database connection using: Connection con = DriverManager.getConnection (url, username, password); Step 3: Create a query using: Statement stmt = Connection.Statement (\”select * from TABLE NAME\”); Step 4: Exceute Stmt.exceuteUpdate (); 10.) What is an enumeration? An enumeration is an interface which containing methods for accessing the underlying data structure. It is a construct which collection classes return when you request a collection of all the objects stored in the collection. It allows sequential access to all the elements stored in the collection. the query:

10

11.) How Application is differ from Applet? Applications:
 

Applications are Stand Alone and the doesn‟t need web-browser. Execution of Applications starts with main ().

Applets:




Needs no explicit installation on local machine. Can be transferred through Internet on to the local machine and may run as part of web-browser. Execution Applets starts with init () method and it must run within a GUI, it may be AWT / Swing.

12.) What is CDC? The Connected Device Configuration (CDC) is a specification for a J2ME configuration. Conceptually, CDC deals with devices with more memory and processing power than CLDC; it is for devices with an always-on network connection and a minimum of 2 MB of memory available for the Java system. 13.) What is the MIDP? The MIDP defines a set of APIs for mobile devices, such as cell phones and low-end PDAs 14.) What is variable typing in javascript? It is perfectly legal to assign a number to a variable and then assign a string to the same variable as follows Example: i = 10; i = “string”;
11

15.) What does a well-written java program look like? A well-written java program exhibits recurring structures that promote abstraction, flexibility, modularity and elegance.

LINUX
1.) Is UNIX and Linux Both Are same? No,Both are different.But Both are writen in POSIX standards , thats why lots of authors used to refer as same, but strictly saying both are differnt. 2.) Tell The Two Boot loader Names in Linux? The Most Popular Boot Loaders are…
 

LILO GRUB

3.)What is the major advantage of a hash table? The major advantage of a hash table is its speed. Because the hash function is to take a range of key values and transform them into index values in such a way that the key values are distributed randomly across all the indices of a hash table. 4.)What is NFS? What is its job? NFS stands for Network File System. NFS filesystems physically residing on one system to be used by other computers network, appearing to users on the remote just another local disk. enables computer in the host as

5.)What is the main advantage of creating links to a file instead of copies of the file?

12

The main advantage is not really that it saves disk space (though it does that too) but, rather, that a change of permissions on the file is applied to all the link access points. The link will show permissions of lrwxrwxrwx but that is for the link itself and not the access to the file to which the link points. Thus if you want to change the permissions for a command, such as su, you only have to do it on the original. With copies you have to find all of the copies and change permission on each of the copies. 6.)In Linux OS, what is the file server? The file server is a machine that shares its disk storage and files with other machines on the network 7.)Which field is used to define the user’s default shell? command-The last field, called either command or login command, is used to specify what shell the user will use when he logs in. 8.)What is LILO? LILO stands for Linux boot loader. It will load the MBR, master boot record, into the memory, and tell the system which partition and hard drive to boot from..

VB
1.) What is AddressOf? AddressOf is used to pass the address of a Visual Basic procedure to an API call out of a DLL such as EnumWindows. 2.) What is Marshaling?
13

The process of packing and sending parameters across process boundaries. 3.) What is a property bag?

interface

A Property Bag object holds information that is to be saved and restored across invocations of an object. 4.) what is Option Implicit? Option Explicit has 2 values ON and OFF deafult value is ON -Option Explicit means - All the variables should be declared before its use. Else it shows error..it is a good practice to use this. 5.) what is Option Implicit? Option Explicit has 2 values ON and OFF deafult value is ON -Option Explicit means - All the variables should be declared before its use. Else it shows error..it is a good practice to use this. 6.) What does option Explicit means? All the variable which are used witing the program need to be declared when you use this option 7.) How do we call MS- Excel in VB? after selecting Microsoft excel library in refrence section we can create object for excel by CreateObject ("Excel.Application") 8.) What are the record set types? RdOpenFowardOnly 0 (Default used only for the read only purpose) RdOpenStatic 1 RdOpenDynamic 2 RdOpenKeySet 3 (Normally used for the live project)

14

9.) What is Seek Method which type of record set is available this? Only in DbOpenTables. Syntax: rs.index = “empno” rs.seek “=” , 10 If with our setting the rs.index then run time error will occur. 10.) What is the diff between RDO and ADO? RDO is Hierarchy model where model. ADO can access data from well as the data bases.I.e., It DAO, RDO, OLE that is why we Technology. as ADO is Object both flat files as is encapsulation of call it as OLE-DB

Computer Networks - Frequently Asked Questions
1.) What is The A Port Number? A Port Number is allocated by the operating system (or can be requested) , in such a way to identify the pocess in a standalone system or a network.default Port Number for FTP is 21. 2.) What is a default gateway? The exit-point from one network and entry-way into another network, often the router of the network. 3.) What is DHCP? DHCP is a protocol which is designe for Automatic Give the IP Address to DHCP client.. DHCP Assine the IP Address for few days Lease & capture the clients MAC address.. It is Updated version of BootP…
15

4.) What is a default gateway? The exit-point from one network and entry-way into another network, often the router of the network. 5.) How do you set a default route on an IOS Cisco router? ip route 0.0.0.0 0.0.0.0 x.x.x.x represents the destination address] [where x.x.x.x

6.) What is the difference between a domain local group and a global group? Domain local groups grant permissions to objects within the domain in which the reside. Global groups contain grant permissions tree or forest wide for any objects within the Active Directory 7.) What is LDAP used for? LDAP is a set of protocol used for providing access to information directories. 8.) What tool have you used to create and analyze packet captures? Network Monitor in Win2K / Win2K3, Ethereal Linux, OptiView Series II (by Fluke Networks). 9.) What is the significance of the 255.255.255.255? in

IP address

The limited broadcast address is utilized when an IP node must perform a one-to-everyone delivery on the local network but the network ID is unknown

16

Data StructureAsked Questions
1.) What is Heap data structure?

Frequently

The binary heap data structures is an array that can be viewed as a complete binary tree. Each node of the binary tree corresponds to an element of the array. The array is completely filled on all levels except possibly lowest. 2.) What are the major data structures used in the following areas : RDBMS, Network data model & Hierarchical data model? 1. RDBMS Array (i.e. Array of structures) 2. Network data model Graph 3. Hierarchical data model Trees. 3.) Why is the isEmpty() member method called? The isEmpty() member method is called within the dequeue process to determine if there is an item in the queue to be removed i.e. isEmpty() is called to decide whether the queue has at least one element. This method is called by the dequeue() method before returning the front element. 4.) What method is used to place a value onto the top of a stack? push() method, Push is the direction that data is being added to the stack. push() member method places a value onto the top of a stack. 5.) What is Linked List ? Linked List is one of the fundamental data structures. It consists of a sequence of? nodes, each containing arbitrary data fields and one or

17

two (”links”) pointing to the next and/or previous nodes. A linked list is a self-referential datatype because it contains a pointer or link to another data of the same type. Linked lists permit insertion and removal of nodes at any point in the list in constant time, but do not allow random access. 6.) Difference between calloc and malloc? malloc: allocate n bytes calloc: allocate m times n bytes initialized to 0 7.) How many statement? parts are there in a declaration

There are two main parts, variable identifier and data type and the third type is optional which is type qualifier like signed/unsigned. 8.) What is the difference bitween NULL AND VOID pointer? NULL can be value for pointer type variables. VOID is a type identifier which has not size. NULL and void are not same. Example: void* ptr = NULL;

Oops Questions

Frequently

Asked

1.) Why JAVA is known as securable language? There are two reasons behind this. The first one is, as JAVA runs in JVM, which is a virtual machine, and it converts source code to byte code, which is not understandable for humans, so its safe. The second reason is JAVA does not support the Pointer concept, hence we can say that JAVA is a securable language.

18

2.) What is the necessity of Interface? As java is a Partially Object Oriented language, and it does not support the multiple inheritance concepts, it creates problem for the developers. To over come this situation JAVA provides Interface concept for multiple inheritance. 3.) What is Abstraction? An essential element of object-oriented programming is abstraction. Abstraction is the process to hide the complexity. A powerful way to manage abstraction is through the use of hierarchical classifications. This allows programmer to understand the semantics of complex system. 4.) What is Polymorphism? The meaning of Polymorphism is something like one name many forms. Polymorphism enables one entity to be used as general category for different types of actions. The specific action is determined by the exact nature of the situation. The concept of polymorphism can be explained as “one interface, multiple methods”. 5.) What is Inheritance? Inheritance is the process of basing one class on another. In this process, a base class provides methods, properties, and other members to a derived class. The advantage of inheritance is that you can write and maintain code once it is in the base class and reuse it over and over in the derived classes. But the main draw back of Java is it doesn‟t support multiple Inheritances; hence to over come this draw back Java provides us the Interface concept. 6.) What is Object Oriented Programming Language ?

19

The language, which obeys all the basic principles of Object Oriented Programming, which are Encapsulation, Inheritance and Polymorphism, is generally known as Object Oriented Programming Language. Languages like c++ and java are some well-known Object Oriented Programming Languages. 7.) What is Encapsulation? Encapsulation is a process of binding or wrapping the data and the codes that operates on the data into a single entity. This keeps the data safe from outside interface and misuse. 8.) What is Class and Object? A class defines the abstract characteristics of a thing (object), including the thing‟s characteristics, like its attributes or properties and the things it can do .The code for a class should be relatively self-contained. Collectively, the properties and methods defined by a class are called members. Object a particular instance of a class. Object holds the characteristics of the Class. The set of values of the attributes of a particular object is called its state. 9.) Is JAVA a completely Programming Language? Object Oriented

The answer to this question is certainly no. The reason behind this is JAVA does not obey the OOPs concept purely. Certain concepts like Operator over loading and Multiple Inheritance are not supported by JAVA. Hence JAVA is known as Partially Object Oriented Programming Language.

20

HTML Questions


Frequently

Asked

1.) The main difference between XML and HTML? XML was designed to describe data and to focus on what data is. HTML was designed to display data and to focus on how data looks . HTML is about displaying information, while XML is about describing information. The tags used to mark up HTML documents and the structures of HTML documents are predefined. XML allows the author to define his own tags and his own document structure.

  

2.) What are META tags? META tags areuseful for Web developers and serch engines. They can be used to identify the creator of the page, what HTML specs the page follows, the keywords and description of the page, and the refresh parameter (which can be used to cause the page to reload itself, or to load another page). 3.) Why is XHTML needed? Isn't HTML good enough? HTML is probably the most successful document markup language in the world. But when XML was introduced, a two-day workshop was organised to discuss whether a new version of HTML in XML was needed. The opinion at the workshop was a clear 'Yes': with an XML-based HTML other XML languages could include bits of XHTML, and XHTML documents could include bits of other markup languages. We could also take advantage of the redesign to clean up some of the more untidy parts of HTML, and add some new needed functionality, like better forms.

21

4.) Why do you say "user agent" everywhere, instead of "browser"? Although browsers are indeed important users of HTML and XHTML, there are other programs and systems that read those documents. Search engines for instance read documents, but are not browsers. By using the term "user agent" we are trying to remind people of the difference.For example, when you do a Google search often you will see under some of the search results something like "This web page uses frames, but your browser doesn't support them." therefore surely frightening off some people from clicking on that link.The author of the website in question hasn't realised that there are more than just browsers, and that they ought to include better text in their section, so that they don't appear so foolish when people search their site. 5.) How do I add scrolling text to my page? Keep in mind not all browsers support scrolling text. however to do this add a tag similar to the

below example. The above example would create the below scrolling text. If your browser supports scrolling text the below example should be scrolling. 6.) How do I do multiple colors of text? To do the multicolor text adjust the color of your font tag as shown below. blue 7.) How do I make a link to another web page?

22

Specify the complete URL in the A HREF tag as shown below. Visit ComputerHope Replace our address with the address that you would like to link. Where it says "Visit ComputerHope" replace this what you want to name the link. 8.) What is Semantic HTML? Semantic HTML means using HTML tags for their implied meaning, rather than just using (meaningless) div and span tags for absolutely everything. Why would you want to do this? Depending on the tag, the content in the tag can be interpreted in a certain way. 9.) What is Document Type Definition? Document Type Defination (DTD) specifies the syntax of a web page in SGML,It is used to specify rules that apply to the markup of the document of a particular type,including a set of element and entity declarations. 10.) What is DIV in HTML? DIV is same as span but it has an additional property of align in it with the help of which we can align the text within it,furhter if we want to palce our code anywhere in our page we use DIV tag and our code within it. 11.) What is HEAD in HTML document? The head of an HTML document is an unordered collection of information about the document. The HEAD contains general information, or metainformation, about the document. The head appears first in a document above the BODY.

23

12.) What are the differences between cell spacing and cell padding? Cell Padding: Cell padding is used for formatting purpose which is used to specify the space needed between the edges of the cells and also in the cell contents. Cell Spacing: Cell spacing is one also used f formatting but there is a major difference between cell padding and cell spacing. It is as follows: Cell padding is used to set extra space which is used to separate cell walls from their contents. But in contrast cell spacing is used to set space between cells. 13.) What are the attributes that make up a DHTML? DHTML is called as Dynamic HTML. This is used to increase the interactive ability and the visual effect of the web pages which is loaded in the browser.

Java Script - Frequently Asked Questions
1.) What Boolean JavaScript? A) && (AND) B) || (OR) C)! (NOT) D) All the above. E) None of the above. Ans: E) operators are not supported by

24

2.) What is a number in JavaScript, derived by dividing negative number by zero called? A) Negative finite. B) Negative imperfect. C) Negative infinity. D) None of the above. Ans: c) 3.) What does is Nan function do? A) Return true if the argument is not a number. B) Return true if the argument is a number. C) Return true if the argument is divided by zero. D) Return true if the argument is a perfect square. Ans: A) 4.) How to declare the methods in Javascript? Methods are objects. Example: script type=”text/javascript”>var str=”Hello world!” document.write(str.toUpperCase()) In the above example UpperCase() print the string in Uppercases. method is used to the actions that can be performed on

5.) What is variable typing in javascript? It is perfectly legal to assign a number to a variable and then assign a string to the same variable as follows

25

Example: i = 10; i = “string”; 6.) What is JavaScript? Mention its various types. JavaScript is a platform-independent, event-driven, interpreted client-side scripting .The various types are Number, String, Boolean, Function, Object, Null, Undefined. 7.) How do I print JavaScript output? JavaScript programs cannot directly access printers. However, the user can print out everything on the Web page, including the output of JavaScript programs, by using the File | Print menu of the browser. How can I prevent an html page from being printed by a browser? Include a style sheet reference or a style sheet section with a media type of print. Set a rule for BODY with one entry, display:none. 8.) How to add a combo box dynamically at run time in Java script? for (var { document.forms[0].cmb1.options[i]= Option("Test"+i,i) } i=0;i<5;i++) new

9.) What are the security related issues in JavaScript scripts? Basically the source code visible when we select the part of the code is javascripts can be disabled of the Javascript will be source,hence the javascript fully transparent.Secondly on the browser easily.

10.) What is negative infinity? It‟s a number in JavaScript, negative number by zero. derived by dividing

26

11.) How to read and write a file using javascript? I/O operations like reading or writing a file is not possible with client-side javascript. However , this can be done by coding a Java applet that reads files for the script.

VB Script Questions

-

Frequently

Asked

1.) What is the use of datepart keyword? Returns the specified part of a given date. 2.) What is the use of step keyword? Using the Step keyword, you can increase or decrease the counter variable by the value you specify. 3.) Which command is used for writing text on a page? Document. Write (text) 4.) What is the scope of a variable ? The scope of a variable defines whether a variable will be accessible in the whole function or will be accessed only to its local instance.I have defined earlier in the tutorials that they can also be deemed as a local variables or can be deemed as a global variables. For < Dim Sub Dim End < ex. script > name cmdclickme_OnClick age Sub script >
27

/

It is clear from the above example about the scope of the variable that the variable name will be available to the whole script as it is declared outside sub procedure so enhance his behaviour to the global as compared to the variable name age which is defined inside the sub procedure hence making his behaviour local and will be only accessed in this sub procedure only. 5.) How to Add VB script to web pages ? There are scripting languages like Javascript and Vbscript and they are designed as an extension to html language.The Web browsers like Microsoft Internet Explorer receives the scripts along with the rest of the web page document. It is the browser responsibility to parse and process the scripts. These scripts are widely used as a client side scripting languages. 6.) How to Assign values to a variable ? How to Assign values to a variable ? Ans: Simple you have to declare a variable name and assign any value. For ex. Name = Chandra Status=False Age=30 Now all the above variables has been assigned values.This is a simple way to declare and assign related values to a variable. 7.) How do VBScript? you create a recordset object in

First of all declare a variable to hold the Recordset object, ex- Dim objRsNow, Create this varible as a Recordset object, exSet objRs=Server.CreateObject(ADODB.RECORDSET)

28

8.) What is the use of Option Explicit in VBScript? When you use the Option Explicit statement, you must explicitly declare all variables using the Dim, Private, Public, or ReDim statements. If you attempt to use an undeclared variable name, an error occurs.Use Option Explicit to avoid incorrectly typing the name of an existing variable or to avoid confusion in code where the scope of the variable is not clear.

XML Questions

Frequently

Asked

1.) DOM Interfaces and DOM Implementations? The DOM specifies interfaces, which may be used to manage XML or HTML documents. It is important to realize that these interfaces are an abstraction they are a means of specifying a way to access and manipulate an application‟s internal representation of a document. Interfaces do not imply a particular concrete implementation. Each DOM application is free to maintain documents in any convenient representation, as long as the interfaces shown in this specification are supported. 2.) The main difference between XML and HTML?




XML was designed to describe data and to focus on what data is. HTML was designed to display data and to focus on how data looks . HTML is about displaying information, while XML is about describing information. The tags used to mark up HTML documents and the structures of HTML documents are predefined. · XML allows the author to define his own tags and his own document structure.

29

3.) What are the services that should not be used in a Clustered Environment? A) File Services B) Time services C) Web logic events D) All the above. E) None of the above. Ans: D) 4.) The process of propagating the changes in the properties of a server group during runtime to all the associated clones is called? A) Ruther‟s Effect. B) Simpson‟s Effect. C) Ripple Effect. D) None of the above. Ans: C) 5.) Horizontal Scaling is: A) When Clones of an application server are defined on multiple physical machines. B) When Clones of an application server are defined on single physical machines. C) When no Clones of an application server are defined on any physical machines. D) None of the above.

30

Ans: A) 6.) What is Document Type Definition? A Document Type Definition (DTD) is a set of syntax rules for tags. It tells about what tags can use in a document, what order they should appear in, which tags can appear inside other ones, which tags have attributes, and so on. 7.) What is a Namespace? A namespace is a collection of element and attribute names identified by a Uniform Resource Identifier reference. The reference may appear in the root element as a value of the xmlns attribute. 8.) What is meant by XML? The „XML‟ stands dor Xtensible Markup Language‟.It is used to create and define own tags and attributes. 9.) Give a few examples of types of applications that can benefit from using XML? There are literally thousands of applications that can benefit from XML technologies. The point of this question is not to have the candidate rattle off a laundry list of projects that they have worked on, but, rather, to allow the candidate to explain the rationale for choosing XML by citing a few real world examples. For instance, one appropriate answer is that XML allows content management systems to store documents independently of their format, which thereby reduces data redundancy. Another answer relates to B2B exchanges or supply chain management systems. In these instances, XML provides a mechanism for multiple companies to exchange data according to an agreed upon set of rules. A third common response involves

31

wireless applications that require WML to render data on hand held devices 10.) When constructing an XML DTD, how do you create an external entity reference in an attribute value? when using SGML, XML DTDs don't support defining external entity references in attribute values. It's more important for the candidate to respond to this question in a logical way than than the candidate know the somewhat obscure answer. 11.) How would you build a search engine for large volumes of XML data? The way candidates answer this question may provide insight into their view of XML data. For those who view XML primarily as a way to denote structure for text files, a common answer is to build a full-text search and handle the data similarly to the way Internet portals handle HTML pages. Others consider XML as a standard way of transferring structured data between disparate systems. These candidates often describe some scheme of importing XML into a relational or object database and relying on the database's engine for searching. Lastly, candidates that have worked with vendors specializing in this area often say that the best way the handle this situation is to use a third party software package optimized for XML data. 12.) What is SOAP and how does it relate to XML? The Simple Object Access Protocol (SOAP) uses XML to define a protocol for the exchange of information in distributed computing environments. SOAP consists of three components: an envelope, a set of encoding rules, and a convention for representing remote procedure calls. Unless experience with SOAP is a direct requirement for
32

the open position, knowing the specifics of the protocol, or how it can be used in conjunction with HTTP, is not as important as identifying it as a natural application of XML. 13.) What are the rules for making a tag name in XML? Rules for making a tag name are 1.It should start with a letter or underscore( _ ) 2.There are no reserved words , but however xml(in any case) should not be used as a tag name 3.It can include digits, hyphen,periods, ':' can be used but best avoided because it is used for the name space

Hardware Questions

Frequently

Asked

1.) Windows explorer is not working , what might be the problem and how you will fix? If The successful login is not letting the administrator to enter into the starting screen , then there will be missing of the browseui.dll,that file should be reinstalled to get the windows explorer working back. 2.) What are the components with which the Cisco Aironet components can associate? Not all Aironet devices can associate with all other types of Aironet devices. For instance, the Client Adapter card cannot form a wireless association with a Workgroup Bridge (WGB). Refer to Cisco Aironet Hardware Association Matrix for a complete description of association capabilities.

33

3.) What are the different Aironet APs available? Cisco Aironet Cisco Aironet Cisco Aironet 1240 Cisco Aironet 1230 Cisco Aironet Cisco Aironet 1130 Cisco Aironet Cisco Aironet 1000 Series

platforms 1500 1300 AG AG 1200 AG 1100

of

Cisco Series Series Series Series Series Series Series

4.) WHAT MACS ARE UPGRADEABLE TO THE POWERPC? Apple will provide logic board replacements for all Centris, Quadra and WorkGroup Server models except the Quadra 700,900 and 950. There should also be logic board replacements for the IIvx, IIvi, LC 475, 520, 550, and 575, Performa 475,476, 550, and 600. Upgraded AV Macs will lose their special video capabilities, at least initially. Apple will also make available PowerPC processor upgrade boards that fit into the PDS slots of the Quadra 605, 610, 650, 700, 800, 900, and 950 as well as the Centris 610 and 650 and the Performa 475 and 476. Macs upgraded via a PDS card run at twice the speed of the system clock. Thus a 25 MHz 68040 Mac with a PDS accelerator will become a 50 MHz PowerMac. You'll be able to disable the accelerator if you have old software that's not PowerPC compatible or that just plain runs faster on the older hardware. 68030 desktop Macs with expansion slots will be upgradeable via third party accelerator cards. Daughtercard upgrades for the Powerbook 500 and Duo 280 series will be available sometime late this summer or early fall. 5.) CAN I ADD AN FPU TO MY MAC? CAN I REPLACE THE 68LC040 WITH A 68040?

34

All 68020 and 68030 desktop Macs that did not ship with an FPU standard (i.e. the IIsi and LC series) have special slots that can accommodate an FPU card. All Macs that have the FPUless 680LC40 CPU run just fine if that chip is replaced with a full 68040 that includes an FPU. All PowerPC Macs include an integrated FPU. There is no way to add only an FPU to a 68000 Mac like an SE though some third party accelerators do include FPU's as well as faster CPU's. 6.) WHAT'S VRAM? Video RAM is where the computer stores the images displayed on your screen. On some earlier Macs with built-in video (Mac 128, IIci) this was kept in main memory. However it's considerably more efficient and faster to store the screen image in its own separate RAM. Generally the more VRAM you have the more colors or shades of gray you can display and the larger the monitors you can use. The chart below shows the number of colors that can be displayed at a given resolution with the specified amount of VRAM. 7.) What is Exchange Server 2007? Exchange Server 2007 is the next version of Exchange Server, the industry's leading server for e-mail, calendaring, and unified messaging. The release of Exchange Server 2007 is closely aligned with the Microsoft Office 2007 wave of products, which together deliver a best-in-class enterprise messaging and collaboration solution. 8.) What does it mean to "power cycle" a device? Power cycling way of saying a device, you again. Pretty an electronic device is a technical "resetting" it. When you power cycle turn it off and then turn it back on high-tech, huh? Usually, you should
35

let the device sit for a couple seconds after turning it off to make sure the memory in the device is fully cleared before turning it back on. Any electronic device can be power cycled, but the term is frequently used with cable modems, DSL modems, and routers. This is because small internal errors in these devices can prevent them from functioning correctly. Resetting them typically fixes the errors and allows them to work correctly again. 9.) What does it mean when a computer is "low on resources?" The resources a computer has are mainly processing speed, hard disk storage, and memory. The phrase "low on resources" usually means the computer is running out of memory. The best way to prevent this error from coming up is to install more RAM on your machine. Upgrading your RAM is the best performance booster you can give your computer, and it usually doesn't cost a lot

36


				
DOCUMENT INFO
Shared By:
Categories:
Tags: Face, Interview
Stats:
views:191
posted:9/1/2009
language:English
pages:36
Description: Tips for facing Interviews