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 [2009/08/23 23:15] stephenstudy_questions_lucky_dip_creation [2017/01/01 20:05] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Study Questions - Lucy Dip Creation ====== ====== Study Questions - Lucy Dip Creation ======
  
-1. Copy the source of the questions and paste into Notepad++.+1. Copy the source of the questions.
  
-2. Remove the tag bit at the bottom.+2. Run the [[lucky_dip_processor]].
  
-3. In regular expression mode, replace+3. Goto the [[http://tallguyracing.com/wiki/doku.php?id=playground:playground|playgound]] and edit.
  
-<code>^====+.+====$</code>+4. Paste from the clipboard and save it.
  
-with nothing.+5. Select it (including the RSS XML Feed etc buttons).
  
-4In extended mode, replace+6. Open a **new** document in OpenOffice and paste the contents into it.
  
-<code>/* --== Answer Question separator ==-- */</code>+7. Set the Zoom to 73% (so that there are two pages per screen).
  
-with+8. Delete all the stuff at the top.
  
-<code><html>\n      </td>\n    </tr>\n    <tr>\n      <td width="50%">\n</html>\n</code>+9. Load styles -Lucky Dip, Text + Pages + Overwrite.
  
-5In extended mode, replace+10. Right click table -> Table... -> Text Flow tab -> Untick Allow row to break...
  
-<code>/* --== Question Answer separator ==-- */</code>+11. For each page,
  
-with+11.1. Put the cursor in the last row of the page.
  
-<code>\n<html>\n      </td>\n      <td width="50%">\n</html></code>+11.2. Click the Insert Row button lots.
  
-6Replace the first html element with+11.3. Copy and paste the all the cells on the first page to the second. Note that this will **overwrite** the cells, so if there are not some blanks leftover, undo and go back to 17.2.
  
-<code html> +11.4. Delete the blank cells.
-<html> +
-  <table border="1" width="100%"> +
-    <tr> +
-      <td width="50%"> +
-</html> +
-</code>+
  
-7Add this to end+12Highlight the right columns of odd pages and the left columns of the even pages (inside ones if two pages are displayed at once), change the background colour to black. **Also**, look for numbered bullet lists in the right column of the even pages and reset the numbering.
  
-<code html> +13. Print. Set the Input Tray to Tray 1.
-<html> +
-      </td> +
-    </tr> +
-</html> +
-</code>+
  
-8. Select all and copy to the clipboard.+===== Questions To Be Lucky Dipped =====
  
-9. Goto [[http://tallguyracing.com/wiki/doku.php?id=playground:playground]] and edit.+/* --== Answer Question separator ==-- */
  
-10. Paste from the clipboard and save it.+/* Added 20117012 */
  
-11. Select it (including the RSS XML Feed etc buttons).+** WebC2L1Q2: What must an HTML server control be located inside to operate correctly? **
  
-12. Open a **new** document in OpenOffice and paste the contents into it.+/--== Question Answer separator ==-- */
  
-13. Set the Zoom to 73% (so that there are two pages per screen).+Answer: A form element that has the //runat="server"// attribute.
  
-14. Delete all the crap at the top.+/* --== Answer Question separator ==-- */
  
-15. Load styles -> Wiki Export 2, Text + Pages + Overwrite.+/* Added 20117012 */
  
-16. Right click table -> Table... -> Text Flow tab -> Untick Allow row to break...+** WebC2L1Q3: What are the three methods of setting the properties of an HTML control? **
  
-17. For each page,+/* --== Question Answer separator ==-- */
  
-17.1. Put the cursor in the last row of the page.+Answer: Source view, design view and programmatically in code.
  
-17.2. Click the Insert Row button lots.+/* --== Answer Question separator ==-- */
  
-17.3. Copy and paste the all the cells on the first page to the second. Note that this will **overwrite** the cells, so if there are not some blanks leftover, undo and go back to 17.2.+/Added 20117012 */
  
-17.4. Delete the blank cells.+** WebC2L1Q4: In which event on what object should dynamically created controls be created? **
  
-18. Modify the paragraph style 'Table Contents'. Change the Font colour to black.+/* --== Question Answer separator ==-- */
  
-19. Highlight the right columns of odd pages and the left columns of the even pages (inside ones if two pages are displayed at once), change the background colour to black. **Also**, look for numbered bullet lists in the right column of the even pages and reset the numbering.+Answer: The Init event on the page object.
  
-20. Select everything and paste into the master StudyQuestions file.+/* --== Answer Question separator ==-- */
  
-===== Questions To Be Lucky Dipped =====+/* 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 ==-- */ /* --== Answer Question separator ==-- */
  
-** C11L1Q5: What must an assembly have before its trust can be increased? **+/Added 20117012 *
 + 
 +** WebC2L1Q6: What property on a control should be set to minimize the size of the //ViewState// data? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: A strong name.+Answer: The //EnableViewState// should be set to //false//.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C10L2Q1How can you programmatically signal a break to the debugger? **+/Added 20117012 *
 + 
 +** WebC2L1Q7What are the five main page events, in the order they occur? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Call the //Debugger.Break// method.+Answer: //Page_PreInit//, //Page_Init//, //Page_Load//, //Page_PreRender// and //Page_Unload// 
 + 
 +==== Lesson 2:  Exploring Common Web Server Controls ====
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C9L2Q3Other than overriding methods and responding to events, what else needs to be done to create a custom //Installer// class? **+/Added 20117012 *
 + 
 +** WebC2L2Q1What are two differences between the //Literal// control and the //TextBox// control? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Add the //RunInstallerAttribute// to the custom class and set the //runInstaller// parameter to true.+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 ==-- */ /* --== Answer Question separator ==-- */
  
-** C11L2Q6CAS declarations are only significant in what type of assemblies? **+/Added 20110823 *
 + 
 +** WebC3L1Q1What are the three modes of the //Literal// control? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Partially trusted assemblies.+Answer: //PassThrough//, //Encode// and //Transform//. 
 + 
 +/* --== Answer Question separator ==-- */ 
 + 
 +/* Added 20110823 */
  
-** C7L1Q9How do you prevent new threads from getting the execution context? **+** WebC3L1Q2What is the advantage of using the //Table//, //TableRow// and //TableCell// controls over using straight HTML markup? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Call the //ExecutionContext.SurpressFlow// before the new thread is created and call the //ExecutionContext.RestoreFlow// afterwards.+Answer: The ability to add rows and cells programmatically.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C11L3Q9: What are the three security actions that are applicable to assembles and what are their equivalent security actions that are applicable to classes and methods? **+/Added 20110824 *
 + 
 +** WebC3L1Q3: What web control should be used if clicking on an image is required? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer:+Answer: //ImageButton// or //ImageMap//
 + 
 +===== Replacements ===== 
 + 
 +/* --== Answer Question separator ==-- */ 
 + 
 +/* Added 20110708 */ 
 + 
 +** WebC1L3Q1: What are the five levels, in order, of the ASP.NET configuration hierarchy? ** 
 + 
 +/* --== Question Answer separator ==-- */ 
 + 
 +Answer: Global machine, root default web, web site, web application, sub-directory. 
 + 
 + 
 +/* --== 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? ** 
 + 
 +/* --== Question Answer separator ==-- */
  
-  * //RequestRefuse// (assembly) is equivalent to //Deny// (class and methods). +Answer: Controllers, Models, Views, Scripts, Content and App_Data.
-  * //RequestOptional// (assembly) is equivalent to //PermitOnly// (class and methods). +
-  * //RequestMinimum// (assembly) is equivalent to //Demand// (class and methods).+
  
 {{tag>procedure lucky_dip study_questions exam}} {{tag>procedure lucky_dip study_questions exam}}
study_questions_lucky_dip_creation.1251069308.txt.gz · Last modified: 2017/01/01 19:54 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki