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