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 06:41] 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 */
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: It prevents the debugger from breaking inside a class, method or property, even if there is a breakpoint. +
- +
-/* --== Answer Question separator ==-- */+
  
-** C10L2Q5How do you prevent the debugger from breaking inside a class, method or property, even if there is breakpoint? **+** WebC2L1Q6What property on control should be set to minimize the size of the //ViewState// data? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Add a //DebuggerHidden// attribute to the class, method or property.+Answer: The //EnableViewState// should be set to //false//.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C10L2Q6: How do you cause the debugger to automatically step over a section of code? **+/Added 20117012 */
  
-/--== Question Answer separator ==-- *+** WebC2L1Q7: What are the five main page events, in the order they occur? **
- +
-Answer: Add a //DebuggerStepThrough// attribute to the code. +
- +
-/* --== Answer Question separator ==-- */ +
- +
-** C10L2Q7: What does the //DebuggerStepThrough// attribute do and how is it different to the //DebuggerHidden// attribute? **+
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: The //DebuggerStepThrough// attribute causes the debugger to step over the code it decoratesbut does not hide the code like the //DebuggerHidden// attribute does.+Answer: //Page_PreInit//, //Page_Init//, //Page_Load//, //Page_PreRender// and //Page_Unload//
  
-==== Lesson 3Monitoring Performance ====+==== Lesson 2 Exploring Common Web Server Controls ====
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C10L3Q1: What is the difference between the //Trace// class and the //Debug// class? **+/Added 20117012 *
 + 
 +** WebC2L2Q1: What are two differences between the //Literal// control and the //TextBox// control? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: The //Trace// class is implemented in both the release and debug builds, whereas //Debug// is only implemented in debug builds.+Answer:
  
-/* --== Answer Question separator ==-- */+  * The //Literal// control does not support styles, themes, and skins. 
 +  The //Literal// control does not inherit from //WebControl//.
  
-** C10L3Q2What are the four primary methods of getting a reference to a process or processes? ** +===== Chapter 3Exploring Specialized Server Controls =====
- +
-/* --== Question Answer separator ==-- */+
  
-AnswerThe //GetCurrentProcess//, //GetProcessById//, //GetProcessByName// and //GetProcesses//.+==== Lesson 1Exploring Specialized Web Server Controls ====
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C10L3Q3How do you start an external executable from .NET code? **+/Added 20110823 *
 + 
 +** WebC3L1Q1What are the three modes of the //Literal// control? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Call the //Process.Start// method.+Answer: //PassThrough//, //Encode// and //Transform//.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C10L3Q4: How do you start an external executable with command line arguments from .NET code? **+/Added 20110823 */
  
-/--== Question Answer separator ==-- *+** WebC3L1Q2What is the advantage of using the //Table//, //TableRow// and //TableCell// controls over using straight HTML markup? **
- +
-AnswerCreate or get a reference to a //ProcessStartInfo// objectset the //Arguments// property and pass it to the //Process.Start// method. +
- +
-/* --== Answer Question separator ==-- */ +
- +
-** C10L3Q5: What object type should secure text be stored in? **+
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: //SecureString// +Answer: The ability to add rows and cells programmatically.
- +
-===== Pragmatic Programming =====+
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** PragC2Q4: What is a technique for avoiding or reducing imposed duplication? **+/Added 20110824 */
  
-/--== Question Answer separator ==-- *+** WebC3L1Q3: What web control should be used if clicking on an image is required? **
- +
-Answer: Code generation. +
- +
-====== Article 1: Design Principles and Design Patterns, Robert C. Martin ====== +
- +
-/* --== Answer Question separator ==-- */ +
- +
-** Art1P2Q1: What are the four primary symptoms of rotting design? **+
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer:+Answer: //ImageButton// or //ImageMap//.
  
-  * Rigidity (changes cascade) +===== Replacements =====
-  * Fragility (breaks whenever it is changed) +
-  * Immobility (inability to reuse software from other projects or part of the system) +
-  * Viscosity (easier for the engineers to break the design with hacks rather than preserve it)+
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** Art1P4Q1: What kind of requirements changes cause design rot? ** +/* Added 20110708 */
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: Changes that introduce new and unplanned for __dependencies__. +
- +
-/* --== Answer Question separator ==-- */+
  
-** Art1P4Q2: What technique can be used to prevent degradation of the dependency architecture? **+** WebC1L3Q1: What are the five levels, in order, of the ASP.NET configuration hierarchy? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Dependency firewalls.+Answer: Global machine, root default web, web site, web application, sub-directory.
  
-====== IT Questions ====== 
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** ITQ3: What is the Unicode number for the snowman character? **+/Added 20100620 */
  
-<html> +** MvcC1Q1What are the six top-level directories, created by default when a new ASP.NET MVC project is created**
-<span style="font-size:60px">?<span> +
-</html>+
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: 2603.+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.1249713701.txt.gz · Last modified: 2017/01/01 19:54 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki