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


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> Aptitude >> Post New Question Subscribe to Interview Questions

Mr. and Mrs. Aye and Mr. and Mrs. Bee competed in a chess tournament.Of the three games played:

a)In only the first game werethe two players married to each other.
b)The men won two games and the women won one game.
c)The Ayes won more games than the Bees.
d)Anyone who lost game did not play the subsequent game.

Who did not lose a game?

Posted By :Prasanti Prusty     Posted Date :January 31, 2010    Points :10   Category :Aptitude 
Ans:Mrs.Bee did not lose a game.

You can also find related Interview Question to Mr. and Mrs. Aye and Mr. and Mrs. Bee competed in a chess tournament.Of the three games played: a)In only the first game werethe two players married to each other. b)The men won two games and the women won one game. c)The Ayes won more games than the Bees. d)Anyone who lost game did not play the subsequent game. Who did not lose a game?  below: 

You are designing a single person shooter game application. The player can choose between multiple guns.
1) Pistol with 5 bullets
2) Shotgun with 100 bullets
3) Grenade Launcher with 20 grenades

Each gun will have different sound effects and graphics.

Pressing Ctrl+Space should rotate between guns.
Which design pattern should you employ for this?

  
Use Strategy Pattern.

Explanation: Each gun having different performance and graphics.
So this can be accomodated in the algorithm.

Strategy pattern is best suited for shifting the guns/algorithms

There will be a IGun interface implemented by 3 classes
Pistol : IGun
Shotgun : IGun
GrenadeLauncher : IGun (More...)

Is view state lost if a user refreshes a Web page? What if the user copies the URL and open it in other browser?

  
View state is maintained within a page's HTML, so it is lost if a page is refreshed or if the URL is copied. (More...)

How to use SoundPlayer to play a sound in WPF?

  
The following code shows how to use SoundPlayer to play
a sound:

SoundPlayer player = new SoundPlayer("tada.wav");

player.Play();
(More...)

How to use MediaPlayer to play an audio file in WPF?

  
MediaPlayer player = new MediaPlayer();

player.Open(new Uri("music.wma", UriKind.Relative));

player.Play(); (More...)

Is any of the functionality lost because of minification?

  
No, the functionality will be exactly the same as before. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

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

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


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