Software Engineering Questions and Answers – Aspect Oriented Software Engineering

This set of Software Engineering Assessment Questions and Answers focuses on “Aspect Oriented Software Engineering”.

1. Which of the following diagrams can help spot points cuts?
a) Class diagram
b) Object diagram
c) Sequence diagram
d) ER diagram
View Answer

Answer: b
Explanation: In AOSE, sequence diagrams can help spot where pointcuts need to be set.

2. Which of the following is represented as an aspect that requests a login name and password?
a) Class
b) Object
c) User authentication
d) All of the mentioned
View Answer

Answer: c
Explanation: User authentication may be represented as an aspect that requests a login name and password. This can be automatically woven into the program wherever authentication is required.

3. Research and development in aspect-orientation has primarily focused on
a) software re-engineering
b) artificial programming
c) aspect-oriented programming
d) all of the mentioned
View Answer

Answer: c
Explanation: Aspect-oriented programming languages such as AspectJ have been developed that extend object-oriented programming to include aspects.
advertisement
advertisement

4. 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
View Answer

Answer: 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.

5. Which of the following is not a type of stakeholder concern?
a) Functional concerns
b) Quality of service concerns
c) Policy concern
d) Non-functional concern
View Answer

Answer: a
Explanation: The core concerns of a system are those functional concerns that relate to its primary purpose.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

6. Which of the following concerns best suits the following statement:”Internet banking system includes new customer requirements, account Requirements, customer management requirements, security requirements, recovery requirements etc.” ?
a) Functional concerns
b) Quality of service concerns
c) System concerns
d) Cross-cutting concerns
View Answer

Answer: d
Explanation: Cross-cutting concerns, which is based on an example of an Internet banking system. This system has requirements relating to new customers such as credit checking and address verification.

7. Which of the following is core concern in medical record management system?
a) maintaining records of patients
b) diagnose and treatments
c) consultations
d) all of the mentioned
View Answer

Answer: a
Explanation: None.
advertisement

8. An event in an executing program where the advice associated with an aspect may be executed is known as
a) aspect
b) join point
c) join point model
d) pointcut
View Answer

Answer: b
Explanation: None.

9. The incorporation of advice code at the specified join points by an aspect weaver is called”.
a) aspect
b) join point
c) join point model
d) weaving
View Answer

Answer: d
Explanation: None.
advertisement

10. Which of the following is needed by Maintenance staff?
a) A specific type of equipment
b) Maintenance record for each and every equipment item
c) Check in/check out equipment for maintenance
d) All of the mentioned
View Answer

Answer: d
Explanation: All the options are essential for effective maintenance.

11. An aspect is only static.
a) True
b) False
View Answer

Answer: d
Explanation: An aspect is a class-like structure to encapsulate cross-cut concerns that can be static or dynamic.

Sanfoundry Global Education & Learning Series – Software Engineering.

Here’s the list of Best Books in Software Engineering.

To practice all areas of Software Engineering Assessment Questions, here is complete set of 1000+ Multiple Choice Questions and Answers on Software Engineering.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.