study_questions_lucky_dip_creation
Differences
This shows you the differences between two versions of the page.
study_questions_lucky_dip_creation [2009/10/08 04:02] – 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 20090921 | + | /* Added 20117012 |
- | ** C10L4Q8: What industry standard does the WMI use to represent systems, processes, networks, devices and enterprise components? ** | + | ** WebC2L1Q2: What must an HTML server control be located inside |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | /* Added 20090921 | + | /* Added 20117012 |
- | ** C10L4Q9: The WMI architecture consists of what three tiers? ** | + | ** WebC2L1Q3: What are the three methods of setting the properties of an HTML control? ** |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
- | + | ||
- | * Client software components. | + | |
- | * The object manager. | + | |
- | * Provider software components. | + | |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | /* Added 20090921 | + | /* Added 20117012 |
- | ** C10L4Q10: What three things can applications use the WMI for? ** | + | ** WebC2L1Q4: In which event on what object should dynamically created controls be created? ** |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
- | + | ||
- | * Enumerating or retrieving a collection of instance property data. | + | |
- | * Querying for selected instance data. | + | |
- | * Subscribing to events. | + | |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | /* Added 20090921 | + | /* Added 20117012 |
- | ** C10L4Q11: What can the WMI instrumentation be used for? ** | + | ** WebC2L1Q5: What order are events from a web page raised on the server side? ** |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | /* Added 20090921 | + | /* Added 20117012 |
- | ** C10L4Q12: What class or classes are used when gathering WMI class information? ** | + | ** WebC2L1Q6: What property on a control should be set to minimize the size of the // |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: //ManagementObject// and //ManagementClass//. | + | Answer: |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | /* Added 20090921 | + | /* Added 20117012 |
- | ** C10L4Q13: What class or classes | + | ** WebC2L1Q7: What are the five main page events, in the order they occur? ** |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: //SelectQuery//, //ManagementObjectSearcher//, //WqlObjectQuery// and //ObjectQuery//. | + | Answer: //Page_PreInit//, //Page_Init//, //Page_Load//, |
- | /* --== Answer Question separator | + | ==== Lesson 2: |
- | + | ||
- | /* Added 20090921 */ | + | |
- | + | ||
- | ** C10L4Q14: What class or classes are used when querying for data asynchronously with WMI? ** | + | |
- | + | ||
- | /* --== Question Answer separator | + | |
- | + | ||
- | Answer: // | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090921 */ | + | |
- | + | ||
- | ** C10L4Q15: What class or classes are used when executing methods with WMI? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: // | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090921 */ | + | |
- | + | ||
- | ** C10L4Q16: What class or classes are used when executing methods asynchronously with WMI? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: // | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090921 */ | + | |
- | + | ||
- | ** C10L4Q17: What class or classes are used when receiving events from WMI? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: // | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090921 */ | + | |
- | + | ||
- | ** C10L4Q18: What class or classes are used when receiving events asynchronously from WMI? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: // | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090921 */ | + | |
- | + | ||
- | ** C10L4Q19: What class or classes are used when connecting to a remote computer with WMI? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: // | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090921 */ | + | |
- | + | ||
- | ** C10L4Q20: What class or classes are used when creating data providers with WMI instrumentation? | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: // | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090921 */ | + | |
- | + | ||
- | ** C10L4Q21: What class or classes are used when creating event providers with WMI instrumentation? | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: // | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090921 */ | + | |
- | + | ||
- | ** C10L4Q22: What class or classes are used when registering a providers with WMI instrumentation? | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: // | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090922 */ | + | |
- | + | ||
- | ** C10L4Q23: What does the // | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: It represents a management query that returns instances or classes. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090922 */ | + | |
- | + | ||
- | ** C10L4Q24: What does the // | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: It retrieved a collection of management objects based on a specifies query. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090922 */ | + | |
- | + | ||
- | ** C10L4Q25: What does the // | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: It represents different collections of management objects retrieved through WMI. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090922 */ | + | |
- | + | ||
- | ** C10L4Q26: Objects contained in a // | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: // | + | |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | /* Added 20090922 | + | /* Added 20117012 |
- | ** C8L3Q8: What are three methods for starting a Windows service? ** | + | ** WebC2L2Q1: What are two differences between the //Literal// control and the //TextBox// control? ** |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
Line 245: | Line 109: | ||
Answer: | Answer: | ||
- | * Server Explorer. | + | * The //Literal// control does not support styles, themes, and skins. |
- | * Services Control Manager. | + | * The //Literal// control does not inherit from //WebControl//. |
- | * Programmatically using the //ServiceController// class. | + | |
- | /* --== Answer Question separator | + | ===== Chapter 3: Exploring Specialized Server Controls ===== |
- | + | ||
- | /* Added 20090922 */ | + | |
- | + | ||
- | ** C8L3Q9: What exception will a // | + | |
- | + | ||
- | /* --== Question Answer separator | + | |
- | Answer: // | + | ==== Lesson 1: Exploring Specialized Web Server Controls ==== |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | /* Added 20090922 | + | /* Added 20110823 |
- | ** C8L3Q10: What class is used to interact with Window services? ** | + | ** WebC3L1Q1: What are the three modes of the //Literal// control? ** |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: //ServiceController//. | + | Answer: //PassThrough//, |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | /* Added 20090923 | + | /* Added 20110823 |
- | ** C10L1Q3: What should never be done with any event log object? ** | + | ** WebC3L1Q2: What is the advantage of using the //Table//, // |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | /* Added 20090923 | + | /* Added 20110824 |
- | ** C10L1Q4: What is required | + | ** WebC3L1Q3: What web control should be used if clicking on an image is required? ** |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
- | /* --== Answer Question separator | + | ===== Replacements ===== |
- | + | ||
- | /* Added 20090924 */ | + | |
- | + | ||
- | ** C10L1Q5: Which versions of Windows do not support event logs? ** | + | |
- | + | ||
- | /* --== Question Answer separator | + | |
- | + | ||
- | Answer: Windows 98 and Windows Me. | + | |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | /* Added 20090925 | + | /* Added 20110708 |
- | ** Art1P23Q1: What is a package that has three other packages depending on it said to be? ** | + | ** 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 ==-- */ | ||
- | |||
- | /* Added 20090925 */ | ||
- | |||
- | ** Art1P23Q2: What is a package that depends on nothing said to be? ** | ||
- | |||
- | /* --== Question Answer separator ==-- */ | ||
- | |||
- | Answer: An independent package. | ||
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | /* Added 20090925 | + | /* Added 20100620 |
- | ** Art1P23Q3: What is a package that has no other packages depending on it said to be? ** | + | ** MvcC1Q1: What are the six top-level directories, |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: | + | Answer: |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090925 */ | + | |
- | + | ||
- | ** Art1P23Q4: What is a package that has three other packages depending on it said to be? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: A dependant package. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090925 */ | + | |
- | + | ||
- | ** Art1P23Q5: What is a package that is independent and responsible to other packages said to be? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: A stable package. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090925 */ | + | |
- | + | ||
- | ** Art1P23Q6: What is an irresponsible, dependant package said to be? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: An instable package. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090925 */ | + | |
- | + | ||
- | ** Art1P24Q2: What is afferent coupling? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: The number of classes outside the package that depend on classes inside the package. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090925 */ | + | |
- | + | ||
- | ** Art1P24Q3: What is efferent coupling? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: The number of classes outside the package that classes inside the package depend on. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090925 */ | + | |
- | + | ||
- | ** Art1P24Q4: What is the formula for determining the instability of a package? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: Instability equals efferent coupling divided by afferent coupling plus efferent coupling. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090925 */ | + | |
- | + | ||
- | ** Art1P26Q1: What is the formula for determining the abstractness of a package? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: Abstractness equals the number of abstract classes in the package divided by the total number of classes. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090925 */ | + | |
- | + | ||
- | ** Art1P26Q2: What type of packages occupy the zone of uselessness? | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: Instable, abstract packages. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090925 */ | + | |
- | + | ||
- | ** Art1P26Q3: What type of packages occupy the zone of pain? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: Stable, concrete packages. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090925 */ | + | |
- | + | ||
- | ** Art1P26Q4: What is the formula for determining the distance a package is from the main sequence? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: The absolute value of the abstractness plus instability minus one. | + | |
- | + | ||
- | ===== Chapter 5: Bend or Break ===== | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090929 */ | + | |
- | + | ||
- | ** PragC5Q1: What is the Law of Demeter? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: Any method of an object should call only methods belonging to: | + | |
- | + | ||
- | * itself, | + | |
- | * any parameters that were passed into the method, | + | |
- | * any object it created, or | + | |
- | * any directly held component objects. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20090929 */ | + | |
- | + | ||
- | ** PragC5Q2: What is the response set of a class? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: The number of functions directly invoked by methods of the class. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20091007 */ | + | |
- | + | ||
- | ** Art1P21Q2: What design pattern should be used when a client type class directly depends on a server type class? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: An Abstract Server. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20091007 */ | + | |
- | + | ||
- | ** Art1P21Q3: What is the Abstract Server design pattern | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: An Abstract Server is an abstract interface between a client and a server. Its advantage is that the abstract interface becomes a "hinge point" that design can flex around. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20091007 */ | + | |
- | + | ||
- | ** Art1P29Q1: What design pattern should be used when inserting an abstract interface is not feasible? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: Adapter. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20091007 */ | + | |
- | + | ||
- | ** Art1P29Q2: What is the Adapter design pattern? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: The Adapter is an object that implements the abstract interface to delegate to the server. Every method of the adapter simply translates and then delegates. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20091007 */ | + | |
- | + | ||
- | ** PragC5Q3: What is Levy's Eighth Law? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: | + | |
- | + | ||
- | "No amount of genius can overcome a preoccupation with detail." | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20091007 */ | + | |
- | + | ||
- | ** PragC5Q4: What type of diagram can be used to determine temporal coupling? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: A UML activity diagram. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20091007 */ | + | |
- | + | ||
- | ** PragC5Q5: What should be analysed to improve concurrency? | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: Workflow. | + | |
- | + | ||
- | ===== Chapter 6: While You Are Coding ===== | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20091007 */ | + | |
- | + | ||
- | ** PragC6Q1: What are three examples of programming by coincidence? | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: | + | |
- | + | ||
- | * Accidents of implementation. | + | |
- | * Accidents of context. | + | |
- | * Implicit assumptions. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20091007 */ | + | |
- | + | ||
- | ** PragC6Q2: What should you do if something __seems__ to work? ** | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: Make sure it isn't just a coincidence. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20091007 */ | + | |
- | + | ||
- | ** PragC6Q3: What is the problem with the building metaphor of software development? | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: Buildings are not normally refactored. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20091007 */ | + | |
- | + | ||
- | ** PragC6Q4: What are four reasons for refactoring? | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: | + | |
- | + | ||
- | * Duplication (violation of the DRY principle). | + | |
- | * Non-orthogonal design. | + | |
- | * Outdated knowledge. | + | |
- | * Performance. | + | |
- | + | ||
- | /* --== Answer Question separator ==-- */ | + | |
- | + | ||
- | /* Added 20091007 */ | + | |
- | + | ||
- | ** PragC6Q5: What are Martin Fowler' | + | |
- | + | ||
- | /* --== Question Answer separator ==-- */ | + | |
- | + | ||
- | Answer: | + | |
- | + | ||
- | * Don't refactor and add functionality at the same time. | + | |
- | * Make sure there are good tests beforehand. | + | |
- | * Take short, deliberate steps. | + | |
{{tag> | {{tag> |
study_questions_lucky_dip_creation.1254974561.txt.gz · Last modified: 2017/01/01 19:54 (external edit)