Wednesday, June 3, 2009

Ajax & Web Services

Namespace ___________ contains classes for creating web applications and controls.
A) System.ASP
B) System.Web.UI
C) System.Web.GUI
D) System.Web.Creation

Points Earned: 1.0/1.0
Correct Answer(s): B




2. 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

Points Earned: 1.0/1.0
Correct Answer(s): D




3. Web Form files have the extension:
A) .wasp
B) .wbfm
C) .aspx
D) .aspc

Points Earned: 1.0/1.0
Correct Answer(s): C




4. Microsoft's _________ technology is used for web-based application development.
A) ASP .NET
B) APM .NET
C) PHP .NET
D) All of the above

Points Earned: 1.0/1.0
Correct Answer(s): A




5. The information tier typically stores data in a(n) ___________.
A) DataGrid
B) XML document
C) relational database management system
D) None of the above

Points Earned: 1.0/1.0
Correct Answer(s): C




6. When a Web Form object is ready for garbage collection, the _________ event occurs.
A) GCollect
B) GC
C) Unload
D) Dispose

Points Earned: 1.0/1.0
Correct Answer(s): C




7. _________ C#, ASP.NET is ____________.
A) Unlike, case sensitive
B) Like, case sensitive
C) Unlike, not case sensitive
D) Like, not case sensitive

Points Earned: 1.0/1.0
Correct Answer(s): C




8. The code-behind file is a(n) _______ class.
A) full
B) virtual
C) partial
D) abstract

Points Earned: 1.0/1.0
Correct Answer(s): C




9. _________ applications divide functionality into separate logical.
A) Internet
B) Multi-tier
C) Logical
D) None of the above

Points Earned: 1.0/1.0
Correct Answer(s): B




10. 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.

Points Earned: 1.0/1.0
Correct Answer(s): B




11. A _______ is an address indicating the location of a resource on the web.
A) DNS
B) URL
C) ASPX
D) None of the above.

Points Earned: 1.0/1.0
Correct Answer(s): B




12. __________ is an Internet standard that specifies the way in which certain data must be formatted so that programs can interpret the data correctly.
A) DNS
B) MIME
C) IIS
D) None of the above.

Points Earned: 1.0/1.0
Correct Answer(s): B




13. A simple Web Form consists of two related files, an ASPX file and a(n) _______.
A) HTML document
B) database file
C) C# code-behind file
D) None of the above.

Points Earned: 1.0/1.0
Correct Answer(s): C




14. 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

Points Earned: 1.0/1.0
Correct Answer(s): B




15. A ________ checks whether data entered into another web control is correct or in the proper format.
A) certification control
B) format control
C) validation control
D) user control

Points Earned: 1.0/1.0
Correct Answer(s): C




16. Encrypted data is data translated into a code that only __________ can understand.
A) the sender
B) the sender and the receiver
C) the receiver
D) everyone

Points Earned: 1.0/1.0
Correct Answer(s): B




17. HTTP is a _________ protocol: it does not support persistent connections.
A) connectionless
B) stateful
C) connectionful
D) stateless

Points Earned: 1.0/1.0
Correct Answer(s): D




18. A _________ page defines common GUI elements that are inherited by each page in a set of content pages.
A) template (.temp)
B) model (.mod)
C) master (.master)
D) guide (.guide)

Points Earned: 1.0/1.0
Correct Answer(s): C




19. 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.

Points Earned: 1.0/1.0
Correct Answer(s): A




20. A ________ is a piece of data stored in a small text file to maintain information about the client during and between browser sessions.
A) Web log
B) virtual record
C) cookie
D) tracking file

Points Earned: 1.0/1.0
Correct Answer(s): C




21. What is the type for cookies in C#?
A) Cookie
B) HttpCookie
C) WebCookie
D) None of the above

Points Earned: 1.0/1.0
Correct Answer(s): B




22. The AdRotator control uses a(n) _________ file.
A) XML
B) AD
C) ROT
D) All of the above

Points Earned: 1.0/1.0
Correct Answer(s): A




23. A ________ ASP.NET data control displays data on a Web Form in a tabular format.
A) TabView
B) GridView
C) GridFormat
D) TabFormat

Points Earned: 1.0/1.0
Correct Answer(s): B




24. Each _________ in a GridView is represented as a BoundField.
A) column
B) row
C) table
D) database

Points Earned: 1.0/1.0
Correct Answer(s): A




25. The ScriptManager control _________.
A) is the key control in Ajax applications
B) is placed before the controls it affects
C) cannot be put on a page with another ScriptManager
D) Both A. and B.
E) All of the above.

Points Earned: 1.0/1.0
Correct Answer(s): E




26. The UpdatePanel control _________.
A) is reloaded with a partial page update
B) holds static (non-changing) controls
C) must come before a ContentTemplate
D) B. and C.
E) All of the above

Points Earned: 1.0/1.0
Correct Answer(s): A




27. C# provides session-tracking capabilities in class __________.
A) SessionTracking
B) SessionState
C) HttpSessionState
D) Session

Points Earned: 1.0/1.0
Correct Answer(s): C




28. When XHTML for a page is created, a validator is converted into _________.
A) JavaScript
B) CScript
C) UniScript
D) None of the above.

Points Earned: 1.0/1.0
Correct Answer(s): A




29. For ASP .NET applications, Internet Information Services is usually the web server.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): True




30. ASP.NET comments start with "//".A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): False




31. Business rules dictate how clients can and cannot access application data and how applications process data.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): True




32. The top tier is the application's user interface which gathers input and displays output.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): True




33. Business logic is one that is used with business transactions.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): False




34. Web Forms use the same controls as Windows Forms.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): False




35. The pathname to a file on a web server specifies the location of an actual directory on the web server's file system.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): False




36. The middle tier of a multi-tier application processes client requests and maintains the reliability of the stored data.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): True




37. The information tier holds the data for an application.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): True




38. An instance of the web page is re-compiled each time the ASPX file is requested by a user.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): False




39. The host is the computer that requests a Web page for display.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): False




40. The file that contains the coding for a Web Form is a Web-code file.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): False




41. Writing XHTML requires a software development tool.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): False




42. Each web control maps to a corresponding XHTML element or set of elements.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): True




43. Relative positioning specifies that controls will be located exactly where they are dragged and dropped onto the form by the programmer.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): False




44. The document type declaration specifies the document element name.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): True




45. A web server translates a hostname into an IP address.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): False




46. Visual Studio creates a class for every ASPX file it creates in a .NET language.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): True




47. A simple web page consists of an XHTML document containing tags that tell a web browser how to display and format the document's information.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): True




48. Postback refers to going back to the last web page.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): False




49. A validator control ensures that the entered information is in the correct format.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): True




50. If the AdRotator is not compatible with the viewer's computer, the image is X-ed out.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): False




51. Cookies generally provide more functionality than HttpSessionState objects.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): False




52. Ajax applications have the advantage of using synchronous requests.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): False




53. Cookies created by one server can be accessed by any server that wishes to access them.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): False




54. Multiple TabPanels are placed inside a TabContainer.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): True




55. A database used by an ASP.NET website should be located in the project's App_Data folder.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): True




56. The EnabledSessionState, when set to true, allows the form to use session tracking.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): True




57. Hidden form elements can be used with URL rewriting to implement session-tracking.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): True




58. The Impressions element of the XML file from which the AdRotator gets the advertisement information determines how often each advertisement.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): True




59. By default, anonymous users who attempt to load a page in a directory to which they are denied access are redirected to Login.aspx.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): True




60. A LinqDataSource allows an application to interact with a database via LINQ.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): True




61. An ASP.NET expression, delimited by < and >, can be used to access a connection string stored in an application's Web.config file.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): False




62. Cookies exist on a user's computer until the user decides to delete them.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): False




63. GridView method Refresh refreshes the information displayed in the GridView.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): False




64. Controls and other elements are placed on a Web From sequentially.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): True




65. Form authentication is a technique that protects a page so that only users known to the site can access it.A) True
B) False

Points Earned: 1.0/1.0
Correct Answer(s): True

No comments:

Post a Comment