.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!




Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Post New Question Subscribe to Interview Questions
 
Quick Links For Interview Questions Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  OOPs  JQuery  JavaScript/VBScript
BiztalkPatten/Practices.IISWCFWPFWWF
NetworkingAptitudeOthers  All    
 

Interview Questions And Answers

What do you mean by Constructor?

Author: PLC Technologies          Posted Date: December 17, 2014    Category: JavaScript/VBScript     Points: 40

Constructor gets invoked when a new object is created. Every class has a constructor. If we do not explicitly write a constructor for a class the java compiler builds a default constructor for that class.

Q. What is query.ViewAttributes OR How can you force SPQuery to return results from all the folders of
the list?

Author: SP          Posted Date: November 27, 2014    Category: SharePoint     Points: 40

If you use SPQuery on any SPlist .. it will bring back results from the current folder only.
If you want to get results from all the folders in the list.. then you need to specify the scope of the query
by the use of ViewAttributes..
e.g. query.ViewAttributes = "Scope=\"Recursive\"";

Q. What is ServerUpdate() ?

Author: SP          Posted Date: November 27, 2014    Category: SharePoint     Points: 40

Any changes in the list, i.e. new addition or modification of an item.. the operation is complete by calling
the Update method.
But if a List is set to maintain versions .. and you are editing an item, but don't want to save it as a new
version, then use the SystemUpdate method instead and pass in 'false' as the parameter.

Two people on cycle are traveling at 10 miles / hour in opposite direction. When they are at a distance of 50 miles, a housefly lands on the first cyclist and then flies to the other at a speed of 16 miles/hour. What is the distance covered by fly?

Author: Subhransu Sekhar Jena          Posted Date: November 21, 2014    Category: Aptitude     Points: 40

You can assume that when the fly lands on cyclist 1 they are 50 miles apart. The fly has to travel 50 + x miles at 16 miles/hour. Here x is the additional distance at 10 miles/hour. So the problem is now simplified as
y = 50 + x (distance)
(50 + x)/16 = x/10 (time)
500 + 10x = 16x
6x = 500
x = 250/3 = 83.33
y = 133.33

When asked in an exam how much time is left, the teacher answered that the amount of time left is 1/5 of the time already completed. How much time is left?

Author: Subhransu Sekhar Jena          Posted Date: November 21, 2014    Category: Aptitude     Points: 40

10 minutes. The total time was one hour and already 50 minutes are over.

When a number is multiplied by 13, it becomes greater to 105 by an amount with which it is lesser to 105 by now. What is the number

Author: Subhransu Sekhar Jena          Posted Date: November 21, 2014    Category: Aptitude     Points: 40

Let the number be x
105 - x = y
x = 105 - y
13x = 105 + y
14 x = 210
x = 15

A person has 14 red socks and 14 white socks in a drawer. What is the minimum number of socks that he should take to get a correct pair?

Author: Subhransu Sekhar Jena          Posted Date: November 21, 2014    Category: Aptitude     Points: 40

This is a classic probability puzzle and many puzzles are based on this logic. If the person picks up two socks then there is a possibility of them being different in colour. If he picks up three socks then they are guaranteed red or white. So the minimum number of socks required are three (3).

A person has certain number of cows and birds.they have 172 eyes and 344 legs.how many cows and birds does he have?

Author: Subhransu Sekhar Jena          Posted Date: November 21, 2014    Category: Aptitude     Points: 40

2. Each Cow has 2 eyes and 4 legs and each bird has 2 eyes and 2 legs. Lets call each eye as x and each leg as y. Also each bird is n and each cow is m so:
n(2x+2y) + m(2x + 4y) = 172x + 344y
2x (n+m) + 2y(n+2m) = 172x + 344y
(n+m) = 86 and (n+2m) = 172
n = 86 - m
86 - m + 2m = 172 or m = 86
This implies n = 0.
The owner has 0 birds and 86 cows.
« Previous12345678910….473474Next »


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend