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/09/03 01:04] 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> +13Print. Set 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. Set the Zoom to 73% (so that there are two pages per screen). +
- +
-14. Delete all the crap at the top. +
- +
-15. Load styles -> Lucky Dip, Text + Pages + Overwrite. +
- +
-16. Right click table -> Table... -> Text Flow tab -> Untick Allow row to break... +
- +
-17. For each page, +
- +
-17.1. Put the cursor in the last row of the page. +
- +
-17.2. Click the Insert Row button lots. +
- +
-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. +
- +
-17.4. Delete the blank cells. +
- +
-18. 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. +
- +
-19. Select everything and paste into the master StudyQuestions file.+
  
 ===== Questions To Be Lucky Dipped ===== ===== Questions To Be Lucky Dipped =====
Line 82: Line 39:
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C4L5Q3: What are the three non-specialised, non-dictionary, non-generic collections and their generic equivalent? **+/Added 20117012 *
 + 
 +** WebC2L1Q2: What must an HTML server control be located inside to operate correctly? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: +Answer: A form element that has the //runat="server"// attribute.
- +
-  - //ArrayList//, equivalent to //List<>//+
-  - //Queue//, equivalent to //Queue<>//+
-  - //Stack//, equivalent to //Stack<>//.+
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** PragC2Q16: What is code that glows in the dark? **+/Added 20117012 *
 + 
 +** WebC2L1Q3: What are the three methods of setting the properties of an HTML control? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Tracer code.+Answer: Source view, design view and programmatically in code.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** PragC2Q17What are the four aspects of code that tracer code should share with production code and what is the one aspect that it does not? **+/Added 20117012 *
 + 
 +** WebC2L1Q4In which event on what object should dynamically created controls be created? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer:+Answer: The Init event on the page object.
  
-Shared: error checking, structuring, documentation and self-checking.+/* --== Answer Question separator ==-- */
  
-Not shared: Full functionality.+/* Added 20117012 */
  
-/--== Answer Question separator ==-- *+** WebC2L1Q5: What order are events from a web page raised on the server side? **
- +
-** PragC2Q18: What are the five advantages of tracer code? **+
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer:+Answer: The event that caused the postback is processed last.
  
-  Users get to see something early. +/--== Answer Question separator ==-- */
-  Develops a build structure to work in. +
-  * Creates an integration platform. +
-  * Creates something to demonstrate. +
-  * Creates a better feel for progress.+
  
-/* --== Answer Question separator ==-- */+/* Added 20117012 */
  
-** PragC2Q19: What is the difference between tracer code and prototyping? **+** WebC2L1Q6: What property on a control should be set to minimize the size of the //ViewState// data? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Prototyping generates disposable code. Tracer code is lean but complete and forms part of the skeleton of the final system.+Answer: The //EnableViewState// should be set to //false//.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C3L1Q2In a regular expressionwhat is a lazy quantifier and how is one specified? **+/Added 20117012 *
 + 
 +** WebC2L1Q7What are the five main page eventsin the order they occur? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: A lazy quantifier will match as little of the searched string as possible. A lazy quantifier is specified by adding a '?' symbol immediately after the quantifier.+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 ==-- */
  
-** C7L1Q11: What should the //Thread.ThreadState// property be used for? **+/Added 20117012 *
 + 
 +** WebC2L2Q1: What are two differences between the //Literal// control and the //TextBox// control? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Debugging only and not thread synchronisation.+Answer:
  
-/* --== Answer Question separator ==-- */+  * The //Literal// control does not support styles, themes, and skins. 
 +  The //Literal// control does not inherit from //WebControl//.
  
-** C7L1Q12Which thread state can a thread not return to once it has left it? ** +===== Chapter 3Exploring Specialized Server Controls =====
- +
-/* --== Question Answer separator ==-- */+
  
-Answer//Unstarted//+==== Lesson 1Exploring Specialized Web Server Controls ====
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C7L1Q13: Which thread state can a thread not leave once it has entered it? **+/Added 20110823 */
  
-/--== Question Answer separator ==-- *+** WebC3L1Q1What are the three modes of the //Literal// control? **
- +
-Answer: //Stopped// +
- +
-/* --== Answer Question separator ==-- */ +
- +
-** C7L1Q14: Which thread state is a newly created thread in? **+
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: //Unstarted//+Answer: //PassThrough//, //Encode// and //Transform//.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C7L1Q15: What happens to a thread's state when another thread calls //Thread.Start// on it? ** +/* Added 20110823 */
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: At first, nothing. Then, when the thread __responds__ to the call and actually starts running, it changes to //Running//+
- +
-/* --== Answer Question separator ==-- */+
  
-** C7L1Q16: What happens to a thread's state when another thread calls //Thread.Suspend// on it? **+** 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: //Thread.Suspend// is depreciated and should not be used. But if it is, at first the thread's state changes to //SuspendRequested//. Then, when the thread __responds__ to the call, it changes to //Suspended//.+Answer: The ability to add rows and cells programmatically.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C7L1Q17: What happens to a thread's state when another thread calls //Thread.Abort// on it? **+/Added 20110824 */
  
-/--== Question Answer separator ==-- *+** WebC3L1Q3: What web control should be used if clicking on an image is required? **
- +
-Answer: At first the thread's state changes to //AbortRequested//. Then, when the thread __responds__ to the call, it changes to //Aborted//+
- +
-/* --== Answer Question separator ==-- */ +
- +
-** C7L1Q18: What can trigger a thread to change its state to //Running//? **+
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer:+Answer: //ImageButton// or //ImageMap//.
  
-  * The thread responds to a //Thread.Start// call. +===== Replacements =====
-  * Another thread calls //Thread.Resume// which is depreciated and should not be used. +
-  * TODO: there may be a third.+
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C7L1Q19: How can a thread enter the //WaitSleepJoin// state? **+/Added 20110708 */
  
-/--== Question Answer separator ==-- *+** WebC1L3Q1: What are the five levels, in order, of the ASP.NET configuration hierarchy? **
- +
-Answer: +
- +
-  * The thread calls //Monitor.Wait// on another object. +
-  * The thread calls //Thread.Sleep//+
-  * The thread calls //Thread.Join// on another thread. +
- +
-** PragC2Q20: What are seven types of things that are good to prototype? **+
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Riskyuntriedcriticalunprovenexperimental, doubtful or uncomfortable things.+Answer: Global machineroot default webweb siteweb applicationsub-directory.
  
-/* --== Answer Question separator ==-- */ 
- 
-** PragC2Q21: What are six parts of a system that are good to prototype? ** 
- 
-/* --== Question Answer separator ==-- */ 
- 
-Answer: 
- 
-  * The architecture. 
-  * New functionality in an existing system. 
-  * The structure or contents of external data. 
-  * Third-party tools or components. 
-  * Performance issues. 
-  * The user interface. 
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** PragC2Q22: What are four aspects of coding that can, when appropriate, be ignored while prototyping? **+/Added 20100620 */
  
-/--== Question Answer separator ==-- *+** MvcC1Q1: What are the six top-level directories, created by default when new ASP.NET MVC project is created? **
- +
-Answer: Correctness, completeness, robustness and style. +
- +
-/* --== Answer Question separator ==-- */ +
- +
-** C13L2Q3: What are the four options for generating type library for COM? **+
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: +Answer: Controllers, Models, Views, Scripts, Content and App_Data.
- +
-  * Type Library Exporter (Tlbexp.exe) +
-  * Using the //TypeLibConverter// class. +
-  * Assembly Registration Tool (Regasm.exe) +
-  * .NET Services Installation Tool (Regsvcs.exe)+
  
 {{tag>procedure lucky_dip study_questions exam}} {{tag>procedure lucky_dip study_questions exam}}
study_questions_lucky_dip_creation.1251939844.txt.gz · Last modified: 2017/01/01 19:54 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki