1. (TCO 4) Which of the following is not correct when considering state manageme
ID: 638720 • Letter: 1
Question
1. (TCO 4) Which of the following is not correct when considering state management in ASP.NET Web applications? (Points : 3) State management can be done at both client side and server side.
Server side options for state management can be done on the server, user, and application level.
Session state can be kept in process, out of process, or be stored in a back-end SQL server database.
A and B
4. (TCO 4) Which of the following is not correct with regard to the Directory and DirectoryInfo classes? (Points : 3) When working with the Directory class, you don't need to create an instance of the Directory class since the class exposes a set of static methods.
The Directory class exposes a set of directory manipulation methods for a specific folder you set when creating an instance of the class.
DirectoryInfo is less efficient compared with the Directory class.
B and C
System.IO.TextReader
System.IO.StreamReader
System.IO.BinaryReader
System.Xml.XmlTextReader
7. (TCO 4) Write the statement (C# or VB.NET) to assign the value 100 to the session object "HourCost." (Points : 6)
8. (TCO 4) Write the statement(s) to set the session state of your application to In-Process. (Points : 6)
Question 2. 2. (TCO 4) Which of the following is correct with regard to the Cookie object? (Points : 3) Cookies are stored on the client side.Cookies can be rejected by browser, and they are not appropriate for large amounts of data.
The size of data represents a cost paid on every HTTP Request and Response.
All of the above
Explanation / Answer
i thin that 2)C 3)A 5)D 6)B
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.