No, Fredo didn't know.
Fredo was not the type to face death gallantly, especially after being led to believe that all was forgiven. He was a nice guy but a weak, spineless coward and that had not changed since his boathouse showdown with Michael.
If he had even the slightest inkling of what was about to happen, he would've never set foot in that boat.
Apple