If you remove the question from the array after displaying, you don't have to worry that the values in random_number can repeat!
Here is an example:
At first your array looks like this:
Index 0 - "What is your name?"
Index 1 - "What is your birth date?"
Index 2 - "Do you have a pet?"
Index 3 - "Do you like games?"
You generate random_number=floor(random(array.width)) and it's 2.
So you display the question from the array at index 2: "Do you have a pet?"
Then you delete the record with index 2 from the array.
After that your array contains these records:
Index 0 - "What is your name?"
Index 1 - "What is your birth date?"
Index 2 - "Do you like games?"
Then you generate random_number again and the result is 2 again!
But it's not a problem , because this time the question at index 2 in the array is different! Now it's "Do you like games?"
And then you remove the question with index 2 and can repeat this until you have no questions left in the array.
Do you see what I mean?