250+ TOP MCQs on Aspect Oriented Software Engineering and Answers

Software Engineering Assessment Questions 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

Answer: b
Clarification: 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

Answer: c
Clarification: 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

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

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

Answer: a
Clarification: 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

Answer: a
Clarification: The core concerns of a system are those functional concerns that relate to its primary purpose.

  250+ TOP MCQs on System Modelling and Answers

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

Answer: d
Clarification: 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

Answer: a
Clarification: None.

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

Answer: b
Clarification: 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

Answer: d
Clarification: None.

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

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

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

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

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top