Infosys .Net Interview
1. How do you rate yourself in .NET
2. What is caching and types of caching
Ans)
Caching is generally used to catch frequently accessed data. When u used catching at that time u have to depend upon certain variables like parameter, time etc..But one demerit of using catching is if you are using dynamic page at that time u will unable to get the updated value.
Types of catching:
1. Data caching
2. Output caching
3. Fragment caching
To improve the performance of Web Pages, we use Caching. Caching is a used for persisting data in memory for immediate access to the program calls. It has three types:
1. Output Caching - to fetch page level information and data
2. Fragment Caching - to cache the information of a structure level.
3. Application Caching - to fetch the information of an application.
3. What does VS.NET contains
VS.NET contains .NET FRAMEWORK includes Window form, Web Form, Base Class Libraries, CLR and Console applications
4. What is JIT, what are types of JITS and their purpose?
Ans) just-in-time compilation (JIT), also known as dynamic translation,
is a technique for improving the runtime performance of a computer program.
Computer programs had two modes of runtime operation,
Either interpreted or static compilation
Interpreted code is translated from a high-level language to a machine code continuously during every execution, whereas statically compiled code is translated into machine code before execution, and only requires this translation once.
JIT compilers represent a hybrid approach, with translation occurring continuously, as with interpreters, but with caching of translated code to minimize performance degradation. It also offers other advantages over statically compiled code at development time, such as handling of late-bound data types and the ability to enforce security guarantees.
The role of the Just-In-Time (JIT) compilers is to convert the bytecode into native code or the machine code for execution. The execution speed of the application is increased by the use of the JIT compilers. There are many JIT compilers. Some of them are LaTTe, Cacao, IBM JIT compiler, OpenJIT, SableJIT, and shuJIT.
5. What is SOAP, UDDI and WSDL
SOAP
A framework for exchanging XML-based information in a network SOAP used to be an acronym: Simple Object Access Protocol "This is no longer the case." (it is neither simple nor has anything to do with objects) the currently most hyped XML/Web service technology mostly just hot air...
WSDL (Web Service Description Language)
An XML-based language for describing network services WSDL descriptions of capabilities and locations of services like an interface description language for Web services communication using SOAP or direct HTTP
UDDI (Universal Description, Discovery, and Integration)
provides a registry mechanism for clients and servers to find each other uses SOAP for communication
http://www.ibm.com/developerworks/webservices/library/ws-wsdl/
6. What are clr? cts? cls?
All .NET applications are compiled into Intermediate Language code (MSIL). When executed on the CLR, MSIL is converted into native machine code specific to the operating platform. This process is done by a Just In Time (JIT) compiler. The code executed by the CLR is called as
Managed Code. This code is type safe and thoroughly checked by the CLR before being deployed. The .NET runtime also provides a facility to incorporate existing COM components
and DLL's into a .NET application. Code that is not controlled by the CLR is called Unmanaged Code.
The .NET Framework is further comprised of Common Type System (CTS) and Common Language Specification (CLS). The CTS defines the common data types used by .NET programming languages. The CTS tells you how to represent characters and numbers in a program. The CLS represents the guidelines defined by for the .NET Framework. These specifications are normally used by the compiler developers and are available for all languages, which target the .NET Framework.
Database
6. What is dataset?
Datasets store a copy of data from the database tables. However, Datasets cannot directly retrieve data from Databases. DataAdapters are used to link Databases with DataSets. If we see diagrammatically,
DataSets < ----- DataAdapters < ----- DataProviders < ----- Databases
DataSets and DataAdapters are used to display and manipulate data from databases
7. How do you optimize SQL queries
http://msdn.microsoft.com/en-us/library/ff650689.aspx
http://www.serverwatch.com/tutorials/article.php/2175621/How-to-Optimize-Queries-Theory-an-Practice.htm
General
8. Tell about yourself and job
9. Tell about current project
10. What are sequence diagrams, collaboration diagrams and difference between them?
Sequence diagrams emphasize the time ordering of messages, whereas collaboration diagrams depict more of an organizational structure and are more space efficient. Many UML tools will automatically convert from one diagram type to the other.
Sequence diagram is basically a flow chart w.r.t time. However, a collaboration diagram is very much the sequence diagram without any time. Collaboration diagrams basically show the interaction of the various objects.
11. What is your role in the current project and what kinds of responsibilities you are handling?
12. What is the team size and how do you ensure quality of code
13. What is the S/W model used in the project. What is the optimization techniques used? Give examples.
14. What are the SDLC phases you have involved
1. How do you rate yourself in .NET
2. What is caching and types of caching
Ans)
Caching is generally used to catch frequently accessed data. When u used catching at that time u have to depend upon certain variables like parameter, time etc..But one demerit of using catching is if you are using dynamic page at that time u will unable to get the updated value.
Types of catching:
1. Data caching
2. Output caching
3. Fragment caching
To improve the performance of Web Pages, we use Caching. Caching is a used for persisting data in memory for immediate access to the program calls. It has three types:
1. Output Caching - to fetch page level information and data
2. Fragment Caching - to cache the information of a structure level.
3. Application Caching - to fetch the information of an application.
3. What does VS.NET contains
VS.NET contains .NET FRAMEWORK includes Window form, Web Form, Base Class Libraries, CLR and Console applications
4. What is JIT, what are types of JITS and their purpose?
Ans) just-in-time compilation (JIT), also known as dynamic translation,
is a technique for improving the runtime performance of a computer program.
Computer programs had two modes of runtime operation,
Either interpreted or static compilation
Interpreted code is translated from a high-level language to a machine code continuously during every execution, whereas statically compiled code is translated into machine code before execution, and only requires this translation once.
JIT compilers represent a hybrid approach, with translation occurring continuously, as with interpreters, but with caching of translated code to minimize performance degradation. It also offers other advantages over statically compiled code at development time, such as handling of late-bound data types and the ability to enforce security guarantees.
The role of the Just-In-Time (JIT) compilers is to convert the bytecode into native code or the machine code for execution. The execution speed of the application is increased by the use of the JIT compilers. There are many JIT compilers. Some of them are LaTTe, Cacao, IBM JIT compiler, OpenJIT, SableJIT, and shuJIT.
5. What is SOAP, UDDI and WSDL
SOAP
A framework for exchanging XML-based information in a network SOAP used to be an acronym: Simple Object Access Protocol "This is no longer the case." (it is neither simple nor has anything to do with objects) the currently most hyped XML/Web service technology mostly just hot air...
WSDL (Web Service Description Language)
An XML-based language for describing network services WSDL descriptions of capabilities and locations of services like an interface description language for Web services communication using SOAP or direct HTTP
UDDI (Universal Description, Discovery, and Integration)
provides a registry mechanism for clients and servers to find each other uses SOAP for communication
http://www.ibm.com/developerworks/webservices/library/ws-wsdl/
6. What are clr? cts? cls?
All .NET applications are compiled into Intermediate Language code (MSIL). When executed on the CLR, MSIL is converted into native machine code specific to the operating platform. This process is done by a Just In Time (JIT) compiler. The code executed by the CLR is called as
Managed Code. This code is type safe and thoroughly checked by the CLR before being deployed. The .NET runtime also provides a facility to incorporate existing COM components
and DLL's into a .NET application. Code that is not controlled by the CLR is called Unmanaged Code.
The .NET Framework is further comprised of Common Type System (CTS) and Common Language Specification (CLS). The CTS defines the common data types used by .NET programming languages. The CTS tells you how to represent characters and numbers in a program. The CLS represents the guidelines defined by for the .NET Framework. These specifications are normally used by the compiler developers and are available for all languages, which target the .NET Framework.
Database
6. What is dataset?
Datasets store a copy of data from the database tables. However, Datasets cannot directly retrieve data from Databases. DataAdapters are used to link Databases with DataSets. If we see diagrammatically,
DataSets < ----- DataAdapters < ----- DataProviders < ----- Databases
DataSets and DataAdapters are used to display and manipulate data from databases
7. How do you optimize SQL queries
http://msdn.microsoft.com/en-us/library/ff650689.aspx
http://www.serverwatch.com/tutorials/article.php/2175621/How-to-Optimize-Queries-Theory-an-Practice.htm
General
8. Tell about yourself and job
9. Tell about current project
10. What are sequence diagrams, collaboration diagrams and difference between them?
Sequence diagrams emphasize the time ordering of messages, whereas collaboration diagrams depict more of an organizational structure and are more space efficient. Many UML tools will automatically convert from one diagram type to the other.
Sequence diagram is basically a flow chart w.r.t time. However, a collaboration diagram is very much the sequence diagram without any time. Collaboration diagrams basically show the interaction of the various objects.
11. What is your role in the current project and what kinds of responsibilities you are handling?
12. What is the team size and how do you ensure quality of code
13. What is the S/W model used in the project. What is the optimization techniques used? Give examples.
14. What are the SDLC phases you have involved