CCS358 QP
CCS358 QP
:
ADITHYA INSTITUTE OF TECHNOLOGY
(AUTONOMOUS)
Part-C (1 x 15 = 15 marks)
Compulsory Questions
(Application / Design / Analysis / Evaluation / Creativity / Case study questions)
Part C should be a Higher Order cognitive type question
16 a Design and implement a C++ program to get the average marks of six subjects CO4
using the multiple inheritance and document on it.
OR
16 b Construct LR parsing table for the given arithmetic expression grammar and CO5
define all the parser actions.
1. E E + T
2. E T
3. T T * F
4. T F
5. F (E)
6. Fid
Parse the string id + id * id using the above algorithm.