Module: JobInterview::Questions

Defined in:
lib/job_interview/questions.rb

Instance Method Summary collapse

Instance Method Details

#greatest_weaknessObject



36
37
38
39
40
41
42
43
44
# File 'lib/job_interview/questions.rb', line 36

def greatest_weakness
  ["Some times I", "I always"].sample + " " +
  ["try too hard", "work too much", "care too much", "fail so rarely"].sample  + " " +
  "so I " +
  [ "make others jealous",
    "make too much money",
    "shift too many paradigms",
    "innovate too hard"].sample + "."
end

#in_5_yearsObject



5
6
7
8
9
10
11
12
13
# File 'lib/job_interview/questions.rb', line 5

def in_5_years
  "I'd " + %W[like love hope].sample + " to " +
    [
      "have made",
      "have enhanced shareholder value by creating",
      "made someone else rich with my"
    ].sample + " " +
    Faker::Company.catch_phrase.downcase + "."
end

#leaving_currentObject



15
16
17
18
19
20
21
22
23
24
# File 'lib/job_interview/questions.rb', line 15

def leaving_current
  "I'm " +
    [
      "seeking to",
      "leaving because I can't" ,
      "leaving because I have to",
      "not happy with the opportunities I have to"
    ].sample + " " +
    Faker::Company.bs + "."
end

#manhole_coverObject



26
27
28
29
30
31
32
33
34
# File 'lib/job_interview/questions.rb', line 26

def manhole_cover
  [
    "Because men are round.",
    "Because manholes are round.",
    "So they don't fall in.",
    "Because Reuleaux Triangles are hard to manufacture."
  ].sample

end

#p_equals_npObject



72
73
74
75
76
77
78
79
# File 'lib/job_interview/questions.rb', line 72

def p_equals_np
  [
    "If it does, we can kiss encryption goodbye.",
    "With our current models of computation, answering that question remains infeasible.",
    "I doubt it, but it would make life easier for traveling salesmen.",
    "Sure! P = 0 or N = 1!"
  ].sample
end

#what_experience(thing) ⇒ Object



54
55
56
57
58
59
60
61
62
# File 'lib/job_interview/questions.rb', line 54

def what_experience(thing)
  "I am " +
  [
    "a world-renowned expert in ",
    "highly proficient with ",
    "exquisitely competent at ",
    "known as an ultimate authority on "
    ].sample + thing + "."
end

#what_interestObject



64
65
66
67
68
69
70
# File 'lib/job_interview/questions.rb', line 64

def what_interest
  "I have a special interest in " +
    ["scalable ", "modular ", "distributed "].sample +
    ["mobile ", "social ", "global ", "local "].sample +
    ["business ", "consumer ", "startup ", "enterprise "].sample +
    ["applications.", "frameworks.", "platforms.", "services."].sample
end

#why_hereObject



46
47
48
49
50
51
52
# File 'lib/job_interview/questions.rb', line 46

def why_here
  "Your company " +
  [ "is renowned for",
    "is re-inventing",
    "has revolutionized"
  ].sample + " " + Faker::Company.catch_phrase.downcase + "."
end