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/12 22:17] 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 36: Line 36:
  
 ===== 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: A form element that has the //runat="server"// attribute.
  
-  Insurance against obsolescence +/--== Answer Question separator ==-- */
-  Leverage +
-  * Easier testing+
  
-/* --== Answer Question separator ==-- */+/* Added 20117012 */
  
-** PragC3Q2: What are three situations that make tracing statements invaluable? **+** WebC2L1Q3: What are the three methods of setting the properties of an HTML control? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer:+Answer: Source view, design view and programmatically in code.
  
-  Concurrent processes +/* --== Answer Question separator ==-- */
-  * Real-time systems +
-  * Event-based applications+
  
-/* --== Answer Question separator ==-- */+/* Added 20117012 */
  
-** C13L1Q11How are COM types that are defined in an assembly used differently from other managed types? **+** WebC2L1Q4In which event on what object should dynamically created controls be created? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: They aren't used differently (tricky).+Answer: The Init event on the page object.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C13L1Q12How is compiling an interop project different from compiling managed project? **+/Added 20117012 *
 + 
 +** WebC2L1Q5What order are events from a web page raised on the server side? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: It isn't different (tricky).+Answer: The event that caused the postback is processed last.
  
 /* --== 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 //ViewState// data? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: +Answer: The //EnableViewState// should be set to //false//.
- +
-  * A .NET client assembly. +
-  * One or more interop assemblies. +
-  * One or more registered COM components.+
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C13L1Q14Where should private assemblies be installed? **+/Added 20117012 *
 + 
 +** WebC2L1Q7What are the five main page events, in the order they occur? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: The same directory as the application.+Answer: //Page_PreInit//, //Page_Init//, //Page_Load//, //Page_PreRender// and //Page_Unload//
  
-/* --== Answer Question separator ==-- */ +==== Lesson 2 Exploring Common Web Server Controls ====
- +
-** C13L1Q15What 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 the //Literal// control and the //TextBox// control? **
- +
-Answer: A unique, vendor-supplied, strong named, interop assembly that contains type definitions (as metadata) of types implemented with COM. +
- +
-/* --== Answer Question separator ==-- */ +
- +
-** C13L2Q4: What are the five guidelines for qualifying .NET types for interoperation? **+
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
Line 123: Line 109:
 Answer: Answer:
  
-  * Classes should implement interfaces explicitly. +  * The //Literal// control does not support stylesthemes, and skins
-  * Managed types must be public. +  * The //Literal// control does not inherit from //WebControl//.
-  * Methodspropertiesfields and events must be public+
-  * Types must have a public default constructor to be activated from COM. +
-  * Types can not be abstract.+
  
-/* --== Answer Question separator ==-- */+===== Chapter 3: Exploring Specialized Server Controls =====
  
-** C13L2Q5What public parts of a class are not exposed to COM clients? **+==== Lesson 1Exploring Specialized Web Server Controls ====
  
-/* --== Question Answer separator ==-- */+/* --== Answer Question separator ==-- */
  
-Answer: Parameterised constructors, static methods and constant fields.+/* Added 20110823 */
  
-/--== Answer Question separator ==-- *+** WebC3L1Q1: What are the three modes of the //Literal// control? **
- +
-** C13L2Q6: What does the Assembly Registration tool do and what .NET class provides the equivalent functionality? **+
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: The Assembly Registration tool generates a type library and then registers it so that COM clients can use the .NET class transparentlyor it can unregister an assembly. The equivalent class is //RegistrationServices//.+Answer: //PassThrough//, //Encode// and //Transform//.
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C13L2Q7: What is the difference between the Type Library Exporter and the Assembly Registration tool? **+/Added 20110823 *
 + 
 +** 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: 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 ==-- */
  
-** C13L2Q8How do you use the Type Library Exporter to generate a subset of the types defined in an assembly? **+/Added 20110824 *
 + 
 +** WebC3L1Q3What web control should be used if clicking on an image is required? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: You can't - the entire assembly is converted at once (tricky).+Answer: //ImageButton// or //ImageMap//. 
 + 
 +===== Replacements =====
  
 /* --== Answer Question separator ==-- */ /* --== Answer Question separator ==-- */
  
-** C13L2Q9How can an interop assembly be activated from any COM client? **+/Added 20110708 *
 + 
 +** WebC1L3Q1What are the five levels, in order, of the ASP.NET configuration hierarchy? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: After registering it, install it in the Global Assembly Cache (GAC).+Answer: Global machine, root default web, web site, web application, sub-directory.
  
-/* --== Answer Question separator ==-- */ 
- 
-** C13L2Q10: When using the Assembly Registration tool, what does the ''/tlb'' option do? ** 
- 
-/* --== 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 ''/tlb'' option of the Assembly Registration tool not be used? ** +/* 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, created by default when a new ASP.NET MVC project is created? **
  
 /* --== Question Answer separator ==-- */ /* --== Question Answer separator ==-- */
  
-Answer: //Cast// is ANSI compliant. //Convert// is specific to SQL Server and allows some formatting options.+Answer: Controllers, Models, Views, Scripts, Content and App_Data.
  
 {{tag>procedure lucky_dip study_questions exam}} {{tag>procedure lucky_dip study_questions exam}}
study_questions_lucky_dip_creation.1252793831.txt.gz · Last modified: 2017/01/01 19:54 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki