Loading data........
Tin nhanh :
Buctuongso.com đăng tin rơi giấy tờ, tìm tài sản
Xem Tivi Online

Tổng hợp các kênh giải trí (Đang cập nhật chức năng..)

New Update

Truyền hình SCTV

SCTV14

SCTV15

SCTV16

SCTV17

SCTV18 HD

Vietnam Channels

VTV1

VTV2

VTV3

VTV4

VTV6

VTV9

VTC Online

VTC1

VTC2

VTC3

VTC4

VTC5

VTC6

VTC Online

VTC7

VTC8

VTC9

VTC10

VTC11

VTC12

Truyền hình tp HCM

HTV1

HTV2

HTV3

HTV4

HTV7

HTV9

Radio Channels

VOV1

VOV2

VOV3

VOV4

VOV5

VOV GT-HN

Home » » Quiz Test .NET

Quiz Test .NET

1) Which of the following languages can be used to write server side scripting in ASP.NET?       
 a) C-sharp        b) VB        c) C++        d)  (your answer) a and b - correct answer


2) When an .aspx page is requested from the web server, the out put will be rendered to browser in following format.      
  a)  (your answer) HTML - correct answer        b) XML        c) WML        d) JSP

3) The Asp.net server control, which provides an alternative way of displaying text on web page  is       
 a)  (your answer) < asp:label > - correct answer        b) < asp:listitem >        c) < asp:button >

4) The first event to be triggered in an aspx page is.   
     a)   Page_Load()        b) Page_Init() - correct answer        c) Page_click()

5) Postback occurs in which of the following forms.      
  a) Winforms        b) HTMLForms        c)  (your answer) Webforms - correct answer

6) What namespace does the Web page belong in the .NET Framework class hierarchy?     
   a)  (your answer) System.web.UI.Page - correct answer        b) System.Windows.Page        c) System.Web.page

7) Which method do you invoke on the Data Adapter control to load your generated dataset?  
      a)  (your answer) Fill( ) - correct answer        b) ExecuteQuery( )        c) Read( )

8) How do you register a user control?      
  a) Add Tag prefix, Tag name        b) Add Source, Tag prefix        c)  (your answer) Add Src, Tagprefix, Tagname - correct answer

9) Which of the following is true?       
 a) User controls are displayed correctly in the Visual Studio .NET Designer        b) Custom controls are displayed correctly in VS.Net Designer - correct answer        c)   User and Custom controls are displayed correctly in the Visual Studio .NET Designer.

10) To add a custom control to a Web form we have to register with.        a) TagPrefix        b) Name space of the dll that is referenced        c) Assemblyname        d)  (your answer)  All of the above - correct answer

11) Custom Controls are derived from which of the classes   
     a) System.Web.UI.Webcontrol        b)  (your answer) System.Web.UI.Customcontrol        c) System.Web.UI.Customcontrols.Webcontrol - correct answer

12) How ASP.Net Different from classic ASP?      
  a) Scripting is separated from the HTML, Code is interpreted seperately        b)  (your answer) Scripting is separated from the HTML, Code is compiled as a DLL, the DLLs can be executed on server - correct answer        c) Code is separated from the HTML and interpreted Code is interpreted separately

13) What's the difference between Response.Write() andResponse.Output.Write()?     
   a) Response.Output.Write() allows you to flush output        b) Response.Output.Write() allows you to buffer output        c)  (your answer) Response.Output.Write() allows you to write formatted output - correct answer        d) Response.Output.Write() allows you to stream output

14) Why is Global.asax is used?      
  a) Implement application and session level events - correct answer        b)  (your answer) Declare Global variables        c) No use

15) There can be more than 1 machine.config file in a system    
    a) True - correct answer        b)  (your answer) False

16) What is the extension of a web user control file?     
   a) .Asmx        b)  (your answer) .Ascx - correct answer        c) .Aspx

17) Which of the following is true?     
   a) IsPostBack is a method of System.UI.Web.Page class        b) IsPostBack is a method of System.Web.UI.Page class        c)  (your answer) IsPostBack is a readonly property of System.Web.UI.Page class - correct answer


18) The number of forms that can be added to a aspx page is.     
   a)  (your answer) 1 - correct answer        b) 2        c) 3        d) More than 3

19) How do you manage states in asp.net application    
   a) Session Objects        b) Application Objects        c) Viewstate        d)  (your answer) All of the above - correct answer

20) Which property of the session object is used to set the local identifier?   
     a)  SessionId        b) LCID - correct answer        c) Item        d) Key

21) Select the caching type supported by ASP.Net     
   a) Output Caching        b) DataCaching        c)  (your answer) a and b - correct answer        d) none of the above

22) Where is the default Session data is stored in ASP.Net?   
     a) InProcess - correct answer        b) StateServer        c) Session Object        d) al of the above

23) Select the type Processing model that asp.net simulate    
    a) Event-driven - correct answer        b) Static        c) Linear        d) Topdown

24) Does the EnableViewState allows the page to save the users input on a form?      
  a) Yes - correct answer        b) No

25) Which DLL translate XML to SQL in IIS?    
    a) SQLISAPI.dll - correct answer        b) SQLXML.dll        c) LISXML.dll        d) SQLIIS.dll

26) What is the maximum number of cookies that can be allowed to a web site?     
   a) 1        b) 10        c) 20 - correct answer        d) More than 30

27) Select the control which does not have any visible interface.      
  a) Datalist        b) DropdownList        c) Repeater - correct answer        d) Datagrid

28) How do you explicitly kill a user session?      
  a) Session.Close( )        b) Session.Discard( )        c) Session.Abandon - correct answer        d) Session.End        e) Session.Exit

29) Which of the following is not a member of ADODBCommand object?     
   a) ExecuteReader        b) ExecuteScalar        c) ExecuteStream        d) Open - correct answer        e) CommandText

30) Which one of the following namespaces contains the definition for IdbConnection?     
   a) System.Data.Interfaces        b) System.Data.Common        c) System.Data - correct answer        d) System.Data.Connection
Like và chia sẻ với bạn bè :

1 comment:

  1. This comment has been removed by a blog administrator.

    ReplyDelete

Bạn có ý kiến thắc mắc hay bình luận gì về bài viết này vui lòng để lại lời nhắn.Cám ơn bạn đã ghé thăm !

 
Proudly powered by Blogger
Copyright © 2009-. The Color Of Life - All Rights Reserved