473,324 Members | 2,400 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Interview question

Hi,

I am fresh college grad. I recently went for interview there i was
asked the following questions

1) what is meant by a web application???
2) can you make a web application in C???

to the first question my answer was an application that can be
accessed via web and that which requires a web server.

then they asked the question how is the communication taking place
between client and server??

to this question i said via protocols, then they said this is not the
answer they expected.

to the second question i said the answer i just don't know.

so what exactly is this web application ???
is it really possible to build a web app in C???

Nov 6 '07 #1
8 2896
so**********@gmail.com wrote:
Hi,

I am fresh college grad. I recently went for interview there i was
asked the following questions

1) what is meant by a web application???
2) can you make a web application in C???

to the first question my answer was an application that can be
accessed via web and that which requires a web server.

then they asked the question how is the communication taking place
between client and server??

to this question i said via protocols, then they said this is not the
answer they expected.
If this is indeed the question they asked and the question you gave,
then it is a valid (though incomplete) answer.

It's a fairly open-ended question, and it doesn't give any clues as to
how much detail they want and whether they want information about the
nature of the communication medium or about the nature of the data being
sent, though in the context I'd say the data was more interesting to
talk about.
to the second question i said the answer i just don't know.
Probably wise. Better to admit ignorance than feign knowledge. (I have
successfully passed an interview in which I said "I don't know" more
than once.)
so what exactly is this web application ???
is it really possible to build a web app in C???
I'm unaware of any strict definition of the term, but I would hazard a
guess that it's a program involved in web content. I would include
flash, java applets, and cgi scripts in this definition. CGI can
definitely be written in C.
--
Philip Potter pgp <atdoc.ic.ac.uk
Nov 6 '07 #2
On Tuesday 06 Nov 2007 8:32 pm so**********@gmail.com <
so**********@gmail.comwrote in article
<11**********************@v29g2000prd.googlegroups .com>:
Hi,

I am fresh college grad. I recently went for interview there i was
asked the following questions

1) what is meant by a web application???
2) can you make a web application in C???

to the first question my answer was an application that can be
accessed via web and that which requires a web server.

then they asked the question how is the communication taking place
between client and server??

to this question i said via protocols, then they said this is not the
answer they expected.
No. Communication does take place via various protocols.
to the second question i said the answer i just don't know.

so what exactly is this web application ???
is it really possible to build a web app in C???
It is possible. C places very few restrictions on what can be done with
it. Nevertheless some tasks are easier done in languages specifically
developed for them.

<http://en.wikipedia.org/wiki/Web_application>
<http://www.ibm.com/developerworks/ibm/library/it-booch_web/>
<http://www.w3.org/2006/appformats/>
<http://www.webappsec.org/>
<http://www.caucho.com/resin-3.0/webapp/index.xtp>
<http://www.owasp.org/index.php/Main_Page>

Nov 6 '07 #3
[comp.lang.c] Philip Potter <pg*@see.sig.invalidwrote:
Probably wise. Better to admit ignorance than feign knowledge. (I have
successfully passed an interview in which I said "I don't know" more
than once.)
Likewise; I remember a question where I was asked what the three
characteristics of object-oriented programming were - I remembered two
of inheritance, encapsulation, and polymorphism, but blanked on the
third. All was well anyway.
I'm unaware of any strict definition of the term, but I would hazard a
guess that it's a program involved in web content. I would include
flash, java applets, and cgi scripts in this definition. CGI can
definitely be written in C.
My first job was maintaining some C-flavored-C++ CGI's, so it indeed
has been done, although these days C is not the best choice for such
work.

--
C. Benson Manica | I appreciate all corrections, polite or otherwise.
cbmanica(at)gmail.com |
----------------------| I do not currently read any posts posted through
sdf.lonestar.org | Google groups, due to rampant unchecked spam.
Nov 6 '07 #4
Christopher Benson-Manica <at***@faeroes.freeshell.orgwrites:
[comp.lang.c] Philip Potter <pg*@see.sig.invalidwrote:
>Probably wise. Better to admit ignorance than feign knowledge. (I have
successfully passed an interview in which I said "I don't know" more
than once.)

Likewise; I remember a question where I was asked what the three
characteristics of object-oriented programming were - I remembered two
of inheritance, encapsulation, and polymorphism, but blanked on the
third. All was well anyway.
Did they give you any arithmetic tests?
>
>I'm unaware of any strict definition of the term, but I would hazard a
guess that it's a program involved in web content. I would include
flash, java applets, and cgi scripts in this definition. CGI can
definitely be written in C.

My first job was maintaining some C-flavored-C++ CGI's, so it indeed
has been done, although these days C is not the best choice for such
work.
Nov 6 '07 #5
Richard <rg****@gmail.comwrites:
Christopher Benson-Manica <at***@faeroes.freeshell.orgwrites:
>[comp.lang.c] Philip Potter <pg*@see.sig.invalidwrote:
>>Probably wise. Better to admit ignorance than feign knowledge. (I have
successfully passed an interview in which I said "I don't know" more
than once.)

Likewise; I remember a question where I was asked what the three
characteristics of object-oriented programming were - I remembered two
of inheritance, encapsulation, and polymorphism, but blanked on the
third. All was well anyway.

Did they give you any arithmetic tests?
Ignore that smart assed half joke which wasn't funny because I missed
you're "of" ....
Nov 6 '07 #6
Philip Potter wrote, On 06/11/07 15:24:
so**********@gmail.com wrote:
<snip>
>to the second question i said the answer i just don't know.

Probably wise. Better to admit ignorance than feign knowledge. (I have
successfully passed an interview in which I said "I don't know" more
than once.)
I once failed an interview for being too good by answering most
questions with, "I don't know, but I would expect it to be something
like...", or "I've not had to do anything like that, but I would
approach the problem like this..." Obviously I should have just said, "I
don't know" and left it at that to get the job :-)
>so what exactly is this web application ???
is it really possible to build a web app in C???

I'm unaware of any strict definition of the term, but I would hazard a
guess that it's a program involved in web content. I would include
flash, java applets, and cgi scripts in this definition. CGI can
definitely be written in C.
Everything that does not require client side execution can be written in
C with possibly some networking extensions. However I'm seeing other
languages being used more often.
--
Flash Gordon
Nov 6 '07 #7
On Wednesday 07 Nov 2007 12:32 am Flash Gordon <sp**@flash-gordon.me.uk>
wrote in article <bb************@news.flash-gordon.me.uk>:
Philip Potter wrote, On 06/11/07 15:24:
>so**********@gmail.com wrote:
<snip>
>>is it really possible to build a web app in C???

I'm unaware of any strict definition of the term, but I would hazard
a guess that it's a program involved in web content. I would include
flash, java applets, and cgi scripts in this definition. CGI can
definitely be written in C.

Everything that does not require client side execution can be written
in C with possibly some networking extensions. However I'm seeing
other languages being used more often.
Even programs requiring client-side execution can be done in C if the
browser provides a C compiler or interpreter plug-in. :)

Of course it would be a major risk to run a language with pointers and
no protection from a possibly untrusted source...

Nov 6 '07 #8
On Nov 6, 7:02 am, sophia.ag...@gmail.com wrote:
Hi,

I am fresh college grad. I recently went for interview there i was
asked the following questions

1) what is meant by a web application???
I would say an application that interfaces with the world wide web.
Then I would ask them for their definition.
2) can you make a web application in C???
Yes, but it requires implementation defined behavior. There are (for
instance) a large number of web servers written in C. And you can
interface to a Web server using C language libraries. Other web
services such as ping servers, mail servers, etc. can also be written
in C. A quick perusal of SourceForge will reveal plenty of web
services written in C. I would probably use C++ and a toolkit like
ACE unless the project were a simple one.
to the first question my answer was an application that can be
accessed via web and that which requires a web server.
That is too narrow, I think. But I would not call it wrong.
then they asked the question how is the communication taking place
between client and server??
Typically, using TCP/IP. That's probably what they were after.
to this question i said via protocols, then they said this is not the
answer they expected.
And yet it is a correct answer.
to the second question i said the answer i just don't know.
I broadly prefer this kind of answer to someone trying to buffalo
through the interview.
so what exactly is this web application ???
Depends on your definition of web application. What about an NNTP
news server? A web application or not? I would say 'yes.'
is it really possible to build a web app in C???
All things are possible. It's not a bad choice, really. Perhaps not
optimal, but if the company creating the product has a large number of
talented and available C programmers it is probably a very good
choice.

Nov 6 '07 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

54
by: Spammay Blockay | last post by:
I've been tasked with doing technical interviews at my company, and I have generally ask a range of OO, Java, and "good programming technique" concepts. However, one of my favorite exercises I...
10
by: Gopal Krish | last post by:
I was asked this question in an interview. How can you display the contents of an ASP page (from another web server) in a aspx page, ie, first half of the screen will display contents from asp...
0
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of attending interviews. If you own a company best way to judge if...
2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
0
by: connectrajesh | last post by:
INTERVIEWINFO.NET http://www.interviewinfo.net FREE WEB SITE AND SERVICE FOR JOB SEEKERS /FRESH GRADUATES NO ADVERTISEMENT
18
by: Nobody | last post by:
I've been looking for a job for a while now, and have run into this interview question twice now... and have stupidly kind of blown it twice... (although I've gotten better)... time to finally...
2
by: freepdfforjobs | last post by:
Full eBook with 4000 C#, JAVA,.NET and SQL Server Interview questions http://www.questpond.com/SampleInterviewQuestionBook.zip Download the JAVA , .NET and SQL Server interview sheet and rate...
0
by: freesoftwarepdfs | last post by:
Ultimate list of Interview question website.....Do not miss it http://www.questpond.com http://msdotnetsupport.blogspot.com/2007/01/net-interview-questions-by-dutt-part-2.html...
0
by: Free PDF | last post by:
..NET , SQL Server interview questions websites.... http://www.questpond.com http://www.geocities.com/dotnetinterviews/...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.