(a) What is structured programming language? Explain with example. (b) Write a program to store information using structures with dynamically memory…

(a) What is structured programming language? Explain with example.

(b) Write a program to store information using structures with dynamically memory allocation.

(c) State the advantages of object-oriented programming (OOP) over structured programming.

(d) Explain encapsulation and inheritance in details.

From the BCS General Cadre 2018 – 38th BCS Written (BPSC) exam, question 5 of 8.

More from this paper