theQuiz(); from Ampersand Commerce & Manchester Girl Geeks 20/6/2012


Published on

A geeky quiz for programmers and the like. Originally presented by Ampersand Commerce and Manchester Girl Geeks at AmpersandHQ in Manchester, UK on 20 June 2012.

For details on the next quiz, please check here:

  • Be the first to comment

  • Be the first to like this

theQuiz(); from Ampersand Commerce & Manchester Girl Geeks 20/6/2012

  1. 1. quiz.init(programming);
  2. 2. Question 1 (2 points)Find three ways to make the program below print20 copies of the dash character - by changing oradding one character:int i, n = 20; for (i = 0; i < n; i--) { printf("-"); }
  3. 3. Question 2 (2 points)Encryption challenge. (see code page behind answer sheet) Calculate the returned value for eachnumber of the $inputData in turn toreveal an English message.
  4. 4. Question 3What was the name of the chess-playing computer that beat worldchampion, Garry Kasparov?
  5. 5. Question 4Which programming language wasnamed after a 17th century Frenchmathematician?
  6. 6. Question 5What is the Linux mascot?Bonus: (1 extra point)Why?
  7. 7. Question 6What is the use of capitalisation in thename of theQuiz(); commonlycalled?
  8. 8. Question 7What is a polygot in programmingterms?
  9. 9. Question 8 Which of the following languages can be used to write server side scripting in ASP.NET? a) C-sharp  b) VB  c) C++  d) a and b
  10. 10. Manchester
  11. 11. Question 1The streets of the Northern Quarterwere transformed into 1940’s New Yorkfor what movie in 2010?
  12. 12. Question 2MOSI and the Manchester ScienceFestival are celebrating the centenaryof Alan Turing’s birth by organising themass planting of sunflowers. This isbecause Turing had observed amathematical sequence in the seeds ofsunflowers. What is the sequencecalled?
  13. 13. Question 3What was the name of the worlds firstcommercially available general-purpose electronic computer, inventedin Manchester and known in its salesliterature as the Manchester ElectronicComputer?
  14. 14. Question 4Which chemist, physicist andmeteorologist has a street named afterhim in Manchester City Centre, and abuilding at one of the universities?
  15. 15. Question 5A Clockwork Orange, by Mancunianwriter Anthony Burgess, mentions anumber of fictional music groups.Which Sheffield synthpop band tooktheir name from one of these fictionalbands?
  16. 16. Question 6Which Manchester landmark did Sonyget in trouble for using withoutpermission as the setting for a virtualshoot-out against invading aliens, intheir 2007 PlayStation 3 gameResistance: Fall of Man?
  17. 17. Question 7How many Starbucks are there withinManchester’s inner ring road?a)  2b)  5c)  13d)  20
  18. 18. Question 8Which Mancunian physicist has a unit ofenergy named after him?
  19. 19. The Front-End
  20. 20. Question 1 How should a quotation mark character be encoded in HTML?(both correct methods will be accepted)
  21. 21. Question 2The  WebKit  layout  engine  used  by  the  Google  Chrome  and  Apple  Safari  web  browsers,  began  development  as  a  fork  of  which  Linux-­‐based  HTML  engine?
  22. 22. Question 3 What  is  the  correct  syntax  for  a  media   query  for  an  iPad  in  landscape  orientaIon?
  23. 23. Question 4What  is  the  difference  between  comparison  operators  ==  and  ===  in  JavaScript?
  24. 24. Question 5In  a  HTML  document,  where  is  the  correct  place  to  insert  JavaScript  code:a)  In  the  head  of  the  document  (between   the  <head> and  </head> tags)b)  In  the  body  of  the  document  (between   the  <body> and  </body> tags)c)  Code  can  be  inserted  in  the  head  or   the  body  of  the  document.
  25. 25. Question 6 According  to  sitepoint,  what  percentage  of   internet  users  were  using  ie7  in  march   2012?a)  9.78%b)  15.56%c)  32.87%d)  50.12%
  26. 26. Question 7 What  is  the  correct  syntax  for  creaIng  a   black  drop  shadow  with  a  horizontal  and   verIcal  offset  of  5px,  and  a  blur  radius  of   5px  for  firefox?
  27. 27. Question 8Name  the  three  types  of  HTML  lists.
  28. 28. Famous Geeks & StuffGeeks Like
  29. 29. Question 1 In 1914, Thomas J Watson renamed the Computing Tabulating Recording Corporation (CTR) to what?
  30. 30. Question 2Who created Perl in 1986?
  31. 31. Question 3What does BOFH stand for?Bonus (and clue): (1 extra point)Where can you read all of the episodes?
  32. 32. Question 4Name the artist who famously tookstock instead of money for paintingmurals in the first Facebookheadquarters?
  33. 33. Question 5Name the Film: “I must not fear. Fear is the mind-killer. Fearis the little-death that brings totalobliteration. I will face my fear. I will permitit to pass over me and through me. Andwhen it has gone past I will turn the innereye to see its path. Where the fear has gonethere will be nothing. Only I will remain”
  34. 34. Question 6 Name the woman who in the 1840’s wrote what is recognised as the first algorithm intended to be processed by a machine?Thanks to this, she is widely creditedwith being the first computerprogrammer.
  35. 35. Question 7What was the name of the firstcomputer to use a GUI that Steve Jobsnamed after his daughter?a)  The Lucyb)  The Lizac)  The Lisad)  The Mona
  36. 36. Question 8In the TV series Futurama, what is thecharacter Bender’s full name?
  37. 37. eCommerce
  38. 38. Question 1What is the full name of P.E.T, the UXmethodology used in ecommerce forconversion?
  39. 39. Question 2Which of the following is not anecommerce platform?a)  Magentob)  Vendac)  osCommerced)  Drupal
  40. 40. Question 3The term ‘Multi-channel Retailing’refers to:a)  A store that sells more than 1 brandb)  A store that has an online & offline presencec)  A store that sells only through eBay
  41. 41. Question 4Recently Google made a comical video,based in a grocery store, meant put anonline checkout experience into a reallife scenario.What was the man buying?
  42. 42. Question 5Which of these big high street brandsdo not yet have mobile friendlyversions of their ecommerce sites?a)  John Lewisb)  Debenhamsc)  Harvey Nicholsd)  Selfridges
  43. 43. Question 6What is the name of TK Maxx in theUSA?Bonus Why?
  44. 44. Question 7Most people think that choosing ‘Checkout as a Guest’ is faster than registeringfor checkout.What is the one additional form fieldthat a registration process requires?
  45. 45. Question 8In the recent airing of a fly-on-wall-documentary by Channel 4, ‘More SexPlease, We’re British’ which onlineretailer had to struggle under theweight of one order every 3 secondswhile the show was airing?
  46. 46. And the winner is...