User Tools

Site Tools


study_questions_lucky_dip_creation

This is an old revision of the document!


Study Questions - Lucy Dip Creation

1. Copy the source of the questions.

2. Run the Lucky Dip Processor.

3. Goto http://tallguyracing.com/wiki/doku.php?id=playground:playground and edit.

4. Paste from the clipboard and save it.

5. Select it (including the RSS XML Feed etc buttons).

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).

8. Delete all the crap at the top.

9. Load styles → Lucky Dip, Text + Pages + Overwrite.

10. Right click table → Table… → Text Flow tab → Untick Allow row to break…

11. For each page,

11.1. Put the cursor in the last row of the page.

11.2. Click the Insert Row button lots.

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.

11.4. Delete the blank cells.

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 to black. Also, look for numbered bullet lists in the right column of the even pages and reset the numbering.

13. Print. Set the Input Tray to Tray 1.

Questions To Be Lucky Dipped

C13L2Q12: What are the three actions that the .NET Services Installation tool performs?

Answer:

  • 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.

C13L2Q13: What must an assembly have before it can be used by the .NET Services Installation tool?

Answer: A strong name.

C13L2Q14: What two security considerations does the .NET Services Installation tool have?

Answer:

  • 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

C13XQ1: What are the eight integer based COM data types and their .NET equivalent types?

Answer:

  • bool → Int32
  • byte → Byte
  • char → SByte
  • small → SByte
  • short → Int16
  • long → Int32
  • int → Int32
  • Hyper → Int64

C13XQ2: What are the four non-integer numeric COM data types and their .NET equivalent types?

Answer:

  • float → Single
  • double → Double
  • DECIMAL → Decimal
  • CURRENCY → Decimal

C13XQ3: What are the three other important COM data types and their .NET equivalent types?

Answer:

  • void * → IntPtr
  • HRESULT → Int16 or IntPtr
  • VARIANT → Object

C13XQ4: What are the five COM data types that are equivalent to String?

Answer: BSTR, LPSTR, LPWSTR, char *, wchar_t *

study_questions_lucky_dip_creation.1252968734.txt.gz · Last modified: 2017/01/01 19:54 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki