Ok, from the comments on the previous post it seems people are NOT “getting it”. This is NOT a “problem”, this is funny.

So I guess people don’t know what the functions min() and max() do or are just confusing them

max([...]) - this function usually takes a list of numbers and returns the highest number in the list.

e.g.

if x belongs to [0,20] then y = max(x, 1 8) => y belongs to [18-20]

max(20,1 8) = 20
max(19, 1 8) = 19
max(10, 1 8) = 18

min([...]) - this function usually takes a list of numbers and returns the lowest number in the list.

e.g.

if x belongs to [0,20] then y = min(x, 1 8) => y belongs to [0-18]

min(20,1 8) = 18       [<- fixed thanks Mind Booster Noori]
min(19, 1 8) = 18
min(10, 1 8) = 10

This means that according to the function the function displayed in my previous post, according to that function, ALL students grades will be between 18 and 20. That means if you have a freaking 0 in the exam and a 0 in the Assignment you’ll get an 18/20 (which is an excellent grade). i.e. THE MINIMUM grade is 18. It’s a simple mistake in the equation. What the page should say to be correct is

Nota Final = min(Nota do exame final+Nota do trabalho, 18)<- this would be the correct equation

And hell this was posted under “Entertainment”.

So the previous post wasn’t supposed to be about something “unfair” it was supposed to be about making fun of a simple mistake that under the circumstances really is funny.


  1. Mind Booster Noori

    min(20,1 8) = 20 ? Acho que te enganaste ;-)

  2. Alcides Fonseca

    Então porque é que o máximo da nota é até 18, se a escala é até 20, nunca percebi isso!

  3. dongs

    haha you’re so smart ;]

  4. Miguel Pais

    @alcides

    O aluno pode ter 19 ou 20, mas isso fica mediante prova oral, tal como diz na imagem. Ou seja, sem ir à prova oral, ninguém pode ter mais que 18.

  5. Alcides Fonseca

    @Miguel Pais:
    Nunca concordei com essas coisas. Se um aluno tira boa nota é porque a mereceu. Ou metem Provas Orais para todos, ou para nenhum, agora só a quem tem boa nota é parvo :/

  6. lrei

    @alcides acho que concordo contigo mas nunca tive nessa situacao

  1. 1 FEUP Maximizing Student Grades For A Change « LuisRei.com

    [...] Min and Max - An explanation « LuisRei.com Pingback on Mar 26th, 2008 at 9:05 [...]



Leave a Comment