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 stuff 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

C8L3Q10: What class is used to interact with Windows services?

Answer: ServiceController.

PragC6Q6: What four capabilities should a test harness include?

Answer:

  • A standard way to specify setup and clean up.
  • A method for selecting individual tests or all available tests.
  • A means of analysing output for expected (or unexpected) results.
  • A standardised form of failure reporting.

PragC6Q7: What should be done at the end of any debugging session?

Answer: Formalise any ad hoc tests into unit tests.

C4L3Q4: Which list is a dictionary?

Answer: SortedList

C8L3Q11: What should a service name be and how is it set?

Answer: A service name should be unique and is set by modifying the ServiceBase.ServiceName property in Visual Studio's service Designer.

C8L3Q12: What must a service's OnStart method do?

Answer: Return.

C8L3Q13: What are three ways to stop or start a service?

Answer:

  • Use Computer Management's Services snap-in.
  • Use the Net command from a command line.
  • Programmatically, by using the ServiceProcess.ServiceController class.

ITQ7: What type of URL should destructive or data modifying operations be put behind and why?

Answer: They should be put behind HTTP-POST requests because web-crawlers and search engines are not supposed to follow them.

59 Seconds - Think a little, change a lot, Professor Richard Wiseman

59SecHappinessQ1: What is materialism mainly driven by?

Answer: Low self-esteem.

59SecHappinessQ2: How does one buy happiness?

Answer: By buying experiences, not goods.

59SecHappinessQ3: What are three ways to feel more happy?

Answer: Smile, sit up and act happy.

59SecPersuasionQ1: What are the three steps to giving a great job interview?

Answer:

  • Likeability is more important than academic achievements and work experience.
  • Reveal weaknesses early and strengths late. Retain something strong for the end.
  • Don't overreact to mistakes - the interviewer probably didn't notice.

59SecPersuasionQ2: What is the Spontaneous Trait Transference Effect?

Answer: When criticising someone else, observers will attribute the negative traits to the speaker.

59SecPersuasionQ3: What is the Franklin Effect?

Answer: Getting someone to do you a favour will increase the chance of them liking you.

59SecPersuasionQ4: What is the Pratfall Effect?

Answer: The occasional mistake can make you more likeable.

59SecPersuasionQ5: What should you do if you require assistance in the street?

Answer: Pick out a friendly face in the crowd. Clearly tell them what is happening and what they need to do.

59SecMotivationQ1: What is the rule to beat procrastination?

Answer: Work on the activity for “just a few minutes”.

59SecMotivationQ2: What are the four key techniques to achieve a goal?

Answer:

  • Have a plan.
  • Tell friends a family.
  • Doublethink. Focus on the benefits and potential setbacks.
  • Reward each step of the way.

59SecMotivationQ3: What visualisation technique should be used to provide motivation to achieve goals and how does it work?

Answer: Doublethink. Imagine both the potential benefits from achieving the goal and the potential setbacks that may occur along the way.

LifeQ5: What two things should every person with a job be doing?

Answer:

  • The very best they can at their job.
  • Looking for a better job.

Professional ASP.NET MVC 1.0

MvcC1Q1: What are the six top-level directories, created by default when a new ASP.NET MVC project is created and what goes in each?

Answer:

Directory Contents
Controllers Controller classes that handle URL requests.
Models Classes that represent and manipulate data.
Views UI template files that are responsible for rendering output.
Scripts JavaScript library files and scripts.
Content CSS and image files, and other non-dynamic/non-JavaScript content.
App_Data Data files you want to read/write.

MvcC1Q2: Where is does ASP.NET MVC store its routing rules?

Answer: In the Global.asax file.

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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki