473,573 Members | 2,839 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

i need some C/C++ test intervie questions

hello everyone,
Iam vasant from India..
I have a test+interview on C /C++ in the coming month so plz help me
by giving some resources of FAQS, interview questions, tracky
questions, multiple choice questions.etc..
I'll be indebted to everyone..
Thanks in advance..
regards
vasant shetty
Bangalore
India
Nov 13 '05 #1
162 14757
va****@engineer .com (techievasant) wrote in
<e3************ *************@p osting.google.c om>:
hello everyone,
Iam vasant from India..
I have a test+interview on C /C++ in the coming month so plz help me
by giving some resources of FAQS, interview questions, tracky
questions, multiple choice questions.etc.. Hm, this your second post of this kind within 13 hours to comp.lang.c
and comp.lang.c.mod erated respectively. Neither one has been replied
to yet. There are genuine search engines on the web one can use to
retrieve the material you are asking for. Two years ago I found some
companies that had sample tests on their web-sites - unfortunately I've
lost the URLs.

As for the FAQs:
http://www.faqs.org/faqs/by-newsgroup/comp/
I'll be indebted to everyone..
Thanks in advance..
regards
vasant shetty
Bangalore
India


--
Air is water with holes in it.
Nov 13 '05 #2
Personally, in my job hunting days, I walked out on an interviewer that
presumed to give me a test. I find the practice insulting.

DrX.

"Irrwahn Grausewitz" <ir*****@freene t.de> wrote in message
news:h1******** *************** *********@4ax.c om...
va****@engineer .com (techievasant) wrote in
<e3************ *************@p osting.google.c om>:
hello everyone,
Iam vasant from India..
I have a test+interview on C /C++ in the coming month so plz help me
by giving some resources of FAQS, interview questions, tracky
questions, multiple choice questions.etc..

Hm, this your second post of this kind within 13 hours to comp.lang.c
and comp.lang.c.mod erated respectively. Neither one has been replied
to yet. There are genuine search engines on the web one can use to
retrieve the material you are asking for. Two years ago I found some
companies that had sample tests on their web-sites - unfortunately I've
lost the URLs.

As for the FAQs:
http://www.faqs.org/faqs/by-newsgroup/comp/
I'll be indebted to everyone..
Thanks in advance..
regards
vasant shetty
Bangalore
India


--
Air is water with holes in it.

Nov 13 '05 #3
On Tue, 2 Sep 2003 12:37:40 -0400, "Xenos" <do**********@s pamhate.com>
wrote:

Personally, in my job hunting days, I walked out on an interviewer that
presumed to give me a test. I find the practice insulting.


As an occasional interviewer, I find I have to give a test. The first
question asks the applicant to rate their knowledge of C from 1 to 10,
where 1 is "What's C?" and 10 is "I'm Dennis Ritchie". I use this to set
my expectation of the results from the rest of the test.

The test isn't pass/fail - it's for me to get a handle on the person's
knowledge and familiarity with C. Somebody who claims to be an expert but
misses some fairly obvious questions is rated lower than somebody who
rates themselves as middling and answer the same questions the same way.

How else am I to determine whether an individual has the skills I need?
If my software department was a couple hundred people, I wouldn't have to
do this, because if the programmer isn't really good enough, it probably
won't have a major impact, and maybe they can pick up what they need. But
I'm in a small shop and can't afford to be so generous.

That said, I *will* hire somebody who's not quite up to what I'm looking
for, as long as they have the basics and seem to be open and willing to
learn.
--
#include <standard.discl aimer>
_
Kevin D Quitt USA 91387-4454 96.37% of all statistics are made up
Per the FCA, this address may not be added to any commercial mail list
Nov 13 '05 #4

"Kevin D. Quitt" <KQ****@IEEInc. com> wrote in message

As an occasional interviewer, I find I have to give a test. The first
question asks the applicant to rate their knowledge of C from 1 to 10,
where 1 is "What's C?" and 10 is "I'm Dennis Ritchie". I use this to set
my expectation of the results from the rest of the test.

This is a bit unfair. For instance I could argue for a 9 since I use C all
the time and I hardly ever encounter problems that are due to my failure to
understand the language. On the other hand I'm not one of those people who
reads the standard for recreation, so I could be tripped up by trick
questions designed to test familiarity with little-used sections of the
standard.

Nov 13 '05 #5

"Malcolm" <ma*****@55bank .freeserve.co.u k> wrote in message
news:bj******** **@newsg2.svr.p ol.co.uk...

"Kevin D. Quitt" <KQ****@IEEInc. com> wrote in message

As an occasional interviewer, I find I have to give a test. The first
question asks the applicant to rate their knowledge of C from 1 to 10,
where 1 is "What's C?" and 10 is "I'm Dennis Ritchie". I use this to set my expectation of the results from the rest of the test.
This is a bit unfair. For instance I could argue for a 9 since I use C all
the time and I hardly ever encounter problems that are due to my failure

to understand the language. On the other hand I'm not one of those people who
reads the standard for recreation, so I could be tripped up by trick
questions designed to test familiarity with little-used sections of the
standard.


Yeah, I had a C test once. I told the person that took the test that there
are always little things in there that you don't know or need. He didn't
like me saying that at all :-)
To the OP:
It turned out te be a test where every example compiled but didn't work as
expected.

like what is j at the end?
int i, j = 0;
for (i=0;i<5;i++);
j*=10;
printf("%d\n", j);
Nov 13 '05 #6
Serve La <ik@veranderhet al.nl> wrote:
"Malcolm" <ma*****@55bank .freeserve.co.u k> wrote in message
news:bj******** **@newsg2.svr.p ol.co.uk...

"Kevin D. Quitt" <KQ****@IEEInc. com> wrote in message
>
> As an occasional interviewer, I find I have to give a test. The first
> question asks the applicant to rate their knowledge of C from 1 to 10,
> where 1 is "What's C?" and 10 is "I'm Dennis Ritchie". I use this to set > my expectation of the results from the rest of the test.
> This is a bit unfair. For instance I could argue for a 9 since I use C all
the time and I hardly ever encounter problems that are due to my failure

to
understand the language. On the other hand I'm not one of those people who
reads the standard for recreation, so I could be tripped up by trick
questions designed to test familiarity with little-used sections of the
standard.

Yeah, I had a C test once. I told the person that took the test that there
are always little things in there that you don't know or need. He didn't
like me saying that at all :-)
To the OP:
It turned out te be a test where every example compiled but didn't work as
expected. like what is j at the end?
int i, j = 0;
for (i=0;i<5;i++);
j*=10;
printf("%d\n", j);


Most obviously 0. What else could it be?

Alex
Nov 13 '05 #7
On Tue, 2 Sep 2003 19:01:29 +0100, "Malcolm"
<ma*****@55bank .freeserve.co.u k> wrote:


"Kevin D. Quitt" <KQ****@IEEInc. com> wrote in message

As an occasional interviewer, I find I have to give a test. The first
question asks the applicant to rate their knowledge of C from 1 to 10,
where 1 is "What's C?" and 10 is "I'm Dennis Ritchie". I use this to set
my expectation of the results from the rest of the test.
This is a bit unfair. For instance I could argue for a 9 since I use C all
the time and I hardly ever encounter problems that are due to my failure to
understand the language.


I didn't imagine it would (or could) be completely fair. I rate myself
about an 8 on that scale because I consider myself an expert in C; I'm not
a guru and perhaps a bit of a language lawyer. And while there are some
questions about obscure parts of the standard (there are none, for
example, about scanf magic), most are practical (should you check the
return values from library routines? why/why not), and a few are bullshit
filters (under which C standards have you programmed?). And some are
tricky and not particularly useful (e.g., adding two numbers without
arithmetic or bitwise operators).

What I've found is that, no matter how a person rated themselves, the
number of correct answers fell into two categories: <= 33% and >=80%.
Curiously, (or perhaps not), there is almost a one-to-one correlation
between being in the high group and those who answer "yes" to "Do you know
what the comp.lang.c FAQ is?".

On the other hand I'm not one of those people who
reads the standard for recreation, so I could be tripped up by trick
questions designed to test familiarity with little-used sections of the
standard.


So you wouldn't get a perfect score. Tough. And by the way, I don't get
all the answers right to some of the tricky questions unless I've gone
over it recently. Partly they're there to make sure *nobody* gets a
perfect score.
--
#include <standard.discl aimer>
_
Kevin D Quitt USA 91387-4454 96.37% of all statistics are made up
Per the FCA, this address may not be added to any commercial mail list
Nov 13 '05 #8

"Alex" <al*******@hotm ail.com> wrote in message
news:NW******** *************** @news2.calgary. shaw.ca...
like what is j at the end?
int i, j = 0;
for (i=0;i<5;i++);
j*=10;
printf("%d\n", j);


Most obviously 0. What else could it be?


Damn, should've started at 1 :-)
Nov 13 '05 #9
Serve La wrote:

It turned out te be a test where every example compiled but didn't work as
expected.

like what is j at the end?
int i, j = 0;
for (i=0;i<5;i++);
j*=10;
printf("%d\n", j);


I'd give the tester low marks for this one, because
the ultimate answer is the same no matter whether you detect
or overlook the "gotcha."

--
Er*********@sun .com
Nov 13 '05 #10

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

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.