Advertuse

Search This Blog

Your Ad Here

Tuesday, 13 January 2009

SQL ઈન્ટરવ્યુ માટેના સવાલ જવાબ

1.

Select a Row from the Outer Query
2.

Determine the value of the correlated column(s)
3.

For each record of the outer query, the inner query is executed
4.

The result of the inner query is then fed to the outer query and evaluated. If it satisfies the criteria, the row is returned for output
5.

The next record of the outer query is selected and steps 2 through 4 are repeated until all the records of the outer query are evaluated

Wednesday, 7 January 2009

Interface V/s abstract Class

In object oriented programming, interface and abstract class are use to represent common structure and behavior. but they have fundamental difference. which help to decide when you have to use interface and when you have to use abstract class.






Interface abstract Class
It is a composition of general behavior (not a structure).It is a composition of general behavior and structure as well.

interface has no implementation at all in its body. it only has the signature or in other words, just the definition of the methods without the body.
abstract class may have implementation in its body. and it can be override if it has override modifier
Multiple interface can be inherited in derived class
Multiple abstract class can not be inherited in derived class

Interfaces are used to define the peripheral abilities of a class.
An abstract class defines the core identity of a class.

ASP.NET Security function (સંરક્ષણ કાર્ય )

ASP.NET ના સંરક્ષણ કાર્ય(Security function) મા મુખ્ય બે ભાગ પડે છે.

  1. Authentication(પ્રમાણભૂતતા)
    The process of obtaining identification credentials from a user ( such as name and password ), and validating those credentials against some authority. ઍટલે કે યુઝર દ્વારા અપાતા ઓળખાણપત્ર(જેવા કે નામા અન સાંકેતિક શબ્દ એટલે કે પાસવર્ડ) ની ચકાસણી કરવી
  2. Authorization(અધિકૃતિ કરવુ)
    The process of controlling access to resources based on the authenticated identification credentials ( such as role ). ઍટલે કે પ્રમાણિત યુઝર ને એપ્લિકેશનના જે તે ભાગને ઉપભોગ કરવા માટે અધિકૃતિ કરવુ

દાખલા તરીકે .

વિમાનમા બેસવા માટેની ટીકીટ છે કે નહિ? તે ચેક કરવાની ક્રિયાને Authentication કહે છે.
જ્યારે તમારી પાસે ઈકોનોમી કલાસની
ટીકીટ હોયતો ઈકોનોમી સીટીંગ અને બિઝનસ કલાસની ટીકીટ બિઝનસ કલાસની સીટ પર બેસવા દેવાની ક્રિયાને Authorization.