1.
Which of the following is NOT a vaild SAD method?
Correct Answer
C. The Cascade model
Explanation
The Cascade model is not a valid SAD (System Analysis and Design) method. The Cascade model, also known as the sequential model, is a software development process where each phase must be completed before moving on to the next. However, it does not follow the iterative and incremental approach that is typically associated with SAD methods. In contrast, the Unified method, Waterfall model, and Spiral model are all valid SAD methods that involve iterative development and emphasize requirements analysis, design, and testing.
2.
What is the purpose of a Use Case Diagram?
Correct Answer
B. Identification of functional requirements
Explanation
A Use Case Diagram is used to identify the functional requirements of a system. It helps to visualize the interactions between actors (users) and the system, and the specific functionalities that the system should provide to meet the needs of the users. By identifying the functional requirements, the Use Case Diagram helps in understanding the scope and purpose of the system, and guides the development process by defining the functionalities that need to be implemented.
3.
Is the above an example of?
Correct Answer
B. A Use Case
Explanation
This question is asking for the type of example that is shown in the given statement. The correct answer is "A Use Case." A use case is a technique used in software development to describe the interactions between a system and its users or other systems. In this case, the statement is describing an example of a use case.
4.
Consider the following statement "Mary is a doctor". Which of the following is correct?
Correct Answer
B. "Mary" is an object
Explanation
The statement "Mary is a doctor" suggests that Mary is an individual or entity that possesses the attribute or role of being a doctor. In object-oriented programming, an object represents a specific instance of a class, which defines the attributes and behaviors of that object. Therefore, "Mary" can be considered an object in this context.
5.
Generalisation can be expressed:
Correct Answer
D. A is a kind of B
Explanation
The correct answer is "A is a kind of B." This statement suggests that A is a specific type or subtype of B. It implies that A shares some characteristics or attributes with B, but also has its own distinct features. This type of generalization is commonly used in object-oriented programming and modeling to represent hierarchical relationships between classes or entities.
6.
Which statement is true
Correct Answer
B. The above is a Class
Explanation
The given statement "The above is a Class" is true because in object-oriented programming, a class is a blueprint for creating objects. It defines the properties and behaviors that an object of that class will have. In this case, the statement is referring to the above code or statement, indicating that it represents a class.
7.
For the subject of question 6, which is true
Correct Answer
C. The empty boxes are for attributes and operations
Explanation
The empty boxes in question 6 are used to represent attributes and operations. Attributes are properties or characteristics of an object, while operations are the behaviors or actions that an object can perform. These empty boxes provide a space to specify and define the attributes and operations associated with the subject of question 6.
8.
Activity diagrams can model
Correct Answer
B. Workflow
Explanation
Activity diagrams are used to model workflows, which represent the sequence of activities or steps that need to be performed in order to achieve a specific goal or outcome. These diagrams visually represent the flow of activities, showing the order in which they occur and how they are interconnected. By using activity diagrams, stakeholders can understand and analyze the workflow of a system or process, identifying any potential bottlenecks, inefficiencies, or areas for improvement. Therefore, the correct answer is "Workflow".
9.
Consider the multiplicity 1...7. Which of the following is correct?
Correct Answer
B. There must be at least one instance and not more than 7
Explanation
The correct answer is "There must be at least one instance and not more than 7." This means that the multiplicity allows for a minimum of one instance and a maximum of seven instances. It does not specify that there will be exactly one or exactly seven instances, but rather that the number of instances can range from one to seven.
10.
The multiplicity 0...* is the same as;
Correct Answer
B. *
Explanation
The multiplicity 0...* represents zero or more occurrences of a relationship or attribute. The asterisk (*) symbol is commonly used to denote this multiplicity.
11.
You have established the names and attributes of classes during the elaboration stage, you would then add which of the following?
Correct Answer
B. Associations
Explanation
During the elaboration stage, after establishing the names and attributes of classes, the next step would be to add associations. Associations define the relationships between different classes and help to establish how they interact with each other. By adding associations, you can specify the connections and dependencies between classes, which is crucial for designing a comprehensive and well-structured system.
12.
This part of an Activity Diagram shows a?
Correct Answer
D. Fork node
Explanation
A fork node in an activity diagram is used to represent a point where the flow of control splits into multiple concurrent paths. It is typically used to show parallel processing or multiple activities happening simultaneously. In this context, the given part of the activity diagram is indicating a fork node, as it represents a point where the flow of control diverges into multiple paths.
13.
Which of the following is a valid Class name?
Correct Answer
B. Booking
Explanation
The correct answer is "Booking" because it follows the naming conventions for a class name. In programming, class names should start with an uppercase letter and should not contain any special characters or spaces. "Booking" meets these requirements and is a valid class name.
14.
Which of the following is a valid Use Case?
Correct Answer
B. Reserve Room
Explanation
The option "Reserve Room" is a valid use case because it represents a specific action or behavior that a user can perform within a system. Use cases describe the interactions between actors (users) and the system, and "Reserve Room" clearly defines a user's intention to reserve a room within a booking system.
15.
Consider the statement;
"Ahmed is a train driver on the 042 route, he wishes to stop at three stations during his morning journey".
Which of the following would be the best identification of classes?
Correct Answer
B. Train Driver, station, route
Explanation
The best identification of classes would be Train Driver, station, and route. This is because the statement mentions Ahmed as a train driver, indicating that Train Driver is a class. It also mentions stopping at three stations during the journey, indicating that station is a class. Finally, it mentions the 042 route, indicating that route is a class.