Deck 2: VB.net and ASP.net
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/25
Play
Full screen (f)
Deck 2: VB.net and ASP.net
1
Which does the solution explorer not display?
A)Form Properties
B)Reference Folder
C)Form File
D)Assemble File
A)Form Properties
B)Reference Folder
C)Form File
D)Assemble File
Form Properties
2
The Button control can be activated:
A)programmatically through the click event.
B)by clicking the button with the mouse.
C)with the form's DefaultButton property.
D)Both a and b.
A)programmatically through the click event.
B)by clicking the button with the mouse.
C)with the form's DefaultButton property.
D)Both a and b.
Both a and b.
3
Which sequence of char data types is listed from lowest to highest?
A)a, A, z, Z
B)a, z, A, Z
C)A, a, Z, z
D)A, Z, a, z
A)a, A, z, Z
B)a, z, A, Z
C)A, a, Z, z
D)A, Z, a, z
A, Z, a, z
4
The Boolean data type:
A)is unsigned.
B)has two states.
C)is displayed by the program as yes or no.
D)Both a and b.
A)is unsigned.
B)has two states.
C)is displayed by the program as yes or no.
D)Both a and b.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
5
VB.Net identifiers:
A)are case sensitive.
B)can begin with an underscore.
C)can begin with a number.
D)Both a and b.
A)are case sensitive.
B)can begin with an underscore.
C)can begin with a number.
D)Both a and b.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
6
The proper operator precedence, from first to last, is:
A)logical, comparison, and arithmetic.
B)arithmetic, comparison, and logical.
C)arithmetic, logical, and comparison.
D)comparison, arithmetic, and logical.
A)logical, comparison, and arithmetic.
B)arithmetic, comparison, and logical.
C)arithmetic, logical, and comparison.
D)comparison, arithmetic, and logical.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
7
With A = False and B = True, which statement evaluates as True?
A)A AND A
B)A AND B
C)B AND A
D)B AND B
A)A AND A
B)A AND B
C)B AND A
D)B AND B
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
8
Which operator is evaluated first?
A)NOT
B)AND
C)XOR
D)OR
A)NOT
B)AND
C)XOR
D)OR
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
9
In the For…Next statement the default value for the Step is:
A)-1
B)0
C)1
D)2
A)-1
B)0
C)1
D)2
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
10
Which is a type of procedure found in VB.Net?
A)Event
B)Function
C)Sub
D)All of the above.
A)Event
B)Function
C)Sub
D)All of the above.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
11
A sub procedure is valuable because it:
A)makes code easier to maintain.
B)splits the logic to solve a problem into small, manageable units.
C)limits the number of times the code can be accessed.
D)Both a and b.
A)makes code easier to maintain.
B)splits the logic to solve a problem into small, manageable units.
C)limits the number of times the code can be accessed.
D)Both a and b.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
12
Which method will return the number of elements in an array?
A)Dimension
B)Length
C)Number
D)Size
A)Dimension
B)Length
C)Number
D)Size
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
13
What is required to reference an element in an array?
A)Array name
B)Index value of the element
C)Element value
D)Both a and b.
A)Array name
B)Index value of the element
C)Element value
D)Both a and b.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
14
Which method will arrange the elements of an array in alphabetical order?
A)Arrange
B)Assemble
C)Order
D)Sort
A)Arrange
B)Assemble
C)Order
D)Sort
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
15
Which dialog control allows the user to zoom in on a document?
A)PrintDialog
B)PrintPreview
C)PageSetupDialog
D)Both a and b.
A)PrintDialog
B)PrintPreview
C)PageSetupDialog
D)Both a and b.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
16
Which is not an ADO.NET DataAdapter Object?
A)OleDbDataAdapter
B)SQLDataAdapter
C)QueryDataAdapter
D)Both a and b.
A)OleDbDataAdapter
B)SQLDataAdapter
C)QueryDataAdapter
D)Both a and b.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
17
Where does a web application reside?
A)Web client
B)Web server
C)Visual Studio .NET
D)Both a and b.
A)Web client
B)Web server
C)Visual Studio .NET
D)Both a and b.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
18
Which is an example of a web document?
A)Server script
B)Web page
C)Client browser
D)Both a and b.
A)Server script
B)Web page
C)Client browser
D)Both a and b.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
19
A postback occurs when:
A)a browser posts a form to the server.
B)a user's action activates the handing of a server event.
C)a server posts a form to the client.
D)Both a and b.
A)a browser posts a form to the server.
B)a user's action activates the handing of a server event.
C)a server posts a form to the client.
D)Both a and b.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
20
Which set of symbols are used to signify the presence of ASP.NET code?
A)<@
B)<#
C)<$
D)<%
A)<@
B)<#
C)<$
D)<%
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
21
Which is the file extension used for an ASP.NET file?
A)asn
B)asp
C)aspn
D)aspx
A)asn
B)asp
C)aspn
D)aspx
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
22
What is the extension for a Visual Basic web form interface file?
A).asp
B).aspx
C).asp.vb
D).aspx.vb
A).asp
B).aspx
C).asp.vb
D).aspx.vb
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
23
When an ASP.NET file is placed on an IIS server and viewed through a browser, the resulting HTML page contains:
A)all ASP.NET code.
B)as much ASP.NET code as is in the ASP.NET file.
C)a mix of ASP.NET and HTML code.
D)all HTML code.
A)all ASP.NET code.
B)as much ASP.NET code as is in the ASP.NET file.
C)a mix of ASP.NET and HTML code.
D)all HTML code.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
24
What is the extension for a Visual Basic web form code file?
A).asp
B).aspx
C).asp.vb
D).aspx.vb
A).asp
B).aspx
C).asp.vb
D).aspx.vb
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
25
Which HTML tag creates a link to another browser page?
A)A href
B)A ref
C)An href
D)An ref
A)A href
B)A ref
C)An href
D)An ref
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck