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/18 23:03] stephenstudy_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://tallguyracing.com/wiki/doku.php?id=playground:playground]] and edit.+3. Goto the [[http://tallguyracing.com/wiki/doku.php?id=playground:playground|playgound]] and edit.
  
 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: A form element that has the //runat="server"// attribute.
- +
-  * Loads and registers an assembly. +
-  * Generates, registers and installs a type library into a specified COM+ 1.0 application. +
-  * Configures services that you have added programmatically to your class.+
  
 /* --== 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: A strong name.+Answer: Source view, design view and programmatically in code.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-/* Added 20090914 */+/* Added 20117012 */
  
-** C13L2Q14What two security considerations does the .NET Services Installation tool have? **+** 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.
- +
-  * It can not register components with methods protected by a demand or link demand for the //StrongNameIdentityPermission// or the //PublisherIdentityPermission//+
-  * You must have administrative privileges on the local computer to use the .NET Services Installation tool. +
- +
-==== 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: The event that caused the postback is processed last.
- +
-  * 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 the size of the //ViewState// data? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: +Answer: The //EnableViewState// should be set to //false//.
- +
-  * float -> //Single// +
-  * double -> //Double// +
-  * DECIMAL -> //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: //Page_PreInit//, //Page_Init//, //Page_Load//, //Page_PreRender// and //Page_Unload//
  
-  * void * -> //IntPtr// +==== Lesson 2:  Exploring Common Web Server Controls ====
-  * HRESULT -> //Int16// or //IntPtr// +
-  * 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 the //Literal// control and the //TextBox// control? **
- +
-/* --== 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 and laughable. +
- +
-/* --== Answer Question separator ==-- */ +
- +
-/* Added 20090917 */ +
- +
-** Art1P12Q3: Which principle states the goal of object orientated architecture and which states the primary mechanism? ** +
- +
-/* --== 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 //WebControl//.
  
-/* --== Answer Question separator ==-- */ +===== Chapter 3Exploring Specialized Server Controls =====
- +
-/* Added 20090917 */ +
- +
-** Art1P16Q1What means of organising a design has larger granularity than classes? ** +
- +
-/* --== Question Answer separator ==-- */+
  
-AnswerPackages.+==== Lesson 1Exploring Specialized Web Server Controls ====
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-/* Added 20090917 */+/* Added 20110823 */
  
-** Art1P16Q2: What are the three principles of package architecture? **+** WebC3L1Q1: What are the three modes of the //Literal// control? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: +Answer: //PassThrough//, //Encode// and //Transform//.
- +
-  * 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//, //TableRow// and //TableCell// controls over using straight HTML markup? **
  
 /* --== 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: //ImageButton// or //ImageMap//.
  
-//"Classes that change together, belong together."//+===== 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: Global machine, root default web, web site, web application, sub-directory.
  
-//"Classes that aren't reused together should not be grouped together."// 
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-/* Added 20090917 */+/* Added 20100620 */
  
-** Art1P18Q1Which package architecture principle or principles tends to advantage reusers and which tends to advantage maintainers? **+** MvcC1Q1What are the six top-level directories, created by default when a new ASP.NET MVC project is created? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: Reusers are advantaged by the Release Reuse Equivalency Principle and the Common Reuse Principle. Maintainers are advantaged by the Common Closure Principle. +Answer: ControllersModels, Views, Scripts, Content and App_Data.
- +
-/* --== 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 lifethe Common Closure Principle tends to be used. When the system has matured the Release Reuse Equivalency Principle and the Common Reuse Principle tend to be used. +
- +
-/* --== 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: +
- +
-//"Depend in the direction of stability."// +
- +
-/* --== Answer Question separator ==-- */ +
- +
-/* Added 20090917 */ +
- +
-** Art1P24Q1: What is the Stable Abstraction Principle? ** +
- +
-/* --== Question Answer separator ==-- */ +
- +
-Answer: +
- +
-//"Stable packages should be abstract packages."//+
  
 {{tag>procedure lucky_dip study_questions exam}} {{tag>procedure lucky_dip study_questions exam}}
study_questions_lucky_dip_creation.1253315014.txt.gz · Last modified: 2017/01/01 19:54 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki