study_questions_lucky_dip_creation
Differences
This shows you the differences between two versions of the page.
study_questions_lucky_dip_creation [2009/09/11 03:48] – 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 -> 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 ===== | ||
- | |||
- | ===== Chapter 3: The Basic Tools ===== | ||
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | ** PragC3Q1: What are the three benefits of plain text? ** | + | /* Added 20117012 |
+ | |||
+ | ** WebC2L1Q2: What must an HTML server control be located inside to operate correctly? ** | ||
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
- | + | ||
- | * Insurance against obsolescence | + | |
- | * Leverage | + | |
- | * Easier testing | + | |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | ** PragC3Q2: What are three situations that make tracing statements invaluable? ** | + | /* Added 20117012 |
+ | |||
+ | ** WebC2L1Q3: What are the three methods of setting the properties of an HTML control? ** | ||
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
- | + | ||
- | * Concurrent processes | + | |
- | * Real-time systems | + | |
- | * Event-based applications | + | |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | ** C13L1Q11: How are COM types that are defined in an assembly used differently from other managed types? ** | + | /* Added 20117012 |
+ | |||
+ | ** WebC2L1Q4: In which event on what object should dynamically created controls be created? ** | ||
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | ** C13L1Q12: How is compiling an interop project different | + | /* Added 20117012 |
+ | |||
+ | ** WebC2L1Q5: What order are events | ||
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | ** C13L1Q13: What three things does an interop application contain? ** | + | /* Added 20117012 |
+ | |||
+ | ** WebC2L1Q6: What property on a control should be set to minimize the size of the // | ||
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
- | + | ||
- | * A .NET client assembly. | + | |
- | * One or more interop assemblies. | + | |
- | * One or more registered COM components. | + | |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | ** C13L1Q14: Where should private assemblies be installed? ** | + | /* Added 20117012 |
+ | |||
+ | ** WebC2L1Q7: What are the five main page events, in the order they occur? ** | ||
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
- | /* --== Answer Question separator | + | ==== Lesson 2: |
- | + | ||
- | ** C13L1Q15: What must a shared assembly have and where is it installed? ** | + | |
- | + | ||
- | /* --== Question Answer separator | + | |
- | + | ||
- | Answer: It must have a strong name and be installed in the Global Assembly Cache (GAC). | + | |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | ** C13L1Q16: What is a primary interop assembly? ** | + | /* Added 20117012 |
- | /* --== Question Answer separator ==-- */ | + | ** WebC2L2Q1: What are two differences between |
- | + | ||
- | Answer: A unique, vendor-supplied, | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | ** C13L2Q4: What are the five guidelines for qualifying .NET types for interoperation? ** | + | |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
Line 166: | Line 109: | ||
Answer: | Answer: | ||
- | * Classes should implement interfaces explicitly. | + | * The //Literal// control does not support styles, themes, and skins. |
- | * Managed types must be public. | + | * The //Literal// control does not inherit |
- | * Methods, properties, fields | + | |
- | * Types must have a public default constructor to be activated | + | |
- | * Types can not be abstract. | + | |
- | /* --== Answer Question separator | + | ===== Chapter 3: Exploring Specialized Server Controls ===== |
- | ** C13L2Q5: What public parts of a class are not exposed to COM clients? ** | + | ==== Lesson 1: Exploring Specialized Web Server Controls ==== |
- | /* --== Question | + | /* --== Answer |
- | Answer: Parameterised constructors, | + | /* Added 20110823 |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | ** C13L2Q6: What does the Assembly Registration tool do and what .NET class provides | + | ** WebC3L1Q1: What are the three modes of the //Literal// control? ** |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | ** C13L2Q7: What is the difference between | + | /* Added 20110823 |
+ | |||
+ | ** WebC3L1Q2: What is the advantage of using the //Table//, // | ||
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: The Type Library Exporter generates a type library but does not register it. The Assembly Registration tool does both. | + | Answer: The ability to add rows and cells programmatically. |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | ** C13L2Q8: How do you use the Type Library Exporter to generate a subset of the types defined in an assembly? ** | + | /* Added 20110824 |
+ | |||
+ | ** WebC3L1Q3: What web control should be used if clicking on an image is required? ** | ||
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
+ | |||
+ | ===== Replacements ===== | ||
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | ** C13L2Q9: How can an interop assembly be activated from any COM client? ** | + | /* Added 20110708 |
+ | |||
+ | ** WebC1L3Q1: What are the five levels, in order, of the ASP.NET configuration hierarchy? ** | ||
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: Global |
- | /* --== Answer Question separator ==-- */ | ||
- | |||
- | ** C13L2Q10: When using the Assembly Registration tool, what does the ''/ | ||
- | |||
- | /* --== Question Answer separator ==-- */ | ||
- | |||
- | Answer: It causes the Assembly Registration tool to generate a type library in addition to registering the types. | ||
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | ** C13L2Q11: When should the ''/ | + | /* Added 20100620 |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: If the assembly was produced by the Type Library Importer. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | ** ITQ6: What is the difference between //Cast// and //Convert// in T-SQL? ** | + | ** MvcC1Q1: What are the six top-level directories, |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
{{tag> | {{tag> |
study_questions_lucky_dip_creation.1252640927.txt.gz · Last modified: 2017/01/01 19:54 (external edit)