nerd_quiz 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (170) hide show
  1. data/NerdPursuit/questions/2_seconds.json +15 -0
  2. data/NerdPursuit/questions/HTCPCP.json +14 -0
  3. data/NerdPursuit/questions/about_ruby.json +16 -0
  4. data/NerdPursuit/questions/absolute_superclass_1.8.json +14 -0
  5. data/NerdPursuit/questions/absolute_superclass_1.9.json +14 -0
  6. data/NerdPursuit/questions/active_record_base.json +14 -0
  7. data/NerdPursuit/questions/all_ur_base.json +14 -0
  8. data/NerdPursuit/questions/answer_to_everything.json +14 -0
  9. data/NerdPursuit/questions/array_all_but_the_first.json +15 -0
  10. data/NerdPursuit/questions/array_all_but_the_first_and_last .json +15 -0
  11. data/NerdPursuit/questions/array_all_but_the_last.json +15 -0
  12. data/NerdPursuit/questions/array_ampersand.json +14 -0
  13. data/NerdPursuit/questions/array_get_and remove_first_element.json +15 -0
  14. data/NerdPursuit/questions/array_get_and remove_last_element.json +15 -0
  15. data/NerdPursuit/questions/array_pipe.json +14 -0
  16. data/NerdPursuit/questions/array_splat.json +14 -0
  17. data/NerdPursuit/questions/array_to_csv_string.json +15 -0
  18. data/NerdPursuit/questions/attribute_selectors.json +14 -0
  19. data/NerdPursuit/questions/background_image.json +15 -0
  20. data/NerdPursuit/questions/backticks_in_ruby.json +15 -0
  21. data/NerdPursuit/questions/base_object.json +14 -0
  22. data/NerdPursuit/questions/best_language.json +14 -0
  23. data/NerdPursuit/questions/bitwise_and.json +14 -0
  24. data/NerdPursuit/questions/bitwise_or.json +14 -0
  25. data/NerdPursuit/questions/chrome_v8.json +14 -0
  26. data/NerdPursuit/questions/class_inheritance.json +14 -0
  27. data/NerdPursuit/questions/club_mate_caffeine.json +14 -0
  28. data/NerdPursuit/questions/collect_alternative.json +14 -0
  29. data/NerdPursuit/questions/comparsion.json +16 -0
  30. data/NerdPursuit/questions/constants.json +14 -0
  31. data/NerdPursuit/questions/controller_action.json +14 -0
  32. data/NerdPursuit/questions/date_format_month.json +14 -0
  33. data/NerdPursuit/questions/divmod.json +16 -0
  34. data/NerdPursuit/questions/emails.json +14 -0
  35. data/NerdPursuit/questions/encoding.json +15 -0
  36. data/NerdPursuit/questions/enumerable.json +14 -0
  37. data/NerdPursuit/questions/equality.json +14 -0
  38. data/NerdPursuit/questions/falsy.json +14 -0
  39. data/NerdPursuit/questions/fastes_sorting_algorithm.json +14 -0
  40. data/NerdPursuit/questions/fizzbuzz.json +15 -0
  41. data/NerdPursuit/questions/float_left.json +14 -0
  42. data/NerdPursuit/questions/folders.json +14 -0
  43. data/NerdPursuit/questions/fps.json +14 -0
  44. data/NerdPursuit/questions/fptr.json +15 -0
  45. data/NerdPursuit/questions/fun_with_brackets.json +14 -0
  46. data/NerdPursuit/questions/garbarge_collector_in_19.json +15 -0
  47. data/NerdPursuit/questions/global_variable_character.json +14 -0
  48. data/NerdPursuit/questions/half_a_byte.json +14 -0
  49. data/NerdPursuit/questions/hash_with_indifferent_access.json +14 -0
  50. data/NerdPursuit/questions/hexadecimal_code.json +14 -0
  51. data/NerdPursuit/questions/how_can_you_access_the_data_pas.json +15 -0
  52. data/NerdPursuit/questions/how_do_you_specify_html5_doctyp.json +15 -0
  53. data/NerdPursuit/questions/how_do_you_use_multiple_box_sha.json +15 -0
  54. data/NerdPursuit/questions/how_is_ruby_licensed.json +15 -0
  55. data/NerdPursuit/questions/how_many_gems.json +14 -0
  56. data/NerdPursuit/questions/how_many_pypi_packages.json +17 -0
  57. data/NerdPursuit/questions/how_to_concatenate_list_python.json +17 -0
  58. data/NerdPursuit/questions/how_to_delete_variable_python.json +17 -0
  59. data/NerdPursuit/questions/how_to_indent_python.json +17 -0
  60. data/NerdPursuit/questions/how_to_open_python_main.json +17 -0
  61. data/NerdPursuit/questions/img_tag.json +14 -0
  62. data/NerdPursuit/questions/instance_exec.json +14 -0
  63. data/NerdPursuit/questions/invited-php.json +16 -0
  64. data/NerdPursuit/questions/jquery_sizzle.json +14 -0
  65. data/NerdPursuit/questions/json.json +14 -0
  66. data/NerdPursuit/questions/jsonp.json +14 -0
  67. data/NerdPursuit/questions/kanji_converter.json +14 -0
  68. data/NerdPursuit/questions/kernel-sprintf-2.json +16 -0
  69. data/NerdPursuit/questions/kernel-sprintf.json +16 -0
  70. data/NerdPursuit/questions/kernel.json +14 -0
  71. data/NerdPursuit/questions/last_cmd_sub.json +14 -0
  72. data/NerdPursuit/questions/last_directory.json +14 -0
  73. data/NerdPursuit/questions/lazy.json +14 -0
  74. data/NerdPursuit/questions/list_comprehension_python.json +17 -0
  75. data/NerdPursuit/questions/map_parseInt.json +15 -0
  76. data/NerdPursuit/questions/matz.json +16 -0
  77. data/NerdPursuit/questions/media.json +14 -0
  78. data/NerdPursuit/questions/method_used_for_comparisions.json +15 -0
  79. data/NerdPursuit/questions/min_max_quantifier.json +14 -0
  80. data/NerdPursuit/questions/mixins_are_what.json +15 -0
  81. data/NerdPursuit/questions/mutable_data_type.json +14 -0
  82. data/NerdPursuit/questions/name_of_python_module_rep.json +17 -0
  83. data/NerdPursuit/questions/negative_look_ahead.json +14 -0
  84. data/NerdPursuit/questions/new_database.json +14 -0
  85. data/NerdPursuit/questions/new_lambda_calling_syntax.json +14 -0
  86. data/NerdPursuit/questions/new_lambda_constructing_syntax.json +14 -0
  87. data/NerdPursuit/questions/nil.json +14 -0
  88. data/NerdPursuit/questions/nil_id.json +15 -0
  89. data/NerdPursuit/questions/nilclass.json +14 -0
  90. data/NerdPursuit/questions/nodetype_of_text_node.json +14 -0
  91. data/NerdPursuit/questions/numeric_types.json +14 -0
  92. data/NerdPursuit/questions/ook_ook.json +15 -0
  93. data/NerdPursuit/questions/optional_html_tags.json +14 -0
  94. data/NerdPursuit/questions/oreilly_Antelope.json +15 -0
  95. data/NerdPursuit/questions/oreilly_Camel.json +15 -0
  96. data/NerdPursuit/questions/oreilly_Cow.json +15 -0
  97. data/NerdPursuit/questions/oreilly_Insects.json +15 -0
  98. data/NerdPursuit/questions/oreilly_Octopus.json +15 -0
  99. data/NerdPursuit/questions/oreilly_Pidgeon.json +15 -0
  100. data/NerdPursuit/questions/oreilly_Rat.json +15 -0
  101. data/NerdPursuit/questions/oreilly_Rhinocerous.json +15 -0
  102. data/NerdPursuit/questions/oreilly_Salmon.json +15 -0
  103. data/NerdPursuit/questions/pluralize_person.json +14 -0
  104. data/NerdPursuit/questions/png.json +14 -0
  105. data/NerdPursuit/questions/position_fixed_support.json +14 -0
  106. data/NerdPursuit/questions/position_property.json +15 -0
  107. data/NerdPursuit/questions/prediction_gates.json +14 -0
  108. data/NerdPursuit/questions/prefix_last_command.json +14 -0
  109. data/NerdPursuit/questions/prime.json +14 -0
  110. data/NerdPursuit/questions/private_method_in_ruby.json +15 -0
  111. data/NerdPursuit/questions/protected_method_in_ruby.json +15 -0
  112. data/NerdPursuit/questions/ps_save_for_web.json +14 -0
  113. data/NerdPursuit/questions/quo.json +14 -0
  114. data/NerdPursuit/questions/rails_first_shown.json +14 -0
  115. data/NerdPursuit/questions/rails_inventor.json +14 -0
  116. data/NerdPursuit/questions/rake_about.json +14 -0
  117. data/NerdPursuit/questions/ranges_three_dots.json +14 -0
  118. data/NerdPursuit/questions/release_date.json +14 -0
  119. data/NerdPursuit/questions/return_value_or.json +14 -0
  120. data/NerdPursuit/questions/roses.json +14 -0
  121. data/NerdPursuit/questions/rspec_controller_render_views.json +14 -0
  122. data/NerdPursuit/questions/run_time_of_bst.json +14 -0
  123. data/NerdPursuit/questions/same_origin_policy.json +14 -0
  124. data/NerdPursuit/questions/screen_image_resolution.json +14 -0
  125. data/NerdPursuit/questions/simple_format.json +14 -0
  126. data/NerdPursuit/questions/size_t_header.json +15 -0
  127. data/NerdPursuit/questions/spaceship_operator.json +15 -0
  128. data/NerdPursuit/questions/square_numbers_in_list.json +14 -0
  129. data/NerdPursuit/questions/strict_doctype.json +14 -0
  130. data/NerdPursuit/questions/string_clean_whitespace.json +15 -0
  131. data/NerdPursuit/questions/string_object_coercion_internals.json +14 -0
  132. data/NerdPursuit/questions/string_v_strings.h +15 -0
  133. data/NerdPursuit/questions/sum_things_up.json +15 -0
  134. data/NerdPursuit/questions/symbol_identity_01.json +14 -0
  135. data/NerdPursuit/questions/symbol_identity_02.json +14 -0
  136. data/NerdPursuit/questions/symbol_identity_03.json +14 -0
  137. data/NerdPursuit/questions/symbol_string_ids.json +14 -0
  138. data/NerdPursuit/questions/symbols.json +14 -0
  139. data/NerdPursuit/questions/the_cake.json +15 -0
  140. data/NerdPursuit/questions/the_difference_between_and_operators.json +15 -0
  141. data/NerdPursuit/questions/to_which_year_marty_mcfly_wants.json +16 -0
  142. data/NerdPursuit/questions/trace_something_in_as3.json +14 -0
  143. data/NerdPursuit/questions/typeof_arguments.json +14 -0
  144. data/NerdPursuit/questions/unless_wtf.json +14 -0
  145. data/NerdPursuit/questions/valid_function_expression.json +14 -0
  146. data/NerdPursuit/questions/weakref.json +14 -0
  147. data/NerdPursuit/questions/what_did_matz_say_about_ruby.json +15 -0
  148. data/NerdPursuit/questions/what_do_array.json +14 -0
  149. data/NerdPursuit/questions/what_do_string.json +14 -0
  150. data/NerdPursuit/questions/what_does_gil_stands_for.json +15 -0
  151. data/NerdPursuit/questions/what_does_negate_regexp_operator_do.json +15 -0
  152. data/NerdPursuit/questions/what_is_a_mixin.json +15 -0
  153. data/NerdPursuit/questions/what_is_a_traditional_vulcan_sa.json +15 -0
  154. data/NerdPursuit/questions/what_is_node_js.json +17 -0
  155. data/NerdPursuit/questions/what_s_4_2.json +15 -0
  156. data/NerdPursuit/questions/what_s_typeof_null.json +16 -0
  157. data/NerdPursuit/questions/when_life_gives_you_lemons.json +15 -0
  158. data/NerdPursuit/questions/where_are_the_characters_of_daw.json +15 -0
  159. data/NerdPursuit/questions/which_character_in_star_trek_se.json +15 -0
  160. data/NerdPursuit/questions/which_is_not_a_python_framework.json +17 -0
  161. data/NerdPursuit/questions/which_version_of_ecmascript_doe.json +17 -0
  162. data/NerdPursuit/questions/who_created_jquery.json +15 -0
  163. data/NerdPursuit/questions/who_created_python.json +17 -0
  164. data/NerdPursuit/questions/who_invented_node_js.json +17 -0
  165. data/NerdPursuit/questions/who_is_the_first_character_to_b.json +16 -0
  166. data/NerdPursuit/questions/yo_dawg.json +14 -0
  167. data/NerdPursuit/questions/z-index_property.json +14 -0
  168. data/lib/nerd_quiz/version.rb +1 -1
  169. data/nerd_quiz.gemspec +195 -2
  170. metadata +175 -8
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "css",
3
+ "category": "frontend",
4
+ "nerd_level": 3,
5
+ "text":"Roses are #FF0000, violets are?",
6
+ "a1": "#F0F0F0",
7
+ "a2": "#359926",
8
+ "a3": "#0000FF",
9
+ "a4": "#D7D415",
10
+ "right_answer":"a3",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Philipp"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 3,
5
+ "text": "Which command makes a rails controller spec also render the views?",
6
+ "a1": "render_views",
7
+ "a2": "views_render",
8
+ "a3": "render_json",
9
+ "a4": "soap-xml",
10
+ "right_answer": "a1",
11
+ "created_at": "2011-05-14",
12
+ "creator": "Schorsch"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "algorithms",
3
+ "category": "backend",
4
+ "nerd_level": 2,
5
+ "text": "What's the average run time of a search in a Binary Search Tree?",
6
+ "a1": "O(n)",
7
+ "a2": "O(n log n)",
8
+ "a3": "O(log n)",
9
+ "a4": "O(1)",
10
+ "right_answer":"a3",
11
+ "created_at": "2011-06-20",
12
+ "creator": "eray"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "javascript",
3
+ "category": "backend",
4
+ "nerd_level": 4,
5
+ "text":"Why can't you just request files from external servers via XMLHttpRequest in a web-browser?",
6
+ "a1": "XSS",
7
+ "a2": "Cross-Site Scripting",
8
+ "a3": "Cross-Domain Scripting",
9
+ "a4": "Same Origin Policy",
10
+ "right_answer":"a4",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Philipp"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "graphics",
3
+ "category": "design",
4
+ "nerd_level": 1,
5
+ "text": "Which image resolution should be used for screen layouts/images?",
6
+ "a1": "150",
7
+ "a2": "96",
8
+ "a3": "100",
9
+ "a4": "72",
10
+ "right_answer": "a4",
11
+ "created_at": "2011-05-24",
12
+ "creator": "Schorsch"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "rails",
3
+ "category": "frontend",
4
+ "nerd_level": 2,
5
+ "text": "Which one produces invalid HTML?",
6
+ "a1": "<p><%= auto_link(text) %></p>",
7
+ "a2": "<p><%= simple_format(text) %></p>",
8
+ "a3": "<p><%= highlight(text, word) %></p>",
9
+ "a4": "<p><%= truncate(text) %></p>",
10
+ "right_answer": "a2",
11
+ "created_at": "2011-06-07",
12
+ "creator": "tmschndr"
13
+ }
14
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "sub_category": "C",
4
+ "category": "programming",
5
+ "created_at": "2012-03-15",
6
+ "right_answer": "a1",
7
+ "creator": "a2800276",
8
+ "nerd_level": 1,
9
+ "text": "Where is `size_t` defined?",
10
+ "a1": "stddef.h",
11
+ "a2": "stdarg.h",
12
+ "a3": "stdlib.h",
13
+ "a4": "stdio.h"
14
+ }
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "sub_category": "ruby",
4
+ "category": "backend",
5
+ "right_answer": "a2",
6
+ "nerd_level": 4,
7
+ "text": "What is the spaceship operator?",
8
+ "a1": "=||=",
9
+ "a2": "<=>",
10
+ "a3": "[] (two square brackets)",
11
+ "a4": "(=)",
12
+ "creator": "nbartlomiej",
13
+ "created_at": "2011-06-14"
14
+ }
15
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "python",
3
+ "category": "backend",
4
+ "nerd_level": 2,
5
+ "text": "Which one of these statements squares all the numbers in the list l?",
6
+ "a1": "l.sq_each()",
7
+ "a2": "[l[i]**2 for i in range(len(l))]",
8
+ "a3": "[n** * for n in l]",
9
+ "a4": "lambda l: [n**n for n in l]",
10
+ "right_answer": "a2",
11
+ "created_at": "2011-09-15",
12
+ "creator": "kragniz"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "html",
3
+ "category": "frontend",
4
+ "nerd_level": 2,
5
+ "text":"Attribute that is not allowed in Strict DOCTYPE",
6
+ "a1": "bgcolor",
7
+ "a2": "name",
8
+ "a3": "align",
9
+ "a4": "border",
10
+ "right_answer":"a1",
11
+ "created_at": "2011-06-14",
12
+ "creator": "Barto"
13
+ }
14
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "nerd_level": 2,
4
+ "text": "How to remove leading and trailing whitespace from a string.",
5
+ "a1": "str.clean",
6
+ "a2": "str.spit",
7
+ "a3": "str.split",
8
+ "a4": "str.strip",
9
+ "sub_category": "ruby",
10
+ "category": "backend",
11
+ "right_answer": "a4",
12
+ "creator": "Georg Leciejewski",
13
+ "created_at": "2011-06-27"
14
+ }
15
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "javascript",
3
+ "category": "backend",
4
+ "nerd_level": 4,
5
+ "text": "Which of these methods is an object run through first on type coercion with a string?",
6
+ "a1": "toString",
7
+ "a2": "toObject",
8
+ "a3": "toPrimitive",
9
+ "a4": "valueOf",
10
+ "right_answer": "a3",
11
+ "created_at": "2011-06-19",
12
+ "creator": "Christoph Werner @gonsfx"
13
+ }
14
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "sub_category": "C",
4
+ "category": "programming",
5
+ "created_at": "2012-03-15",
6
+ "right_answer": "a1",
7
+ "creator": "a2800276",
8
+ "nerd_level": 1,
9
+ "text": "Which of the following functions is NOT defined in `string.h`",
10
+ "a1": "strncasecmp",
11
+ "a2": "strncmp",
12
+ "a3": "strncat",
13
+ "a4": "memccpy"
14
+ }
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question" : {
3
+ "sub_category": "ruby",
4
+ "category": "backend",
5
+ "nerd_level": 1,
6
+ "text":"Which one will sum up an array of numbers?",
7
+ "a1": "[1,2,3].sum",
8
+ "a2": "[1,2,3].flatten!.inject(&:+)",
9
+ "a3": "[1,2,3].reduce{|remainder,n| remainder + n}",
10
+ "a4": "[1,2,3].sum(&:add)",
11
+ "right_answer":"a3",
12
+ "created_at": "2011-06-09",
13
+ "creator": "kangguru"
14
+ }
15
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 1,
5
+ "text": "What are the outputs for a == b and a.equal?(b) with a = 'xy' and b = a?",
6
+ "a1": "true and false",
7
+ "a2": "true and true",
8
+ "a3": "false and false",
9
+ "a4": "false and true",
10
+ "right_answer": "a2",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Paul"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 1,
5
+ "text": "What are the outputs for a == b and a.equal?(b) with a = 'xy' and b = 'xy'?",
6
+ "a1": "true and false",
7
+ "a2": "true and true",
8
+ "a3": "false and false",
9
+ "a4": "false and true",
10
+ "right_answer": "a1",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Paul"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 1,
5
+ "text": "What are the outputs for a == b and a.equal?(b) with a = :xy and b = :xy?",
6
+ "a1": "true and false",
7
+ "a2": "true and true",
8
+ "a3": "false and false",
9
+ "a4": "false and true",
10
+ "right_answer": "a2",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Paul"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 1,
5
+ "text": "Where is a.id == b.id?",
6
+ "a1": "a = 'xy'; b = 'xy'",
7
+ "a2": "a = :xy; b = :xy",
8
+ "a3": "a = 'xy'; b = :xy",
9
+ "a4": "a = :xy; b= 'xy'",
10
+ "right_answer": "a2",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Paul"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 1,
5
+ "text": "What are Ruby symbols?",
6
+ "a1": "Hash Keys.",
7
+ "a2": "Immutable strings.",
8
+ "a3": "Ruby pointers.",
9
+ "a4": "Ruby's Array index.",
10
+ "right_answer": "a2",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Paul"
13
+ }
14
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "nerd_level": 1,
4
+ "text": "The cake...",
5
+ "a1": "is moist",
6
+ "creator": "Mike Poltyn",
7
+ "a2": "is delicious",
8
+ "a3": "was crushed by a giant robot",
9
+ "created_at": "2011-06-15",
10
+ "a4": "is a lie",
11
+ "sub_category": "culture",
12
+ "category": "culture",
13
+ "right_answer": "a4"
14
+ }
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "nerd_level": 3,
4
+ "text": "What is the difference between && and \"and\" operators?",
5
+ "a1": "They are exactly the same",
6
+ "a2": "\"and\" operator is added by Rails",
7
+ "a3": "&& has a higher precedence",
8
+ "a4": "&& is deprecated in ruby 1.9",
9
+ "right_answer": "a3",
10
+ "creator": "Michał Łomnicki",
11
+ "created_at": "2011-09-08",
12
+ "sub_category": "ruby",
13
+ "category": "backend"
14
+ }
15
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "question": {
3
+ "nerd_level": 1,
4
+ "text": "To which year does Marty McFly want to go back to in the Back to The Future series?",
5
+ "a1": "1674",
6
+ "creator": "Mike Poltyn",
7
+ "a2": "2015",
8
+ "a3": "1885",
9
+ "created_at": "2011-06-14",
10
+ "a4": "1985",
11
+ "sub_category": "culture",
12
+ "category": "culture",
13
+ "right_answer": "a4",
14
+ "id": ""
15
+ }
16
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "flash",
3
+ "category": "backend",
4
+ "nerd_level": 1,
5
+ "text":"Which action script 3 command will print 'hello world' in the flash console?",
6
+ "a1": "print('hello world')",
7
+ "a2": "puts => 'hello world'",
8
+ "a3": "'hello world'.print",
9
+ "a4": "trace('hello world')",
10
+ "right_answer":"a4",
11
+ "created_at": "2011-06-08",
12
+ "creator": "StephanP"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "javascript",
3
+ "category": "backend",
4
+ "nerd_level": 3,
5
+ "text": "Whats the value of (function() { return typeof arguments; })()?",
6
+ "a1": "array",
7
+ "a2": "object",
8
+ "a3": "undefined",
9
+ "a4": "arguments",
10
+ "right_answer": "a2",
11
+ "created_at": "2011-06-19",
12
+ "creator": "Christoph Werner @gonsfx"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 1,
5
+ "text":"(1..4).reverse_each {|i| puts i unless i.equal?(i**i) } # Which of the following will not be printed?",
6
+ "a1": "1",
7
+ "a2": "2",
8
+ "a3": "3",
9
+ "a4": "4",
10
+ "right_answer":"a1",
11
+ "created_at": "2011-06-06",
12
+ "creator": "juliancheal"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "javascript",
3
+ "category": "backend",
4
+ "nerd_level": 4,
5
+ "text": "Which of these Immediately-Invoked Function Expressions won't give you a NERD-ALERT?",
6
+ "a1": "~function(){ alert('NERD'); }();",
7
+ "a2": "0, function(){ alert('NERD'); }();",
8
+ "a3": ";function(){ alert('NERD'); }();",
9
+ "a4": "true && function(){ alert('NERD'); }();",
10
+ "right_answer": "a3",
11
+ "created_at": "2011-08-14",
12
+ "creator": "Marco"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 4,
5
+ "text": "Which library lets Ruby garbage collect an object, that is still being referenced",
6
+ "a1": "Weakref",
7
+ "a2": "Ref",
8
+ "a3": "Heap",
9
+ "a4": "Malloc",
10
+ "right_answer": "a1",
11
+ "created_at": "2011-06-06",
12
+ "creator": "juliancheal"
13
+ }
14
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "nerd_level": 1,
4
+ "sub_category": "ruby",
5
+ "category": "backend",
6
+ "text": "What did Matz say about Ruby?",
7
+ "a1": "It should be abandoned because PHP 5.3 is damn good",
8
+ "a2": "It was created to implement JAVA",
9
+ "a3": "It was created to upset Bill Gates",
10
+ "a4": "It was created for programmer productivity and fun",
11
+ "right_answer": "a4",
12
+ "created_at": "2011-09-08",
13
+ "creator": "Michał Łomnicki"
14
+ }
15
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 2,
5
+ "text":"What is the result of [1,2,3] * 3?",
6
+ "a1": "[[1,2,3], [1,2,3], [1,2,3]]",
7
+ "a2": "[1, 2, 3, 1, 2, 3, 1, 2, 3]",
8
+ "a3": "[3, 6, 9]",
9
+ "a4": "[1, 8, 27]",
10
+ "right_answer":"a2",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Jost"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 2,
5
+ "text":"What is the result of \"hello\".tr_s('l','r')?",
6
+ "a1": "hero",
7
+ "a2": "helrlro",
8
+ "a3": "herro",
9
+ "a4": "heo",
10
+ "right_answer":"a1",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Jost"
13
+ }
14
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "nerd_level": 2,
4
+ "sub_category": "ruby",
5
+ "category": "backend",
6
+ "text": "What does GIL stands for?",
7
+ "a1": "The name of a Ruby dialect for embedded devices",
8
+ "a2": "Game Illegaly Loaded",
9
+ "a3": "Global Interpreter Lock",
10
+ "a4": "Got Infinitive Length",
11
+ "right_answer": "a3",
12
+ "creator": "Michał Łomnicki",
13
+ "created_at": "2011-09-08"
14
+ }
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "nerd_level": 1,
4
+ "text": "What does !~ operator do?",
5
+ "a1": "Performs bitwise XOR on its arguments",
6
+ "a2": "Returns the index of the first character matching the regexp",
7
+ "a3": "Returns false if the arguments match",
8
+ "a4": "Returns true if the arguments match",
9
+ "right_answer": "a3",
10
+ "created_at": "2011-09-08",
11
+ "sub_category": "ruby",
12
+ "category": "backend",
13
+ "creator": "Michał Łomnicki"
14
+ }
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "nerd_level": 1,
4
+ "sub_category": "ruby",
5
+ "category": "backend",
6
+ "text": "What is a mixin?",
7
+ "a1": "A nickname of a Ruby creator",
8
+ "a2": "A successor of HTTP protocol",
9
+ "a3": "An implementation which may be shared across multiple classes",
10
+ "a4": "A class",
11
+ "right_answer": "a3",
12
+ "creator": "Michał Łomnicki",
13
+ "created_at": "2011-09-08"
14
+ }
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "nerd_level": 2,
4
+ "text": "What is a traditional Vulcan salute?",
5
+ "a1": "Live long and prosper",
6
+ "creator": "Mike Poltyn",
7
+ "a2": "Live fast and die young",
8
+ "a3": "Live free and die hard",
9
+ "created_at": "2011-06-15",
10
+ "a4": "Live long and healthy",
11
+ "sub_category": "culture",
12
+ "category": "culture",
13
+ "right_answer": "a1"
14
+ }
15
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "question": {
3
+ "category": "backend",
4
+ "sub_category": "javascript",
5
+ "right_answer": "a1",
6
+ "nerd_level": 1,
7
+ "text": "What is node.js?",
8
+ "a1": "A server-side javascript framework based on V8",
9
+ "a2": "A jQuery plugin for visualizing network nodes",
10
+ "a3": "The first .js top-level domain ever",
11
+ "a4": "A network configuration file created by Google Chrome",
12
+ "creator": "Sascha Gehlich",
13
+ "creator_github": "saschagehlich",
14
+ "creator_twitter": "rattazong",
15
+ "created_at": "2012-01-15"
16
+ }
17
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "sub_category": "javascript",
4
+ "category": "backend",
5
+ "nerd_level": 1,
6
+ "text": "What's '4' + 2?",
7
+ "creator": "Marcin Bunsch",
8
+ "created_at": "2011-06-12",
9
+ "right_answer": "a1",
10
+ "a1": "'42'",
11
+ "a2": "402",
12
+ "a3": "6",
13
+ "a4": "0"
14
+ }
15
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "question": {
3
+ "text": "What's typeof null?",
4
+ "creator": "Jörn Zaefferer",
5
+ "a1": "'object'",
6
+ "a2": "'instance'",
7
+ "a3": "'class'",
8
+ "a4": "'william shatner'",
9
+ "right_answer": "a1",
10
+ "created_at": "2011-06-13",
11
+ "sub_category": "javascript",
12
+ "category": "backend",
13
+ "right_answer": "a1",
14
+ "nerd_level": 1
15
+ }
16
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "nerd_level": 2,
4
+ "text": "When life gives you lemons...",
5
+ "a1": "call Caroline!",
6
+ "creator": "Mike Poltyn",
7
+ "a2": "burn a house down with combustive lemons!",
8
+ "a3": "make lemonade!",
9
+ "a4": "fooo!",
10
+ "created_at": "2011-06-15",
11
+ "sub_category": "culture",
12
+ "category": "culture",
13
+ "right_answer": "a2"
14
+ }
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "nerd_level": 2,
4
+ "text": "Where are the characters of Dawn of the Dead hiding for most of the time?",
5
+ "a1": "Theme park",
6
+ "a2": "Hospital",
7
+ "a3": "The Mall",
8
+ "a4": "New Orleans",
9
+ "creator": "Mike Poltyn",
10
+ "created_at": "2011-06-14",
11
+ "sub_category": "culture",
12
+ "category": "culture",
13
+ "right_answer": "a3"
14
+ }
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "nerd_level": 1,
4
+ "text": "Which character in Star Trek series always dies first?",
5
+ "a1": "Blue Suit",
6
+ "creator": "Mike Poltyn",
7
+ "a2": "Red Suit",
8
+ "created_at": "2011-06-14",
9
+ "a3": "Cpt. Picard",
10
+ "category": "culture",
11
+ "sub_category": "culture",
12
+ "a4": "Yellow Suit",
13
+ "right_answer": "a2"
14
+ }
15
+ }