Professional Documents
Culture Documents
Compiler Construction Theory Assigmnt 02
Compiler Construction Theory Assigmnt 02
Campus
Theory Assignment 2
COMPUTER
Department of: SCIENCE
Due
Class/Program: BS(7-A,C,D) Date: 9 Nov 2022 11:59 AM
Subject: Compiler Construction Instructor: Muhammad Nadeem
Note: copying will lead to ZERO
This is hand written assignment.
You are required to write your Name and Registration Number on top of each
paper of your assignment.
Scan assignment using any scanner tool (like CAMSCANNER), create a pdf ,
and upload to server, prior to due time. PLEASE DO NOT submit Hard Fprm
No email will be accepted, except the students having registration issue.
Parse trees MUST BE NEAT AND CLEAN.
Not following the instructions will lead to marks deduction.
Q2. Explain what is the purpose of a CFG, what are the basic ingredients of
a CFG, explain each. [CLO-2 PLO-37]