USE THIS SEARCH BOX AND GET MORE QUESTIONS UPDATES

Showing posts with label Technical Interview. Show all posts
Showing posts with label Technical Interview. Show all posts

Sunday, February 24, 2019

Dynamic Programming

  1. What is Dynamic Language Runtime (DLR)?
    DLR is a runtime environment that allows you to integrate dynamic languages with the Common Language Runtime (CLR) by adding a set of services, such as expression trees, call site caching, and dynamic object interoperability to the CLR. 

    The System.Dynamic and System.Runtime.CompilerServices namespaces are used to hold the classes for DLR. It also provides dynamic features to statically-typed languages, such as C# and Visual Basic to enable their interoperation with dynamic languages.
  2. What are the advantages of DLR?
    The various advantages provided by DLR are:
    • Allows you to easily implement the dynamic languages to the .NET Framework.
    • Provides dynamic features to statically-typed languages. The statically-typed .NET Framework languages, such as C# and Visual Basic can create dynamic objects and use them together with statically-typed objects.
    • Implements sharing of libraries and objects, which means that the objects and libraries implemented in one language can be used by other languages using DLR. The DLR also enables interoperation between statically-typed and dynamic languages.
    • Enables fast execution of dynamic operations by supporting advance caching.
  3. Give a brief introduction to Binders.
    Binders are used by DLR to communicate with not the .NET Framework but also with various other services, such as Silverlight and COM. These services represent language-specific semantics and specify how a particular operation can be performed at the call site.

    Call sites refer to the area in the code where logical and mathematical operations, such as a + b or a.b() are performed on dynamic objects.
  4. Explain the different services provided by DLR to CLR.
    The services provided by DLR to CLR are used for supporting dynamic languages. These services include the following:
    • Expression Trees - Refers to the representation of code in a data structure similar to a tree. However, expression trees in DLR are the advanced version of the expression trees that were introduced with LINQ in .NET 3.5. Therefore, DLR has extended the functionalities of Language Integrated Query (LINQ) expression trees, such as control flow, assignment, and other language-modeling nodes to a dynamic language. These expression trees define the semantics of a language in form of an abstract syntax tree (AST). AST enables the DLR to dynamically generate code, which the CLR executes at runtime.
    • Call Site Caching - Enables the DLR to store the information of the operations and characteristics of the variables, such as their data type. The call site caching services also enables to check whether such operations have been performed previously to retrieve all the information about the variable. The place where DLR stores these values is called a call site.

Friday, February 22, 2019

Data Structures

  1. What is data structure?
    A data structure is a way of organizing data that considers not only the items stored, but also their relationship to each other. Advance knowledge about the relationship between data items allows designing of efficient algorithms for the manipulation of data.
  2. List out the areas in which data structures are applied extensively?
    1. Compiler Design,
    2. Operating System,
    3. Database Management System,
    4. Statistical analysis package,
    5. Numerical Analysis,
    6. Graphics,
    7. Artificial Intelligence,
    8. Simulation
  3. What are the major data structures used in the following areas : RDBMS, Network data model and Hierarchical data model.
    1. RDBMS = Array (i.e. Array of structures)
    2. Network data model = Graph
    3. Hierarchical data model = Trees

Saturday, January 5, 2019

Advanced Java

  1. What is a transient variable?
    A transient variable is a variable that may not be serialized.
  2. Which containers use a border Layout as their default layout?
    The Window, Frame and Dialog classes use a border layout as their default layout.
  3. Why do threads block on I/O?
    Threads block on I/O (that is enters the waiting state) so that other threads may execute while the I/O Operation is performed.

Friday, January 4, 2019

Networking Interview Questions and Answers

  1. Define Network?
    A network is a set of devices connected by physical media links. A network is recursively is a connection of two or more nodes by a physical link or two or more networks connected by one or more nodes.
  2. What is a Link?
    At the lowest level, a network can consist of two or more computers directly connected by some physical medium such as coaxial cable or optical fiber. Such a physical medium is called as Link.
  3. What is a node?
    A network can consist of two or more computers directly connected by some physical medium such as coaxial cable or optical fiber. Such a physical medium is called as Links and the computer it connects is called as Nodes.

Sunday, December 30, 2018

Data Structures

  1. What is data structure?
    A data structure is a way of organizing data that considers not only the items stored, but also their relationship to each other. Advance knowledge about the relationship between data items allows designing of efficient algorithms for the manipulation of data.
  2. List out the areas in which data structures are applied extensively?
    1. Compiler Design,
    2. Operating System,
    3. Database Management System,
    4. Statistical analysis package,
    5. Numerical Analysis,
    6. Graphics,
    7. Artificial Intelligence,
    8. Simulation
  3. What are the major data structures used in the following areas : RDBMS, Network data model and Hierarchical data model.
    1. RDBMS = Array (i.e. Array of structures)
    2. Network data model = Graph
    3. Hierarchical data model = Trees

Saturday, December 29, 2018

Advanced Java

  1. What is a transient variable?
    A transient variable is a variable that may not be serialized.
  2. Which containers use a border Layout as their default layout?
    The Window, Frame and Dialog classes use a border layout as their default layout.
  3. Why do threads block on I/O?
    Threads block on I/O (that is enters the waiting state) so that other threads may execute while the I/O Operation is performed.

Friday, December 21, 2018

Interview Questions and Answers - DBMS

  1. What are data and information, and how are they related in a database?
    Data is recorded facts and figures, and information is knowledge derived from data. A database stores data in such a way that information can be created.
  2. What is Enterprise Resource Planning (ERP), and what kind of a database is used in an ERP application?
    Enterprise Resource Planning (ERP) is an information system used in manufacturing companies and includes sales, inventory, production planning, purchasing and other business functions. An ERP system typically uses a multiuser database.
  3. What is a DBMS?
    DBMS stands for Database Management System. A DBMS receives requests from applications and translates those requests into actions on a specific database. A DBMS processes SQL statements or uses other functionality to create, process and administer databases.