Monday, 10 November 2014

DOT NET MCQ QUESTIONS PART5

76) Select the control which does not have any visible interface
               a) Datalist
               b) DropdownList
               c) Repeater (ANS)
               d) Datagrid


77) How do you explicitly kill a user’s session ?
               a) Session.Close ( )
               b) Session.Discard ( )
              c) Session.Abandon (ANS)
              d) Session.End

78) Why do we use XMLSerializer class
               a) Remoting
               b) WebServices (ANS)
               c) Xml documentary Files

79) What does Response.End will do?
            a)      It will stop the server process (ANS)
            b) It will stop the client process
              c) None of the above

80) Which control supports paging

               a) Repeater
               b) Datagrid (ANS)
               c) Both
               d) None

 81) Where do you store the information about the user locale
               a) System.user
               b) System.web
               c) System.Drawing
               d) System.Web.UI.Page.Culture (ANS)

  82) What is the purpose of code behind ?
              a) To separate different sections of a page in to different files
              b) To merge HTML layout and code in to One file
              c) To separate HTML Layout and code to different file (ANS)
              d) To ignore HTML usage


83) What is a satallite assembly ?
               a) Any DLL file used by an EXE file.
               b) An Assembly containing localized resources for another assembly (ANS)
               c) None of the above


 84) Which of the following is not a member of Response Object?
              a) Clear
              b) Write
              c) Execute (ANS)
              d) Flush

85) Which of the following is not a member of ADODBCommand object
              a) ExecuteReader
              b) ExecuteScalar
              c) ExecuteStream 
              d) Open (ANS) 
              e) CommandText


86) Which method do you invoke on the DataAdapter control to load your generated dataset with data?
               a) Load
               b) Fill (ANS)
               c) GetAll
               d) None

87) How to open more than one datareader at a time
              a) Use different datareader variable
              b) Use different datareader and connection variable (ANS)
              c) Can not be done

88) What is the advantage of Disconnected mode of ADO.Net in ASP.Net
              a) Automatically dump data at client PC
              b) Not necessary to connect with server
              c) user data can update and retrieve in dataset and when connection connectedupdate values with server (ANS)
              d) All of the above

              
89) Which objects is used to create foreign key between tables?
              a) DataRelation (ANS)
              b) DataRelationship              
              C)DataConstraint
              d) Datakey

90) Which one of the following namespaces contains the definition for IdbConnection
              a) System.Data.Interfaces
              b) System.Data.Common
              c) System.Data (ANS)
              d) System.Data.Connection

<PREV>                                                                                                                               <NEXT>

No comments:

Post a Comment

Popular Posts