Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^5: [OT:] Is this Curriculum right?

by karlgoethebier (Abbot)
on Nov 29, 2021 at 20:23 UTC ( [id://11139240]=note: print w/replies, xml ) Need Help??


in reply to Re^4: [OT:] Is this Curriculum right?
in thread [OT:] Is this Curriculum right?

I guess the point is what they think a vector is. I guess they think it like this (in R):

v<-c(1:3) typeof(v) length(v) min(v) max(v) median(v) mean(v) append(v, 4) # shuffle(v) # sort (v)

This yields in an interactive R session:

[1] "integer" [1] 3 [1] 1 [1] 3 [1] 2 [1] 2 [1] 1 2 3 4

Now the kids are forced to write down such stuff in German Pseudocode - with Umlauts. As we are in Germany. No kidding. Plus some UML diagrams. Just to come back to the roots. Or the original question. Now you can guess the next step? Best regards, Karl.

Regards, Karl

«The Crux of the Biscuit is the Apostrophe»

Replies are listed 'Best First'.
Re^6: [OT:] Is this Curriculum right?
by choroba (Cardinal) on Nov 29, 2021 at 20:26 UTC
    > Now you can guess the next step?

    Rewrite the commands to püthon?

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
Re^6: [OT:] Is this Curriculum right?
by LanX (Saint) on Nov 29, 2021 at 20:44 UTC
    > Now the kids are forced to write down such stuff in German Pseudocode - with Umlauts.

    That's the classical way to check examinations and written homework, it's not practical to have a whole class sitting in front of hardware.

    Pseudocode is good to demonstrate the algorithmic understanding while not worrying about syntax errors.

    The other extreme is googled "homework" code.

    This might be passing passing the syntax check and is somehow producing the required result because of a lot of try and error.

    But will often not demonstrate any understanding.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

      Pseudocode is good to demonstrate the algorithmic understanding while not worrying about syntax errors

      I know someone who agrees with you on that (Verzeihung, Australisch rühren wieder :).

        > I know someone who agrees with you on that

        Inklusion ist jetzt normal in deutschen Schulen ... ;-)

        Cheers Rolf
        (addicted to the Perl Programming Language :)
        Wikisyntax for the Monastery

Re^6: [OT:] Is this Curriculum right?
by karlgoethebier (Abbot) on Nov 30, 2021 at 00:09 UTC

    No. «Fünf hinein!» as my old teacher said.

    It should be:

    mische(victor) sortiere(victor)

    Now describe what a Übersetzer and a Bindelader is. In German as we are in Germany. You got one minute as we are in a hurry 🤪 Then write a class StandardChorobaBibliotkekDoppeltVerketteteListe. Don‘t google. Don’t read any man page. As real programmers never make it so. You got 5 minutes. Else you are durchgefallen.

    «The Crux of the Biscuit is the Apostrophe»

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11139240]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-03-28 10:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found