User Tools

Site Tools


study_questions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

study_questions [2011/07/10 02:10] stephenstudy_questions [2017/01/01 20:05] (current) – external edit 127.0.0.1
Line 2967: Line 2967:
 /* Added 20110708 */ /* Added 20110708 */
  
-** WebC1L1Q3: What is the difference between where form data is stored in a //get// request and a //post// request? **+** WebC1L1Q3: What is the difference between where form data is stored in a GET request and a POST request? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: In a //get// request, the form data is put in the query string. In a //post// request, the data is put in the message body.+Answer: In a GET request, the form data is put in the query string. In a POST request, the data is put in the message body.
  
 ==== Lesson 2: Creating a Web Site ==== ==== Lesson 2: Creating a Web Site ====
Line 2995: Line 2995:
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Global machine, root deafult web, web site, web application, sub-directory.+Answer: Global machine, root default web, web site, web application, sub-directory.
  
 ==== Lesson 4: Using ASP.NET Trace ==== ==== Lesson 4: Using ASP.NET Trace ====
Line 3032: Line 3032:
  
 Answer: By using the trace facility. Answer: By using the trace facility.
 +
 +
 +/* --== Answer Question separator ==-- */
 +
 +/* Added 20117012 */
 +
 +** WebC2L1Q2: What must an HTML server control be located inside to operate correctly? **
 +
 +/* --== Question Answer separator ==-- */
 +
 +Answer: A form element that has the //runat="server"// attribute.
 +
 +/* --== Answer Question separator ==-- */
 +
 +/* Added 20117012 */
 +
 +** WebC2L1Q3: What are the three methods of setting the properties of an HTML control? **
 +
 +/* --== Question Answer separator ==-- */
 +
 +Answer: Source view, design view and programmatically in code.
 +
 +/* --== Answer Question separator ==-- */
 +
 +/* Added 20117012 */
 +
 +** WebC2L1Q4: In which event on what object should dynamically created controls be created? **
 +
 +/* --== Question Answer separator ==-- */
 +
 +Answer: The Init event on the page object.
 +
 +/* --== Answer Question separator ==-- */
 +
 +/* Added 20117012 */
 +
 +** WebC2L1Q5: What order are events from a web page raised on the server side? **
 +
 +/* --== Question Answer separator ==-- */
 +
 +Answer: The event that caused the postback is processed last.
 +
 +/* --== Answer Question separator ==-- */
 +
 +/* Added 20117012 */
 +
 +** WebC2L1Q6: What property on a control should be set to minimize the size of the //ViewState// data? **
 +
 +/* --== Question Answer separator ==-- */
 +
 +Answer: The //EnableViewState// should be set to //false//.
 +
 +/* --== Answer Question separator ==-- */
 +
 +/* Added 20117012 */
 +
 +** WebC2L1Q7: What are the five main page events, in the order they occur? **
 +
 +/* --== Question Answer separator ==-- */
 +
 +Answer: //Page_PreInit//, //Page_Init//, //Page_Load//, //Page_PreRender// and //Page_Unload//
 +
 +==== Lesson 2:  Exploring Common Web Server Controls ====
 +
 +/* --== Answer Question separator ==-- */
 +
 +/* Added 20117012 */
 +
 +** WebC2L2Q1: What are two differences between the //Literal// control and the //TextBox// control? **
 +
 +/* --== Question Answer separator ==-- */
 +
 +Answer:
 +
 +  * The //Literal// control does not support styles, themes, and skins.
 +  * The //Literal// control does not inherit from //WebControl//.
 +
 +===== Chapter 3: Exploring Specialized Server Controls =====
 +
 +==== Lesson 1: Exploring Specialized Web Server Controls ====
 +
 +/* --== Answer Question separator ==-- */
 +
 +/* Added 20110823 */
 +
 +** WebC3L1Q1: What are the three modes of the //Literal// control? **
 +
 +/* --== Question Answer separator ==-- */
 +
 +Answer: //PassThrough//, //Encode// and //Transform//.
 +
 +/* --== Answer Question separator ==-- */
 +
 +/* Added 20110823 */
 +
 +** WebC3L1Q2: What is the advantage of using the //Table//, //TableRow// and //TableCell// controls over using straight HTML markup? **
 +
 +/* --== Question Answer separator ==-- */
 +
 +Answer: The ability to add rows and cells programmatically.
 +
 +/* --== Answer Question separator ==-- */
 +
 +/* Added 20110824 */
 +
 +** WebC3L1Q3: What web control should be used if clicking on an image is required? **
 +
 +/* --== Question Answer separator ==-- */
 +
 +Answer: //ImageButton// or //ImageMap//.
  
 ====== IT Questions ====== ====== IT Questions ======
Line 3642: Line 3752:
 /* Added 20100620 */ /* Added 20100620 */
  
-** MvcC1Q1: What are the six top-level directories, created by default when a new ASP.NET MVC project is created and what goes in each? **+** MvcC1Q1: What are the six top-level directories, created by default when a new ASP.NET MVC project is created? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: +Answer: ControllersModelsViewsScriptsContent and App_Data.
- +
-^ Directory ^ Contents ^ +
-Controllers | Controller classes that handle URL requests. | +
-Models | Classes that represent and manipulate data. | +
-Views | UI template files that are responsible for rendering output. | +
-Scripts | JavaScript library files and scripts. | +
-Content | CSS and image files, and other non-dynamic/non-JavaScript content. | +
-App_Data | Data files you want to read/write|+
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
Line 3660: Line 3762:
 /* Added 20100620 */ /* Added 20100620 */
  
-** MvcC1Q2: Where is does ASP.NET MVC store its routing rules? **+** MvcC1Q2: Where does ASP.NET MVC store its routing rules? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
study_questions.1310263842.txt.gz · Last modified: 2017/01/01 19:54 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki