Fran

cordova villa maria, Argentina Dj & Producer

Full bio

What a great technique for memory! Turning programming logic into a catchy song is infallible to remember in the middle of an exam.

Here is a song with a **cumbia/neighborhood rock** rhythm for you to think about:

*(Cheerful and upbeat rhythm)*

♪ **Verse 1: The Entrance and the Search** ♪ The program starts with a great 'IF', validating that the DNI is not empty or wrong ('<> 0'). We copy the data to the official table, and we use 'Fetch' with the cool key. If 'Level:Benign' says yes, We paint the name and the background is cleaned up here.

♪ **Stanza 2: The One Who Never Voted** ♪ If the options are at zero ('= 0'), It means that the kid has not yet voted. We clean up the variables, we open up the choice, and if you press OK with great excitement... We keep the votes, we throw a 'PUT', we clean the ID and say: *"Thank you!" * ('THANK YOU VERY MUCH'). If you cancel the window and say no, the sign appears: *"VOTE NOT TAKEN"* when the error is formed.

♪ **Verse 3: The one who has already voted (and wants to change)** ♪ But if the student had already voted before, The system slows down and instantly asks: *"Do you want to change your mind, dear?" * With a 'MESSAGE' of buttons next to you ('OK|Cancel'). If the user presses OK ('Loc:Return = 1'), We reset the options again. We open the election window for a little longer, we save the changes with 'PUT' if you regret it back. If he completes successfully, he gives you thanks; if you cancel to the last: *"VOTE NOT COUNTED"* it will be.

♪ **Verse 4: The mistakes and the ending** ♪ If the 'Fetch' rejects you because he didn't find it, a 'Beep()' sounds and the background is fury red: *"DNI NOT FOUND"* is set by law. And if you came in with an empty locker, my king, The alert beep sounds again: *"YOU MUST ENTER AN ID..."* backwards.

And finally, whatever happens today, The cursor returns to the frame with great emotion: 'SELECT(? Loc:DNI)' sends you back to the beginning again, And the code is ready, the test is passed! ♪

---

Sing it a couple of times and you'll see how on Friday you remember every line from memory! Should I put together a last review or flashcards to review before the test?

Get in touch