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/08 05:00] 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> +13PrintSet the Input Tray to Tray 1.
-<html> +
-      </td> +
-    </tr> +
-</html> +
-</code> +
- +
-8Select all and copy to the clipboard. +
- +
-9. Goto [[http://tallguyracing.com/wiki/doku.php?id=playground:playground]] and edit. +
- +
-10. Paste from the clipboard and save it. +
- +
-11. Select it (including the RSS XML Feed etc buttons). +
- +
-12. Open a **new** document in OpenOffice and paste the contents into it. +
- +
-13. Delete all the crap at the top. +
- +
-14. Load styles -> Wiki Export 2, Text + Pages + Overwrite. +
- +
-15. Right click table -> Table... -> Text Flow tab -> Untick Allow row to break... +
- +
-16. For each page, +
- +
-16.1. Put the cursor in the last row of the page. +
- +
-16.2. Click the Insert Row button lots. +
- +
-16.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. +
- +
-16.4. Delete the blank cells. +
- +
-17. Modify the paragraph style 'Table Contents'. Change the Font color to black. +
- +
-18. Highlight the left columns of odd pages and the right columns of the even pages (outside ones if two pages are displayed at once), change the background colour to black. +
- +
-19. Select everything and paste into the master StudyQuestions file.+
  
 ===== Questions To Be Lucky Dipped ===== ===== Questions To Be Lucky Dipped =====
  
-==== Lesson 2: Debugging and Tracing ====+/* --== Answer Question separator ==-- */
  
-/* --== Answer Question separator ==-- */+/* Added 20117012 */
  
-** C10L2Q1How can you programmatically signal a break to the debugger? **+** WebC2L1Q2What must an HTML server control be located inside to operate correctly? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Call the //Debugger.Log//.+Answer: A form element that has the //runat="server"// attribute.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C10L2Q2How do you prevent a member from appearing in the variable watch window while debugging? **+/Added 20117012 *
 + 
 +** WebC2L1Q3What are the three methods of setting the properties of an HTML control? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Add a //DebuggerBrowsable// attribute to the member and pass in //DebuggerBrowserState.Never//.+Answer: Source view, design view and programmatically in code.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C10L2Q3How do you specify what text will appear in the Value column of the variable watch window for a custom class while debugging? **+/Added 20117012 *
 + 
 +** WebC2L1Q4In which event on what object should dynamically created controls be created? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Add a //DebuggerDisplay// attribute to the member.+Answer: The Init event on the page object.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C10L2Q3: What does the //DebuggerDisplay// attribute do? **+/Added 20117012 *
 + 
 +** WebC2L1Q5: What order are events from a web page raised on the server side? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Specifies what should be displayed in the Value column of the variable watch window while debugging.+Answer: The event that caused the postback is processed last.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C10L2Q4: What does the //DebuggerHidden// attribute do? **+/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: It prevents the debugger from breaking inside a class, method or property, even if there is a breakpoint.+Answer: The //EnableViewState// should be set to //false//.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C10L2Q5How do you prevent the debugger from breaking inside a classmethod or property, even if there is a breakpoint? **+/Added 20117012 *
 + 
 +** WebC2L1Q7What are the five main page eventsin the order they occur? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Add a //DebuggerHidden// attribute to the classmethod or property.+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 ==-- */
  
-** C10L2Q6How do you cause the debugger to automatically step over a section of code? **+/Added 20117012 *
 + 
 +** WebC2L2Q1What are two differences between the //Literal// control and the //TextBox// control? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Add a //DebuggerStepThrough// attribute to the code.+Answer:
  
-/* --== Answer Question separator ==-- */+  * The //Literal// control does not support styles, themes, and skins. 
 +  The //Literal// control does not inherit from //WebControl//.
  
-** C10L2Q7What does the //DebuggerStepThrough// attribute do and how is it different to the //DebuggerHidden// attribute? **+===== Chapter 3Exploring Specialized Server Controls =====
  
-/* --== Question Answer separator ==-- */+==== Lesson 1: Exploring Specialized Web Server Controls ====
  
-Answer: The //DebuggerStepThrough// attribute causes the debugger to step over the code it decorates, but does not hide the code like the //DebuggerHidden/attribute does.+/* --== Answer Question separator ==-- */
  
-==== Lesson 3: Monitoring Performance ====+/* Added 20110823 */
  
-/--== Answer Question separator ==-- *+** WebC3L1Q1: What are the three modes of the //Literal// control? **
- +
-** C10L3Q1: What is the difference between the //Trace// class and the //Debug// class? **+
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: The //Trace// class is implemented in both the release and debug buildswhereas //Debug// is only implemented in debug builds.+Answer: //PassThrough//, //Encode// and //Transform//.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C10L3Q2: What are the four primary methods of getting a reference to a process or processes? **+/Added 20110823 *
 + 
 +** 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: The //GetCurrentProcess//, //GetProcessById//, //GetProcessByName// and //GetProcesses//.+Answer: The ability to add rows and cells programmatically.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C10L3Q3How do you start an external executable from .NET code? **+/Added 20110824 *
 + 
 +** WebC3L1Q3What web control should be used if clicking on an image is required? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Call the //Process.Start// method.+Answer: //ImageButton// or //ImageMap//. 
 + 
 +===== Replacements =====
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C10L3Q4: How do you start an external executable with command line arguments from .NET code? ** +/* Added 20110708 */
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: Create or get a reference to a //ProcessStartInfo// object, set the //Arguments// property and pass it to the //Process.Start// method. +
- +
-/* --== Answer Question separator ==-- */+
  
-** C10L3Q5: What object type should secure text be stored in? **+** WebC1L3Q1: What are the five levels, in order, of the ASP.NET configuration hierarchy? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: //SecureString//+Answer: Global machine, root default web, web site, web application, sub-directory.
  
-===== Pragmatic Programming ===== 
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** PragC2Q4: What is technique for avoiding or reducing imposed duplication? **+/Added 20100620 *
 + 
 +** MvcC1Q1: What are the six top-level directories, created by default when new ASP.NET MVC project is created? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Code generation.+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.1249707620.txt.gz · Last modified: 2017/01/01 19:54 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki