Issuu on Google+

Basic .NET Framework 1. What is an IL? 2. What is a CLR? 3. What is CTS? 4. What is a CLS (Common Language Specification)? 5. What is a Managed Code? 6. What is a Assembly? 7. What are the different types of Assembly? 8. What is NameSpace? 9. What is Difference between NameSpace and Assembly? 10. If you want to view an Assembly how do you go about it? 11. What is Manifest? 12. Where is version information stored of an assembly? 13. Is versioning applicable to private assemblies? 14. What is GAC? 15. What is the concept of strong names? 16. How to add and remove an assembly from GAC? 17. What is Delay signing? 18. What is garbage collection? 19. Can we force garbage collector to run? 20. What is reflection? 21. What are different types of JIT? 22. What are Value types and Reference types? 23. What is concept of Boxing and Unboxing? 24. What is the difference between VB.NET and C#? 25. What is the difference between System exceptions and Application exceptions? 26. What is CODE Access security? 27. What is a satellite assembly? 28. How to prevent my .NET DLL to be decompiled? 29. what is the difference between Convert.toString and .toString () method? 30. What is Native Image Generator (Ngen.exe)? 31. If we have two version of same assembly in GAC how do we make a choice? 32. What is CodeDom? .NET Interoperability 1. How can we use COM Components in .NET? 2. We have developed the COM wrapper do we have to still register the COM? 3. How can we use .NET components in COM? 4. How can we make Windows API calls in .NET? 5. When we use windows API in .NET is it managed or unmanaged code? 6. What is COM? 7. What is Reference counting in COM? 8. Can you describe IUKNOWN interface in short? 9. Can you explain what DCOM is? 10. How do we create DCOM object in VB6? 11. How to implement DTC in .NET? 12. How many types of Transactions are there in COM + .NET? 13. How do you do object pooling in .NET? 14. What are types of compatibility in VB6? 15. What is equivalent for regsvr32 exe in .NET?


Threading 1. What is Multi-tasking? 2. What is Multi-threading? 3. What is a Thread? 4. Did VB6 support multi-threading? 5. Can we have multiple threads in one App domain? 6. Which namespace has threading? 7. What does Address Of operator do in background? 8. How can you reference current thread of the method? 9. what is Thread.Sleep () in threading? 10. How can we make a thread sleep for infinite period? 11. What is Suspend and Resume in Threading? 12. What the way to stop a long running thread? 13. How do I debug thread? 14. What is Thread.Join () in threading? 15. What are Daemon threads and how can a thread be created as Daemon? 16. How is shared data managed in threading? 17. Can we use events with threading? 18. How can we know a state of a thread? 19. What is use of Interlocked class ? 20. What is a monitor object? 21. What are wait handles? 22. What is ManualResetEvent and AutoResetEvent? 23. What is Reader Writer Locks? 24. How can you avoid deadlock in threading? 25. What is the difference between thread and process? Remoting and Webservices 1. What is an application domain? 2. What is .NET Remoting? 3. Which class does the remote object has to inherit? 4. what are two different types of remote object creation mode in .NET ? 5. Describe in detail Basic of SAO architecture of Remoting? 6. What are the situations you will use singleton architecture in remoting? 7. What is fundamental of published or precreated objects in Remoting? 8. What are the ways in which client can create object on server in CAO model? 9. Are CAO stateful in nature? 10. To create objects in CAO with ‘new’ keyword what should be done? 11. Is it a good design practice to distribute the implementation to Remoting Client? 12. What are LeaseTime, SponsorshipTime, RenewonCallTime and LeaseManagerPollTime? 13. Which config file has all the supported channels/protocol? 14. How can you specify remoting parameters using Config files? 15. Can Non-Default constructors be used with Single Call SAO? 16. How can we call methods in remoting asynchronously? 17. What is Asynchronous One-Way Calls? 18. What is marshalling and what are different kinds of marshalling? 19. What is ObjRef object in remoting? 20. What is a Web Service? 21. What is UDDI? 22. What is DISCO?


23. What is WSDL? 24. What the different phase/steps of acquiring a proxy object in Web service? 25. What the different phase/steps of acquiring a proxy object in Web service? 26. What is file extension of Web services? 27. Which attribute is used in order that the method can be used as WebService? 28. What are the steps to create a web service and consume it? 29. Do webservice have state? Caching Concepts 1. What is an application object? 2. what is the difference between Cache object and application object? 3. How can get access to cache object? 4. What are dependencies in cache and types of dependencies? 5. Can you show a simple code showing file dependency in cache? 6. What is Cache Callback in Cache? 7. What is scavenging? 8. What are different types of caching using cache object of ASP.NET? 9. How can you cache different version of same page using ASP.NET cache object? 10. How will implement Page Fragment Caching? 11. Can you compare ASP.NET sessions with classic ASP? 12. Which are the various modes of storing ASP.NET session? 13. Is Session_End event supported in all session modes? 14. What are the steps to configure StateServer Mode? 15. What are the steps to configure SQLServer mode? 16. Where do you specify session state mode in ASP.NET? 17. What are the other ways you can maintain state? 18. What are benefits and Limitation of using Hidden fields? 19. What is ViewState? 20. Does the performance for viewstate vary according to User controls? 21. What are benefits and Limitation of using Viewstate for state management? 22. How can you use Hidden frames to cache client data ? 23. What are benefits and limitations of using Hidden frames? 24. What are benefits and limitations of using Cookies? 25. What is Query String and What are benefits and limitations of using Query Strings? 26. What is Absolute and Sliding expiration? 27. What is cross page posting? 28. How do we access viewstate value of this page in the next page ? 29. Can we post and access view state in another application? 30. What is SQL Cache Dependency in ASP.NET 2.0? 31. How do we enable SQL Cache Dependency in ASP.NET 2.0? 32. What is Post Cache substitution? 33. Why do we need methods to be static for Post Cache substitution? OOPS 1. 2. 3. 4. 5. 6.

What is Object Oriented Programming? What is a Class? What is an Object? What is the relation between Classes and Objects? What are different properties provided by Object-oriented systems? How can we achieve inheritance in VB.NET?


7. what are abstract classes? 8. What is a Interface? 9. What is difference between abstract classes and interfaces? 10. What is a delegate? 11. What are Events? 12. Do events have return type? 13. Can events have access modifiers? 14. Can we have shared events? 15. what is shadowing? 16. What is the difference between Shadowing and Overriding? 17. what is the difference between delegate and events? 18. If we inherit a class do the private variables also get inherited? 19. What is the different accessibility levels defined in .NET? 20. Can you prevent a class from overriding? 21. what is the use of “Must inherit” keyword in VB.NET? 22. Do interface have accessibility modifier? 23. What are similarities between Class and structure? 24. What is the difference between Class and structure’s? 25. What does virtual keyword mean? 26. What are shared (VB.NET)/Static(C#) variables? 27. What is Dispose method in .NET? 28. What is the use of “Overrides” and “Overridable” keywords? 29. Where are all .NET Collection classes located? 30. What is ArrayList? 31. What is a HashTable? 32. What are queues and stacks? 33. What is ENUM? 34. What is nested Classes? 35. What is Operator overloading in .NET? 36. For the below code which constructor will fire first? 37. What is the significance of Finalize method in .NET? 38. How can we suppress a finalize method? 39. What is the use of DISPOSE method? 40. How do I force the Dispose method to be called automatically, as clients can forget to call Dispose method? 41. In what instances you will declare a constructor to be private? 42. Can we have different access modifiers on get/set methods of a property ? 43. If we write a goto or a return statement in try and catch block will the finally block execute? 44. What is Indexer? 45. Can we have static indexer in C#? 46. Can two catch blocks be executed? 47. What is the difference between System.String and System.StringBuilder classes? ASP.NET 1. What’ is the sequence in which ASP.NET events are processed? 2. In which event are the controls fully loaded? 3. How can we identify that the Page is Post Back? 4. How does ASP.NET maintain state in between subsequent request? 5. What is event bubbling? 6. How do we assign page specific attributes? 7. How do we ensure viewstate is not tampered?


8. What is the use of @ Register directives? 9. What is the use of Smart Navigation property? 10. What is AppSetting Section in “Web.Config” file? 11. Where is View State information stored? 12. what is the use of @ Output Cache directive in ASP.NET? 13. How can we create custom controls in ASP.NET? 14. How many types of validation controls are provided by ASP.NET? 15. Can you explain “AutoPostBack”? 16. How can you enable automatic paging in Data Grid? 17. What is the use of “GLOBAL.ASAX” file? 18. What is the difference between “Web.config” and “Machine.Config”? 19. What is a SESSION and APPLICATION object? 20. What is the difference between ‘Server.Transfer’ and ‘response. Redirect’ ? 21. What is the difference between Authentication and authorization? 22. what is impersonation in ASP.NET? 23. Can you explain in brief how the ASP.NET authentication process works? 24. What are the various ways of authentication techniques in ASP.NET? 25. How does authorization work in ASP.NET? 26. What is difference between Data grid, Datalist, and repeater? 27. From performance point of view, how do they rate? 28. What is the method to customize columns in Data Grid? 29. How can we format data inside Data Grid? 30. How to decide on the design consideration to take a Data grid, data list, or repeater? 31. Difference between ASP and ASP.NET? 32. What are major events in GLOBAL.ASAX file? 33. What order they are triggered? 34. Do session use cookies? 35. How can we force all the validation control to run? 36. How can we check if all the validation control are valid and proper? 37. If client side validation is enabled in your Web page, does that mean server side code is not run.? 38. Which JavaScript file is referenced for validating the validators at the client side? 39. How to disable client side script in validators? 40. How can I show the entire validation error message in a message box on the client side? 41. You find that one of your validations is very complicated and does not fit in any of the validators, what will you do? 42. What exactly happens when ASPX page is requested from a browser? 43. How can we kill a user session? 44. How do you upload a file in ASP.NET? 45. How do I send email message from ASP.NET? 46. What are different IIS isolation levels? 47. ASP used STA threading model, what is the threading model used for ASP.NET.? 48. What is the use of <%@ page aspcompat=true %> attribute? 49. Explain the differences between Server-side and Client-side code? 50. Can you explain Forms authentication in detail? 51. How do I sign out in forms authentication? 52. If cookies are not enabled at browser end does form Authentication work? 53. How to use a checkbox in a data grid? 54. What are the steps to create a windows service in VB.NET? 55. What is the difference between “Web farms” and “Web garden”? 56. How do we configure “Web Garden”? 57. What is the main difference between Grid layout and Flow Layout? 58. What’s the difference between trace and debug in ASP.NET?


59. How do you enable tracing in on an ASP.NET page? 60. Which namespace is needed to implement debug and trace ? 61. Can you explain the concept of trace listener? 62. What are trace switches? NET Architecture 1. What are design patterns? 2. What is the difference between Factory and Abstract Factory Patterns? 3. What is MVC pattern? 4. How can we implement singleton pattern in .NET? 5. How do you implement prototype pattern in .NET? 6. What are the situations you will use a Web Service and Remoting in projects? 7. Can you give a practical implementation of FAÇADE patterns? 8. How can we implement observer pattern in .NET? 9. What is three-tier architecture? 10. Have you ever worked with Microsoft Application Blocks, if yes then which? 11. What is Service Oriented architecture? 12. What are different ways you can pass data between tiers? 13. What is Windows DNA architecture? 14. What is aspect oriented programming? ADO.NET 1. What is the namespace in which .NET has the data functionality class? 2. Can you give an overview of ADO.NET architecture? 3. What are the two fundamental objects in ADO.NET? 4. What is difference between dataset and data reader? 5. What are major difference between classic ADO and ADO.NET? 6. What is the use of connection object? 7. What is the use of command objects? 8. What is the use of data adapter? 9. What are basic methods of Data adapter? 10. What is Dataset object? 11. What are the various objects in Dataset? 12. How can we connect to Microsoft Access, FoxPro, and Oracle etc? 13. How do we connect to SQL SERVER, which namespace do we use? 14. How do we use stored procedure in ADO.NET and how do we provide parameters to the stored procedures? 15. How can we force the connection object to close after my data reader is closed? 16. I want to force the data reader to return only schema of the data store rather than data.? 17. How can we fine-tune the command object when we are expecting a single row? 18. Which is the best place to store connection string in .NET projects? 19. What are the steps involved to fill a dataset? 20. What are the various methods provided by the dataset object to generate XML? 21. How can we save all data from dataset? 22. How can we check that some changes have been made to dataset since it was loaded? 23. How can we add/remove row is in “Data Table” object of “Dataset”? 24. What is basic use of “Data View”? 25. What is the difference between “Dataset” and “Data Reader” ? 26. How can we load multiple tables in a Dataset? 27. How can we add relation between tables in a Dataset?


28. What is the use of Command Builder? 29. What’s difference between “Optimistic” and “Pessimistic” locking ? 30. How many ways are there to implement locking in ADO.NET? 31. How can we perform transactions in .NET? 32. What is difference between Dataset? Clone and Dataset. Copy? 33. Can you explain the difference between an ADO.NET Dataset and an ADO Record set? 34. Explain in detail the fundamental of connection pooling? 35. What is Maximum Pool Size in ADO.NET Connection String? 36. How to enable and disable connection pooling? 37. What extra features does ADO.Net 2.0 have ? SQL SERVER 1. What is normalization? What are different types of normalization? 2. What is denormalization? 3. What is a candidate key? 4. What are the different types of joins? What is the difference between them? 5. What are indexes? What is the difference between clustered and nonclustered indexes? 6. How can you increase SQL performance? 7. What is the use of OLAP? 8. What is a measure in OLAP? 9. What are dimensions in OLAP? 10. What are levels in dimensions? 11. What are fact tables and dimension tables in OLAP? 12. What is DTS? 13. What is fill factor ? 14. What is RAID and how does it work? 15. What is the difference between DELETE TABLE and TRUNCATE TABLE commands? 16. If locking is not implemented, what issues can occur? 17. What are different transaction levels in SQL SERVER? 18. What are the different locks in SQL SERVER? 19. Can we suggest locking hints to SQL SERVER? 20. What is LOCK escalation? 21. What are the different ways of moving data between databases in SQL Server? 22. What are advantages of SQL 2000 over SQl 7.0? 23. What is the difference between a HAVING CLAUSE and a WHERE CLAUSE? 24. What is the difference between UNION and UNION ALL SQL syntax? 25. How can you raise custom errors from stored procedure? 26. what is ACID fundamental? What are transactions in SQL SERVER? 27. What is DBCC? 28. What is the purpose of Replication? 29. What are the different types of replication supported by SQL SERVER? 30. What is BCP utility in SQL SERVER? 31. What are the different types of triggers in SQl SERVER? 32. If we have multiple AFTER Triggers on table how can we define the sequence of the triggers? 33. What is SQL injection? 34. What is the difference between Stored Procedure (SP) and User Defined Function (UDF)? UML 1. What is UML? 2. How many types of diagrams are there in UML?


3. What are advantages of using UML? 4. What is the sequence of UML diagrams in project? 5. Give a small brief explanation of all Elements in activity diagrams? 6. Explain Different elements of a collaboration diagram? 7. Explain all parts of a deployment diagram? 8. Describe the various components in sequence diagrams? 9. What are the elements in State Chart diagrams? 10. Describe different elements in Static Chart diagrams? 11. Explain the different elements of a Use Case? Project Management 1. What is project management? 2. Is spending in IT projects constant through out the project? 3. Who is a stakeholder? 4. Can you explain project life cycle? 5. Are risk constant through out the project? 6. Can you explain different software development life cycles? 7. What is triple constraint triangle in project management? 8. What is a project baseline? 9. What is effort variance? 10. How is normally a project management plan document organized? 11. How do you estimate a project? 12. What is CAR (Causal Analysis and Resolution)? 13. What is DAR (Decision Analysis and Resolution)? 14. What is a fish bone diagram? 15. What is Pareto principle? 16. How do you handle change request? 17. What is internal change request? 18. What is difference between SITP and UTP in testing? 19. Which software have you used for project management? 20. What are the metrics followed in project management? 21. People in your project do not peform , what will you do? 22. What is black box testing and White box testing? 23. What is the difference between Unit testing, Assembly testing and Regression testing? 24. What is V model in testing? 25. How do you start a project? 26. How did you do resource allocations? 27. How will you do code reviews? 28. What is CMMI? 29. What are the five levels in CMMI? 30. What is continuous and staged representation? 31. What is SIX sigma? 32. What are DMAIC and DMADV? 33. What are the various roles in Six Sigma implementation? 34. What are function points? 35. What are the different types of elementary process in FPA? 36. What are the different elements in Functions points? 37. Can you explain in GSC and VAF in function points? 38. What are unadjusted function points and how is it calculated? 39. Can you explain steps in function points? 40. What is the FP per day in your current company?


41. Do you know Use Case points? 42. What is COCOMO I, COCOMOII and COCOMOIII? 43. What is SMC approach of estimation? 44. How do you estimate maintenance project and change requests? XML 1. What is XML? 2. What is the version information in XML? 3. What is ROOT element in XML? 4. If XML does not have closing tag will it work? 5. Is XML case sensitive? 6. What is the difference between XML and HTML? 7. Is XML meant to replace HTML? 8. Can you explain why your project needed XML? 9. What is DTD (Document Type Definition)? 10. What is well formed XML? 11. What is a valid XML? 12. What is CDATA section in XML? 13. What is CSS? 14. What is XSL? 15. What is element and attributes in XML? 16. Which are the namespaces in .NET used for XML? 17. What are the standard ways of parsing XML document? 18. In What scenarios will you use a DOM parser and SAX parser? 19. How was XML handled during COM times? 20. What is the main difference between MSML and .NET Framework XML classes? 21. What are the core functionalities in XML .NET framework? Can you explain in detail those functionalities? 22. What is XSLT? 23. Define XPATH? 24. What is the concept of XPOINTER? 25. What is an XMLReader Class? 26. What is XMLTextReader? 27. How do we access attributes using “XmlReader”? 28. Explain simple Walk through of XmlReader? 29. What does XmlValidatingReader class do? Localization/Globalization 1. What is Unicode & Why was it introduced? 2. Does .NET support UNICODE and how do you know it supports? 3. What is the difference between localization and globalization? 4. What architecture decisions you should consider while planning for international software’s? 5. How do we get the current culture of the environment in windows and ASP.NET? 6. Which are the important namespaces during localization and globalization? 7. What are resource files and how do we generate resource files? 8. Can resource file be in any other format other than resx extensions? 9. How is resource files actually used in project? 10. How can we use Culture Auto in project? 11. What are satellite assemblies? 12. How do we generate Satellite assemblies?


13. What is AL.EXE and RESGEN.EXE? 14. What is the use of resource manager class? 15. What precautions do we need to take while deploying satellite assemblies? 16. Can we get a strongly typed resource class rather than using resource manager? 17. Can you explain the fundamentals of “GetGlobalResourceObject” and “GetLocalResourceObject” functions? 18. Can we sign a satellite assembly? 19. Can you explain collation sequence in sql server? 20. How do we define collation sequence for database and tables? 21. Can we change the order in a select query with a specified collation sequence? 22. Can you list best practices for globalization and localization? 23. Why is the culture set to the current thread? 24. Windows Communication Foundation 25. What are the important principles of SOA (Service oriented Architecture)? 26. What are ends, contract, address, and bindings? 27. Which specifications does WCF follow? 28. What are the main components of WCF? 29. Explain how Ends, Contract, Address, and Bindings are done in WCF? 30. what is a service class? 31. what is a service contract, operation contract and Data Contract? 32. what are the various ways of hosting a WCF service? 33. How do we host a WCF service in IIS? 34. what are the advantages of hosting WCF Services in IIS as compared to self-hosting? 35. what are the major differences between services and Web services? 36. What is the difference WCF and Web services? 37. What are different bindings supported by WCF? 38. Which are the various programming approaches for WCF? 39. What is one-way operation? 40. Can you explain duplex contracts in WCF? 41. How can we host a service on two different protocols on a single server? 42. How can we use MSMQ bindings in WCF? 43. Can you explain transactions in WCF? 44. What different transaction isolation levels provided in WCF? 45. Can we do transactions using MSMQ? 46. Can we have two-way communications in MSMQ? 47. What are Volatile queues? 48. What are Dead letter queues? 49. What is a poison message? 50. Windows Presentation Framework 51. What is WPF? 52. What is XAML? 53. What are dependency properties? 54. Are XAML file compiled or built on runtime? 55. Can you explain how we can separate code and XAML? 56. How can we access XAML objects in behind code? 57. What kind of documents are supported in WPF? 58. Windows workflow foundation 59. What is Windows Workflow Foundation? 60. What is a Workflow? 61. What are different types of Workflow in Windows Workflow foundation? 62. when should we use a sequential workflow and when should we use state machines? 63. How do we create workflows using designer?


64. How do we specify conditions in Work flow? 65. How do you handle exceptions in workflow? 66. What is the use of XOML files. 67. How can we pass parameters to workflow? ATLAS-AJAX 1. What problem does Ajax solve? 2. What is Ajax? 3. What is the fundamental behind Ajax? 4. What is JSON? 5. How do we use XMLHttpRequest object in JavaScript? 6. How do we do asynchronous processing using Ajax? 7. What are the various states in XMLHttpRequest and how do we check the same? 8. How can we get response text? 9. How can we send request to the server using the XMLHttpRequest component? 10. How do we pass parameters to the server? 11. How can we create a class in JavaScript using Atlas? 12. How do we do inheritance-using Atlas? 13. How do we define interfaces using Atlas? 14. How do we reference HTML controls using Atlas? 15. Can you explain Scriptmanager control in Ajax? 16. Can you explain Enablepartialrendering and UpdatePanel control in Ajax? 17. Can you explain the concept of triggers in ‘UpdatePanel’ control? 18. Can you explain the ‘UpdateProgress’ component? 19. How can you do validations in Ajax? 20. How do we do exception handling in Ajax? 21. How do we consume web service in Atlas? 22. How can we consume data directly in web services? Reports 1. How do we access crystal reports in .NET? 2. What are the various components in crystal reports? 3. What basic steps are needed to display a simple report in crystal? 4. Can crystal reports be published as a web service? 5. How do we invoke the crystal report web service? 6. How do we add formulas using crystal reports? 7. How do we pass parameters to crystal reports? 8. How do we export from crystal reports? 9. How do we print to printer using crystal? 10. How do we generate cross tab reports? 11. How can we do grouping in crystal? 12. Can you explain three-pass reporting which crystal report uses? 13. Can you explain reporting services architecture? 14. We have two IIS application ‘Reports’ and ‘Reportserver’ what do they do ? 15. Can you explain Report definition language (RDL) file in reporting services? 16. What is the basic process of making a report in reporting services? 17. How can we consume reports in ASP.NET? 18. Can you explain the difference between private and shared data sources? 19. How does reports caching in reporting services work ? 20. What are the major differences between Crystal and SQL reporting services?


ASP.NET 2.0 1. What improvements are provided in ASP.NET 2.0? 2. How does ASP.NET 2.0 eliminate tedious coding? 3. How do we encrypt web.config files in ASP.NET 2.0 ? 4. With the above technique can you encrypt everything in the web.config file? 5. In .NET 1.X how was the encryption implemented for config files? 6. Can you explain membership and role providers in ASP.Net 2.0? 7. What kind of security web controls are introduced in ASP.NET 2.0? 8. Can you explain master pages concept in ASP.NET? 9. what is the concept of Web parts? 10. What are the different components of the web part framework? 11. What are partial classes in ASP.NET ? 12. Can you explain generics in .NET ? 13. Can you explain the concept of generic collection? How to 1. How do you send a email using ASP.NET ? 2. How did you deployment and setup in ASP.NET ? .NET 3.5 1. Define LINQ ? 2. We already have common data access model what is special about LINQ? 3. How can you make entity classes from the table itself ? 4. How can we transform LINQ to objects ? 5. How to transform LINQ to ADO.NET ? 6. How to transform LINQ to SQL ? 7. How to transform LINQ to XML ? 8. How to transform LINQ to entities ? 9. Can you explain Delegate Instantiation? 10. Can you explain Anonymous methods ? 11. What is Yield in LINQ ? 12. Can you explain Lambda Expressions ? 13. What are Instance methods and Extension methods ? 14. What are Anonymous types ? 15. Revision of Simple Query syntax for LINQ ? 16. What is silver light? VB 1. How do you register a component? Expected answer: Compiling the component, running REGSVR32 MyDLL.dll 2. Name and explain the different compatibility types when creating a COM component. Expected answer: No Compatibility ? New GUID created, references from other components will not workProject Compatibility ? Default for a new component <Not as critical to mention this one>Binary Compatibility ? GUID does not change, references from other components will work


3. Why iss it important to use source control software for source code? Expected answer: Modification history.Code ownership: Multiple people can not modify the same code at the same time. 4. What two methods are called from the ObjectContext object to inform MTS that the transaction was successful or unsuccessful? Expected answer: SetComplete and SetAbort. 5. What is the tool used to configure the port range and protocols for DCOM communications? Expected answer: DCOMCONFIG.EXE 6. What does Option Explicit refer to? Expected answer: All variables must be declared before use. Their type is not required. 7. What are the different ways to Declare and Instantiate an object in Visual Basic 6? Expected answer: Dim obj as OBJ.CLASS with eitherSet obj = New OBJ.CLASS orSet obj = CreateObject(? OBJ.CLASS?) orSet obj = GetObject( ,? OBJ.CLASS?)orDim obj as New OBJ.CLASS 8. Name the four different cursor types in ADO and describe them briefly. Expected answer: The cursor types are listed from least to most resource intensive.Forward Only ? Fastest, can only move forward in recordset Static ? Can move to any record in the recordset. Data is static and never changes.KeySet ? Changes are detectable, records that are deleted by other users are unavailable, and records created by other users are not detectedDynamic ? All changes are visible. 9. Name the four different locking type in ADO and describe them briefly. Expected answer: LockPessimistic ? Locks the row once after any edits occur.LockOptimistic ? Locks the row only when Update is called.LockBatchOptimistic ? Allows Batch Updates.LockReadOnly ? Read only. Can not alter the data. 10. Describe Database Connection pooling (relative to MTS ) Expected answer: This allows MTS to reuse database connections. Database connections are put to ?sleep? as opposed to being created and destroyed and are activated upon request. 11. What are the ADO objects? Explain them. Provide a scenario using three of them to return data from a database. Expected answer: Connection ? Connects to a data source; contains the Errors collectionCommand ? Executes commands to the data source. Is the only object that can accept parameters for a stored procedure.Recordset ? The set of data returned from the database.Scenario: There are many possibilities. The most likely is as follows:Dim conn As ADODB.ConnectionDim rs As ADODB.RecordsetDim Cmd As ADODB.Commandconn.ConnectionString = ?CONNECTION STRING?conn.OpenSet Cmd.ActiveConnection = connCmd.CommandText = ?SQL STATEMENT? Set rs = Cmd.ExecuteSet rs.ActiveConnection = Nothingconn.Close 12. Under the ADO Command Object, what collection is responsible for input to stored procedures? Expected answer: The Parameters collection. 13. What are some benefits of using MTS? Expected answer: Database Pooling, Transactional operations, Deployment, Security, Remote Execution. 14. What is the benefit of wrapping database calls into MTS transactions? Expected answer: If database calls are made within the context of a transaction, aborting the transaction will undo and changes that occur within that transaction. This removes the possibility of stranded, or partial data. 15. Describe and In Process vs. Out of Process component. Which is faster? Expected answer:An inprocess component is implemented as a DLL, and runs in the same process space as its client app, enabling the most efficient communication between client and component.Each client app that uses the component starts a new instance of it.An out of process component is implemented as an EXE,


and unlike a dll, runs in its own process space. As a result, exeâ&#x20AC;&#x2122;s are slower then dllâ&#x20AC;&#x2122;s because communications between client and component must be marshalled across process boundaries. A single instance of an out of process component can service many clients. 16. What are the main components of the ADO object model? How are they used? Expected answer:Connection: Used to make a connection between your app and an external data source, ie, sql server.Command: Used to build queries, including user-specific parameters, to access records from a data source (which are returned in a Recordset)Recordset:Used to access records returned from an SQL query. With a recordset, you can navigate returned records. You can also add, modify or delete records.

VB6


1. What is the difference between modal and modaless form in VB? 2. Why we need a MDI form? How can we make a form as a mdichild form? 3. Specify technical & functional architecture of your last 2 projects. 4. What are the objects in ADODB? 5. What are different types of cursors in ADODB? 6. What are different types of locks in ADODB? 7. What is disconnected recordset? 8. Besides Standard Exe what are other types of projects in VB? 9. What is the difference among Standard EXE, Active-X DLL, Active-X EXE? 10. A standard exe contains a registered Active-X DLL. Now some error arise in the application but not in the standard exe , it is in the Active-X DLL. How do you find it out in which line no the error is? 11. How can we find out that a recordset is blank (without using recordcount property)? 12. What is the difference between procedure and functions in VB? 13. What are the differences between stored procedure and functions in SQL Server 2000? 14. I want to develop a stand alone application which can communicate with the existing applications in the system. On which this application should be based on: Standard Exe,Active-X Exe,Active-X Dll. 15. can we call stored Procedure in Function in Sql Server 2000 and vice versa. 16. What is an extended Stored Procedure? 17. What is Trigger? 18. Suppose I made an after Trigger on Delete. Now I fire Delete * From tablename. will this trigger work? Now do I fire truncate from table name (instead of delete command). will this trigger work now? If yes or no then why? 19. What is a view? is View updatable? 20. What is the difference between having and where clause? 21. Why we need a group by clause? 22. What is a join and their types? 23. What is the difference between referencing and joining? 24. What is the difference between constraints and triggers? 25. What is the maximum size of form to hold the controls? 26. Write the correct order of execution of following formâ&#x20AC;&#x2122;s events: initialization, Load, Activate, Refresh , Paint 27. What is ACID Property of Transaction?


28. How do we call MS- Excel in VB? 29. What does option Explicit means? 30. What is an index? 31. What is normalization and its forms? 32. What does Query_unload event do in VB? Why we need Form _unload event? 33. What is a cursor in SQL Server 2000 and their types? 34. How do we get month name in SQL Server 2000, Oracle, MS Access? 35. How do we return a record set from a Stored Procedure in SQl server 2000? 36. What are the magic tables in SQL Server 2000? 37. What is Enum in VB? There are 2 tables: EMP : EmpId, Ename, Sal, DeptId DEPT : DeptId, Dname 38. Write a query to find out emp names and their department names. if any emp has null in Deptid the it shows “No Department”. 39. Write a query to find out those department names which has no employee. 40. Write a query to find out those employees whose salary is greater than their department’s average salary. 41. How do we get current date in SQL Server 2000, Oracle, MS Access?


InterviewQS