1. Where does the view state store information?
a.) HTML source
b.) Text file
c.) URL
d.) Both a and b.
e.) All of the above.
Answer: a
2. Where does the query string store information?
a.) HTML source
b.) Text file
c.) URL
d.) Both a and b.
e.) All of the above.
Answer: c
3. Where do cookies store information?
a.) HTML source
b.) Text file
c.) URL
d.) Both a and b.
e.) All of the above.
Answer: b
4. Which client-side technique is specific to ASP.NET?
a.) Cookies
b.) Query string
c.) View state
d.) Both a and b.
e.) All of the above.
Answer: c
5. Which client-side technique can be disabled by the end-user?
a.) Cookies
b.) Query string
c.) View state
d.) Both a and b.
e.) All of the above.
Answer: a
6. What symbol specifies the beginning of a query string?
a.) @
b.) #
c.) $
d.) %
e.) ?
Answer: e
7. What is the syntax for creating and using an application variable?
a.) Application.VariableName = Value
b.) Application.VariableName = (Value)
c.) Application(VariableName) = Value
d.) Application(VariableName) = (Value)
e.) Application(“VariableName”) = Value
Answer: e
8. Which server-side technique is available in ASP.NET?
a.) Application states
b.) Session states
c.) Database support
d.) Both a and b.
e.) All of the above.
Answer: d
9. An Application variable is created:
a.) when the application is first placed on a web server.
b.) when the web server is first started.
c.) when the first client requests a URL resource.
d.) every time a client requests a URL resource.
e.) every time a new client interacts with the web application.
Answer: c
10. A Session variable is created:
a.) when the application is first placed on a web server.
b.) when the web server is first started.
c.) when the first client requests a URL resource.
d.) every time a client requests a URL resource.
e.) every time a new client interacts with the web application.
Answer: e
11. If there is no activity from a browser, how long will a session variable last?
a.) 10 minutes
b.) 20 minutes
c.) 60 minutes
d.) 100 minutes
e.) 200 minutes
Answer: b
12. Which is not a reason for using a database to store state information?
a.) The capacity to store high volumes of information
b.) The ability to use data mining techniques on the stored information
c.) The ability to use application and session variables
d.) Security from unauthorized use
e.) The power to easily query for specific information
Answer: c
13. Which control is an example of an object in VB.NET?
a.) Button
b.) Label
c.) Textbox
d.) Both a and b.
e.) All of the above.
Answer: e
14. Which of the following is part of an object?
a.) Methods
b.) Properties
c.) Instances
d.) Both a and b.
e.) All of the above.
Answer: d
15. Which is true about objects?
a.) Objects are used to create classes.
b.) Objects are analogous to blueprints.
c.) Objects combine actions and data.
d.) Both a and b.
e.) All of the above.
Answer: c
16. Properties are used to represent:
a.) actions.
b.) classes.
c.) data.
d.) events.
e.) instances.
Answer: c
17. Methods are used to represent:
a.) actions.
b.) classes.
c.) data.
d.) events.
e.) instances.
Answer: a
18. The term instantiation refers to the creation of:
a.) a class from a blueprint.
b.) an object from a class.
c.) a method from an object.
d.) a property from a method.
e.) a blueprint from a property.
Answer: b
19. Anything in VB.NET that has a property or method is:
a.) a class.
b.) a control.
c.) an object.
d.) Both a and b.
e.) All of the above.
Answer: c
20. Which feature is needed to make a programming language object-oriented?
a.) Encapsulation
b.) Inheritance
c.) Polymorphism
d.) Both a and b.
e.) All of the above.
Answer: e
21. We should think of the practice of object-oriented programming as:
a.) a simple answer to the complex problem of creating software.
b.) an incremental improvement to the problem of creating software.
c.) the way to get rid of a werewolf.
d.) Both a and b.
e.) All of the above.
Answer: b
22. Encapsulation makes it easier to:
a.) reuse and modify existing modules of code.
b.) write and read code by sharing method names.
c.) hide and protect data from external code.
d.) Both a and b.
e.) All of the above.
Answer: c
23. Inheritance makes it easier to:
a.) reuse and modify existing modules of code.
b.) write and read code by sharing method names.
c.) hide and protect data from external code.
d.) Both a and b.
e.) All of the above.
Answer: a
24. Polymorphism makes it easier to:
a.) reuse and modify existing modules of code.
b.) write and read code by sharing method names.
c.) hide and protect data from external code.
d.) Both a and b.
e.) All of the above.
Answer: b
25. The standard prefix to signify a class is:
a.) B.
b.) C.
c.) L.
d.) S.
e.) T.
Answer: e
Post A Comment:
0 comments: