1. 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.
e.) All of the above.
Answer: d
2. When does a “round trip” start in a web application?
a.) The server requests an action from the user.
b.) The user activates a server control event.
c.) The browser posts a form to the server.
d.) The server processes a control event.
e.) The server posts a new HTML page.
Answer: b
3. Which software can be used to create an HTML page?
a.) Notepad
b.) Word
c.) Visual Studio .NET
d.) Both a and b.
e.) All of the above.
Answer: e
4. Which set of symbols are used to signify the presence of ASP.NET code?
a.) <@
b.) <#
c.) <$
d.) <%
e.) <&
Answer: d
5. Which is the file extension used for an ASP.NET file?
a.) asn
b.) asp
c.) aspn
d.) aspx
e.) asx
Answer: d
6. 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.
e.) None of the above.
Answer: d
7. What is the extension for a Visual Basic web form interface file?
a.) .asp
b.) .aspx
c.) .asp.vb
d.) .aspx.vb
e.) .asp.vb.net
Answer: b
8. What is the extension for a Visual Basic web form code file?
a.) .asp
b.) .aspx
c.) .asp.vb
d.) .aspx.vb
e.) .asp.vb.net
Answer: d
9. Which user action will not generate a server-side event?
a.) Mouse Move
b.) Text Change
c.) Button Click
d.) Both a and b.
e.) All of the above.
Answer: a
10. Because of the latency of a round-trip on the internet:
a.) the interface and code of a web form are stored in separate files.
b.) only some user actions, such as button clicks, will generate events.
c.) it is best to use server-side control.
d.) web applications should be coded in Visual Basic.
e.) None of the above.
Answer: b
11. Which property is used to name a web control?
a.) ControlName
b.) Designation
c.) ID
d.) Name
e.) Title
Answer: c
12. Which language is used to create an ASP.NET code file?
a.) Visual Basic
b.) C#
c.) C++
d.) Both a and b.
e.) All of the above.
Answer: e
13. It is best to use a web instead of a windows application when the application:
a.) has a thin front end (client).
b.) needs to be available to the public.
c.) must be platform-independent.
d.) Both a and b.
e.) All of the above.
Answer: e
14. Which is not a fundamental service identified in a three-tier architecture?
a.) Association layer
b.) Connection layer
c.) Logical layer
d.) Both a and b.
e.) All of the above.
Answer: e
15. Which layer is exemplified by a web server?
a.) Application
b.) Association
c.) Data
d.) Logical
e.) Presentation
Answer: a
16. Which layer is exemplified by a fat client?
a.) Application
b.) Association
c.) Data
d.) Logical
e.) Presentation
Answer: e
17. Which layer is exemplified by the use of ADO.NET?
a.) Application
b.) Association
c.) Data
d.) Logical
e.) Presentation
Answer: c
18. How will using a middle tier typically affect the number of connections to a database?
a.) Increase the number
b.) Have no effect on the number
c.) Decrease the number
d.) It depends on the type of client.
e.) It depends on the type of database.
Answer: c
19. An application layer:
a.) will contain business logic.
b.) manage connections to the database.
c.) can be distributed over many computers.
d.) Both a and b.
e.) All of the above.
Answer: e
20. A data layer is responsible for:
a.) retrieving information from a database.
b.) updating information in a database.
c.) deleting information in a database.
d.) Both a and b.
e.) All of the above.
Answer: e
21. What is the minimum number of computers in a three-tier architecture?
a.) 0
b.) 1
c.) 2
d.) 3
e.) 4 or more
Answer: b
22. A server farm is:
a.) an example of a distributed application.
b.) makes it easy to add new computers if demand increases.
c.) applies only to web servers.
d.) Both a and b.
e.) All of the above.
Answer: d
23. Which is a valid type of state management for the creation of web pages?
a.) Client-side
b.) Server-side
c.) Data side
d.) Both a and b.
e.) All of the above.
Answer: d
24. The stateless HTTP protocol refers to web pages created:
a.) on a web server.
b.) without information from a database.
c.) without knowledge of previous web pages.
d.) before a request from a client.
e.) on a client machine.
Answer: c
25. Client-side state management techniques are appropriate when using:
a.) sensitive information.
b.) critical applications.
c.) an intranet.
d.) Both a and b.
e.) All of the above.
Answer: c
Post A Comment:
0 comments: