First phone interview w/google today. I think it went pretty well. I was asked about:
- single vs double quotes in shell or perl, and what backquote does
- example of how you would parse a passwd file using perl reg exp
- do you make a loop to do that or is there a function (i said map, grep, he wanted split)
- how do you do simple math in shell (i guessed eval or parens)
- how would you do the passwd split in shell (i said sed or awk)
- example of sed to turn commas into tabs
- what is cidr notation, walk through example of /22, how many nodes, what is the mask, what is that in binary
My turn to ask questions, I asked if ‘dont be evil’ has actually guided specific decisions at work. Nothing specific but just being cool to others in general. Also I mentioned that I am interested in both specialist and manager positions.
Best of luck, Greg!
Thanks much!
because I keep forgetting, Anne reminded me that you can and should finish your degree online since you mostly need general ed stuff.
ilu :)
single vs double quotes in shell or perl, and what backquote does
I don’t have this memorized, so I have to imagine myself writing a program to answer this.
how do you do simple math in shell (i guessed eval or parens)
I would’ve said expr. However, I think the question is ambiguous.
do you make a loop to [parse a passwd file] or is there a function (i said map, grep, he wanted split)
This question is also ambiguous because you use split to parse each individual record, but you use a loop to iterate over all the records.
I was asked a passwd-like question once (don’t remember whether it was with Google). I didn’t remember how many fields there were in each record or where a specific one was (but again, this isn’t the sort of thing I commit to memory).