Asp ch3
Asp ch3
1
9) Which section of an ASP.NET page contains the HTML markup?
A) Code file
B) Source code
(C) HTML portion
D) Style sheet
10) What does the term "event-driven programming" refer to in ASP.NET?
(A) Code that runs in response to user actions
B) Code that runs without user interaction
C) Static code execution
D) Compilation of HTML files
2) Explain the differences between declarative and programmatic property settings for Web
controls in ASP.NET.
3) What is the role of the Toolbox in Visual Web Developer when working with ASP.NET
pages?
The Toolbox provides HTML elements and Web controls that can be dragged onto the
designer to build the ASP.NET page visually.
4) How does the ASP.NET page handle dynamic content generation when a web page is
requested?
The ASP.NET engine processes server-side code, converts Web controls to HTML, and
sends the final page to the browser.
5) Discuss the significance of the @Page directive in an ASP.NET page and what attributes
it may contain.
2
Specifies page settings like Language, CodeFile, and Inherits; it connects the HTML portion to its
server-side code and configures how the page runs.