study_questions_lucky_dip_creation
Differences
This shows you the differences between two versions of the page.
study_questions_lucky_dip_creation [2009/08/28 00:05] – stephen | study_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 | + | 1. Copy the source of the questions. |
- | 2. Remove | + | 2. Run the [[lucky_dip_processor]]. |
- | 3. In regular expression mode, replace | + | 3. Goto the [[http:// |
- | < | + | 4. Paste from the clipboard and save it. |
- | with nothing. | + | 5. Select it (including the RSS XML Feed etc buttons). |
- | 4. In extended mode, replace | + | 6. Open a **new** document in OpenOffice and paste the contents into it. |
- | < | + | 7. Set the Zoom to 73% (so that there are two pages per screen). |
- | with | + | 8. Delete all the stuff at the top. |
- | < | + | 9. Load styles -> Lucky Dip, Text + Pages + Overwrite. |
- | 5. In extended mode, replace | + | 10. Right click table -> Table... -> Text Flow tab -> Untick Allow row to break... |
- | < | + | 11. For each page, |
- | with | + | 11.1. Put the cursor in the last row of the page. |
- | < | + | 11.2. Click the Insert Row button lots. |
- | 6. Replace | + | 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. |
- | < | + | |
- | <table border=" | + | |
- | < | + | |
- | <td width=" | + | |
- | </ | + | |
- | </ | + | |
- | 7. Add this to end | + | 12. 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 |
- | <code html> | + | 13. Print. Set the Input Tray to Tray 1. |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | 8. Select all and copy to the clipboard. | + | |
- | + | ||
- | 9. Goto [[http:// | + | |
- | + | ||
- | 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 -> Wiki Export 2, 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. Modify the paragraph style 'Table Contents' | + | |
- | + | ||
- | 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. | + | |
- | + | ||
- | 20. Select everything and paste into the master StudyQuestions file. | + | |
===== Questions To Be Lucky Dipped ===== | ===== Questions To Be Lucky Dipped ===== | ||
- | |||
- | ==== Lesson 1: Navigating the File System ==== | ||
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | ** C2L1Q1: How do you enumerate the drives in a system? ** | + | /* Added 20117012 |
- | /* --== Question Answer separator ==-- */ | + | ** WebC2L1Q2: What must an HTML server control be located inside to operate correctly? ** |
- | + | ||
- | Answer: Call the // | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | ** C2L1Q2: How do you enumerate the files in a particular directory? ** | + | |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
- | + | ||
- | - Create a new // | + | |
- | - Call the // | + | |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | ** C2L1Q3: How would you determine the size of a particular file in the file system? ** | + | /* Added 20117012 |
- | /* --== Question Answer separator ==-- */ | + | ** WebC2L1Q3: What are the three methods of setting |
- | + | ||
- | Answer: | + | |
- | + | ||
- | - Create a new // | + | |
- | - Examine the // | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | ** C2L1Q4: How do you copy a file? ** | + | |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
- | + | ||
- | - Create a new // | + | |
- | - Call the // | + | |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | ** C2L1Q5: What are the high level steps required to monitor a directory for changes? ** | + | /* Added 20117012 |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: | + | |
- | + | ||
- | - Create a // | + | |
- | - Set the //Path// property. | + | |
- | - Register for the event that you are interested in. | + | |
- | - Set the // | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | ** C2L1Q6: How do you create a // | + | ** WebC2L1Q4: In which event on what object |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | ** C11L1Q5: What must an assembly have before its trust can be increased? ** | + | /* Added 20117012 |
- | /* --== Question Answer separator ==-- */ | + | ** WebC2L1Q5: What order are events from a web page raised on the server side? ** |
- | + | ||
- | Answer: A strong name. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | ** C10L2Q1: How can you programmatically signal | + | |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | ** C9L2Q3: Other than overriding methods and responding to events, what else needs to be done to create a custom // | + | /* Added 20117012 |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: Add the // | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | ** C11L2Q6: CAS declarations are only significant in what type of assemblies? ** | + | ** WebC2L1Q6: What property on a control should be set to minimize the size of the // |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
- | + | ||
- | ** C7L1Q9: How do you prevent new threads from getting the execution context? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: Call the //ExecutionContext.SurpressFlow// | + | |
- | + | ||
- | /* --== 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? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: | + | |
- | + | ||
- | * // | + | |
- | * // | + | |
- | * // | + | |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | ** C10L2Q5: What does the // | + | /* Added 20117012 |
- | Follow up question: How is it different from the // | + | ** WebC2L1Q7: What are the five main page events, in the order they occur? ** |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
- | Follow up answer: The // | + | ==== Lesson 2: |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | ** C10L2Q6: What does the // | + | /* Added 20117012 |
- | Follow up question: How is it different from the //DebuggerHidden// attribute? | + | ** WebC2L2Q1: What are two differences between |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
- | Follow up answer: | + | * The //Literal// control does not support styles, themes, and skins. |
+ | * The //Literal// control does not inherit from // | ||
- | /* --== Answer Question separator | + | ===== Chapter 3: Exploring Specialized Server Controls ===== |
- | + | ||
- | ** C10L2Q7: How do you prevent the debugger from breaking inside a class, method or property, even if there is a breakpoint? ** | + | |
- | + | ||
- | /* --== Question Answer separator | + | |
- | Answer: Add a // | + | ==== Lesson 1: Exploring Specialized Web Server Controls ==== |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | ** C10L2Q8: How do you prevent the debugger from breaking inside a class, method or property, but still stop on any breakpoints? | + | /* Added 20110823 |
- | /* --== Question Answer separator ==-- */ | + | ** WebC3L1Q1: What are the three modes of the //Literal// control? ** |
- | + | ||
- | Answer: Add a // | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | ** C10L2Q9: How do you add a // | + | |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
- | + | ||
- | ==== Lesson 3: Working with Dictionaries ==== | + | |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | ** C4L3Q1: When iterating over a // | + | /* Added 20110823 |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: The order of the hash values. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | ** C4L3Q2: What are the five non-generic, non-specialised dictionary collections, | + | ** WebC3L1Q2: What is the advantage of using the //Table//, // |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
- | + | ||
- | * // | + | |
- | * // | + | |
- | * // | + | |
- | * // | + | |
- | * // | + | |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | ** C4L3Q3: What type of object does a non-generic dictionary collection contain? ** | + | /* Added 20110824 |
- | /* --== Question Answer separator ==-- */ | + | ** WebC3L1Q3: What web control should be used if clicking on an image is required? ** |
- | + | ||
- | Answer: // | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | ** C4L4Q6: What are the five specialised collections and their generic equivalent? ** | + | |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
- | - // | + | ===== Replacements ===== |
- | - // | + | |
- | - // | + | |
- | - // | + | |
- | - // | + | |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | ** C4L5Q3: What are the three non-specialised, | + | /* Added 20110708 |
- | /* --== Question Answer separator ==-- */ | + | ** WebC1L3Q1: What are the five levels, in order, of the ASP.NET configuration hierarchy? ** |
- | + | ||
- | Answer: | + | |
- | + | ||
- | - // | + | |
- | - //Queue//, equivalent to // | + | |
- | - //Stack//, equivalent to // | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | ** ITQ4: What are Robert Martin' | + | |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
- | - You are not allowed to write a line of production code until you have written a failing unit test. | ||
- | - You are not allowed to write more of the unit test than is sufficient to fail. | ||
- | - You are not allowed to write more production code than is sufficient to pass the test. | ||
- | |||
- | ==== Extension ==== | ||
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | ** C4XQ1: What does the compiler do when an iterator is implemented? | + | /* Added 20100620 |
- | /* --== Question Answer separator ==-- */ | + | ** MvcC1Q1: What are the six top-level directories, created by default when a new ASP.NET MVC project is created? ** |
- | + | ||
- | Answer: Automatically generates | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | ** C4XQ2: How do you implement an iterator? ** | + | |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
- | + | ||
- | - Implement the // | + | |
- | - Create a method called // | + | |
- | - Use the '' | + | |
- | - If required, use the '' | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | ** C1XQ1: What is the primary purpose of a delegate? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: To facilitate event handling. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | ** PragC2Q14: What are three techniques to maintain orthogonality? | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: | + | |
- | + | ||
- | * Keep code decoupled. | + | |
- | * Avoid global data. | + | |
- | * Avoid similar functions. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | ** PragC2Q15: How is orthogonality related to unit testing? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: | + | |
- | + | ||
- | * If the unit test does not require much set up, the unit has a good amount of orthogonality. | + | |
- | * If the unit test has to bring in a big chunk of the system to set up the test, the unit has little orthogonality. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | ** C4XQ3: What are two ways that the default iterator functionality can be extended? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: | + | |
- | + | ||
- | - Named iterators can be created which allows a class to have multiple iteration techniques. | + | |
- | - Parameterised iterators can be created which allows clients control over some or all of the iteration behaviour. | + | |
{{tag> | {{tag> |
study_questions_lucky_dip_creation.1251417906.txt.gz · Last modified: 2017/01/01 19:54 (external edit)