• Post Reply Bookmark Topic Watch Topic
  • New Topic

"contact us" web form?

 
majid nakit
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I have an interview and they asked me this question :

Describe what files and classes you would need to develop in order to accept data from a "Contact us" web form.

please if you were asked this question, how would you answer it ?
Thank you your help is appreciated.
[ April 29, 2005: Message edited by: Bear Bibeault ]
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would start by asking the interviewer more questions.
How do you want the end user to retrieve the contact info, email, website?
Are you using a database?
Who needs to recieve the information and should that list be configurable, etc...

Once I got the requirements (or a sense that I wasn't going to get any more infomation) I would tell him/her about what patterns I thought would be best and then give a high level description of the classes I would write to do this.
DAO, Controller, etc....

If this isn't the answer that you're looking for, it's probably because answers to questions like this can't be memorized and spit back out.
The goal of a good interviewer is to see if you truly understand the technology that they're going to pay you to work with. They want to know how you think and how you'd go about solving a problem like this.

If I asked someone that question and they immediately started listing classes that they would write without pushing me for more clarification on the requirements, I would view that candidate in an unfavorable light.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I went for an interview 2 weeks back. They interviewed me and then handed over me a test. It was a case study about the vehicle requisition system and some more. I got that case study at 11:30 morning. It was a web app. I started with that. At 17:30 a buddy came to me and asked "Are you done with the test?". I said, "No, not yet.". Then he just checked what I have done so far. I hadn't coded a single class at that time, just did some paper work like, UML diagrams, DB logical diagrams. He responded in negative and said, "Man you are gone. A person came yesterday for the same test and he did all in 2.5 hrs time.". I said, "Ok, may be he were a champ. I couldnt do that, pardon". I just finished all paper work + DB schema at 18:30. I followed whatever in the paper because i am free to make as many assumptions as i want but not allowed to question. Ofcourse I had to make my own assumptions.

Then a senior engineer came to me and said, "Ok, mate show me whatever you have done so far". I just shown him all the work I have done. While I am showing him my work, I was seeing his expression was very positive.

And now I am going to serve that organization shortly.

Hence, It is all about how rational you and your approaches are.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
free to make as many assumptions as i want but not allowed to question.


Well, if they tell you that up front, it's a different story.

Congratulations.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ben Souther:
Well, if they tell you that up front, it's a different story.


My intend was to make it clear that either you do some more questions to get a clear idea or you just say im assuming this. .this. You cant straight start over implementing the thing unless you have a clear idea. There must
be some analysis before going further.

What I showed them was my approach towards problem. And I think this is what needed. May be its just me. :roll:

Originally posted by Ben Souther:
Congratulations.


Thanks mate.
 
Shailesh Chandra
Ranch Hand
Posts: 1082
Java Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

now I am going to serve that organization shortly.


Congrats buddy

I am thinking, who will take care of your jasper reports

Shailesh
 
majid nakit
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you very much I learned lot from all of you.

How about if they ask you this question :

Describe your involvment in your most Recent web development project ?

thanks
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by majid nakit:
thank you very much I learned lot from all of you.
How about if they ask you this question :
Describe your involvment in your most Recent web development project?
thanks


I would then proceed to describe my involvement in my last web development project.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!