DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 9 of 9

Thread: please help me Answer these questions

  1. #1
    Join Date
    Mar 2010
    Posts
    5

    please help me Answer these questions

    Actually these are Some of Interviews Questions that i have to answer in an interview. I have got Some Confusion in My answers that why posting here .. So that Any Genius Can Answer these Question Correctly

    1) Which of the following are true about Extension methods?

    1) They must be declared static
    2) They can be declared either static or instance members
    3) they must be declares in the same assembly(but may be in different sources files)
    4) Extension methods can be used to override existing instance methods
    5) Extension methods with the same signature for the same class may be declared in multiple namespace without
    causing compilation errors

    More than one can be correct?

    2) which of the following can one use to detect the user's current language?

    1) Examining the user languages property of the current request object
    2) Examining the currentCulture property of the current request object
    3) Examining the CurrentCulture property of the current thread Object
    4) Examining the language property of the current page object



    3) which of the following are true about Declarative Attributes?

    1) They must be inherited from the system.Attribute
    2) Attributes are instantiated at the same time as instances of the class to which they are applied
    3) Attributes classes may be restricted to be applied only to application element types
    4) By default, a given attribute may be applied multiple times to the same application element

    More than one can be correct?



    4) with Which class is the task of mapping a specfic point in time into units such as weeks, months and year accomplished?

    1) System.datetime
    2) System.timeSpan
    3) System.Globalization.Calender
    4) System.Globalization.CultureInfo

    5) Which of the follwoing elements can be adjusted when using the processModel element of the Machine.Config File ?

    1) The number of queued requests befoer returning "Server Busy (error: 503)"
    2) The maximum number of threads per processor
    3) The maximum number of threads per request
    4) The Maximum amount of memory utilized per request


    6) Determining the availablity of sufficient memory for an operation can be accompished by

    1) There is no supported application level means to determine if a specfic amount of memory
    is available
    2) using static methods of system.runtime.memoryfailpoint and checking the return value
    3) creating an instance of system.runtime.memoryfailpoint and monitoring for an insuffcientMemoryException
    4) Creating an instance of system.runtime.memoryfailpoint and monitoring for an outofmemoryException

    What would be the correct answer?

    7) which of the following are true about anonymous types?

    1) They can be dervied from any reference type
    2) Two anonymous types with the same named parameters in the same order declared in different
    classed have the same type
    3) Anonymous types can have methods
    4) All properties of an anonymous types are read/write
    5) Anonymous types cannot cross method boundaries


    8) which of the following mechanisma are not suitable for returning a single row froma datatable
    containing a large number of records?

    1) Datatable.rows.find
    2) Datatable.rows.select
    3) Datatable.select
    4) Enumerating across datatable.rows

    9) Which of the following are valid mechanisms for adding an event handler for public Event someEvent() on class Sample?

    1) AddHandler Sample.SomeEvent Addressof MyEventHandler
    Public Sub MyEventHandler

    2) AddHandler Sample.SomeEvent,AddressOf Sample.SomeEvent

    3) Private WithEvents Sample As New Sample
    Public Sub MyEventHandler(sender As Object,e As EventArgs) Handles sample.SomeEvent

    4) Private withEvents sample As New Sample
    Public Sub MyEventHandler() Handles sample.SomeEvent

    More than one can be Correct?



    10) Which of the following are true of ADO.NET?

    1) it uses a connected provider model
    2) it uses a Disconnected provider Model
    3) it includes a dataAdapter class, which provides a high-performance mechanism for retrieving data
    4) system.data.common provides classes that are database agnostic

    More than One can be Correct..

    11) which of the following are true of the system.text.StringBuilder class?

    1) it is less efficient than string concatenation when many concatenation are performed
    2) There is a method which formats the string being appended to the stringBuilder, much like the string format
    3) The StringBuilder is most efficient when initialized using the parameterless constructor
    4) All of the above
    5) None of the Above.

    12) in which of the Following Ways do structures differ from classes?

    1) Structures cannot implement interfaces
    2) Structures cannot inherit from a base structure
    3) Structures Cannot have events
    4) Structures cannot have overrideable methods




    13) which of the following is true regarding the system.datetimeoffset structure?

    1) it provides an exact point in time relative to the UTC time zone
    2) it combines a date time structure with a timeZone structure
    3) it provides arithemetical operations using values with differenet offsets from the UTC
    4) it can be used to determine the specific timeZone for a localtime

    More than one Can be Correct

    14)Which of the following are true about Nullable Types?

    1) A Nullable type is a reference type
    2) A Nullable type is a structure
    3) An implicit converstion exists from any Non-nullable value type to a nullable from of that type
    4) An implicit conversion exists from any nullable value type to a non-nullable from of that type
    5) A predefined conversion from the nullable type S to the nullable type T exists if there is a predefined conversion
    non-nullable type S to the non-nullable type T



    15) which of the following is true about VB Generics?

    1) VB Allows non-type template parameters
    2) VB supports explicit specialization
    3) VB allows the type parameters to be used as the base class for the generic type
    4) VB allows a generic type parameter itself to to be a generic
    5) VB enforces that all codes are valid for all types of parametrs

    what would be the Best Choice ?


    16) which of the following statements do expression trees fit best?

    1) Expression trees are a data structure which can be intially composed using language syntax
    2) Expression trees are a dynamically generated code which is executed to perform the desired function
    3) Expression trees can be created only from Lambda Expressions
    4) Expression trees can be modified once again
    5) All of the above

    17) when using an implicitly typed array, which of the followoing is most appropriate?

    1) All elements in the initializer list must of the same type
    2)All elements in the initializer list must be implicitly convetable to a known type which is the base type of
    atleast one member in the initialize
    3) All elements in the initializer list must be implicitly convertable to a common type which is the base type
    of the items actually in the list
    4) There are no restrictions on the items in the initializer list as the array is not declared to be a specific type


    Please Answer These Question just by the Alphabets(A,B...or E) corresponding with Indexes.
    I hope U all will help me to get This Job while answering these question correctly

    Best Regards
    Salman

  2. #2
    Join Date
    Feb 2004
    Location
    Longueuil, Québec
    Posts
    577

    Angry

    What a way to learn.

    Having other people answering for you in an interview. If you are not able to answer most of those questions yourself, you are not fit to have the job. These are very basic questions that any professional should be able to answer.

    No wonder why so many things do not work anymore.

    Last edited by JBourgeois; 03-31-2010 at 09:31 AM.
    Jacques Bourgeois
    JBFI
    http://www3.sympatico.ca/jbfi/homeus.htm

  3. #3
    Join Date
    Feb 2010
    Location
    Central WV, USA
    Posts
    213
    God, some of those are really easy, and I'm nowhere near proficient .net. If you can't answer them you're obviously not qualified to work as a programmer. Maybe you should consider getting a better education.

  4. #4
    Join Date
    Mar 2010
    Posts
    5
    I know they are easy .. And i have Already Marked my Answers. Just i am looking for confirmation of My poor Knowledge....
    These are My Answers
    1) 1,3
    2) 3
    3) 1
    4) 1
    5) 4
    6) 3
    7) 1
    8) 2,3
    9) 1,4
    10) 1,2
    11) 2
    12) 2
    13) 1
    14) 2,3,5
    15) 5
    16) 1
    17) 4

    So kindly any Genius can tell me , Am i going wrong in any questions?
    Your help will be highly appreciable
    Thanks
    With Best Regards
    Salman

  5. #5
    Join Date
    Mar 2010
    Posts
    5
    Is Any One there to Correct me Plzz..
    Its Urgent

    Thanks
    Best Regards
    Salman

  6. #6
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,663
    What is so urgent? By your own admission you have already marked your answers, so now you have the time to research each question to see if you marked it correctly.

  7. #7
    Join Date
    Mar 2010
    Posts
    5
    Is any Genius there to Help me ....
    Just let me know what are the Answers are Wrong..
    Don't tell me the Right answers just tell me the Question numbers that i have wrong Answered...
    I guess Now u can help me out

    Thanks
    With Best Regards
    Salman

  8. #8
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,663
    How do you know any of them are wrong?

  9. #9
    Join Date
    Mar 2010
    Posts
    5
    Bcoz i m getting failed again and again..
    I have searched a lot and then came with these answers but i dont know WHY?
    So please help me out to solve this.
    Your help will be highly appreciable
    Thanks

Similar Threads

  1. Replies: 0
    Last Post: 12-16-2006, 03:04 AM
  2. Replies: 2
    Last Post: 07-28-2006, 01:07 PM
  3. randomly select quiz questions
    By galgal5814 in forum ASP.NET
    Replies: 5
    Last Post: 03-10-2006, 12:10 PM
  4. Answer to your questions: Why?
    By Eric in forum Talk to the Editors
    Replies: 0
    Last Post: 05-19-2000, 05:40 AM
  5. An answer to many questions
    By Joel Ryan in forum Open Source
    Replies: 1
    Last Post: 05-03-2000, 03:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center