The document contains multiple-choice and direct questions related to ASP.NET, focusing on its capabilities, models, and differences from classic ASP. Key topics include the creation of dynamic web pages, the request/response model, server-side vs client-side processing, and the significance of the runat='server' attribute. It also highlights the evolution from CGI to ASP.NET and its object-oriented nature.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
2 views
ch1-1
The document contains multiple-choice and direct questions related to ASP.NET, focusing on its capabilities, models, and differences from classic ASP. Key topics include the creation of dynamic web pages, the request/response model, server-side vs client-side processing, and the significance of the runat='server' attribute. It also highlights the evolution from CGI to ASP.NET and its object-oriented nature.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2
Chpater 1 Questions
Multiple Choice Questions
1) What does ASP.NET allow developers to create? A) Static web pages B) Dynamic web pages C) HTML documents D) XML files Answer: B) Dynamic web pages 2) Which model describes the communication between a client and a server in ASP.NET? A) Peer-to-peer model B) Request/Response model C) Event-driven model D) Data-driven model Answer: B) Request/Response model 3) How does server processing differ from static web requests? A) It requires no client interaction B) It can examine and process code before sending the response C) It only sends stored HTML files D) It is slower than static processing Answer: B) It can examine and process code before sending the response 4) What is the role of client-side processing in ASP.NET? A) To execute server-side code B) To provide information about client actions to the server C) To manage database connections D) To compile CIL code Answer: B) To provide information about client actions to the server 5) What is the main purpose of the <%@ Page %> directive in an ASP.NET page? A) To declare HTML elements B) To supply the ASP.NET page with specific information for compilation C) To create a new web server D) To connect to a database Answer: B) To supply the ASP.NET page with specific information for compilation 6) Which of the following statements is true about ASP.NET? A) It only supports HTML pages B) It is a client-side technology C) It is built on the Microsoft .NET Framework D) It does not support database interactions Answer: C) It is built on the Microsoft .NET Framework 7) What is the purpose of the runat="server" attribute in ASP.NET? A) To indicate a static HTML element B) To specify that the element should be processed on the server C) To connect to a client database D) To define the end of a script Answer: B) To specify that the element should be processed on the server 8) Which technology preceded ASP.NET for creating dynamic web content? A) Hypertext Markup Language (HTML) B) Common Gateway Interface (CGI) C) JavaServer Pages (JSP) D) PHP Answer: B) Common Gateway Interface (CGI) 9) What is the main advantage of the event-driven model in ASP.NET? A) It requires no server-side processing B) It allows the server to respond to client actions dynamically C) It improves loading times for static pages D) It eliminates the need for client-side code Answer: B) It allows the server to respond to client actions dynamically 10) What distinguishes ASP.NET from classic ASP? A) ASP.NET is purely a client-side technology B) ASP.NET is completely object-oriented C) Classic ASP does not support dynamic content D) ASP.NET only works with HTML documents Answer: B) ASP.NET is completely object-oriented Direct Questions 1) Explain the request/response model used in ASP.NET. 2) Describe the difference between client-side processing and server-side processing in ASP.NET. 3) What are the key elements of an ASP.NET page, and what role do they play? 4) How has the introduction of ASP.NET improved upon the limitations of classic ASP? 5) What is the significance of the Common Gateway Interface (CGI) in the history of web development?