.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 >> Patten/Practices >> Post New Question Subscribe to Interview Questions

You have got a base robot with all methods in steps of Start(), Perform(), Stop(). There are different kind of robots for creating Cookies, Sauce, Breads in a bakery. Only the Perform() method differs. Which design pattern should be appropriate for the scenario?

Posted By :Jean Paul     Posted Date :May 01, 2011    Points :40   Category :Patten/Practices 
Template Method design pattern.

You can also find related Interview Question to You have got a base robot with all methods in steps of Start(), Perform(), Stop(). There are different kind of robots for creating Cookies, Sauce, Breads in a bakery. Only the Perform() method differs. Which design pattern should be appropriate for the scenario?  below: 

Can we call a base class method without creating instance?

  
Its possible If its a static method.

Its possible by inheriting from that class also.

Its possible from derived classes using base keyword. (More...)

What is the data structures used to perform recursion?

  
Stack. Because of its LIFO (Last In First Out) property it remembers its 'caller' so knows whom to return when the function has to return. Recursion makes use of system stack for storing the return addresses of the function calls.
Every recursive function has its equivalent iterative (non-recursive) function. Even when such equivalent iterative procedures are written, explicit stack is to be used. (More...)

To perform asynchronous data access, what must be added to the connection string?

  
Select Correct Answer.

1. BeginExecute=true
2. MultiThreaded=true
3. MultipleActiveResultSets=true
4. Asynchronous=true

Correct Answer:
4. Asynchronous=true (More...)

What optimizations does the C# compiler perform when you use the /optimize+ compiler option?

  
The following is a response from a developer on the C# compiler team: We get rid of unused locals (i.e., locals that are never read, even if assigned). We get rid of unreachable code. We get rid of try-catch with an empty try. We get rid of try-finally with an empty try. We get rid of try-finally with an empty finally. We optimize branches over branches: gotoif A, lab1 goto lab2: lab1: turns into: gotoif !A, lab2 lab1: We optimize branches to ret, branches to next instruction, and branches to branches. (More...)

Which design pattern should have private or protected constructor?

  
singleton design pattern should have private or protected constructor (More...)

Which function is used to perform a full text search on a column?

  
FREETEXT function can perform a full text search on the specified column.

FREETEXT({column/*}, search-string)


It will return the rows with columns that match the search-string. It matches the meaning only not the exact value of the search-string. (More...)

which event will perform first when a content page is loaded ?

  
Master page controls Init event is performed first when a content page is loaded. (More...)

Which of the following methods is used to collect and interpret data from end users to design an application. ?

  
1, Coherence
2, Contextual design
3, Participatory design
4, Ethnography

Answer : 2 (More...)

Real software is developing a speech-based user interface for blind people. However, speech based interface are difficult to design and time given by the client is short. To develop a functional interface without any errors, the company wants to first evaluate the prototype. They used the storyboard technique to demonstrate the functionality of the application. However, this technique was unable to demonstrate the interactive feature of the application. Analyze and provide solution for the above scenario?

  
1, The design team of Real software should have used the Sketching technique because storyboard technique would only provide the flow and features of the interface.

2, The design team of Real software should have used the Horizontal Prototyping because storyboard technique would only provide the flow of the interface.

3, The design team of Real software should have used the Wizard of Oz technique because storyboard technique would only provide the flow and features of the interface

4, The design team of Real software should have used the Vertical Prototyping because storyboard technique would only provide the flow of the interface.


Answer : 3 (More...)

Which of the following methods is used to collect and interpret data from end users to design an application?

  
1, Coherence
2, Contextual design
3, Participatory design
4, Ethnography

Answer : 1
(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