Bad Interview Questions Adam Moskowitz adamm@menlo.com (please - - PowerPoint PPT Presentation

bad interview questions
SMART_READER_LITE
LIVE PREVIEW

Bad Interview Questions Adam Moskowitz adamm@menlo.com (please - - PowerPoint PPT Presentation

Bad Interview Questions Adam Moskowitz adamm@menlo.com (please hire me!) http://menlo.com./liisa06/htgr/ Bad Interview Questions Examples of bad questions Why theyre bad Better questions to ask instead


slide-1
SLIDE 1

http://menlo.com./liisa06/htgr/

Bad Interview Questions

Adam Moskowitz adamm@menlo.com

(please hire me!)

slide-2
SLIDE 2

http://menlo.com./liisa06/htgr/

Bad Interview Questions

  • Examples of bad questions
  • Why they’re bad
  • Better questions to ask instead
slide-3
SLIDE 3

http://menlo.com./liisa06/htgr/

Please think of your favorite interview question

slide-4
SLIDE 4

http://menlo.com./liisa06/htgr/

But first . . .

slide-5
SLIDE 5

http://menlo.com./liisa06/htgr/

What about those elections?

slide-6
SLIDE 6

http://menlo.com./liisa06/htgr/

That was a trick!

slide-7
SLIDE 7

http://menlo.com./liisa06/htgr/

Two Kinds of Bad Questions

slide-8
SLIDE 8

http://menlo.com./liisa06/htgr/

Two Kinds of Bad Questions

  • Discouraged
slide-9
SLIDE 9

http://menlo.com./liisa06/htgr/

Two Kinds of Bad Questions

  • Discouraged
  • Prohibited
slide-10
SLIDE 10

http://menlo.com./liisa06/htgr/

Two Kinds of Bad Questions

  • Discouraged
  • Prohibited

– Like asking about politics

slide-11
SLIDE 11

http://menlo.com./liisa06/htgr/

Two Kinds of Bad Questions

  • Discouraged
  • Prohibited

– Like asking about politics – Going to do these first

slide-12
SLIDE 12

http://menlo.com./liisa06/htgr/

Prohibited Questions

slide-13
SLIDE 13

http://menlo.com./liisa06/htgr/

Prohibited Questions

  • Age
slide-14
SLIDE 14

http://menlo.com./liisa06/htgr/

Prohibited Questions

  • Age
  • Marital status / Kids
slide-15
SLIDE 15

http://menlo.com./liisa06/htgr/

Prohibited Questions

  • Age
  • Marital status / Kids
  • Religion
slide-16
SLIDE 16

http://menlo.com./liisa06/htgr/

Prohibited Questions

  • Age
  • Marital status / Kids
  • Religion
  • Political affiliation
slide-17
SLIDE 17

http://menlo.com./liisa06/htgr/

Prohibited Questions

  • Age
  • Marital status / Kids
  • Religion
  • Political affiliation
  • Medical history
slide-18
SLIDE 18

http://menlo.com./liisa06/htgr/

Prohibited Questions

  • Age
  • Marital status / Kids
  • Religion
  • Political affiliation
  • Medical history
  • Personal habits
slide-19
SLIDE 19

http://menlo.com./liisa06/htgr/

Prohibited Questions

  • Age
  • Marital status / Kids
  • Religion
  • Political affiliation
  • Medical history
  • Personal habits
  • Other similar things
slide-20
SLIDE 20

http://menlo.com./liisa06/htgr/

Why Can’t You Ask These?

slide-21
SLIDE 21

http://menlo.com./liisa06/htgr/

Why Can’t You Ask These?

  • They’re unlawful
slide-22
SLIDE 22

http://menlo.com./liisa06/htgr/

Why Can’t You Ask These?

  • They’re unlawful
  • Or they might get you sued
slide-23
SLIDE 23

http://menlo.com./liisa06/htgr/

Why Can’t You Ask These?

  • They’re unlawful
  • Or they might get you sued
  • Or they’re just plain rude
slide-24
SLIDE 24

http://menlo.com./liisa06/htgr/

So Don’t Ask Them!

slide-25
SLIDE 25

http://menlo.com./liisa06/htgr/

Discouraged Questions

slide-26
SLIDE 26

http://menlo.com./liisa06/htgr/

Discouraged Questions

  • Let’s start with some examples
slide-27
SLIDE 27

http://menlo.com./liisa06/htgr/

What does tsort do?

slide-28
SLIDE 28

http://menlo.com./liisa06/htgr/

OK Smarty-Pants . . .

  • Just what is a “topological sort”

anyway?

  • Well?
slide-29
SLIDE 29

http://menlo.com./liisa06/htgr/

What does “ls -X” do?

slide-30
SLIDE 30

http://menlo.com./liisa06/htgr/

What does “ls -X” do?

  • Or is it “ls -x”?
slide-31
SLIDE 31

http://menlo.com./liisa06/htgr/

What does “ls -X” do?

  • Or is it “ls -x”?
  • It’s both

– Depending on which version of Unix

slide-32
SLIDE 32

http://menlo.com./liisa06/htgr/

What does “ls -X” do?

  • Or is it “ls -x”?
  • It’s both

– Depending on which version of Unix

  • But why do you care?
slide-33
SLIDE 33

http://menlo.com./liisa06/htgr/

What does “ls -X” do?

  • Or is it “ls -x”?
  • It’s both

– Depending on which version of Unix

  • But why do you care?

– Hint: You don’t!

slide-34
SLIDE 34

http://menlo.com./liisa06/htgr/

What command works

  • nly on stdin?
slide-35
SLIDE 35

http://menlo.com./liisa06/htgr/

What command works

  • nly on stdin?
  • tr
  • But why?
  • And, again, why do you care?
slide-36
SLIDE 36

http://menlo.com./liisa06/htgr/

What commands do not accept command-line switches?

slide-37
SLIDE 37

http://menlo.com./liisa06/htgr/

What commands do not accept command-line switches?

  • It’s a long list

– Including true and false

  • And I still don’t know why you care!
slide-38
SLIDE 38

http://menlo.com./liisa06/htgr/

So Why Are These Questions Bad?

slide-39
SLIDE 39

http://menlo.com./liisa06/htgr/

So Why Are These Questions Bad?

  • They ask about trivia
  • But you care about knowledge
  • And understanding
  • Not to mention trouble-shooting skills
slide-40
SLIDE 40

http://menlo.com./liisa06/htgr/

What to Ask Instead

slide-41
SLIDE 41

http://menlo.com./liisa06/htgr/

What to Ask Instead

  • “What command lists the contents of a

directory?”

– “Lots of output options; what are some of them?” – “Can you change the sort order?” – “On which keys?”

  • Which leads to . . .
slide-42
SLIDE 42

http://menlo.com./liisa06/htgr/

Filesystem Questions

  • “What / how many ‘times’ are stored

about a file?”

– atime, ctime, mtime

  • “What do they mean?”
  • And this leads to . . .
slide-43
SLIDE 43

http://menlo.com./liisa06/htgr/

Inodes

  • “What is an inode?”
  • “What’s stored in the inode?”
  • “Is the file name stored in the inode?”

– “If not, where is it stored?”

  • Which brings us to . . .
slide-44
SLIDE 44

http://menlo.com./liisa06/htgr/

Links

  • “What’s the difference between a hard

link and a symbolic link?”

  • “Can you make a hard link to a

directory?”

  • “Can hard links cross filesystems?”

– “If not, why not?”

slide-45
SLIDE 45

http://menlo.com./liisa06/htgr/

See the Difference?

  • Trivia questions test, well, trivia

– And don’t go anywhere

  • Good technical questions probe both

the depth and breadth of a candidate’s knowledge and understanding

– There are those words again

slide-46
SLIDE 46

http://menlo.com./liisa06/htgr/

Other Possibilities

slide-47
SLIDE 47

http://menlo.com./liisa06/htgr/

Other Possibilities

  • Describe a problem
slide-48
SLIDE 48

http://menlo.com./liisa06/htgr/

Other Possibilities

  • Describe a problem
  • Ask the candidate to talk through the

solution

slide-49
SLIDE 49

http://menlo.com./liisa06/htgr/

Why?

slide-50
SLIDE 50

http://menlo.com./liisa06/htgr/

Why?

  • Shows you how the candidate thinks

about problems

slide-51
SLIDE 51

http://menlo.com./liisa06/htgr/

Why?

  • Shows you how the candidate thinks

about problems

  • And how they go about solving them
slide-52
SLIDE 52

http://menlo.com./liisa06/htgr/

Why?

  • Shows you how the candidate thinks

about problems

  • And how they go about solving them

– Which gives you some idea of how well they understand the technology

slide-53
SLIDE 53

http://menlo.com./liisa06/htgr/

Why?

  • Shows you how the candidate thinks

about problems

  • And how they go about solving them

– Which gives you some idea of how well they understand the technology

  • Which is different from what trivia they know!
slide-54
SLIDE 54

http://menlo.com./liisa06/htgr/

So . . .

  • Is your favorite question good or bad?
slide-55
SLIDE 55

http://menlo.com./liisa06/htgr/

That’s All, Folks!

slide-56
SLIDE 56

http://menlo.com./liisa06/htgr/

This Has Been a Try to Talk As Fast As Rob Pike Production

slide-57
SLIDE 57

http://menlo.com./liisa06/htgr/

  • Mr. Moskowitz’s

wardrobe by King Kog Creations

slide-58
SLIDE 58

http://menlo.com./liisa06/htgr/

After Today . . .

  • If you have more questions:

– <adamm@menlo.com>

  • Get these slides:

– http://menlo.com/lisa06/htgr/

slide-59
SLIDE 59

http://menlo.com./liisa06/htgr/

So what does “ls -X” do anyway?