Please ignore secret bonuses. Secret tests do NOT award bonus. Max hw grade is 30+2 bonus efficiency

Do you need help?

Notice Board

Per partecipare al corso di Fondamenti di programmazione 2023-24 loggatevi e attivatelo nella vostra pagina dei corsi preferiti. A quel punto il corso appare nel menù personale cliccando sul proprio avatar. Per i materiali degli anni precedenti seguite lo stesso metodo.

To join the Programming/Lab 2023-24 course, log-on and select it on the my courses page. It will appear on the personal menu of your avatar. For earlier years use the same method.

FAILING HW4 FOR OPENING THE FILE WITH W+

1
1980480 (4210 points)
1 4 7
in HW4 by (4.2k points)
closed by
Hello everybody, I have a BIG issue.

Some of the HWs 4 ( including mine ) have failed because we used w+ for file opening. However this was NOT specified anywhere in the HW file/Q2A post.

If I had known about this forbiddden way of opening files, I would have used simply the "w" mode.

p.s. When I uploaded my HW4 on q2a every test was passed, and now, AFTER the secret tests, None of them passed, simply because of this error ( again, which was not specified ).

Here are the other ID numbers that had the same issue:

1991472  r+
2005657  w+
1985908 w+
1988754 w+
2006057 w+
1983203 w+
1980480 w+ ( my personal ID )

I hope that this is the real issue and not something else that I didn't notice. Thank You.
495 views
closed with the note: tested

1 Answer

andrea.sterbini (207920 points)
750 1267 2373
by (208k points)
I'll re run tests, no worries
g
gio0628sato (960 points)
2 4 9
by (960 points)
edited by
I was really wondering why it didn’t pass because when I tested the files one by one on my computer I didn’t have problems.

Anyway It is really helpful thank you so much.