473,657 Members | 2,499 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2931
so**********@gm ail.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**********@gm ail.com <
so**********@gm ail.comwrote in article
<11************ **********@v29g 2000prd.googleg roups.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.or g/wiki/Web_application >
<http://www.ibm.com/developerworks/ibm/library/it-booch_web/>
<http://www.w3.org/2006/appformats/>
<http://www.webappsec.o rg/>
<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.in validwrote:
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)gma il.com |
----------------------| I do not currently read any posts posted through
sdf.lonestar.or g | Google groups, due to rampant unchecked spam.
Nov 6 '07 #4
Christopher Benson-Manica <at***@faeroes. freeshell.orgwr ites:
[comp.lang.c] Philip Potter <pg*@see.sig.in validwrote:
>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.c omwrites:
Christopher Benson-Manica <at***@faeroes. freeshell.orgwr ites:
>[comp.lang.c] Philip Potter <pg*@see.sig.in validwrote:
>>Probably wise. Better to admit ignorance than feign knowledge. (I have
successfull y 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
characteristic s 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**********@gm ail.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**********@gm ail.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...@gm ail.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
17393
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 give interviewees seems to trip them up all the time, and I wonder if I'm being too much of a hardass... it seems easy enough to ME, but these guys, when I get them up to the whiteboard, seem to get really confused. The exercise is this:
10
1869
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 and the other half will be from the current aspx page. Using frames is not an option. Any thoughts? (Is this even possible?)
0
6161
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 the candidate is worth of it. http://www.questpond.com/InterviewRatingSheet.zip 2000 Interview questions of .NET , JAVA and SQL Server Interview questions (worth downloading it)
2
6947
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 attending interviews. If you own a company best way to judge if the candidate is worth of it. http://www.questpond.com/InterviewRatingSheet.zip
0
4580
by: connectrajesh | last post by:
INTERVIEWINFO.NET http://www.interviewinfo.net FREE WEB SITE AND SERVICE FOR JOB SEEKERS /FRESH GRADUATES NO ADVERTISEMENT
18
2857
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 figure this thing out... basically the interview question is: given an unsorted listed such as: 3,1,3,7,1,2,4,4,3 find the FIRST UNIQUE number, in this case 7... and of course the list can be millions long...
2
7199
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 yourself. This will help you judge yourself are you really worth of attending interviews. If you own a company best way to judge if the candidate is worth of it. http://www.questpond.com/InterviewRatingSheet.zip
0
2660
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 http://msdotnetsupport.blogspot.com/2006/08/net-windows-forms-interview-questions.html http://msdotnetsupport.blogspot.com/2006/08/net-remoting-interview-questions.html http://msdotnetsupport.blogspot.com/2006/08/c-interview-questions.html...
0
2222
by: Free PDF | last post by:
..NET , SQL Server interview questions websites.... http://www.questpond.com http://www.geocities.com/dotnetinterviews/ http://msdotnetsupport.blogspot.com/2007/01/net-interview-questions-by-dutt-part-2.html http://msdotnetsupport.blogspot.com/2006/08/net-windows-forms-interview-questions.html http://msdotnetsupport.blogspot.com/2006/08/net-remoting-interview-questions.html...
0
8732
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7333
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6167
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4158
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2731
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1957
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1620
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.