473,398 Members | 2,212 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,398 software developers and data experts.

need assingment to teach

I have plans to train some students for C in coming weeks.
I am badly looking for C programming assignments fot them.
Need 1) lots of them per topiic 2) Should be doable for beginners

thanks in advance

Vikram

Sep 9 '07 #1
25 2048
vikram Bhuskute <vi*******@gmail.comwrote in
news:11**********************@y42g2000hsy.googlegr oups.com:
I have plans to train some students for C in coming weeks.
I am badly looking for C programming assignments fot them.
Need 1) lots of them per topiic 2) Should be doable for beginners
Oh great, another of the clueless wants to teach.

rcs

Sep 9 '07 #2
Scudder Consulting said:
vikram Bhuskute <vi*******@gmail.comwrote in
news:11**********************@y42g2000hsy.googlegr oups.com:
>I have plans to train some students for C in coming weeks.
I am badly looking for C programming assignments fot them.
Need 1) lots of them per topiic 2) Should be doable for beginners

Oh great, another of the clueless wants to teach.
Those who can, do. Those who can't, teach. Those who can't teach,
administer. Those who can't administer, manage. And those who can't
manage, do.

The OP would be well-advised to start off by learning C, if he or she
doesn't already know it. And if he or she does know it, he or she would
be well-advised to learn it again, properly this time. And if he or she
does already know C properly, he or she should have no trouble coming
up with programming assignments for his or her students.

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Sep 9 '07 #3
"Richard Heathfield" <rj*@see.sig.invalida écrit dans le message de news:
Os******************************@bt.com...
Scudder Consulting said:
>vikram Bhuskute <vi*******@gmail.comwrote in
news:11**********************@y42g2000hsy.googleg roups.com:
>>I have plans to train some students for C in coming weeks.
I am badly looking for C programming assignments fot them.
Need 1) lots of them per topiic 2) Should be doable for beginners

Oh great, another of the clueless wants to teach.

Those who can, do. Those who can't, teach. Those who can't teach,
administer. Those who can't administer, manage. And those who can't
manage, do.

The OP would be well-advised to start off by learning C, if he or she
doesn't already know it. And if he or she does know it, he or she would
be well-advised to learn it again, properly this time. And if he or she
does already know C properly, he or she should have no trouble coming
up with programming assignments for his or her students.
The OP may or may not have skills in C, earliers posts seem to indicate he
was himself a student not long ago, yet the question is interesting: I can
come up with exercices for students, easy and hard, but I am certainly
interested in new ones, especially in assignments with proven pedagogical
value.

Chqrlie.
Sep 9 '07 #4
On Sun, 09 Sep 2007 05:22:00 +0000, vikram Bhuskute wrote:
I have plans to train some students for C in coming weeks.
I am badly looking for C programming assignments fot them.
Need 1) lots of them per topiic 2) Should be doable for beginners
Look at the ones in Kernighan & Ritchie, "The C Programming
Language", 2nd edition.
--
Army1987 (Replace "NOSPAM" with "email")
If you're sending e-mail from a Windows machine, turn off Microsoft's
stupid “Smart Quotes†feature. This is so you'll avoid sprinkling garbage
characters through your mail. -- Eric S. Raymond and Rick Moen

Sep 9 '07 #5
Richard Heathfield <rj*@see.sig.invalidwrites:
Scudder Consulting said:
>vikram Bhuskute <vi*******@gmail.comwrote in
news:11**********************@y42g2000hsy.googleg roups.com:
>>I have plans to train some students for C in coming weeks.
I am badly looking for C programming assignments fot them.
Need 1) lots of them per topiic 2) Should be doable for beginners

Oh great, another of the clueless wants to teach.

Those who can, do. Those who can't, teach. [...]
I waited a while, to calm down, after reading this but even now, when
calm, I think it needs a comment. You may have had bad experiences of
all of all your teachers but it is patently false in almost all cases
for simple tasks (e.g. reading) and often false for more complex ones
like programming.

If you intended an overlap (that there are some who "can" -- and thus
"do" -- but who also teach) then it seems a rather pointless remark.
Suggesting no overlap is offensive and, in my experience, false.
And if he or she
does already know C properly, he or she should have no trouble coming
up with programming assignments for his or her students.
This converse idea: that people skilled at X will have no trouble
coming up with assignments for teaching X is, at least sometimes, not
true. The high level of skill can get in the way of seeing what makes
a good assignment.

Of course, this being c.l.c I must also assume that it is possible you
only meant that they will be able to come up with assignments
(literally what you wrote) -- not that they will be able to come up
with good ones. Again, if so, why say it?

The fact is that being good at X and being good at teaching X are
distinct skills which, in my experience, do sometimes coexist in the
same person.

--
Ben.
Sep 9 '07 #6
Richard Heathfield <rj*@see.sig.invalidwrites:
Ben Bacarisse said:
>Richard Heathfield <rj*@see.sig.invalidwrites:
>>Scudder Consulting said:

vikram Bhuskute <vi*******@gmail.comwrote in
news:11**********************@y42g2000hsy.googl egroups.com:

I have plans to train some students for C in coming weeks.
I am badly looking for C programming assignments fot them.
Need 1) lots of them per topiic 2) Should be doable for beginners

Oh great, another of the clueless wants to teach.

Those who can, do. Those who can't, teach. [...]

I waited a while, to calm down, after reading this but even now, when
calm, I think it needs a comment.

If that is the first time you have encountered the above comment (in the
precise form into which you have truncated it), you need to get out
more.
Of course I have heard it. I was surprised to read such a remark
repeated by you.
It is a well-known saying which I merely extended in a way which
wrapped around to encompass *everybody*, not just teachers. Whether you
noticed that, I cannot tell, but I suspect you may not have done.
I noticed. It made it no more humorous nor less rude.
>You may have had bad experiences of
all of all your teachers but it is patently false in almost all cases
for simple tasks (e.g. reading)

Reading is *not* a simple task.
<snip essay on reading>
Teaching programming is a trivial task compared to that of teaching
reading,
So in your view I have the complexity of reading an programming
reversed. OK, fine. (I don't agree but I can't see any point in
debating that here.) What does that have to do with my example?
Reading is the obvious counter example. That it is often taught badly
in neither here not there. If it were always taught badly precisely
because it was always taught by people who "can't" (read), then you
would have a case.
and yet it is often done very badly indeed. I truly hope that
your programming teachers were exceptions. Most of mine weren't.
The quality of the teaching is not at issue. Had you said that
programming often badly taught, I'd have agreed!

I spent the majority of my working life forcing a smile at people who
crack that remark when they hear that I taught. The other half of the
time its the one about how nice it must be to be on holiday half the
year.

--
Ben.
Sep 10 '07 #7
Ben Bacarisse said:
Richard Heathfield <rj*@see.sig.invalidwrites:
>Ben Bacarisse said:
>>Richard Heathfield <rj*@see.sig.invalidwrites:

Those who can, do. Those who can't, teach. [...]

I waited a while, to calm down, after reading this but even now,
when calm, I think it needs a comment.

If that is the first time you have encountered the above comment (in
the precise form into which you have truncated it), you need to get
out more.

Of course I have heard it. I was surprised to read such a remark
repeated by you.
I think you might need to put this down to a sense-of-humour difference.
If you were Usanian, that would explain it, but you appear to be from
the UK, so... um... <shrug>. Is it sufficient to say that I've spent a
large part of my life teaching and training others? This is true, I
assure you. I've taught people how to write programs in BASIC and in
EXEC, pull pints, play guitar, create and decipher cryptograms, put up
draughtproofing[1], communicate with the hearing-impaired, design
administration systems, compose music, program in C, program in C++[1],
write intelligibly, turn algebraic expressions into "pop the balloons
to find the banana" games[2], understand MIDI, and a thousand things
besides.

<snip>

[1] These are genuine examples of "those who can't, teach"!
[2] You had to be there, really. This was how I managed to get my
daughter to at least *tolerate* simple algebra after being mis-taught
it by someone who actually gets paid for teaching. You start by
replacing x with a banana, because my daughter really, really couldn't
understand x, but she sure could understand a banana. Then you replace
each rule of precedence with a balloon. In the penultimate stage, you
pop the balloons, starting with the outermost. For example, rewrite:

3(x-12)+5
--------- = 2
7

as ((((BANANA-12)*3)+5)/7) = 2

Then POP the balloon and multiply both sides by 7:

(((BANANA-12)*3)+5) = 14

POP the balloon and subtract 5 from both sides:

((BANANA-12)*3) = 9

POP the balloon and divide both sides by 3:

(BANANA-12) = 3

POP the balloon and add 12 to both sides:

BANANA = 15

And now for the final stage: eat the banana.

Don't ask me why this worked (motivationally speaking), but it did, even
when no genuine bananas were available!

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Sep 10 '07 #8
Richard Heathfield wrote:
Those who can, do. Those who can't, teach. Those who can't teach,
teach gym.

--
pete
Sep 10 '07 #9
Richard Heathfield wrote:
My
first ever C tutor thought that loops terminated as soon as their
condition was false (which, if it were the case, would massively
increase the size of the object code for all loops, since *every*
translated instruction within the loop would have to be followed by a
test and conditional jump!),
Not /every/ translated instruction. Only those that could affect the
test result. I suspect that would be significantly fewer.

If loops worked that way, I wonder if they'd be easier to work with
or harder?

--
Chris "resisting more cat-vacuuming" Dollin

Hewlett-Packard Limited registered office: Cain Road, Bracknell,
registered no: 690597 England Berks RG12 1HN

Sep 10 '07 #10
On Sep 10, 9:53 am, pete <pfil...@mindspring.comwrote:
Richard Heathfield wrote:
Those who can, do. Those who can't, teach. Those who can't teach,

teach gym.

--
pete
I am not a frequent reader of this group, and therefore dint expect
such useless
replies.
About Me .. in software devel. for last 8-9 yrs ..mostly in C .

Now someone has approached me for learning basic C . ..couldnt say
no...
This is my first exp. with teaching C ...and hence i requested for
a place to get some good exercises for my student.. But I REPENT
that i put request on such a place .....

I thought there are smart and helpful people .on this list .....i
think i was wrong ...
so thats my mistake ..

Sep 10 '07 #11
Chris Dollin said:
Richard Heathfield wrote:
>My
first ever C tutor thought that loops terminated as soon as their
condition was false (which, if it were the case, would massively
increase the size of the object code for all loops, since *every*
translated instruction within the loop would have to be followed by a
test and conditional jump!),

Not /every/ translated instruction. Only those that could affect the
test result. I suspect that would be significantly fewer.
Whoops, you're nearly quite right. It depends on the visibility of the
objects involved in the condition, of course, and on whether they are
volatile (eesh!), but yes, you're otherwise correct. Sloopy thinking on
my part.
If loops worked that way, I wonder if they'd be easier to work with
or harder?
Yeah. :-)

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Sep 10 '07 #12
vikram Bhuskute <vi*******@gmail.comwrites:
I have plans to train some students for C in coming weeks.
I am badly looking for C programming assignments fot them.
Need 1) lots of them per topiic 2) Should be doable for beginners
I can't find any suitable large example sets (I used to have quite a
few) so all I can do is give you some general advice.

I used to have three categories of exercise. The most numerous were
small ones that grew naturally from the examples I presented. For
example, "modify the linked list example to make it doubly linked",
"rewrite the array-based stack functions using this linked list
structure" and so on. You have to come up with these yourself.

The second group were small programs that must be written from scratch
using the techniques so far presented. I used to like to leave them
slightly under-specified so that part of the task was to define
exactly what the program should do. Here are a few I remember
using:

Write a program to print the number of characters, words and lines
found on the standard input stream.

Print a histogram of word lengths.

Given a file that contains a set of strings representing votes (one
per line) write a program to determine which (if any) string is in
the majority. [You can add a simplification that there are known to
be no more than, say, 20 distinct strings depending on how much has
been covered.]

Given a sequence of numbers representing heights above (or below)
sea-level (zero) in a cross-section of an island, write a program to
determine the depth of the deepest possible lake on the island.

Finally, I had a set of optional larger exercises for those that
wanted to try something a little harder. I don't remember may of
these (but I had collected lots over the years). One was the 2D
version of the deepest lake problem, and another involved writing a
program to find the journey time between any two London underground
stations. I supplied the data files describing the network and the
program had to use the old "two minutes per stop plus five for a
change" rule of thumb used by Londoners. Now I am thinking about it I
can recall a few more:

Write a Turing machine simulator.

Design, write and evaluate a file compression utility.

Write a regular expression string matcher.

Fun with combinators. I define the rules of the SK game: that Kxy
can be replaced by x and that Swxy can be replaced by wx(yx) where
w, x and y stand for any bracket-matched strings. The task is to
write a program to investigate the consequences of these rules and
to justify and explain some definitions like:

I=SKK
B=S(KS)K
0=KI
1=I
2=SBI
A=BS(BB)
E=S(K(SI))K
thanks in advance
I hope that helps a little. As you can tell, the emphasis was not on
any one language, and that is good in general but bad if you are
tasked with teaching C to people who already know how to program.
Exercises that concentrate on the ways C is different from what your
students know may be more appropriate...

--
Ben.
Sep 10 '07 #13
On Sun, 09 Sep 2007 18:39:04 +0100, Ben Bacarisse
<be********@bsb.me.ukwrote:
>Richard Heathfield <rj*@see.sig.invalidwrites:
>Scudder Consulting said:
>>vikram Bhuskute <vi*******@gmail.comwrote in
news:11**********************@y42g2000hsy.google groups.com:

I have plans to train some students for C in coming weeks.
I am badly looking for C programming assignments fot them.
Need 1) lots of them per topiic 2) Should be doable for beginners

Oh great, another of the clueless wants to teach.

Those who can, do. Those who can't, teach. [...]

I waited a while, to calm down, after reading this but even now, when
calm, I think it needs a comment. You may have had bad experiences of
all of all your teachers but it is patently false in almost all cases
for simple tasks (e.g. reading) and often false for more complex ones
like programming.
I tend to be biased in favor of Richard's statement. This is because
in college, I spent a great deal of time with high school math
teachers who had returned for their master's degrees and were having a
difficult time in first and second year math classes.

Fortunately, I had high school teachers who recognized my mathematical
bent, and excused me from classes to study on my own.

--
Al Balmer
Sun City, AZ
Sep 10 '07 #14
Richard Heathfield wrote:
>
.... snip ...
>
Teaching programming is a trivial task compared to that of teaching
reading, and yet it is often done very badly indeed. I truly hope
that your programming teachers were exceptions. Most of mine weren't.
Fortunately, however, I did have one wonderful programming teacher,
whose name modesty prevents me from revealing.
I can think of memorable teachers of mathematics, history,
languages, etc. in school, college, and after. I can't think of
any in programming (which may be partly because programming didn't
exist when I was in school and largely in college). I am not
including books. I can only think of one case where a programmer
told me something that cleared up an area, and that I still
remember. I don't know if this reflects on me, programmers,
teaching, or age.

--
Chuck F (cbfalconer at maineline dot net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net>

--
Posted via a free Usenet account from http://www.teranews.com

Sep 10 '07 #15

"Ben Bacarisse" <be********@bsb.me.ukwrote in message
news:87************@bsb.me.uk...
Richard Heathfield <rj*@see.sig.invalidwrites:
So in your view I have the complexity of reading an programming
reversed. OK, fine. (I don't agree but I can't see any point in
debating that here.) What does that have to do with my example?
Reading is the obvious counter example. That it is often taught badly
in neither here not there. If it were always taught badly precisely
because it was always taught by people who "can't" (read), then you
would have a case.
The reason reading is taught badly is because it is taught by the "look and
say" method. That's the way that fluent readers such as ourselves do read.
However beginners spell out each letter, pronounce them, and then make a
guess at the word. So it is a kind of proof of the rule. Too much fluency
can harm teaching, because teacher forgets what it was like to be learning.

--
Free games and programming goodies.
http://www.personal.leeds.ac.uk/~bgy1mm
Sep 10 '07 #16
On Mon, 10 Sep 2007 02:27:48 +0000, in comp.lang.c , Richard
Heathfield <rj*@see.sig.invalidwrote:
>Reading is *not* a simple task. It is far more complex than programming.
Um. Sorta. For some odd definition of "complex".
>And it is often taught very badly. For example, it's really not a good
idea to teach a child the alphabet and then, within days, tell him to
forget it and learn a whole new one ("this one is much easier").
You apparenly went to a really bizarre school. I have no recollection
of learning more than one alphabet until I started Greek and Middle
English (I'm excluding Pitman and Braille which I taught myself for
fun).
>Many British people of about my age have atrocious spelling
because they were exposed to this farrago of alphabets at an
impressionable age.
What *are* you gibbering about? Most british people have atrocious
speling because theyre lazy gets who can't be bothered to learn to
spell, and whose parents didn't explain that being coherent was a
useful communication skill.
>Reference: http://www.itafoundation.org/alphabet.htm
Huh? I've done a straw poll of myself, my missus and my three school
age kids and they all looked quite blank.

Phonics is the thing nowadays by the way...
>I had a chemistry teacher who couldn't spell "beryllium".
Though deplorable, its hardly a crime. At least he/she didn't stick an
'e' on the end eh?
>my C tutors voided main with carefree abandon.
Unfair - I suspect you learned with pre-ANSI C (heck, I did, and I'm
younger than you).

(snip rest of long and tedious list of teachers with mistaken
understandings)
>of poor teaching to last me a lifetime. On the other hand, I have
encountered very few examples of *excellent* teaching.
Whereas you yourself are infallible and never have misconceptions or
misunderstandings :-)

For what its worth, I've encountered my share of really good teachers.
--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
Sep 10 '07 #17
Richard Heathfield <r...@see.sig.invalidwrote:
... All the mathematics teachers I ever had believed 1 to
be prime. ...
People who quible over whether 1 is prime or not are
usually people for whom the difference is entirely
superficial! ;-)

The common definition of prime in schools is actually the
definition attributed to a related, but distinct, property of
'irreducability'.

In the domain of Gaussian integers, 5 is irreducable in
that it has no factors other than itself and unity
(ignoring sign), yet it is not prime!

Depending on which mathematician you talk to, a prime
is often defined as an element that if it divides a
product of 2 elements, then it also divides at least
one of the elements in the product. Thus, 6 is not a
prime. Not because it has the factors of 2 and 3, but
because it divides 12 without dividing 3 or 4.

Fact is, units fit nicely into either definition. What
matters is when you start to apply the definition to
build theorems. Sometimes units are incidental, mostly
they're a hinderance. Hence it is more common to
explicitly exclude them.

[Mathematicians don't care which definition you use.
What matters is whether you use the definition
rigorously.]

My point is that dumbing things down is a common and
valuable teaching tool. The concept of primes is a
good example. It is the irreducable property of primes
that sparks people's interest. Their real meaning
is unwieldy and... boring!

--
Peter

Sep 11 '07 #18
Peter Nilsson said:

<snip>
[Mathematicians don't care which definition you use.
What matters is whether you use the definition
rigorously.]
Certainly true. But...
My point is that dumbing things down is a common and
valuable teaching tool. The concept of primes is a
good example. It is the irreducable property of primes
that sparks people's interest. Their real meaning
is unwieldy and... boring!
If 1 is prime, all positive integers are reducible to it, which makes
the whole subject of primes pretty dull. By removing 1 from the primes,
however, the real meaning of primes becomes much more *interesting*.
For one thing, you open the door to the FTA, which is interesting in
its own right. (They never taught me the FTA at school, probably
because they'd never heard of it themselves.)

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Sep 11 '07 #19
On Tue, 11 Sep 2007 04:46:36 +0000, in comp.lang.c , Richard
Heathfield <rj*@see.sig.invalidwrote:
>If 1 is prime, all positive integers are reducible to it, which makes
the whole subject of primes pretty dull.
Perhaps. But you don't start teaching chemistry by explaining about
energy levels in the electron shells and weak interactions. And you
don't start teaching C by diving straight into advanced networking.
One starts simple, ignoring the simplifications in the temporary
model, and then moves on to more 'accurate' models as your students
become more adept. There is of course no 'right' model, since all our
models are approximations.

--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
Sep 11 '07 #20
Mark McIntyre <ma**********@spamcop.netwrote:
On Tue, 11 Sep 2007 04:46:36 +0000, in comp.lang.c , Richard
Heathfield <rj*@see.sig.invalidwrote:
If 1 is prime, all positive integers are reducible to it, which makes
the whole subject of primes pretty dull.

Perhaps. But you don't start teaching chemistry by explaining about
energy levels in the electron shells and weak interactions. And you
don't start teaching C by diving straight into advanced networking.
There is, however, a difference between simplifying and direct lies.
Teachers who neglect to tell you about abort() when they discuss
main()'s return type do the first; teachers who tell you that void
main() is all right (of whom there are too bloody many) do the second.

Richard
Sep 12 '07 #21
>>>>"MMcI" == Mark McIntyre <ma**********@spamcop.netwrites:

MMcIOn Wed, 12 Sep 2007 08:05:03 GMT, in comp.lang.c ,
MMcIrl*@hoekstra-uitgeverij.nl (Richard Bos) wrote:
>There is, however, a difference between simplifying and direct
lies. Teachers who neglect to tell you about abort() when they
discuss main()'s return type do the first; teachers who tell
you that void main() is all right (of whom there are too bloody
many) do the second.
MMcII understand your point and agree its bad teaching, but
MMcIyou're incorrect to say the teacher is lying.

....in part, because "lying" involves an intentional misrepresentation,
and by far the majority of the people who promote void main() do so
out of ignorance or incompetence, not malice.

Charlton
--
Charlton Wilbur
cw*****@chromatico.net
Sep 13 '07 #22
On Sun, 09 Sep 2007 05:22:00 +0000, vikram Bhuskute wrote:
I have plans to train some students for C in coming weeks.
I am badly looking for C programming assignments fot them.
Need 1) lots of them per topiic 2) Should be doable for beginners

thanks in advance

Vikram
A random thought: the assignments could build up a simple suite
of programs to create/manipulate files that contain sounds. For example
..wav files have a pretty simple format, and a fairly simple exercise
would be to produce a file that had a couple of seconds of a sinusoid
of some given frequency. Then you could go on to programs that concatenate
files, that merged them etc etc.

Sep 13 '07 #23
On Sep 14, 3:53 am, Charlton Wilbur <cwil...@chromatico.netwrote:
...in part, because "lying" involves an intentional misrepresentation,
and by far the majority of the people who promote void main() do so
out of ignorance or incompetence, not malice.
Or intent. If the course is teaching how to use
Borland C, for example, then void main() is quite correct.

Sep 13 '07 #24
Old Wolf said:
On Sep 14, 3:53 am, Charlton Wilbur <cwil...@chromatico.netwrote:
>...in part, because "lying" involves an intentional
misrepresentation, and by far the majority of the people who promote
void main() do so out of ignorance or incompetence, not malice.

Or intent. If the course is teaching how to use
Borland C, for example, then void main() is quite correct.
No, it's quite incorrect. Borland C /tolerates/ void main, but by no
means requires it. Indeed, it will diagnose void main when invoked in
conforming mode.

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Sep 14 '07 #25
Charlton Wilbur <cw*****@chromatico.netwrote:
>>>"MMcI" == Mark McIntyre <ma**********@spamcop.netwrites:

MMcIOn Wed, 12 Sep 2007 08:05:03 GMT, in comp.lang.c ,
MMcIrl*@hoekstra-uitgeverij.nl (Richard Bos) wrote:
>There is, however, a difference between simplifying and direct
>lies. Teachers who neglect to tell you about abort() when they
>discuss main()'s return type do the first; teachers who tell
>you that void main() is all right (of whom there are too bloody
>many) do the second.

MMcII understand your point and agree its bad teaching, but
MMcIyou're incorrect to say the teacher is lying.

...in part, because "lying" involves an intentional misrepresentation,
and by far the majority of the people who promote void main() do so
out of ignorance or incompetence, not malice.
Bah. Hanlon's Razor is over-general: ignorance which exist where there
is no excuse for it (for example, in a teacher, regarding the basics of
his own subject) _is_ a form of malice.

Ignorance, when it is voluntary, is criminal; and he may be properly
charged with evil who refused to learn how he might prevent it.
-- Johnson, Rasselas, ch. XXIX

Richard
Sep 14 '07 #26

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

Similar topics

4
by: kazack | last post by:
I posted a similiar question in this newsgroup already and got an answer which I already knew but didn't get the answer I was looking for so I am reposting the code and question differently in the...
41
by: Psykarrd | last post by:
I am trying to declare a string variable as an array of char's. the code looks like this. char name; then when i try to use the variable it dosn't work, however i am not sure you can use it...
7
by: Snake | last post by:
Hi guys, I have question about classes. when u create class called Test. and you define variable Test c; so does this act like( a variable c of type Test pointing to an abject )? The thing that...
5
by: el_roachmeister | last post by:
For being a good web programmer, is a course on data structures important? It seems php already has built-in functions for what they teach in a data structures course. On the other hand all...
11
by: blah | last post by:
Need python Pro at newtopython@googlegroups.com , if u wanna help, plz reply to that address. We are python beginners. need a real good Python Programmer for Help. TIA!! -- * Posted with...
5
by: Mr. X | last post by:
Hello, Let me begin by saying that I am a strong advocate of science, math and engineering students learning to program... just a skill that they need to experience even if they go another path....
11
by: Larry | last post by:
I will be teaching an eCommerce application development course using ASP.Net after many years of having taught classic ASP. (Course was interrupted by 18 months in the Middle East with my Army...
36
by: sonnystarks | last post by:
I am trying to learn HTML and have obtained several books on the subject. However, I am confused with the proper way of going about it as most of these books give me the basic tags and then say...
11
by: efrat | last post by:
Hello, I'm planning to use Python in order to teach a DSA (data structures and algorithms) course in an academic institute. If you could help out with the following questions, I'd sure...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
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,...
0
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...

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.