Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #14936 > unrolled thread

assignment

Started byGedeon Mkangumbe <gmkangumbe@gmail.com>
First post2012-03-15 08:42 -0700
Last post2012-03-16 04:25 -0700
Articles 13 — 10 participants

Back to article view | Back to comp.lang.c++


Contents

  assignment Gedeon Mkangumbe <gmkangumbe@gmail.com> - 2012-03-15 08:42 -0700
    Re: assignment Christopher Pisz <someone@somewhere.net> - 2012-03-15 11:02 -0500
    Re: assignment red floyd <no.spam.here@its.invalid> - 2012-03-15 09:49 -0700
    Re: assignment drew@furrfu.invalid (Drew Lawson) - 2012-03-15 17:06 +0000
    Re: assignment Gareth Owen <gwowen@gmail.com> - 2012-03-15 17:39 +0000
      Re: assignment BCFD36 <bcfd36@cruzio.com> - 2012-03-15 21:12 -0700
        Re: assignment Gareth Owen <gwowen@gmail.com> - 2012-03-19 06:58 +0000
    Re: assignment "osmium" <r124c4u102@comcast.net> - 2012-03-15 12:49 -0600
      Re: assignment red floyd <no.spam.here@its.invalid> - 2012-03-15 13:24 -0700
        Re: assignment Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-03-15 22:31 +0000
      Re: assignment Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-03-15 22:44 +0000
        Re: assignment BGB <cr88192@hotmail.com> - 2012-03-16 16:35 -0700
    Re: assignment nick_keighley_nospam@hotmail.com - 2012-03-16 04:25 -0700

#14936 — assignment

FromGedeon Mkangumbe <gmkangumbe@gmail.com>
Date2012-03-15 08:42 -0700
Subjectassignment
Message-ID<97f44a8e-c475-4fab-963d-f9e456abcfde@qg3g2000pbc.googlegroups.com>
1.what are the properties of pseudocode
2. Explain array its types
3.What is dry running

[toc] | [next] | [standalone]


#14937

FromChristopher Pisz <someone@somewhere.net>
Date2012-03-15 11:02 -0500
Message-ID<jjt3r8$8kb$1@dont-email.me>
In reply to#14936
On 3/15/2012 10:42 AM, Gedeon Mkangumbe wrote:
> 1.what are the properties of pseudocode
> 2. Explain array its types
> 3.What is dry running


http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.2

[toc] | [prev] | [next] | [standalone]


#14938

Fromred floyd <no.spam.here@its.invalid>
Date2012-03-15 09:49 -0700
Message-ID<jjt6i3$o0e$1@dont-email.me>
In reply to#14936
On 3/15/2012 8:42 AM, Gedeon Mkangumbe wrote:
> 1.what are the properties of pseudocode
It's not real code.

> 2. Explain array its types
Ok, array, listen to me.  Your types depend on stuff.

> 3.What is dry running
Jogging in the sun, when it's not raining.

[toc] | [prev] | [next] | [standalone]


#14939

Fromdrew@furrfu.invalid (Drew Lawson)
Date2012-03-15 17:06 +0000
Message-ID<jjt7ij$2nfg$1@raid.furrfu.com>
In reply to#14936
In article <97f44a8e-c475-4fab-963d-f9e456abcfde@qg3g2000pbc.googlegroups.com>
	Gedeon Mkangumbe <gmkangumbe@gmail.com> writes:
>1.what are the properties of pseudocode
>2. Explain array its types
>3.What is dry running
4. How many roads must a man walk down?

-- 
 Drew Lawson              For it's not the fall, but landing,
                          That will alter your social standing

[toc] | [prev] | [next] | [standalone]


#14941

FromGareth Owen <gwowen@gmail.com>
Date2012-03-15 17:39 +0000
Message-ID<87k42lepb2.fsf@gmail.com>
In reply to#14936
Gedeon Mkangumbe <gmkangumbe@gmail.com> writes:

> 1. what are the properties of pseudocode

Boardwalk and Park Place.

> 3. What is dry running

An excellent Bruce Dern film of the early 1970s... no, wait that doesn't
sound right.

[toc] | [prev] | [next] | [standalone]


#14949

FromBCFD36 <bcfd36@cruzio.com>
Date2012-03-15 21:12 -0700
Message-ID<jjuejc$h0i$3@speranza.aioe.org>
In reply to#14941
On 3/15/12 10:39 AM, Gareth Owen wrote:
> Gedeon Mkangumbe<gmkangumbe@gmail.com>  writes:
>
>> 1. what are the properties of pseudocode
>
> Boardwalk and Park Place.
>
>> 3. What is dry running
>
> An excellent Bruce Dern film of the early 1970s... no, wait that doesn't
> sound right.
No, that was Silent Running. I saw it in a drive-in with two other guys. 
We discussed why Pam wouldn't sleep with Steve (we were juniors in high 
school) and drank lots of beer. Pam was hot at 17 and is still hot at 
56. Good movie.

-- 
Dave Scruggs
Captain, Boulder Creek Fire

[toc] | [prev] | [next] | [standalone]


#14980

FromGareth Owen <gwowen@gmail.com>
Date2012-03-19 06:58 +0000
Message-ID<87pqc9rs9y.fsf@gmail.com>
In reply to#14949
BCFD36 <bcfd36@cruzio.com> writes:

> On 3/15/12 10:39 AM, Gareth Owen wrote:
>> Gedeon Mkangumbe<gmkangumbe@gmail.com>  writes:
>>
>>> 1. what are the properties of pseudocode
>>
>> Boardwalk and Park Place.
>>
>>> 3. What is dry running
>>
>> An excellent Bruce Dern film of the early 1970s... no, wait that doesn't
>> sound right.
>
> No, that was Silent Running. I saw it in a drive-in with two other
> guys. We discussed why Pam wouldn't sleep with Steve (we were juniors
> in high school) and drank lots of beer. Pam was hot at 17 and is still
> hot at 56. Good movie.

I *think* I watched it as part of an after-school SF season on BBC2 in
the early eighties.  I'm not sure I really understood what was going on,
but I remember so vividly.  God, they showed some good stuff in that
season including The Day The Earth Stood Still, The Day The Earth Caught
Fire, the original Invasion of the Bodysnatchers...

Of course, its possible I've misremembered all of this.  I saw Dark Star
around the same time, but that *wasn't* on BBC2 at 6pm.

[toc] | [prev] | [next] | [standalone]


#14943

From"osmium" <r124c4u102@comcast.net>
Date2012-03-15 12:49 -0600
Message-ID<9sertsFlh1U1@mid.individual.net>
In reply to#14936
"Gedeon Mkangumbe" wrote:

> 1.what are the properties of pseudocode

I think the Wikipedia article is probably better than some ad hoc thing 
someone here is likely to type in in a few idle minutes.  Focus on the first 
two or three paragraphs. Wikipdeia is often a good first place to look for 
computer oriented problems, especially of this sort.

http://en.wikipedia.org/wiki/Pseudocode

> 2. Explain array its types

An array is composed of _elements_.   The elements of an array must be 
homogeneous.  Does that help?

> 3.What is dry running

Long, long ago people used to try to visualize what happened when the mental 
image of a program was conjured up in the mind.  Perhaps this is what your 
instructor is thinking of, perhaps not.  I think this technique has lost 
popularity what with everyone having a computer or two on every desktop. 
Kind of like an arranger visualizing how music would sound - except no 
orchestra. 

[toc] | [prev] | [next] | [standalone]


#14944

Fromred floyd <no.spam.here@its.invalid>
Date2012-03-15 13:24 -0700
Message-ID<jjtj54$4rn$1@dont-email.me>
In reply to#14943
On 3/15/2012 11:49 AM, osmium wrote:
> "Gedeon Mkangumbe" wrote:
[redacted]
Dude, don't do this idiot's homework for him!!!

[toc] | [prev] | [next] | [standalone]


#14945

FromJorgen Grahn <grahn+nntp@snipabacken.se>
Date2012-03-15 22:31 +0000
Message-ID<slrnjm4re2.1ls.grahn+nntp@frailea.sa.invalid>
In reply to#14944
On Thu, 2012-03-15, red floyd wrote:
> On 3/15/2012 11:49 AM, osmium wrote:
>> "Gedeon Mkangumbe" wrote:
> [redacted]
> Dude, don't do this idiot's homework for him!!!

He didn't -- he just gave him pointers to information and hints.
(Telling him not to post general programming questions here would have
been nice too.)

/Jorgen

-- 
  // Jorgen Grahn <grahn@  Oo  o.   .     .
\X/     snipabacken.se>   O  o   .

[toc] | [prev] | [next] | [standalone]


#14946

FromJorgen Grahn <grahn+nntp@snipabacken.se>
Date2012-03-15 22:44 +0000
Message-ID<slrnjm4s5p.1ls.grahn+nntp@frailea.sa.invalid>
In reply to#14943
On Thu, 2012-03-15, osmium wrote:
> "Gedeon Mkangumbe" wrote:
...
>> 3.What is dry running
>
> Long, long ago people used to try to visualize what happened when the mental 
> image of a program was conjured up in the mind.

Don't know about you, but to me this is still a vital technique. Maybe
not /literally/ acting as an interpreter, but at least reading and
analyzing a piece of code until I'm convinced it works. Sometimes that
means running a few loops in my head or on pen and paper.

"Convinced it works" is often more than unit tests can deliver.

> Perhaps this is what your 
> instructor is thinking of, perhaps not.  I think this technique has lost 
> popularity what with everyone having a computer or two on every desktop. 
> Kind of like an arranger visualizing how music would sound - except no 
> orchestra. 

/Jorgen

-- 
  // Jorgen Grahn <grahn@  Oo  o.   .     .
\X/     snipabacken.se>   O  o   .

[toc] | [prev] | [next] | [standalone]


#14953

FromBGB <cr88192@hotmail.com>
Date2012-03-16 16:35 -0700
Message-ID<jk0iqm$5k3$1@news.albasani.net>
In reply to#14946
On 3/15/2012 3:44 PM, Jorgen Grahn wrote:
> On Thu, 2012-03-15, osmium wrote:
>> "Gedeon Mkangumbe" wrote:
> ...
>>> 3.What is dry running
>>
>> Long, long ago people used to try to visualize what happened when the mental
>> image of a program was conjured up in the mind.
>
> Don't know about you, but to me this is still a vital technique. Maybe
> not /literally/ acting as an interpreter, but at least reading and
> analyzing a piece of code until I'm convinced it works. Sometimes that
> means running a few loops in my head or on pen and paper.
>
> "Convinced it works" is often more than unit tests can deliver.
>

apparently, the ability to do stuff like this can also confuse some 
people as well.


>> Perhaps this is what your
>> instructor is thinking of, perhaps not.  I think this technique has lost
>> popularity what with everyone having a computer or two on every desktop.
>> Kind of like an arranger visualizing how music would sound - except no
>> orchestra.
>

it is sometimes useful.

sometimes a person can run and debug a code fragment in their head 
faster than it would take to recompile the app and proceed to test the 
code manually.

for tiny apps, maybe it is harder to justify, but for less trivial apps, 
it can sort of become an issue where nearly every rebuild is an 
opportunity for a coffee break, and sometimes the relevant test-cases 
may be a hassle to set up (involve some edge case behavior or similar).

one may at least make basic mental effort to verify it will probably 
work before waiting through the recompile and test process (or, 
sometimes, one will note that there is a serious bug partway through the 
rebuild, then abort the compile, fix the bug, and start the rebuild over 
again).


or such...

[toc] | [prev] | [next] | [standalone]


#14951

Fromnick_keighley_nospam@hotmail.com
Date2012-03-16 04:25 -0700
Message-ID<31241066.763.1331897123352.JavaMail.geo-discussion-forums@vbmf37>
In reply to#14936
On Thursday, March 15, 2012 3:42:02 PM UTC, Gedeon Mkangumbe wrote:

> 1.what are the properties of pseudocode

what properties do you want it to have?

> 2. Explain array its types

type of an arry is T[]

> 3.What is dry running

most of the amusing answers have been given already

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.c++


csiph-web