study_questions_lucky_dip_creation
Differences
This shows you the differences between two versions of the page.
study_questions_lucky_dip_creation [2009/09/18 23:03] – stephen | study_questions_lucky_dip_creation [2017/01/01 20:05] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
1. Copy the source of the questions. | 1. Copy the source of the questions. | ||
- | 2. Run the //Lucky Dip Processor//. | + | 2. Run the [[lucky_dip_processor]]. |
- | 3. Goto [[http:// | + | 3. Goto the [[http:// |
4. Paste from the clipboard and save it. | 4. Paste from the clipboard and save it. | ||
Line 15: | Line 15: | ||
7. Set the Zoom to 73% (so that there are two pages per screen). | 7. Set the Zoom to 73% (so that there are two pages per screen). | ||
- | 8. Delete all the crap at the top. | + | 8. Delete all the stuff at the top. |
9. Load styles -> Lucky Dip, Text + Pages + Overwrite. | 9. Load styles -> Lucky Dip, Text + Pages + Overwrite. | ||
Line 39: | Line 39: | ||
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | /* Added 20090914 | + | /* Added 20117012 |
- | ** C13L2Q12: What are the three actions that the .NET Services Installation tool performs? ** | + | ** WebC2L1Q2: What must an HTML server control be located inside to operate correctly? ** |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
- | + | ||
- | * Loads and registers an assembly. | + | |
- | * Generates, registers and installs a type library into a specified COM+ 1.0 application. | + | |
- | * Configures services | + | |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | /* Added 20090914 | + | /* Added 20117012 |
- | ** C13L2Q13: What must an assembly have before it can be used by the .NET Services Installation tool? ** | + | ** WebC2L1Q3: What are the three methods of setting the properties of an HTML control? ** |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | /* Added 20090914 | + | /* Added 20117012 |
- | ** C13L2Q14: What two security considerations does the .NET Services Installation tool have? ** | + | ** WebC2L1Q4: In which event on what object should dynamically created controls be created? ** |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
- | + | ||
- | * It can not register components with methods protected by a demand or link demand for the // | + | |
- | * You must have administrative privileges | + | |
- | + | ||
- | ==== Extension ==== | + | |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | /* Added 20090915 | + | /* Added 20117012 |
- | ** C13XQ1: What are the eight integer based COM data types and their .NET equivalent types? ** | + | ** WebC2L1Q5: What order are events from a web page raised on the server side? ** |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
- | + | ||
- | * bool -> //Int32// | + | |
- | * byte -> //Byte// | + | |
- | * char -> //SByte// | + | |
- | * small -> //SByte// | + | |
- | * short -> //Int16// | + | |
- | * long -> //Int32// | + | |
- | * int -> //Int32// | + | |
- | * Hyper -> //Int64// | + | |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | /* Added 20090915 | + | /* Added 20117012 |
- | ** C13XQ2: What are the four non-integer numeric COM data types and their .NET equivalent types? ** | + | ** WebC2L1Q6: What property on a control should be set to minimize |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
- | + | ||
- | * float -> //Single// | + | |
- | * double -> //Double// | + | |
- | * DECIMAL -> // | + | |
- | * CURRENCY -> //Decimal// | + | |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | /* Added 20090915 | + | /* Added 20117012 |
- | ** C13XQ3: What are the three other important COM data types and their .NET equivalent types? ** | + | ** WebC2L1Q7: What are the five main page events, in the order they occur? ** |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
- | * void * -> // | + | ==== Lesson 2: Exploring Common Web Server Controls ==== |
- | * HRESULT -> //Int16// or // | + | |
- | * VARIANT -> //Object// | + | |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | /* Added 20090915 | + | /* Added 20117012 |
- | ** C13XQ4: What are the five COM data types that are equivalent to //String//? ** | + | ** WebC2L2Q1: What are two differences between |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: BSTR, LPSTR, LPWSTR, char *, wchar_t * | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090915 */ | + | |
- | + | ||
- | ** LifeQ4: If you are afraid of being embarrassed or laughed at, what will your art always be? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: Embarrassing | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090917 */ | + | |
- | + | ||
- | ** Art1P12Q3: Which principle states the goal of object orientated architecture and which states | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: The goal is stated by the Open Closed Principle and the primary mechanism is stated by the Dependency Inversion Principle. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090917 */ | + | |
- | + | ||
- | ** Art1P14Q1: Where is the most common places that designs depend on concrete classes? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: When instances are created. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090917 */ | + | |
- | + | ||
- | ** Art1P14Q2: What is the Interface Segregation Principle? ** | + | |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
Line 174: | Line 109: | ||
Answer: | Answer: | ||
- | //"Many client specific interfaces are better than one general purpose interface."// | + | * 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 ===== |
- | + | ||
- | /* Added 20090917 */ | + | |
- | + | ||
- | ** Art1P16Q1: What means of organising a design has larger granularity than classes? ** | + | |
- | + | ||
- | /* --== Question Answer separator | + | |
- | Answer: Packages. | + | ==== Lesson 1: Exploring Specialized Web Server Controls ==== |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | /* Added 20090917 | + | /* Added 20110823 |
- | ** Art1P16Q2: What are the three principles | + | ** WebC3L1Q1: What are the three modes of the //Literal// control? ** |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
- | + | ||
- | * The Release Reuse Equivalency Principle | + | |
- | * The Common Closure Principle | + | |
- | * The Common Reuse Principle | + | |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | /* Added 20090917 | + | /* Added 20110823 |
- | ** Art1P17Q1: What is the Release Reuse Equivalency Principle? ** | + | ** WebC3L1Q2: What is the advantage of using the //Table//, // |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: The ability to add rows and cells programmatically. |
- | + | ||
- | //"The granule of reuse is the granule of release."// | + | |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | /* Added 20090917 | + | /* Added 20110824 |
- | ** Art1P17Q2: What is the Common Closure Principle? ** | + | ** 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 ==-- */ | ||
- | /* Added 20090917 | + | /* Added 20110708 |
- | ** Art1P17Q3: What is the Common Reuse Principle? ** | + | ** WebC1L3Q1: What are the five levels, in order, of the ASP.NET configuration hierarchy? ** |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
- | //" | ||
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | /* Added 20090917 | + | /* Added 20100620 |
- | ** Art1P18Q1: Which package architecture principle or principles tends to advantage reusers and which tends to advantage maintainers? ** | + | ** MvcC1Q1: What are the six top-level directories, |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090917 */ | + | |
- | + | ||
- | ** Art1P18Q2: Which package architecture principle or principles tends to make packages large which tends to make them small? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: The Common Closure Principle tends to make large packages and the Common Reuse Principle tends to make small packages. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090917 */ | + | |
- | + | ||
- | ** Art1P18Q3: Which package architecture principle or principles would architects tend to use in the early life of a system and which would they tend to use when the system has matured? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: In early life, the Common Closure Principle tends to be used. When the system has matured the Release Reuse Equivalency Principle | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090917 */ | + | |
- | + | ||
- | ** Art1P18Q4: What are the three principles of package coupling? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: | + | |
- | + | ||
- | * The Acyclic Dependencies Principle | + | |
- | * The Stable Dependencies Principle | + | |
- | * The Stable Abstraction Principle | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090917 */ | + | |
- | + | ||
- | ** Art1P18Q5: What is the Acyclic Dependencies Principle? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: | + | |
- | + | ||
- | //"The dependencies between packages must not form cycles."// | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090917 */ | + | |
- | + | ||
- | ** Art1P21Q1: What are two methods for breaking a cycle in a package dependency structure? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: | + | |
- | + | ||
- | * Add a new package. | + | |
- | * Add a new interface that has all the methods that one package is dependant on and is implemented by the other package. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090917 */ | + | |
- | + | ||
- | ** Art1P22Q1: Which package would an interface very often go in? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: The package that uses it, rather than the package that implements it. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090917 */ | + | |
- | + | ||
- | ** Art1P22Q2: What is the Stable Dependencies Principle? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: | + | |
- | + | ||
- | //" | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090917 */ | + | |
- | + | ||
- | ** Art1P24Q1: What is the Stable Abstraction Principle? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: | + | |
- | + | ||
- | //" | + | |
{{tag> | {{tag> |
study_questions_lucky_dip_creation.1253315014.txt.gz · Last modified: 2017/01/01 19:54 (external edit)