Interviews- The One with a Computer Engineer {Part-2}

5 Oct

As you know, this interview was not concluded in the previous post; and my brother had asked me to keep up a meeting so that he may ask his doubts about the field. S, this conversation:

On phone:

Brother: Hello Sir…

Varun: (o teri sir! chalo kahin toh izzat mili.) Umm… Yess..

Brother: Sir, I had called you to confirm if we are meeting or not??

Varun: Ya… we are… umm.. will you be coming alone??

Brother: No Sir… didi would be accompanying me..

Varun: (Oh yes!!) Okay… but please don’t be late…

Brother: obviously not Sir…

At the meeting…

Me: Hello, good to see you again πŸ™‚ ( bhai ki zid na hoti to iski shaqal bhi na dekhti dobara)

V: Oh… the pleasure is all mine πŸ™‚ ( Bhai… aaj to kancha lag rahi hai)

Bro: Hello… πŸ™‚

V: (Abe iska aana zaruri tha kya) hi… hello baad me karna… ask your questions…

Brother- What are virtual functions?

Varun- Um… well…, you know about virtual reality which really doesn’t exist but we think it exists? Same as virtual functions. We think they exist in base class but actually they don’t exist there. I mean they are in base class but still they aren’t. You know what I mean.

B- But sir…

V- Next question please I don’t have much time.

B- What are storage classes?

V- Hmm… good question. See storage classes are those classes that are used to store values.

B- But every class is expected to store values. Then what is the difference between a normal class and a storage class?

V- Oh… ( jaan le le meri) ok. see normal classes only store values in local scope. They can’t be used outside class. But values stored in storage classes can be used outside their scope.

B- But sir…

V- (Chup kar be) next question.

B- What are recursive functions?

V- (O teri ye toh mujhe aata hai!) recursive functions are those that call themselves inside theirΒ  definition.

B- Can you please elaborate?

V- (Abe 3 idiots ka rancho samajh rakha hai kya?) like you want to traverse an array. You create a recursive function that access only one element of the array but call itself if that value isn’t at last index. So it’ll call itself until it encounters last index and then return all previous values in consecutive recursive callings. (Ab ise bolne ka chance hi nahi dena warna bachi khuchi izzat bhi jayegi) Ok next question.

B- What are virtual classes and why they are used?

V- (Tu saale baahar miliyo saari C++ padha dunga aur aise padhaunga ki phir C++ padhna hi chhod dega) like I explained virtual functions. Virtual classes are used in hybrid inheritance where a class accidently inherit one class more than one times. Then that class bear more than one copy of that base class and it leads to ambiguity. If we define that base class virtual then it looks as if that class exists more than once but it doesn’t in reality. Just like virtual reality. ( yo bete ab bol who’s the boss)

B- Sir can you explain me the meaning of abstract class and concrete class?

V- (Haan concrete class ko tere sir par maarunga toh tera sir phoot jayega par abstract class ko maarunga toh nahi phootega) Abstract classes are those whose objects can’t be created and can only be used for inheritance. But you can create objects of concrete classes.

B- Thanks sir. Sir…

V- ( Maharaj thak gaye hain unhe aaraam karna hai takhliya. tail lene ja be) Sorry my friend but I really have to go. We’ll talk later. Give me your no. and I’ll contact you. (lo pair par kulhadi maar li)

B- Sir I don’t have my personal no. You already have my sister’s no. and can contact me through her.

V- (Main sapna toh nahi dekh raha na! jiyo mere laal ja tujhe toh main saari life C++ padhata rahunga! Oye ab to official permit milΒ  gaya yakeen hi nahi ho raha! ahem ahem ok ok chill…eeeeeeeeeeeeeeeeeeee) Ummm… ok if I’ll manage. Ok bye.

Me: Okay… my brother really seems impressed by you… but I really don’t think that we should trouble you again and again…

V: arre… why do think i am troubled?? how can i be troubled while helping a beauty like you ??

ME: what??

V: I mean helping a bright student like him…

Me: Okay… then as you wish …

So, here was the last post of interview w

he is also an engineer and he is equally geek :)

he is also an engineer and he is equally geek πŸ™‚

ith this engineer. You will be thinking that he will message and call me and then there would be some conversation, but to everybody’s disappointment, I am gonna change my no. as soon as I finish this post πŸ™‚

πŸ˜›

 

 

Advertisements

4 Responses to “Interviews- The One with a Computer Engineer {Part-2}”

  1. Arindam Saha October 18, 2013 at 10:15 pm #

    You ruined your brother’s life by changing your number… He wont get a better teacher than that πŸ™‚

    Whose interview is next in line? *Hides behind the laptop screen*

    • harshdamangal7 October 19, 2013 at 8:44 am #

      I was thinking of getting an interview of an architect, but now… the person hiding behind the laptop screen seems to be more appropriate for the purpose πŸ˜› πŸ™‚

      • Arindam Saha October 19, 2013 at 1:24 pm #

        Oh Crap! You found me? How did you do that? πŸ˜‰
        Ab ek wakeel ke sawaalon se bachnaa padega… πŸ˜›

        Just kidding… Jiska interview lena ho, le lo… πŸ™‚

      • harshdamangal7 October 19, 2013 at 6:12 pm #

        hahaha… okay.. so i think it would be fair that since you have given me full liberty by saying, jiska interview lena ho lo, after the architect’s interview, it should be your tun πŸ˜› πŸ˜€

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: