• Congratulations to the Class of 2024 on your results!
    Let us know how you went here
    Got a question about your uni preferences? Ask us here

2 Questions From 2001 Asq Girls High Trial HSC (1 Viewer)

Dario

Member
Joined
Jul 25, 2002
Messages
210
Location
Horsley, NSW
Gender
Male
HSC
2002
Can anyone offer help on these ?

1.The members on a basketball team are lined up on a court. The coach selects the tallest player and moves her directly to the head of a second, new line. the coach repeats the process with the remainding members of the first line, each time noving the tallest player to the head of a new line. Identify this general type of sorting process

-- I thought it was a selection sort. But why are the "players" moved into a new "line" ?

2. What ASCII cahracter is often used in the data stream sent to a hardware device to distinguish between data characters and control characters ? Give an example of this.

-- I haven't found a reference to this subject anywhere.

Thanks for any posts guys (and gals) !
 

SamD

Member
Joined
Jul 21, 2002
Messages
256
Gender
Male
HSC
N/A
It's a selection sort. You don't have to use a single array, thats just a more convenient implementation.

I suspect the answer is supposed to be the ESCape character but who knows! I suspect this is a question relating to something the've done at their particular school. You wont be asked this in the HSC and if you are I'll send you a hundred dollars!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top