Ch 11
When designing web forms, the Toolbox window contains all of the following groups of controls except: Login to authenticate users. Data controls for connecting to data sources. WebParts that let the user modify the content and behavior of the web pages. Ftp controls for connecting to remote computers.
Ftp controls for connecting to remote computers.
Web applications use a __________ control which is similar to the DataGridView used by desktop applications. GridView DataSource Table DetailsView
GridView
When the Web first became popular, ___________ was the only available tool for creating pages with text, graphics, buttons, and input forms. JavaScript HTML PHP XML
HTML
Which of the following is not one of the four types of web sites available from the ASP.NET Open Website dialog box? Local IIS File System HTML FTP site
HTML
The following controls all have a Windows form counterpart except __________. RadioButtonList Button TextBox CheckBox
RadioButtonList
Which method allows the user to navigate to another Web page? Redirect.Response Hyperlink.Redirect Response.Redirect Redirect.Hyperlink
Response.Redirect
Which of the following is not a TextBox TextMode property choice? Sorted SingleLine MultiLine Password
Sorted
When the Web form default.aspx is added to a project, another file named __________ is also created. default.asp default.aspx.vb default.config default.vb
default.aspx.vb
The following are true about a HyperLink control, except __________. its Text property is shown to the user at runtime it generates an event it allows the user to navigate to another Web page its Target property controls whether new page will appear in a separate window
it generates an event
Which of the following is true about the HTML Designer? it requires the user know how to write HTML code it's a tool that simplifies the design of Web pages and Web forms it's an add-on to Visual Studio for an additional cost it's not possible to visually edit Web pages using this tool
it's a tool that simplifies the design of Web pages and Web forms
The GridView control provides all the following features except __________. it's designed to display single row at a time is displayed you can sort on any column you can select the order in which columns appear you can format data within the columns
it's designed to display single row at a time is displayed
ASP.NET is called a _____________ because it provides development tools, code libraries, and visual controls for web based applications. web tool platform code bank programming language
platform
A web form can be identified by its __________ filename extension. .asp .aspx.vb .aspx .config
.aspx
What does a Web browser do for an end user? Interprets HTML Connects to Web sites Hosts a Web site A and B are correct
A and B are correct
Which statement is true about the CheckBoxList control? each item has a Selected property only one item can be checked at a time it functions just like a ListBox control A and C are correct
A and C are correct
Which of the following is true regarding ASP.NET? ASP.NET is a client-side programming technology. ASP.NET is Microsoft's version of HTML and provides the same capabilities as HTML. ASP.NET provides many controls that are similar to those used in Windows forms. ASP.NET is the first generation of Web programming technology introduced by Microsoft
ASP.NET provides many controls that are similar to those used in Windows forms
Web applications are designed around a __________ model, meaning the one computer produces data while another uses data. Client-Server Peer-to-Peer Master-Slave Server-User
Client-Server
Web forms use a ____________ control to access a database and retrieve table rows. DataSet DataSource DataDetails Connection
DataSource
Web applications use the __________ control instead of the datasets used by desktop applications. Gridview Datasource Table MS Access
Datasource
8. Which Web control is similar to the Windows form ComboBox control? TextBox DropDownList CheckBoxList ListBox
DropDownList
When you are designing Web forms, the __________ window contains Web-related controls. Toolbox Web kit Widget WebParts
Toolbox
Which of the following is not true about the ASP.NET development platform? Visual Basic code can be stored in a separate file from a web page's text and HTML. It allows you to transfer much of your Visual Basic knowledge to Web applications. It allows the use of object-oriented program code. Visual Basic is the only programming language that may be used
Visual Basic is the only programming language that may be used
When an ASP.NET application is created, it contains only one file named __________. Default.aspx Index.aspx Default.htm Web.config
Web.config
All of the following are browsers your Web pages should be tested with except __________. Chrome WebPro Safari Firefox
WebPro
Which of the following is not a Web browser? Safari Firefox Windows Explorer Chrome
Windows Explorer
When running a web application with Visual Studio or Visual Web Developer, _________________. the resulting Web page is displayed in a Web browser the server executes statements in the code-behind file the server creates a Web page consisting of standard HTML tags and controls all of the above
all of the above
The DetailsView control allows the user to do which of the following? display multiple rows of a database table at the same time connect to a data source view but not edit the rows of a database all of the above are true
connect to a data source
Which is not a valid URL protocol? ftp:// http:// https:// htm://
htm://
Internet Information Services (IIS) __________. implements a professional-quality Web server contains minimal security and configuration features requires little expertise to set up and maintain all of the above
implements a professional-quality Web server
A postback occurs when the server processes the page contents and __________. does nothing when there are no changes to the page contents sends an error when the requested page is not found sends a different page that was requested by the user resends a modified version of the same page currently displayed
resends a modified version of the same page currently displayed
All of the following are true about HTML tables except ________. they are more powerful than ASP.NET controls they are used to align text and graphics they have cell padding and cell spacing properties Visual Studio provides resizing handles that you can drag with the mouse
they are more powerful than ASP.NET controls
ASP.NET controls are more powerful than HTML controls because __________. more fonts are available graphics can be embedded in them they use event handlers to carry out actions at runtime powerful hyperlinks can be embedded in them
they use event handlers to carry out actions at runtime