A viable prefix of a sentential form φβt, where β denotes the handle, is any prefix of φβ. A viable prefix cannot contain symbols to the right of the handle.
(source: https://nptel.ac.in/courses/106108113/module3/Lecture9.pdf )
Example:
S → E#,
E → E + T | E − T | T,
T → id | (E)
Now,
S ⇒ E# ⇒ E + T # ⇒ E + (E)# ⇒ E + (T)# ⇒ E + (id)#
(bold and underlined are the handles for that right sentential form)
And,
all viable prefixes of the right sentential form E + (id)# :
E, E+, E + (, and E + (id
as ' id ' is the handle of this sentential form so we cant take any other symbol in its right( for viable prefix)
--------------------------------------------
So,
E + (id)# is a right sentential form
id is its handle and,
E, E+, E + (, and E + (id are its Viable prefixes.