You are on page 1of 1

Q#1: Construct the Parser of given CFG: (5)

CFG:

S → +S+ Ι SS Ι ^

Word: {++ ++++++++ ++++++ }

Q#2: Select any code line from C++ code, and apply 6 phases of compiler over it. (5)

Department of Computer Sciences & Information Technology, Superior University, Lahore 1

You might also like