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/10 23:27] 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 ==-- */
  
-** C10L2Q1: How can you programmatically signal a break to the debugger? ** +/* Added 20117012 */
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: Call the //Debugger.Log// method. +
- +
-/* --== Answer Question separator ==-- */+
  
-** C10L2Q2How do you prevent a member from appearing in the variable watch window while debugging? **+** WebC2L1Q2What must an HTML server control be located inside to operate correctly? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Add a //DebuggerBrowsable// attribute to the member and pass in //DebuggerBrowserState.Never//.+Answer: A form element that has the //runat="server"// attribute.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C10L2Q3: How do you specify what text will appear in the Value column of the variable watch window for a custom class while debugging? **+/Added 20117012 */
  
-/--== Question Answer separator ==-- *+** WebC2L1Q3What are the three methods of setting the properties of an HTML control? **
- +
-AnswerAdd a //DebuggerDisplay// attribute to the member. +
- +
-/* --== Answer Question separator ==-- */ +
- +
-** C10L2Q4: What does the //DebuggerDisplay// attribute do? **+
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Specifies what should be displayed in the Value column of the variable watch window while debugging.+Answer: Source view, design view and programmatically in code.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C10L2Q5: 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 ==-- */+
  
-** C10L2Q6How do you prevent the debugger from breaking inside a class, method or property, even if there is a breakpoint? **+** WebC2L1Q4In which event on what object should dynamically created controls be created? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Add a //DebuggerHidden// attribute to the class, method or property.+Answer: The Init event on the page object.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C10L2Q7: How do you cause the debugger to automatically step over a section of code? **+/Added 20117012 */
  
-/--== Question Answer separator ==-- *+** WebC2L1Q5What order are events from web page raised on the server side? **
- +
-AnswerAdd //DebuggerStepThrough// attribute to the code. +
- +
-/* --== Answer Question separator ==-- */ +
- +
-** C10L2Q8: 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 decorates, but does not hide the code like the //DebuggerHidden// attribute does. +Answer: The event that caused the postback is processed last.
- +
-==== Lesson 3: Monitoring Performance ====+
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C10L3Q1: What is the difference between the //Trace// class and the //Debug// class? ** +/* Added 20117012 */
- +
-/* --== 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 Question separator ==-- */+
  
-** C10L3Q2: What are the four primary methods of getting reference to a process or processes? **+** WebC2L1Q6: What property on control should be set to minimize the size of the //ViewState// data? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: The //GetCurrentProcess////GetProcessById//, //GetProcessByName// and //GetProcesses//.+Answer: The //EnableViewState// should be set to //false//.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C10L3Q3: How do you start an external executable from .NET code? **+/Added 20117012 */
  
-/--== Question Answer separator ==-- *+** WebC2L1Q7What are the five main page eventsin the order they occur? **
- +
-AnswerCall the //Process.Start// method. +
- +
-/* --== Answer Question separator ==-- */ +
- +
-** C10L3Q4: How do you start an external executable with command line arguments from .NET code? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: Create 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: //Page_PreInit//, //Page_Init//, //Page_Load//, //Page_PreRender// and //Page_Unload//
  
-==== Lesson 4Detecting Management Events ====+==== Lesson 2 Exploring Common Web Server Controls ====
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C10L4Q1: What are the four most important members of the //System.Management// namespace? **+/Added 20117012 */
  
-/--== Question Answer separator ==-- *+** WebC2L2Q1What are two differences between the //Literal// control and the //TextBox// control? **
- +
-Answer: //ManagementQuery//, //EventQuery//, //ObjectQuery// and //ManagementObjectQuery//+
- +
-/* --== Answer Question separator ==-- */ +
- +
-** C10L4Q2: What does //WMI// stand for? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: Windows Management Instrumentation. +
- +
-/* --== Answer Question separator ==-- */ +
- +
-** C10L4Q3: What are the two steps to retrieve information from the WMI? **+
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
Line 214: Line 109:
 Answer: Answer:
  
-  - Create a //ManagementObjectSearcher// object and pass the query into the constructor+  * The //Literal// control does not support styles, themes, and skins
-  - Obtain a //ManagementObjectCollection// object by calling the //ManagementObjectSearcher//'s //Get// method.+  * The //Literal// control does not inherit from //WebControl//.
  
-/* --== Answer Question separator ==-- */ +===== Chapter 3Exploring Specialized Server Controls =====
- +
-** C10L4Q4What needs to be selected from to enumerate the logical drives? ** +
- +
-/* --== Question Answer separator ==-- */+
  
-Answer//Win32_LogicalDisk//+==== Lesson 1Exploring Specialized Web Server Controls ====
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C10L4Q5: What needs to be selected from to enumerate the network adapters? **+/Added 20110823 */
  
-/--== Question Answer separator ==-- *+** WebC3L1Q1What are the three modes of the //Literal// control? **
- +
-Answer: //Win32_NetworkAdapterConfiguration// +
- +
-/* --== Answer Question separator ==-- */ +
- +
-** C10L4Q6: What needs to be selected from to enumerate the Windows Services? **+
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: //Win32_Service//+Answer: //PassThrough//, //Encode// and //Transform//.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C10L4Q7: What class would be used to respond a change in the WMI? ** +/* Added 20110823 */
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: //ManagementEventWatcher// +
- +
-==== Lesson 1: Understanding Code Access Security ==== +
- +
-/* --== Answer Question separator ==-- */+
  
-** C11L1Q1: What does CAS stand for? **+** 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: Code Access Security.+Answer: The ability to add rows and cells programmatically.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C11L1Q2: What is the relationship between evidence, code groups and permission sets? **+/Added 20110824 */
  
-/--== Question Answer separator ==-- *+** WebC3L1Q3What web control should be used if clicking on an image is required? **
- +
-AnswerThe evidence that an assembly has determines what code group or groups it belongs to. The code group or groups determines what permission set or sets it gets. +
- +
-/* --== Answer Question separator ==-- */ +
- +
-** C11L1Q3: What are the two types of evidence? **+
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Host evidence and assembly evidence.+Answer: //ImageButton// or //ImageMap//.
  
-====== Pragmatic Programming ======+===== Replacements =====
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** PragC2Q4: What is a technique for avoiding or reducing imposed duplication? ** +/* Added 20110708 */
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: Code generation. +
- +
-/* --== Answer Question separator ==-- */+
  
-** PragC2Q5: What is Meyer's //Uniform Access principle//? **+** WebC1L3Q1: What are the five levels, in order, of the ASP.NET configuration hierarchy? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer:+Answer: Global machine, root default web, web site, web application, sub-directory.
  
-//"All services offered by a module should be available through a uniform notation, which does not betray whether they are implemented through storage or through computation."// 
- 
-or 
- 
-//"Class properties are good."// 
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** PragC2Q6: What are two techniques for avoiding or reducing inadvertent duplication? **+/Added 20100620 */
  
-/--== Question Answer separator ==-- *+** MvcC1Q1What are the six top-level directories, created by default when a new ASP.NET MVC project is created? **
- +
-AnswerNormalise the data and don't store what can be calculated. +
- +
-/* --== Answer Question separator ==-- */ +
- +
-** PragC2Q7: What should be done if the //DRY// principle needs to be violated for performance reasons? **+
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Ensure the violation is not exposed to the outside world by keeping it contained with in the class. +Answer: ControllersModels, Views, ScriptsContent and App_Data.
- +
-/* --== Answer Question separator ==-- */ +
- +
-** PragC2Q8: How do you avoid impatient duplication? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: Discipline. +
- +
-/* --== Answer Question separator ==-- */ +
- +
-** PragC2Q9: What adage relates to impatient duplication? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: +
- +
-//"Short cuts make for long delays."// +
- +
-/* --== Answer Question separator ==-- */ +
- +
-** PragC2Q10: What is orthogonality? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: Independence or decoupling. +
- +
-/* --== Answer Question separator ==-- */ +
- +
-** PragC2Q11: What are the two major benefits of orthogonality? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: Increased productivity and reduced risk. +
- +
-/* --== Answer Question separator ==-- */ +
- +
-** PragC2Q12: How can you get an informal measurement of how orthogonal a team is? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: Determine how many people __need__ to be involved in discussing each change that is requested. The less peoplethe more orthogonal and better off the team is. +
- +
-** PragC2Q13: How can low orthogonality affect a team? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: Confusion over responsibilities leading to bickering. +
- +
-====== Article 1: Design Principles and Design PatternsRobert C. Martin ====== +
- +
-/* --== Answer Question separator ==-- */ +
- +
-** Art1P2Q1: What are the four primary symptoms of rotting design? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: +
- +
-  * Rigidity (changes cascade) +
-  * 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 ==-- */ +
- +
-** Art1P4Q1: What kind of requirements changes cause design rot? ** +
- +
-/* --== 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? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: Dependency firewalls. +
- +
-====== Life Questions ====== +
- +
-/* --== Answer Question separator ==-- */ +
- +
-** LifeQ3: What is the effect / affect usage mnemonic? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: VANE - **V**erb **A**ffect **N**oun **E**ffect +
- +
-====== IT Questions ====== +
- +
-/* --== Answer Question separator ==-- */ +
- +
-** ITQ3: What is the Unicode number for the snowman character? ** +
- +
-<html> +
-<span style="font-size:60px">&#9731;<span> +
-</html> +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: 2603 (Hex).+
  
 {{tag>procedure lucky_dip study_questions exam}} {{tag>procedure lucky_dip study_questions exam}}
- 
study_questions_lucky_dip_creation.1249946875.txt.gz · Last modified: 2017/01/01 19:54 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki