(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
- Previous: Given a host IP address in a network is written as both 192.68.25.16/28 and 3FFE:85B:1F1F:: A9:1234. a) Which one is IPv6 address? How…
- Next: A list of numbers 3, 5, 7, 11, 13, 17 is stored in sequence. Which of the following data structure will have the least data movement when…
- All questions in BCS General Cadre 2018 – 38th BCS Written (BPSC)