Saturday, August 04, 2007

interview 4 SABA : God, dont give such interviewer please







interview 4 saba






yes guys come in .....(we were 3 guys and the interviewer-1 called us. we went in ... )



in-1 : have a seat...



we : thank u sir (we = I, adarsh and praneet)



in-1 ok guys,, the same question that i asked to previous batches... there is a table of form student_id, student_name, course_id, course_name, fees. One student can have many courses, one course can be taken by many students.



we: ok sir



in-1: draw a normalized data structure for this...



me: sir, we have to draw normalized data structure? (totally blank by the term normalized data structure... first time ever , i heard this term)



in-1: yes, normalized data structure.



previously i was thinking that it should be normalized database but when the interviewer again used normalized data structure, i was just clean blowed.



me(again): normalized data structure or normalized database?



in-1: yes, normalized data structure



me = totally blank,,, thinking whats the normalized data structure.... thinking for 3-4 minutes.... recalling all the concepts that i had learned.... couldnt find any clue and again asked...



me: sir,,, we have to draw normalized tables



in-1: yes, you have to draw normalized tables



me thinking cant this bullshit interviewers said normalized database. ok fine.



me : sir, the fees is dependent on student_id and course_id both or only on student_id or only on course_id.



in-1: what it should be?



me: it can be either case.(thinking why these ppl dont ask questions clearly, such ambiguous question, dont know what u r asking, neither u explain the question)

he didnt tell me any dependencies till the end.

me: ok sir.... created 4 tables






ok...After this funny question next question comes






in-1: animals can be divided in two classes : 1. mammels 2. birds. both can fly,swim,walk. draw class diagram for this showing all three classes.



me: sir, both can do all 3 activities?



in-1: yes






me drew the 3rd figure you see on top.


in1: in ur class class diagram, an elephant can fly.


me: ok. (thinking then why he said yes before.... i asked the same think. ok let it be) drew the 2nd class diagram you see on top.

in1: can a bird swim ... yes duck swims but all birds dont swim.... how will u show that in ur class diagram....

me thinking you only classified animals in 2 parts , one mammel and another bird .... pahle hi bata deta na ki tumko aur classify karna hai ....

me: sir we can create subclasses of bird class and override the method that we dont require.

in-1: how will u do that?

me drew the 1st figure you see on top .... sir we can have different method bodies for swim method in both subclasses ....



he did nt seem to be happy

me: another solution can be to have 3 interfaces , one for swim,one for walk, one for fly and then implement these 3 interfaces as applicable. So for a bird that can walk and fly but cant swim , we can implement walk interface and fly interface and for a bird that can do all 3 activities , we can implement all 3 interfaces.

in-1 : ok i am done...

now the in-2 comes into the picture:

in-2: asking in-3, should be ask them that question

arrey puchna hai jo pucho but dhang se puchna.... at least give complete question... dont use question hiding ....

in-2: do you understand "is a " relationship and "has a " relationship.

a discussion on these relationship

in-2: i have a linkedlist class and i want to implement stack. should i use "is a " relationship or "has a " relationship.

me: sir, stack a kind of linkedlist where removal and insertion are restricted. Like in linkedlist we can insert anywhere and remove from anywhere but in stack, we can inserted only in the end and we can remove only from the end. So we should use "is a " relationship.

in-3: what can go wrong if i use "is a " relationship?

me: thinking for sometime.... then in stack class we can be able to access data member specific to linklist. superclass member can be visible in subclass, so unwanted linkedlist's member can also be accessed in stack class and a class that inherits stack can use super operator to access linkedlist's member lalblablab ..... i answered this wrongly but this question can be better asked as whether we should extend linkedlist class to implement stack or we should use linkedlist class' instance as data member to implement stack. but the interviewer confused a lot in "is a "/"has a ","is a "/"has a " ... i mean at least state the question clearly... why to confuse candidates in questions only.... and by the time i am critically thinking of my own answer, the interviewer pops up to ask me to tell the flaw in another guy's answer.

1st question was totally bullshit... you dont know dependencies and are baffled with normalized data structure

2nd question ... you classify one thing into 2 and then blame the candidate that he should have further classified the 2's. If that is the case, then you should have stated previously only na, that further classification can be done if required.

question 3: here interviewer was asking things like we have done gross mistake and we are his servant. I really hated that guy but what could I do.... anyway I wanted to sit in placement for saba, after the ppt also.. wrote the test but in the interview I changed my mind... Cant work with these guys.... who just know how to torture candidates but nothing else

finally 17 out of 97, i was there in 17

7 out of 17,,, i was not there in 7... but this time .... no regrets.... but the interviewer were seriously not good.

No comments: