15
Chuyên Đề 3 Cấu Trúc Đề Thi Cuối Kỳ I. Trắc nghiệm (28 câu) 7 điểm Học phần II: asp.net, intenet, mvc, web, trắc nghiệm 6, 7, 8 II. Tự luận (3 điểm) Ecommerce security: risks, policy Regular expression 1) In ASP.NET in form page the object which contains the user name is ? a) Page.User.Identity b) Page.User.IsInRole c) Page.User.Name d) None of the Above 2) Find the term: The .NET framework which provides automatic memory management using a technique called a) Serialization b) Garbage Collection c) Assemblies d) Overriding 3) Which of the following denote ways to manage state in an ASP.Net Application

Cau Truc de Thi Cuoi Ky

Embed Size (px)

Citation preview

Page 1: Cau Truc de Thi Cuoi Ky

Chuyên Đề 3

Cấu Trúc Đề Thi Cuối Kỳ

I. Trắc nghiệm (28 câu) 7 điểmHọc phần II: asp.net, intenet, mvc, web, trắc nghiệm 6, 7, 8

II. Tự luận (3 điểm)Ecommerce security: risks, policyRegular expression

1) In ASP.NET in form page the object which contains the user name is ?

a) Page.User.Identity

b) Page.User.IsInRole

c) Page.User.Name

d) None of the Above

2) Find the term: The .NET framework which provides automatic memory management using a technique called

a) Serialization

b) Garbage Collection

c) Assemblies

d) Overriding

3) Which of the following denote ways to manage state in an ASP.Net Application

a) Session objects

b) Application objects

Page 2: Cau Truc de Thi Cuoi Ky

c) ViewState

d) All the Above

4) What is the base class from which all Web forms inherit

a) Master Page

b) Page Class

c) Session Class

d) None of the Above

5) WSDL stands for

a) Web Server Description Language

b) Web Server Descriptor Language

c) Web Services Description Language

d) Web Services Descriptor Language

6) Which of the following must be done in order to connect data from some data resource to Repeater control

a) Set the DataSource property

b) Call the DataBind method

c) Both A) and B)

d) None of the Above

7) Which of the following is FALSE

a) ASP.NET applications run without a Web Server

Page 3: Cau Truc de Thi Cuoi Ky

b) ASP+ and ASP.NET refer to the same thing

c) ASP.NET is a major upgrade over ASP

d) None of the Above

8) Which of the following transfer execution directly to another page

a) Server.Transfer

b) Response.Redirect

c) Both A) and B)

d) None of the Above

9) If one has two different web form controls in a application and if one wanted to know whether the values in the above two different web form control match what control must be used :

a) DataList

b) GridView

c) CompareValidator

d) Listview

10) Which of the following is used to send email message from my ASP.NET page

a) System.Web.Mail.MailMessage

b) System.Web.Mail.SmtpMail

c) Both A) and B)

d) None of the Above

11)In .NET the operation of reading metadata and using its contents is known as

Page 4: Cau Truc de Thi Cuoi Ky

a) Reflection

b) Enumeration

c) Binding

d) Serialization

12) In ASP.NET the authorization section contain which of the following elements

a) deny

b) allow

c) Both A) and B)

d) None of the Above

13) The type of code found in Code-Behind class is

a) Server-side code

b) Client-side code

c) Both A) and B)

d) None of the above

14) The actual work process of ASP.NET is taken care by

a) inetinfo.exe

b) aspnet_isapi.dll

c) aspnet_wp.exe

d) None of the Above

Page 5: Cau Truc de Thi Cuoi Ky

15) Which of the following allow writing formatted output

a) Response.Write()

b) Response.Output.Write()

c) Both A) and B)

d) None of the Above

16) Which of the following denote the property in every validation control

a) ControlToValidate property

b) Text property

c) Both A) and B)

d) None of the Above

17) How many classes can a single .NET DLL contain

a) One

b) Two

c) None

d) Many

18) Suppose one wants to modify a SOAP message in a SOAP extension then how this can be achieved. Choose the correct option from below

a) One must override the method ReceiveMessage

b) One must override the method InitializeMethod

c) Both A) and B)

Page 6: Cau Truc de Thi Cuoi Ky

d) One must override the method ProcessMessage

19) Which of the following can be used to add alternating color scheme in a Repeater control

a) AlternatingItemTemplate

b) DataSource

c) ColorValidator

d) None of the Above

20) Suppose a .NET programmer wants to convert an object into a stream of bytes then the process is called

a) Serialization

b) Threading

c) RCW

d) AppDomain

22) The technique that allow code to make function calls to .NET applications on other processes and on other machines is

a) .NET Threading

b) .NET Remoting

c) .NET RMT

d) None of the above

23) The namespace within the Microsoft .NET framework which provides the functionality to implement transaction processing is

a) System.EnterpriseServices

Page 7: Cau Truc de Thi Cuoi Ky

b) System.Security

c) System.Diagnostics

d) System.Data

24) Which of the following is TRUE about Windows Authentication in ASP.NET?

a) Automatically determines role membership

b) Role membership determined only by user programming

c) ASP.NET does not support Windows Authentication

d) None of the Above

25) Which method do you invoke on the DataAdapter control to load your generated dataset with data

a) Load ( )

b) Fill( )

c) DataList

d) DataBind

26) In ASP.NET the sessions can be dumped by using

a) Session.Dump

b) Session.Abandon

c) Session.Exit

d) None of the Above

27) ASP.NET is a

Page 8: Cau Truc de Thi Cuoi Ky

a) Server Side Scripting Technology

b) Client Side Scripting Technology

c) Programming Language

d) Database Programming Language same as SQL.

28) What is ASP+

a) ASP+ is the same as ASP.NET.

b) ASP+ is the Next version of ASP.NET

c) ASP+ is just an early name used by Microsoft when they developed ASP.NET.

d) ASP+ is a programming Language Specially developed for ASP.NET

e) ASP+ is the new Web Server by Microsoft after IIS.

29) ASP stands for

a) Active Side Pages

b) Active Script Pages

c) Active Server Page

d) Active Script Program

30) ASP.NET provides increased performance

a) supporting active variables.

b) running CLR.

c) running compiled code

Page 9: Cau Truc de Thi Cuoi Ky

d) using IIS Server

12.  In my .NET Framework I have threads. Which of the following denote the possible priority level for the threads?

  A. Normal   B. AboveNormal   C. Highest   D. All the Above(your answer)

16.  Common type system is built into which of the following:   A. CLR(your answer)   B. RCT   C. RCW   D. GAC24.  The technique that allow code to make function calls to .NET applications on other processes and on other machines is   A. .NET Threading(your answer)   B. .NET Remoting   C. .NET RMT   D. None of the above 25.  The namespace within the Microsoft .NET framework which provides the functionality to implement transaction processing is ....................  A. System.EnterpriseServices(correct answer)   B. System.Security  C. System.Diagnostics   D. System.Data26.  Which of the following method is used to obtain details about information types of assembly?

  A. GetTypes   B. GetType   C. Both A) and B)(correct answer)   D. None of the Above 28.  What tags one need to add within the asp:datagrid tags to bind columns manually?

  A. Set AutoGenerateColumns Property to false on the datagrid tag(correct answer)   B. Set AutoGenerateColumns Property to true on the datagrid tag   C. It is not possible to do the

operation   D. Set AutomaunalColumns Property to true on the datagrid tag35.  What is the extension of ASP.NET web pages files  A. .ashx   B. .aspx(correct answer)   C. .asp  D. .ascx

TRắc Nghiệm 7:

1. ________ can convert your applications into Web-applications.

 Web  Web Services  Web programs  None of these

2. Web Services define a platform-independent standard based on XML to communicate within distributed systems.

 True  False  Not always true  None of these

3. SOAP is used to transfer the:

 control  output  data  None of these

4. WSDL is used for describing the services available.

Page 10: Cau Truc de Thi Cuoi Ky

 True  False  not always  None of these

5. UDDI is used for listing what ______ are available.

 data  control  programs  services

6. A ________ are the new breed of Web application.

 Web pages  Web services  Web controls  Web contents

7. The Web services can not offer the application components like:

 the currency conversion  weather reports  the language translation  web browsers

8. Using a ______ you can do exchange the data between the different applications and different platforms.

 Web application  Web pages  Web services  None of these

9. HTTP is the ubiquitous protocol, which is running practically everywhere on:

 Internet  systems  networks  pages

10. The XML provides the ________ in which you can write the specialized languages to express the complex interactions between the clients and the services or between the components of a composite service.

 language  metalanguage  meta  services

11. The UDDI is:

 Universal Description, Discovery and the Integration Service  Unidirectional Description, Discovery and the Integration Service  United Description, Discovery and the Integration Service  Universal Discovery, Description and the Integration Service

12. Which of these are not the elements WSDL ?

 Types  Port Type  Service  destination

13. The WSDL is:

 Web Servers Definition Language  Web Services Developing Language  Web Services Definition Language  None of these

Page 11: Cau Truc de Thi Cuoi Ky

14. Which of these test do use an HTTP POST and will send the XML response.

 <?xml version="1.0" encoding="utf-8" ?><short xmlns="http://tempuri.org/">38</short>  <?xml ?><short xmlns="http://tempuri.org/">38</short>  <?xml version="1.0" encoding="utf-8" ?><short xmlns="http://tempuri.org/">38  <short xmlns="http://tempuri.org/">38</short>

15. The XKMS is:

 The XHTML Key Management Specification  The XSL Key Management Specification

 The XSLT Key Management Specification  The XML Key Management Specification

16. A Web Services can be created regardless of the

 systems  programming language  services  internet

17. What is SOAP :

 Simplified Object Access Protocol  Specified Simple Object Access Protocol  Simple Object Access Protocol  None of these

18. XSLT is:

 Extensible Stylesheet Language Translators  Extended Stylesheet Language

Transformation  Extensible Stylesheet Language Transformation  Extensible Style Language Transformation

19. Schema is an _____ based alternative

 XHTML  XSLT  XSL  XML

20. SOAP is a lightweight _____ based protocol .

 XHTML  XML  XSL  XSLT

1. Web Browser is _________ used to access the Internet services and resources available through the World Wide Web.

 software  program  operating system  None of these

2. It is a client program that initiates requests to a

Page 12: Cau Truc de Thi Cuoi Ky

 Network server  World Wide Web  Web server  None of these

3. Web browsers often provide a ________ that lets users click icons, buttons, and menu options to view and navigate Web pages.

 graphical interface  interface  way  None of these

4. The majority of these Web sites use the

 TELNET  FTP  HTTP  RSS

5. Tim Berners-Lee created the ever first Web browser, WorldWideWeb, in year

 1989  1990  1992  1991

6. The first graphical client was

 NCSA Mosaic  IE  Mozilla  Opera

7. Browser information and statistics is important for

 network operators  website designers  website developers  None of these

8. Which of these is not a web browser ?

 NETSCAPE  MOZILLA  FIREFOX  TELNET

9. Internet Explorer is most commanly used _______ in these few years.

 operating system  browser  network service  World Wide Web

10. The letest version of Microsoft's IE till December 2006 is

 Internet Explorer:6  Internet Explorer:5  Internet Explorer:7  Internet Explorer:8

11. Windows Internet Explorer 7 or simply say IE7 is the latest browser from Microsoft. This version of Windows Internet Explorer 7 (IE7) will only run on

 Windows XP  Windows NT  Windows 2000  Windows ME

12. Internet Explorer 6 or simply say IE6. This version was released in

 August 2000  August 2001  August 2002  August 2003

Page 13: Cau Truc de Thi Cuoi Ky

13. What is NCC ?

 Net Communications Corporation  Netscape Communications Corporation  Netscape Corporation Communications  None of these

14. Netscape Browser Version 8.0 was released in

 May 2006  June 2005  May 2005  July 2005

15. Mozilla is _________ it is a framework for building web applications using web standards like CSS, XML, RDF.

 not a Web browser  Web browser  Internet browser  None of these

16. Which of these is not a product of Mozilla ?

 Firefox  Thunderbird  Composer  Cami

17. Opera browser is _____ browser and it is a browser with excellent standards support.

 slowest  fastest  not always fast  None of these

18. Which of these is not the feature of Opera browser ?

 Full-screen mode  Tabbed browsing  Pop-up blocking  None of these

19. Safari is a web browser developed by

 Microsoft  Apple Computer  IBM  INTEL

20. It was included as the default browser in

 Mac OS X v10.3  Windows  Linux  Unix