Question Bank ASP .Net and Webforms

43 449 0
Question Bank  ASP .Net and Webforms

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

The ______________ is used to break down the data into packets that are transferred over the network

Question Bank ASP .Net and Webforms 1. The ______________ is used to break down the data into packets that are transferred over the network [1.0] a) SMTP Protocol c) HTTP Protocol b) Internet Protocol d) FTP Protocol 2. A _____________ is a set of rules that two or more computers use to share data with each other [0.5] a) Prototype c) Protocol b) Standard d) Rules 3. A client machine is connected to a _________________ within an organization [1.0] a) Internet c) SQL Server b) Firewall d) Proxy Server 4. A _____________ processes scripts and sends the resulting HTML page to the client browser that requested it [1.0] a) Web server c) Web browser b) SQL Server d) Connection 5. _______________ is a client / server protocol that is used to transfer web pages [0.5] a) HTTP c) SMTP b) FTP d) NNTP 6. The client sends a request to the web server [0.5] a) True b) False 7. The web server makes use of _____________, the ________________ and the ________________ to provide the communication between the network interface and the HTTP service [1.5] a) Windows Sockets c) Transport Layer b) Internet Protocol (IP) d) Application Layer 8. A ___________ is a software element that is used to pass network traffic between networks within an organization [1.0] a) Proxy server c) SQL Server b) Web Server d) Exchange Server 9. The identity and validity of the web server and web browser can be ensured through the use of digital certificates that are maintained by the certificate server. [0.5] a) True b) False 10. ______________ authentication ensures that only authorized users are allowed to access a web site or an application. [1.0] a) Client Authentication c) Client and server authentication b) Server Authentication d) None of the Above 11. Secure Socket Layers (SSL) can not be used to ensure data integrity. [0.5] a) True b) False 12. An _____________ is an area on a web site available only to a set of registered visitors [1.0] a) Extranet c) Intranet b) Internet d) None of the Above 13. There are _______ phases of web application development [0.5] a) 4 c) 5 b) 6 d) 7 14. ___________ is the stage where you plan the functionality of the application. [1.0] a) Planning the Web application c) Designing the Web application b) Implementing the Web application d) Deploying the Web application 15. __________ is the phase where you create the prototype of the application [1.0] a) Planning the Web application c) Designing the Web application b) Implementing the Web application d) Deploying the Web application 16. Dynamic HTML pages can be created through ___________ [1.5] a) Server & Client based scripts c) Client based script only b) Server based scripts only d) Not possible 17. ______________ is a method that can be used to create dynamic HTML pages and provide user interaction. [1.5] a) Scripting c) Coding b) De-coding d) Encoding 18. What are the benefits of Client-side scripting? [1.5] a) Provide user interaction c) Validate data b) Integration d) Provide database interaction 19. ___________ is an object-based scripting language for developing client-based Internet applications. [1.0] a) JavaScript c) JScript b) VBScript d) Java 20. In client-side scripting, the scripts are embedded in the _____________ document. [1.0] a) JavaScript c) HTML b) CGI d) VBScript 21. JavaScript is a scripting language that was developed by __________ and ____________. [1.0] a) Microsoft c) Sun Microsystems b) Netscape d) Oracle 22. JavaScript code is typically embedded into an HTML document using the SCRIPT tag. [0.5] a) True b) False 23. <! - -statements //- -> are comment tags. [0.5] a) True b) False 24 The first beta version of ASP code was named _______________. [1.0] a) Manali c) Denali b) Depali d) Nepali 25 Identify the correct statement(s) from the following: 1. VBScript and JavaScript are not the only two scripting languages available in ASP. 2. ASP pages are interpreted. This makes their execution slower. 3. ASP pages are very untidy. They are a spaghetti-like mixture of code, HTML and text. [1.5] a) 1, 3 c) 1 only b) 2, 3 d) 3 only 26 Identify the correct statement(s) from the following:  ASP.NET supports strongly typed languages like VB, C#, and much more.  ASP.NET pages get interpreted instead of being compiled.  ASP.NET pages are tidier than ASP pages. [1.5] a) 1, 3 c) 1 Only b) 2, 3 d) 3 Only 27. _______________ is a file that contains settings for configuring your application. [1.0] a) Global.asax c) Global.asp b) Global.net d) Global.asa 28. A web service can be described as a function that can be deployed over the web. [0.5] a) True b) False 29. In the case of a Web-enabled application, firstly the Internet is a _____________ network. Secondly, Web pages are _________________. [1.0] a) connectionless c) connected b) state d) stateless 30. A Web-enabled application can function in isolation. It doesn’t require several network and application components to deliver the desired results to the user. [1.0] a) True b) False 31. The __________ directive is used to specify attributes that affect the code in the .ASPX page. [1.0] a) @ Paper c) @ Page b) @ Script d) @ Tag 32. The ____________ section is where most of the code for providing the required functionality is written. [1.0] a) <script> c) <body> b) <form> d) <p> 33. You can’t use server controls to create the user interface for the web application. [0.5] a) True b) False 34. Which are the two types of server controls? [1.5] a) HTML Controls c) Web Controls b) Internet Controls d) Script Controls 35. The _________ attribute of the control allows a developer to access the control programmatically. [1.0] a) name c) width b) id d) style 36. The ______________ control is a hidden control that is added to the form when the form is submitted to the server. [1.0] a) _VIEWSTATE c) VIEWSTATE b) VIEWSTATE_ d) _VIEWSTATE_ 37. Every time an .ASPX page is loaded, the Page_Load event is fired. [0.5] a) True b) False 38. It is possible to check whether an. ASPX page is posted back to the server with the help of the _____________ property of the page. [1.0] a) PostBack c) IsPostback b) AutoPostBack d) None of the Above 39. Identify the correct sequence of processes that occur when an .ASPX page is requested from a browser: A HTTP request is sent to the IIS. The server code is loaded into memory and executed on the web server. A request for an .ASPX page is made from the browser [2.0] The output of the server code is sent back to the browser by the IIS. On the server-end the .ASPX page is loaded again; however, the hidden fields values are read and appropriate event handlers are called. The output is sent back to the browser in the form of HTML. Suppose the user performs an action on a control that has a server side event handler or causes any server side execution to occur, the page is posted back along with a hidden control that contain the information about what actions have been performed by the user. a) 1, 2, 3, 4, 5, 6, 7 c) 4, 5, 6, 7, 3, 2, 1 b) 2, 3, 1, 4, 6, 7, 5 d) 6, 5, 4, 3, 7, 2, 1 40. The __________ object is used to share application-level information. [1.0] a) Application c) Response b) Request d) Session 41. __________ object is used to store information for a particular user between page calls [1.0] a) Application c) Response b) Request d) Session 42. An ASP.NET application is a collection of text files that are stored in a directory and its subdirectories, on the Web server. [0.5] a) True b) False 43. The pages can be physically stored in any directory on the web server. This directory needs to be a subdirectory of wwwroot. However, this directory has to be made a virtual directory. [0.5] a) True b) False 44. The web server manages the virtual directory settings, permissions and user access. [0.5] a) True b) False 45. If a directory has write and execute permissions, a user cannot upload .aspx files and execute them on your Web server. [0.5] a) True b) False 46. The client browser and the Web server communicate using the ___________ protocol. [1.0] a) FTP c) HTTP b) SMTP d) NNTP 47. The communication between the client and the server take place through a series of_______________. [1.0] a) Requests Only c) Responses Only b) requests-and-responses d) None of the Above 48. The Form method of the Request object is used to retrieve the data in the form fields submitted by the user. [0.5] a) True b) False 49. The Redirect method of the Response object is used to redirect the user to home page. [0.5] a) True b) False 50. All event procedures receive two arguments from the events: The event sender The class instance that holds data for the event [1.0] a) True b) False [...]... to create the graphics for the web page in a separate file a) True 77 79 [0.5] b) False An ASP. NET application object is created the first time a request is made to the server; after that, no ASP. NET code executes a) True [0.5] b) False An ASP. NET application is a collection of all the ASP. NET pages, aspx files, and various other files that are required to provide the essential functionality of the application... increase and the overhead of maintaining those connections is a major factor that hampers increasing the size of the application The disconnected model of ADO.NET does not create all these overhead costs 4 Standardization - Since data in the dataset can be preserved in the form of XML and transmitted between tiers in the form of XML, standardization of data is possible 5 Programmability - In ADO.NET,... throughout the session of a particular user Session-level variables handling is covered in a later session a) True 84 [0.5] b) False The web pages in an application can’t execute the event-handlers in the Global.asax file automatically a) True 83 [1.0] b) False Application variables can be accessed and updated by all the pages of an ASP. NET application a) True b) False [0.5] 85 The lock method is used... replacement for the standard HTML controls a) True b) False [0.5] 57 The textmode property of a textbox is set to multiline The textbox can be used to accept _ lines of information a) Single Only 58 c) Multiple Only b) Single and Multiple d) None of the Apply There are only three controls in ASP. NET that can be used... a datatable is represented by the Row object a) True b) False 143 A dataset is an object and is not a control It can store data To display data in a dataset, controls are necessary a) True [1.0] b) False 144 .NET Data Providers will take care of retrieving, inserting, updating and deleting data between a dataset and the database a) True [0.5] b) False [0.5] 145 Identify the correct statements [1.5]... [0.5] b) False [0.5] 145 Identify the correct statements [1.5] 1 Connection Object - The connection object is used to establish a connection between the application and the database 2 Command Object - The command object allows you to retrieve and manipulate data in the database a) Statement 1 c) Statement 1 b) Both are Wrong d) Both are Right 146 The OLE DB NET Data Provider is used to connect with the... filled up a form in the right format and has not left any fields blank is called validation a) True [0.5] b) False ASP. NET provides us with container controls, that is, these controls can contain other controls a) True [0.5] b) False Like objects, web controls possess methods and properties and respond to events a) True 65 [1.0] [0.5] b) False Identify the correct statements RangeValidator: helps in ensuring... to evaluate data binding expressions at runtime and format the output as required to be displayed in a browser a) Data.Eval() c) DataBinder.Eval() b) DataBinder.Val() [1.0] d) Data.Val() 157 The control is a container, which can be used to create [1.0] a list of data a) Repeater c) Grid b) TextBox d) DataView 158 The look and layout of some ASP. NET controls cannot be customized by using templates... PostBack 62 d) None of the above In ASP. NET, the control can perform the functionality required for changing the advertisements a) Ad Mover 63 c) Ad Rotator b) Ad Repeater d) Ad Displayer The calendar control responds to two events: Date changes Month changes a) True 64 66 67 [0.5] b) False The process of checking whether the user has filled up a form in the right format and has not left any fields... validation tests are successful and vice versa a) IsValid 74 c) IsComplete b) IsCorrect d) IsFilled Downlevel browsers understand HTML 4.0 a) True 75 To disable client-side validation the property can be set to [1.0] downlevel c) Target b) BrowserTarget d) ClientTarget Code Behind allows us to write the code to provide the required functionality in a separate file and the code to create the graphics . Question Bank ASP .Net and Webforms 1. The ______________ is used to. languages like VB, C#, and much more.  ASP. NET pages get interpreted instead of being compiled.  ASP. NET pages are tidier than ASP pages. [1.5] a) 1,

Ngày đăng: 09/04/2013, 09:10

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan