Deck 23: Web App Development With Aspnet in Visual Basic
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
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
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/67
Play
Full screen (f)
Deck 23: Web App Development With Aspnet in Visual Basic
1
The file that contains the programming logic of a Web Form is called the _________ file.
A) logic
B) code
C) code-aside
D) code-behind
A) logic
B) code
C) code-aside
D) code-behind
D
2
The pathname to a file on a web server specifies the location of an actual directory on the web server's file system.
False
3
A URL contains information that directs a browser to the resource that the user wishes to access. Computers that run __________ software make such resources available.
A) DNS
B) web client
C) web server
D) HTP
A) DNS
B) web client
C) web server
D) HTP
C
4
In a URL, the hostname is the name of the server on which the resource resides. The remainder of a URL specifies the location and name of a requested resource. For security reasons, the location is normally a __________ directory, which the server translates into a real location on the server.
A) file
B) implied
C) virtual
D) implicit
A) file
B) implied
C) virtual
D) implicit
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
5
An IP address is:
A) an internet protocol address
B) a set of numbers distinguishing computers
C) a value that identifies a server
D) All of the above
A) an internet protocol address
B) a set of numbers distinguishing computers
C) a value that identifies a server
D) All of the above
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
6
When given a URL, a web browser uses HTTP to retrieve and display the web page found at that address.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
7
The host is the computer that requests a web page for display.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
8
The information tier typically stores data in a(n) _________.
A) DataGrid
B) XML document
C) database management system
D) None of the above
A) DataGrid
B) XML document
C) database management system
D) None of the above
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
9
The file that contains the code for a Web form is a web-code file.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
10
URIs (Uniform Resource Identifiers) identify documents on the Internet. URIs that start with http:// are called __________.
A) DNSs
B) HTTPs
C) ASPs
D) URLs
A) DNSs
B) HTTPs
C) ASPs
D) URLs
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
11
_________ applications divide functionality into separate logical groupings.
A) Internet
B) Multi-tier
C) Logical
D) None of the above.
A) Internet
B) Multi-tier
C) Logical
D) None of the above.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
12
For ASP .NET applications, Internet Information Ser vices is usually the web server.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
13
Web forms are customized by programmers by adding Web _________ such as labels and buttons.
A) features
B) controls
C) servers
D) None of the above
A) features
B) controls
C) servers
D) None of the above
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
14
Visual Studio creates a class for every ASPX file it creates in a .NET language.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
15
A _______ is an address indicating the location of a resource on the web.
A) DNS
B) URL
C) ASPX
D) None of the above.
A) DNS
B) URL
C) ASPX
D) None of the above.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
16
________ is an Internet standard that specifies the way in which data must be formatted so that programs can interpret the data correctly.
A) IIS
B) DNS
C) MIME
D) None of the above.
A) IIS
B) DNS
C) MIME
D) None of the above.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
17
Web Forms use the same controls as Windows Forms.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
18
A web server translates a hostname into an IP address.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
19
Web Form files have the extension:
A) )wbfm
B) )wasp
C) )aspc
D) )aspx
A) )wbfm
B) )wasp
C) )aspc
D) )aspx
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
20
Microsoft's _________ technology is used for web-based application develop ment.
A) ASP .NET
B) WEB .NET
C) INTER .NET
D) All of the above
A) ASP .NET
B) WEB .NET
C) INTER .NET
D) All of the above
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
21
An Image web control's __________ property specifies the location of the image to display.
A) ImageLocation
B) ImageUrl
C) ImageSource
D) ImageDisplay
A) ImageLocation
B) ImageUrl
C) ImageSource
D) ImageDisplay
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
22
A simple Web Form consists of two related files, an ASPX file and a(n) _______.
A) HTML document
B) database file
C) Visual Basic code-behind file
D) None of the above.
A) HTML document
B) database file
C) Visual Basic code-behind file
D) None of the above.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
23
Namespace _________ contains classes for creating web applications and controls.
A) System.Web.Creation
B) System.ASP
C) System.Web.GUI
D) System.Web.UI
A) System.Web.Creation
B) System.ASP
C) System.Web.GUI
D) System.Web.UI
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
24
A DropDownList web control is similar to the Windows Forms __________control, but doesn't allow users to type text.
A) DropBox
B) ListBox
C) DropDownBox
D) ComboBox
A) DropBox
B) ListBox
C) DropDownBox
D) ComboBox
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
25
A __________web control adds a hyperlink to a Web Form. The Navigate-Url property specifies the resource or web page that will be requested when the user clicks the HyperLink.
A) Navigate-Url
B) Hyper-Link
C) Link
D) HyperLink
A) Navigate-Url
B) Hyper-Link
C) Link
D) HyperLink
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
26
Each tier of a multi-tier application must reside on a separate machine.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
27
A __________control provides a series of radio buttons from which the user can select only one.
A) RadioButtonList
B) RadioButtons
C) SingleSelect
D) RadioButtonDropDown
A) RadioButtonList
B) RadioButtons
C) SingleSelect
D) RadioButtonDropDown
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
28
Business rules dictate how clients can and cannot access application data and how applications process data.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
29
An instance of the web page is re-compiled each time the ASPX file is requested by a user.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
30
The top tier is the application's user interface which gathers input and displays output.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
31
The document type declaration specifies the document element name.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
32
The code-behind file is a(n) _______ class.
A) partial
B) full
C) abstract
D) Overridable
A) partial
B) full
C) abstract
D) Overridable
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
33
ASP.NET comments start with the single-quote character '.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
34
The asp: tag prefix means that ________.
A) the control is a Windows Forms control
B) the control is an ASP .NET web control
C) the variable is an ASP variable
D) None of the above.
A) the control is a Windows Forms control
B) the control is an ASP .NET web control
C) the variable is an ASP variable
D) None of the above.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
35
Controls and other elements are placed on a Web Form sequentially.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
36
When a Web Form object is ready for garbage collection, the ________ event occurs.
A) GC
B) Unload
C) Dispose
D) GCollect
A) GC
B) Unload
C) Dispose
D) GCollect
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
37
Relative positioning specifies that controls will be located exactly where they are dragged and dropped onto the form by the programmer.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
38
Web applications are multi-tier applications.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
39
The information tier holds the data for an application.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
40
The middle tier of a multi-tier application processes client requests and maintains the reliability of the stored data.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
41
Cookies created by one server can be accessed by any server that wishes to access them.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
42
ASP.NET pages are often designed so that the current page __________when the user submits the form; this enables the program to receive input, process it as necessary and display the results in the same page when it's loaded the second time.
A) terminates
B) unloads
C) recedes
D) reloads
A) terminates
B) unloads
C) recedes
D) reloads
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
43
Submitting a web form is known as a__________ operation.
A) post
B) submit
C) present
D) postback
A) post
B) submit
C) present
D) postback
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
44
A Web Form's Load event occurs each time the page loads into a web browser. The event handler for this event is Page.Load.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
45
A ________ is a piece of data stored in a small text file to maintain information about the client during and between browser sessions.
A) tracking file
B) cookie
C) web log
D) virtual record
A) tracking file
B) cookie
C) web log
D) virtual record
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
46
The first time a client connects to a server for an web application that uses sessions, the server creates a unique ________ that can later be compared to others in the server's memory in order to identify the client.
A) session ID
B) HttpSessionState object
C) cookie
D) None of the above.
A) session ID
B) HttpSessionState object
C) cookie
D) None of the above.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
47
When the page is sent to the client, the validator is converted into HTML that performs the validation in the client web browser.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
48
Hidden form elements can be used with URL rewriting to implement session-tracking.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
49
A ________ checks whether data entered into another web control is cor rect or in the proper format.
A) validation control
B) format control
C) user control
D) certification control
A) validation control
B) format control
C) user control
D) certification control
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
50
If data for a certain field is required for the user to continue, the programmer must manually insert tests for data in the VB code-behind file.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
51
If a cookie has no expiration date then it will never expire.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
52
The EnableSessionState, when set to true, allows the form to use session tracking.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
53
You must write your own regular expressions to have Visual Web Developer validate e-mail addresses, phone numbers, etc.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
54
HTTP is a _________ protocol: it does not support persistent connections.
A) connectionful
B) connectionless
C) stateless
D) stateful
A) connectionful
B) connectionless
C) stateless
D) stateful
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
55
Class Page's Valid property returns True if validation succeeded.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
56
A validator control ensures that the entered information is in the correct format.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
57
Server-side Web Form validation must be implemented programmatically.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
58
Visual Basic provides session-tracking capabilities in class __________.
A) Session
B) SessionTracking
C) HttpSessionState
D) SessionState
A) Session
B) SessionTracking
C) HttpSessionState
D) SessionState
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
59
Cookies exist on a user's computer until the user decides to delete them.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
60
Some client browsers might not support scripting or the user might disable it. For this reason, you should always perform validation on the server.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
61
Cookies generally provide more functionality than HttpSessionState objects.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
62
Each _________ in a GridView is represented as a BoundField.
A) row
B) column
C) table
D) database
A) row
B) column
C) table
D) database
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
63
A ________ ASP.NET data control displays data on a web form in a tabular format.
A) TabView
B) GridView
C) TabFormat
D) GridFormat
A) TabView
B) GridView
C) TabFormat
D) GridFormat
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
64
GridView method Refresh refreshes the information displayed in the GridView.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
65
An ASP.NET expression, delimited by < and >, can be used to access a connection string stored in an application's Web.config file.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
66
A database used by an ASP.NET website should be located in the project's App_Data folder.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck
67
A LinqDataSource allows an application to interact with a database via LINQ.
Unlock Deck
Unlock for access to all 67 flashcards in this deck.
Unlock Deck
k this deck