Recent Articles

VB Interview Question-1 »

1. How do you register a component?
2. Name and explain the different compatibility types when creating a COM component.
3. Why iss it important to use source control software for source code?
4. What two methods are called from the ObjectContext object to inform MTS that the transaction was successful or unsuccessful?
5. What is the tool used to configure the port range and protocols for DCOM communications?
6. What does Option Explicit refer to?
7. What are the different ways to Declare and Instantiate an object in Visual Basic 6?
8. Name the four different cursor types in ADO and describe them briefly.
9. Name the four different locking type in ADO and describe them briefly.
10. Describe Database Connection pooling (relative to MTS )
11. What are the ADO objects? Explain them. Provide a scenario using three of them to return data from a database.
12. Under the ADO Command Object, what collection is responsible for input to stored procedures.
13. What are some benefits of using MTS?
14. What is the benefit of wrapping database calls into MTS transactions?
15. Describe and In Process vs. Out of Process component. Which is faster?
16. What are the main components of the ADO object model? How are they used?
17. What’s the difference between COM and DCOM?
18. What is a dual interface?
19. Can you have two dual interfaces in one class?
20. What is marshalling by value?
21. What is a multi-threaded apartment (MTA)? Single-threaded apartment (STA)?
22. Let’s assume we have object B and aggregated object C (in-proc server), created by B. Can you access any interface of B from C? What’s the difference between aggregated and contained objects?
23. What is ROT ? GIT ? Count pros and cons of both.
24. If you have an object with two interfaces, can you custom marshal one of them?
25. Is there a way to register in-proc server without regsvr32.exe?
26. What is VARIANT? Why and where would you use it?

.NET Localization/Globalization Interview Question »

What are satellite assemblies?
How do we generate Satellite assemblies?
What are AL.EXE and RESGEN.EXE?
What’s the use of resource manager class?
What precautions do we need to take while deploying satellite assemblies?
Can we get a strongly typed resource class rather than using resource manager?
Explain the fundamentals of “GetGlobalResourceObject” and “GetLocalResourceObject”?
What is Unicode and why was it introduced?
Does .NET support UNICODE and how do you know it supports?
What’s the difference between localization and globalization?
What architecture decisions you should consider while planning for international software’s?
How do we get the current culture of the environment in windows and ASP.NET?
Which are the important namespaces during localization and globalization?
What are resource files and how do we generate resource files?
Can resource file be in any other format other than resx extensions?
How is resource files actually used in project?
How can we use Culture Auto in project?
Can we sign a satellite assembly?
Can you explain collation sequence in sql server?
How do we define collation sequence for database and tables?
Can we change the order in a select query with a specified collation sequence?
Can you list best practices for globalization and localization?
Why is the culture set to the current thread?

JavaScript Interview Questions »

1. What should appear at the very end of your JavaScript? The script LANGUAGE=”JavaScript” tag
2. Which of the following can’t be done with client-side JavaScript?
3. Which of the following are capabilities of functions in JavaScript?
4. Why so JavaScript and Java have similar name?
5. When a user views a page containing a JavaScript program, which machine actually
6. ______ JavaScript is also called client-side JavaScript.
7. __________ JavaScript is also called server-side JavaScript.
8. What are variables used for in JavaScript Programs?
9. _____ JavaScript statements embedded in an HTML page can respond to user events
10. Which of the following is not a valid JavaScript variable name?
11. ______ tag is an extension to HTML that can enclose any number of JavaScript
12. How does JavaScript store dates in a date object?
13. Which of the following attribute can hold the JavaScript version?
14. What is the correct JavaScript syntax to write “Hello World”?
15. Which of the following way can be used to indicate the LANGUAGE attribute?
16. Inside which HTML element do we put the JavaScript?
17. What is the correct syntax for referring to an external script called ” abc.js”?
18. Which types of image maps can be used with JavaScript?
19. Which is the correct way to write a JavaScript array?
20. What does the noscript tag do?
21. If para1 is the DOM object for a paragraph, what is the correct syntax to change the text within the paragraph?
22. JavaScript entities start with _______ and end with _________.
23. Which of the following best describes JavaScript?
24. Choose the server-side JavaScript object?
25. Choose the client-side JavaScript object?
26. Which of the following is not considered a JavaScript operator?
27. ______method evaluates a string of JavaScript code in the context of the specified object.
28. Which of the following event fires when the form element loses the focus:
29. The syntax of Eval is ________________
30. JavaScript is interpreted by _________
31. Using _______ statement is how you test for a specific condition.
32. Which of the following is the structure of an if statement?
33. How to create a Date object in JavaScript?
34. The _______ method of an Array object adds and/or removes elements from an array.
35. To set up the window to capture all Click events, we use which of the following statement?
36. Which tag(s) can handle mouse events in Netscape?
37. ____________ is the tainted property of a window object.
38. To enable data tainting, the end user sets the _________ environment variable.
39. In JavaScript, _________ is an object of the target language data type that encloses an object of the source language.
40. When a JavaScript object is sent to Java, the runtime engine creates a Java wrapper of type ___________
41. _______ class provides an interface for invoking JavaScript methods and examining JavaScript properties.
42. _________ is a wrapped Java array, accessed from within JavaScript code.
43. A ________ object is a reference to one of the classes in a Java package, such as netscape.javascript .
44. The JavaScript exception is available to the Java code as an instance of __________
45. The syntax of a blur method in a button object is ______________
46. The syntax of capture events method for document object is ______________
47. The syntax of close method for document object is ______________

SAP R/3 Interview Questions »

Can you create a table with fields not referring to data elements?
YES. eg:- ITAB LIKE SPFLI.here we are referening to a data object(SPFLI) not data element.
What are the different types of data dictionary objects? tables, structures, views, domains, data elements, lock objects, Match code objects.

What should be the approach for writing a BDC program?
STEP 1: CONVERTING THE LEGACY SYSTEM DATA TO A FLAT FILE to internal table CALLED “CONVERSION”.
STEP 2: TRANSFERING THE FLAT FILE INTO SAP SYSTEM CALLED “SAP DATA TRANSFER”.
STEP 3: DEPENDING UPON THE BDC TYPE
i)call transaction(Write the program explicity)
ii) create sessions (sessions are created and processed.if success data will transfer).

What are the problems in processing batch input sessions and How is batch input process different from processing online?
PROBLEMS:
i) If the user forgets to opt for keep session then the session will be automatically removed from the session queue(log remains). However if session is processed we may delete it manually.
ii)if session processing fails data will not be transferred to SAP database table.

What does an extract statement do in the ABAP program?
Once you have declared the possible record types as field groups and defined their structure, you can fill the extract dataset using the following statements: EXTRACT. When the first EXTRACT statement occurs in a program, the system creates the extract dataset and adds the first extract record to it. In each subsequent EXTRACT statement, the new extract record is added to the dataset EXTRACT HEADER. When you extract the data, the record is filled with the current values of the corresponding fields. As soon as the system has processed the first EXTRACT statement for a field group , the structure of the corresponding extract record in the extract dataset is fixed. You can no longer insert new fields into the field groups and HEADER. If you try to modify one of the field groups afterwards and use it in another EXTRACT statement, a runtime error occurs. By processing EXTRACT statements several times using different field groups, you fill the extract dataset with records of different length and structure. Since you can modify field groups dynamically up to their first usage in an EXTRACT statement, extract datasets provide the advantage that you need not determine the structure at the beginning of the program.

Can a transparent table exist in data dictionary but not in the data base physically?
NO. TRANSPARENT TABLE DO EXIST WITH THE SAME STRUCTURE BOTH IN THE DICTIONARY AS WELL AS IN THE DATABASE,EXACTLY WITH THE SAME DATA AND FIELDS.

What is the step by step process to create a table in data dictionary?
step 1: creating domains(data type, field length, range).
step 2: creating data elements(properties and type for a table field).
step 3: creating tables(SE11).

What is the typical structure of an ABAP/4 program?
HEADER ,BODY,FOOTER.

A situation: An ABAP program creates a batch input session. We need to submit the program and the batch session in back ground. How to do it?
go to SM36 and create background job by giving job name, job class and job steps (JOB SCHEDULING)

What are the domains and data elements?
DOMAINS : FORMAL DEFINITION OF THE DATA TYPES.THEY SET ATTRIBUTES SUCH AS DATA TYPE,LENGTH,RANGE.
DATA ELEMENT : A FIELD IN R/3 SYSTEM IS A DATA ELEMENT.

What is the alternative to batch input session?
Call transaction.

What is a batch input session?
BATCH INPUT SESSION is an intermediate step between internal table and database table. Data along with the action is stored in session ie data for screen fields, to which screen it is passed, program name behind it, and how next screen is processed.

What is the advantage of structures? How do you use them in the ABAP programs?
Adv:- GLOBAL EXISTANCE(these could be used by any other program without creating it again).

ASP.NET Interview Question & Answers »

1.Describe the role of inetinfo.exe, aspnet_isapi.dll and aspnet_wp.exe in the page loading process ?

inetinfo.exe is the Microsoft IIS server running, handling ASP.NET requests among other things. When an ASP.NET request is received (usually a file with .aspx extension), the ISAPI filter aspnet_isapi.dll takes care of it by passing the request to the actual worker process aspnet_wp.exe.

2. What’s the difference between Response.Write() and Response.Output.Write()?
Response.Output.Write() allows you to write formatted output.

3. What methods are fired during the page load?
Init() - when the page is instantiated
Load() - when the page is loaded into server memory
PreRender() - the brief moment before the page is displayed to the user as HTML
Unload() - when page finishes loading.

4. When during the page processing cycle is ViewState available?
After the Init() and before the Page_Load(), or OnLoad() for a control.

5. What namespace does the Web page belong in the .NET Framework class hierarchy?
System.Web.UI.Page

6. Where do you store the information about the user’s locale?
System.Web.UI.Page.Culture

7. What’s the difference between Codebehind=”MyCode.aspx.cs” and Src=”MyCode.aspx.cs”?
CodeBehind is relevant to Visual Studio.NET only.

8. What’s a bubbled event?

When you have a complex control, like DataGrid, writing an event processing routine for each object (cell, button, row, etc.) is quite tedious. The controls can bubble up their event handlers, allowing the main DataGrid event handler to take care of its constituents.

9. Suppose you want a certain ASP.NET function executed on MouseOver for a certain button. Where do you add an event handler?

Add an OnMouseOver attribute to the button. Example: btnSubmit.Attributes.Add(”onmouseover”,”someClientCodeHere();”);

10. What data types do the RangeValidator control support?

Integer, String, and Date.

11. Explain the differences between Server-side and Client-side code?

Server-side code executes on the server. Client-side code executes in the client’s browser.

12. What type of code (server or client) is found in a Code-Behind class?

The answer is server-side code since code-behind is executed on the server. However, during the code-behind’s execution on the server, it can render client-side code such as JavaScript to be processed in the clients browser. But just to be clear, code-behind executes on the server, thus making it server-side code.

13. Should user input data validation occur server-side or client-side? Why?

All user input data validation should occur on the server at a minimum. Additionally, client-side validation can be performed where deemed appropriate and feasible to provide a richer, more responsive experience for the user.

14. What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?

Server.Transfer transfers page processing from one page directly to the next page without making a round-trip back to the client’s browser. This provides a faster response with a little less overhead on the server. Server.Transfer does not update the clients url history list or current url. Response.Redirect is used to redirect the user’s browser to another page or site. This perform as a trip back to the client where the client’s browser is redirected to the new page. The user’s browser history list is updated to reflect the new address.

15. Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?

Valid answers are:

· A DataSet can represent an entire relational database in memory, complete with tables, relations, and views.

· A DataSet is designed to work without any continuing connection to the original data source.

· Data in a DataSet is bulk-loaded, rather than being loaded on demand.

· There’s no concept of cursor types in a DataSet.

· DataSets have no current record pointer You can use For Each loops to move through the data.

· You can store many edits in a DataSet, and write them to the original data source in a single operation.

· Though the DataSet is universal, other objects in ADO.NET come in different versions for different data sources.

16. What is the Global.asax used for?

The Global.asax (including the Global.asax.cs file) is used to implement application and session level events.

17. What are the Application_Start and Session_Start subroutines used for?

This is where you can set the specific variables for the Application and Session objects.

18. Can you explain what inheritance is and an example of when you might use it?

When you want to inherit (use the functionality of) another class. Example: With a base class named Employee, a Manager class could be derived from the Employee base class.

19. Whats an assembly?

Assemblies are the building blocks of the .NET framework.

20. Describe the difference between inline and code behind.

Inline code written along side the html in a page. Code-behind is code written in a separate file and referenced by the .aspx page

21. Explain what a diffgram is, and a good use for one?

The DiffGram is one of the two XML formats that you can use to render DataSet object contents to XML. A good use is reading database data to an XML file to be sent to a Web Service.

22. Whats MSIL, and why should my developers need an appreciation of it if at all?

MSIL is the Microsoft Intermediate Language. All .NET compatible languages will get converted to MSIL. MSIL also allows the .NET Framework to JIT compile the assembly on the installed computer.

23. Which method do you invoke on the DataAdapter control to load your generated dataset with data?

The Fill() method.

24. Can you edit data in the Repeater control?

No, it just reads the information from its data source.

25. Which template must you provide, in order to display data in a Repeater control?

ItemTemplate

Microprocessor Interview Question »

What is a Microprocessor? -
Microprocessor is a program-controlled device, which fetches the instructions from memory, decodes and executes the instructions. Most Micro Processor are single- chip devices.

Give examples for 8 / 16 / 32 bit Microprocessor? -
8-bit Processor - 8085 / Z80 / 6800; 16-bit Processor - 8086 / 68000 / Z8000; 32-bit Processor - 80386 / 80486.

Why 8085 processor is called an 8 bit processor? -
Because 8085 processor has 8 bit ALU (Arithmetic Logic Review). Similarly 8086 processor has 16 bit ALU.

For a single computer processor computer system, what is the purpose of a processor cache and describe its operation?
Explain the operation considering a two processor computer system with a cache for each processor.

What are the main issues associated with multiprocessor caches and how might you solve it?
Explain the difference between write through and write back cache.

Are you familiar with the term MESI?
Are you familiar with the term snooping?
Describe a finite state machine that will detect three consecutive coin tosses (of one coin) that results in heads

Interview Question On Project Management »

What is project management?
Why are project managers required?
What all activities come under project planning?
Who all are the stakeholders in a project?
How do you initiate projects? What all groups are involved? Is there any formal process adopted in your organization?
What all documents created for the project and their significance?
How do you identify the number of resources required for the project?
Explain different software development life cycles?
What are the contents of project management plan document?
What is a fish bone diagram ? What is Ishikawa diagram?
What is pareto principle ? What is80/20 principle?
What tools were used for configuration management?
How do you handle change request? What is internal change request?
What is the software you have used for project management?
What activities are performed while project closure?
What do you understand by defect prevention?
How is software shipment managed in the project?
How are the efforts estimated in the Project?
What methodology is used for estimations?
What do you understand by project risks?
How are project risks identified? How would you mitigate the same?
How to take care of hardware and software requirement for the project?
What are quality plans? What are the key objectives?
What are SCM plans? What are the key objectives?
What is meant by deviation?
What status reporting mechanism was used in the Project?
Explain project life cycle?
How many phases are there in software project?

PL/SQL Interview Questions »

How do you convert a date to a string?
What is an aggregate function?
What is the dual table?
What are cursors? Distinguish between implicit and explict cursors?
Explain how cursors are used by Oracle?
What is PL/SQL? Describe the block structure of PL/SQL?
What is a nested subquery?
What are the various types of queries ?
Which of the following is not a schema object : Index, table, public synonym, trigger and package ?
What is dynamic sql in oracle?
What is the difference between a package, procedure and function
What is the difference between delete, drop and truncating a table
How many triggers are supported in Oracle
Are you aware of FLASHBACK concept ? What is it?
Describe oracle’s logical and physical structure?
What is data dictionary
What is the use of control files
How would store XML data in table ? What data type would be used for the columns?
Difference between post and commit?
Difference between commit and rollback?
What are savepoints?
Difference between a View and Synonym
How would you fetch system date from oracle
What is the difference between primary key, unique key, foreign key?
What is the difference between NO DATA FOUND and %NOTFOUND
What is cursor for loop
What are cursor attributes
What will you use in Query : IN or EXISTS? Why
Explain the difference between a data block, an extent and a segment.
What’s the difference between logical and physical I/O?
What is an anonymous block?
What is a PL/SQL collection?

22 Important PHP Interview Questions »

1. Which of the following will not add john to the users array?
2. What’s the difference between sort(), assort() and ksort? Under what circumstances would you use each of these?
3. What would the following code print to the browser? Why?
4. What is the difference between a reference and a regular variable? How do you pass by reference & why would you want to?
5. What functions can you use to add library code to the currently running script?
6. What is the difference between foo() & @foo()?
7. How do you debug a PHP application?
8. What does === do? What’s an example of something that will give true for ‘==’, but not ‘===’?
9. How would you declare a class named “myclass” with no methods or properties?
10. How would you create an object, which is an instance of “myclass”?
11. How do you access and set properties of a class from within the class?
12. What is the difference between include & include_once? include & require?
13. What function would you use to redirect the browser to a new page?
14. What function can you use to open a file for reading and writing?
15. What’s the difference between mysql_fetch_row() and mysql_fetch_array()?
16. What does the following code do? Explain what’s going on there.
17. Given a line of text $string, how would you write a regular expression to strip all the HTML tags from it?
18. What’s the difference between the way PHP and Perl distinguish between arrays and hashes?
19. How can you get round the stateless nature of HTTP using PHP?
20. What does the GD library do?
21. Name a few ways to output (print) a block of HTML code in PHP?
22. Is PHP better than Perl? – Discuss.

.NET Assembly Interview Questions & Answer »

How is the DLL Hell problem solved in .NET?
Assembly versioning allows the application to specify not only the library it needs to run (which was available under Win32), but also the version of the assembly.

What are the ways to deploy an assembly?
An MSI installer, a CAB archive, and XCOPY command.

What is a satellite assembly?
When you write a multilingual or multi-cultural application in .NET, and want to distribute the core application separately from the localized modules, the localized assemblies that modify the core application are called satellite assemblies.

What namespaces are necessary to create a localized application?

System.Globalization and System.Resources.

What is the smallest unit of execution in .NET?
an Assembly.

When should you call the garbage collector in .NET?

As a good rule, you should not call the garbage collector. However, you could call the garbage collector when you are done using a large object (or set of objects) to force the garbage collector to dispose of those very large objects from memory. However, this is usually not a good practice.

How do you convert a value-type to a reference-type?
Use Boxing.

What happens in memory when you Box and Unbox a value-type?
Boxing converts a value-type to a reference-type, thus storing the object on the heap. Unboxing converts a reference-type to a value-type, thus storing the value on the stack.