User Tools

Site Tools


study_questions_lucky_dip_creation

Differences

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

Link to this comparison view

study_questions_lucky_dip_creation [2011/07/08 00:48] stephenstudy_questions_lucky_dip_creation [2017/01/01 20:05] (current) – external edit 127.0.0.1
Line 5: Line 5:
 2. Run the [[lucky_dip_processor]]. 2. Run the [[lucky_dip_processor]].
  
-3. Goto [[http://tallguyracing.com/wiki/doku.php?id=playground:playground]] and edit.+3. Goto the [[http://tallguyracing.com/wiki/doku.php?id=playground:playground|playgound]] and edit.
  
 4. Paste from the clipboard and save it. 4. Paste from the clipboard and save it.
Line 36: Line 36:
  
 ===== Questions To Be Lucky Dipped ===== ===== Questions To Be Lucky Dipped =====
- 
-===== Chapter 1: Introducing the ASP.NET 2.0 Web Site ===== 
- 
-==== Lesson 1: Understanding The Players ==== 
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-/* Added 20110708 */+/* Added 20117012 */
  
-** WebC1L1Q1: What are the four main HTTP methods? **+** WebC2L1Q2: What must an HTML server control be located inside to operate correctly? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Get, post, put and delete.+Answer: A form element that has the //runat="server"// attribute.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-/* Added 20110708 */+/* Added 20117012 */
  
-** WebC1L1Q2: What are the five common MIME types? **+** WebC2L1Q3: What are the three methods of setting the properties of an HTML control? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Textimage, audio, video and application.+Answer: Source viewdesign view and programmatically in code.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-/* Added 20110708 */+/* Added 20117012 */
  
-** WebC1L1Q3What is the difference between where form data is stored in a //get// request and a //post// request? **+** WebC2L1Q4In which event on what object should dynamically created controls be created? **
  
 /* --== 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: The Init event on the page object.
- +
-==== Lesson 2: Creating a Web Site ====+
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-/* Added 20110708 */+/* Added 20117012 */
  
-** WebC1L2Q1: What are the three sections of an in-line ASPX file? **+** WebC2L1Q5: What order are events from a web page raised on the server side? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Page directives, code, layout. +Answer: The event that caused the postback is processed last.
- +
-==== Lesson 3: Working with Web Configuration Files ====+
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-/* Added 20110708 */+/* Added 20117012 */
  
-** WebC1L3Q1: What are the five levels, in order, of the ASP.NET configuration hierarchy? **+** WebC2L1Q6: What property on a control should be set to minimize the size of the //ViewState// data? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Global machine, root deafult web, web site, web application, sub-directory.+Answer: The //EnableViewState// should be set to //false//.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-/* Added 20110708 */+/* Added 20117012 */
  
-** ITQ8: What should be looked for in a code review? **+** WebC2L1Q7: What are the five main page events, in the order they occur? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Correctness (only).+Answer: //Page_PreInit//, //Page_Init//, //Page_Load//, //Page_PreRender// and //Page_Unload//
  
-===== Old Questions That **May** Need To Be Lucky Dipped =====+==== Lesson 2:  Exploring Common Web Server Controls ====
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-/* Added 20090922 */+/* Added 20117012 */
  
-** C8L3Q10: What class is used to interact with Windows services? ** +** WebC2L2Q1: What are two differences between the //Literal// control and the //TextBox// control? **
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: //ServiceController//+
- +
-/* --== Answer Question separator ==-- */ +
- +
-/* Added 20091012 */ +
- +
-** PragC6Q6: What four capabilities should a test harness include? **+
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
Line 127: Line 109:
 Answer: Answer:
  
-  * A standard way to specify setup and clean up+  * The //Literal// control does not support styles, themes, and skins
-  * A method for selecting individual tests or all available tests. +  * The //Literal// control does not inherit from //WebControl//.
-  * A means of analysing output for expected (or unexpected) results. +
-  * A standardised form of failure reporting.+
  
-/* --== Answer Question separator ==-- */+===== Chapter 3: Exploring Specialized Server Controls =====
  
-/* Added 20091012 */ +==== Lesson 1Exploring Specialized Web Server Controls ====
- +
-** PragC6Q7: What should be done at the end of any debugging session? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-AnswerFormalise any ad hoc tests into unit tests.+
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-/* Added 20091012 */+/* Added 20110823 */
  
-** C4L3Q4Which list is a dictionary? **+** WebC3L1Q1What are the three modes of the //Literal// control? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: //SortedList//+Answer: //PassThrough//, //Encode// and //Transform//.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-/* Added 20091012 */+/* Added 20110823 */
  
-** C8L3Q11: What should a service name be and how is it set? **+** WebC3L1Q2: What is the advantage of using the //Table//, //TableRow// and //TableCell// controls over using straight HTML markup? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: A service name should be unique and is set by modifying the //ServiceBase.ServiceName// property in Visual Studio's service Designer.+Answer: The ability to add rows and cells programmatically.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-/* Added 20091012 */+/* Added 20110824 */
  
-** C8L3Q12: What must a service's //OnStart// method do? **+** WebC3L1Q3: What web control should be used if clicking on an image is required? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Return.+Answer: //ImageButton// or //ImageMap//.
  
-/* --== Answer Question separator ==-- */ +===== Replacements =====
- +
-/* Added 20091012 */ +
- +
-** C8L3Q13: What are three ways to stop or start a service? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: +
- +
-  * Use Computer Management's Services snap-in. +
-  * Use the //Net// command from a command line. +
-  * Programmatically, by using the //ServiceProcess.ServiceController// class.+
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-/* Added 20091017 */+/* Added 20110708 */
  
-** ITQ7: What type of URL should destructive or data modifying operations be put behind and why? **+** WebC1L3Q1: What are the five levels, in order, of the ASP.NET configuration hierarchy? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: They should be put behind HTTP-POST requests because web-crawlers and search engines are not supposed to follow them. +Answer: Global machine, root default web, web siteweb applicationsub-directory.
- +
-====== 59 Seconds - Think a littlechange a lotProfessor Richard Wiseman ====== +
- +
-/* --== Answer Question separator ==-- */ +
- +
-/* Added 20100106 */ +
- +
-** 59SecHappinessQ1: What is materialism mainly driven by? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: Low self-esteem. +
- +
-/* --== Answer Question separator ==-- */ +
- +
-/* Added 20100106 */ +
- +
-** 59SecHappinessQ2: How does one buy happiness? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: By buying experiencesnot goods. +
- +
-/* --== Answer Question separator ==-- */ +
- +
-/* Added 20100106 */ +
- +
-** 59SecHappinessQ3: What are three ways to feel more happy? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: Smile, sit up and act happy. +
- +
-/* --== Answer Question separator ==-- */ +
- +
-/* Added 20100106 */ +
- +
-** 59SecPersuasionQ1: What are the three steps to giving a great job interview? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: +
- +
-  * Likeability is more important than academic achievements and work experience. +
-  * Reveal weaknesses early and strengths late. Retain something strong for the end. +
-  * Don't overreact to mistakes - the interviewer probably didn't notice. +
- +
-/* --== Answer Question separator ==-- */ +
- +
-/* Added 20100106 */ +
- +
-** 59SecPersuasionQ2: What is the Spontaneous Trait Transference Effect? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: When criticising someone else, observers will attribute the negative traits to the speaker. +
- +
-/* --== Answer Question separator ==-- */ +
- +
-/* Added 20100106 */ +
- +
-** 59SecPersuasionQ3: What is the Franklin Effect? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: Getting someone to do you a favour will increase the chance of them liking you. +
- +
-/* --== Answer Question separator ==-- */ +
- +
-/* Added 20100106 */ +
- +
-** 59SecPersuasionQ4: What is the Pratfall Effect? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: The occasional mistake can make you more likeable. +
- +
-/* --== Answer Question separator ==-- */ +
- +
-/* Added 20100106 */ +
- +
-** 59SecPersuasionQ5: What should you do if you require assistance in the street? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: Pick out a friendly face in the crowd. Clearly tell them what is happening and what they need to do. +
- +
-/* --== Answer Question separator ==-- */ +
- +
-/* Added 20100106 */ +
- +
-** 59SecMotivationQ1: What is the rule to beat procrastination? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: Work on the activity for "just a few minutes"+
- +
-/* --== Answer Question separator ==-- */ +
- +
-/* Added 20100106 */ +
- +
-** 59SecMotivationQ2: What are the four key techniques to achieve a goal? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: +
- +
-  * Have a plan. +
-  * Tell friends a family. +
-  * Doublethink. Focus on the benefits //and// potential setbacks. +
-  * Reward each step of the way. +
- +
-/* --== Answer Question separator ==-- */ +
- +
-/* Added 20100106 */ +
- +
-** 59SecMotivationQ3: What visualisation technique should be used to provide motivation to achieve goals and how does it work? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: Doublethink. Imagine both the potential benefits from achieving the goal //and// the potential setbacks that may occur along the way. +
- +
-/* --== Answer Question separator ==-- */ +
- +
-/* Added 20100106 */ +
- +
-** LifeQ5: What two things should every person with a job be doing? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: +
- +
-  * The very best they can at their job. +
-  * Looking for a better job. +
- +
-====== Professional ASP.NET MVC 1.0 ====== +
- +
-/* --== Answer Question separator ==-- */ +
- +
-/* 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? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer:+
  
-^ 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 354: Line 163:
 /* Added 20100620 */ /* Added 20100620 */
  
-** MvcC1Q2Where is does ASP.NET MVC store its routing rules? **+** MvcC1Q1What 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: In the Global.asax file.+Answer: Controllers, Models, Views, Scripts, Content and App_Data.
  
 {{tag>procedure lucky_dip study_questions exam}} {{tag>procedure lucky_dip study_questions exam}}
study_questions_lucky_dip_creation.1310086099.txt.gz · Last modified: 2017/01/01 19:54 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki