Win Surprise Gifts!!!
Top 5 Contributors of the Month
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 :
Posted Date :
January 31, 2010
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?
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
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.
How to use SoundPlayer to play a sound in WPF?
The following code shows how to use SoundPlayer to play
SoundPlayer player = new SoundPlayer("tada.wav");
How to use MediaPlayer to play an audio file in WPF?
MediaPlayer player = new MediaPlayer();
player.Open(new Uri("music.wma", UriKind.Relative));
Is any of the functionality lost because of minification?
No, the functionality will be exactly the same as before.
Quick Links For Interview Questions Categories:
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
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
Terms of Service
Tell A Friend