21. Which of the following is a key principle of software design and implementation ?

A. Separation of concerns
B. Writing aspects
C. Finding code complexity
D. None of the mentioned
✅ The correct answer is option A.
Explanation: The separation of concerns is a key principle of software design and implementation. It means that you should organize your software so that each element in the program (class, method, procedure, etc.) does one thing and one thing only.

23. How is SOA different from OO Architecture ?

A. Strong coupling among objects
B. Communications are prescriptive rather than being descriptive
C. Data is separated from a service or behavior
D. Data and methods are integrated into a single object
✅ The correct answer is option C.
Explanation: A service-oriented architecture is essentially a collection of services which communicate with each other.

24. In Java,______________________ are comparable with, though not identical to, RPCs?

A. Remote Method Invocations
B. Operating System
C. Client–server computing
D. None of the mentioned
✅ The correct answer is option A.
Explanation: The RMI framework handles the invocation of remote methods in a Java program.

27. Which architecture is used when there is a high volume of transactions to be processed by the server ?

A. Multi-tier client–server architecture
B. Master-slave architecture
C. Distributed component architecture
D. Peer-to-peer architecture
✅ The correct answer is option A.
Explanation: Multi-tier systems may be used when applications need to access and use data from different databases.

30. Service Oriented Architecture (SOA) is__________________?

A. Strongly Coupled
B. Loosely Coupled
C. Strongly Cohesive
D. Loosely Cohesive
✅ The correct answer is option B.
Explanation: SOA is the architectural style that supports loosely coupled services to enable business flexibility.