Jump to content

Fundamental Exam Confusing Questions - please post


Recommended Posts

QUOTE (crossrulz @ Apr 22 2009, 01:33 PM)

Yes, you are being too literal. I get in trouble for that too.

And my honest opinion is that they are asking if the array elements are sorted. If I am correct about this, then array elements are not always ordered

I think you mix up ordered and sorted. The term ordered means in my book really that there is a certain distinct ordering to the elements which there is through the array index, just as in a cluster through the element order. That does probably not mean that the elements are sorted at all in ascending, descending or whatever else order :wacko:

But then I might be wrong here too and they are in fact saying that arrays are not sorted with that statement :rolleyes: and then answer E would be right according to the strange multiple choice system that in the US seems so common. It's just not what in programming terminology is usually meant by the term ordered.

Rolf Kalbermatter

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.