Thi Thử

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Catherine Halcomb
Catherine Halcomb
Community Contributor
Quizzes Created: 1443 | Total Attempts: 6,714,231
| Attempts: 717 | Questions: 100
Please wait...
Question 1 / 100
0 %
0/100
Score 0/100
1. Sơ đồ nào sau đây không phải là sơ đồ của UML:

Explanation

not-available-via-ai

Submit
Please wait...
About This Quiz
Thi Th - Quiz

Người tạo: Nguyễn Ngọc Thịnh
Đã đến lúc thi thật, quyền hạn của bạn bị giới hạn để được phép làm tiếp bài thi thử

Personalize your quiz and earn a certificate with your name on it!
2. Cụm từ tốt nhất để biểu diễn mới quan hệ tổng quát hoá là :

Explanation

"Is a kind of" is the best phrase to represent generalization because it implies that the subject belongs to a broader category or group. It suggests that the subject shares similar characteristics or traits with other members of that category, but it is not an exact replica or composition of them. This phrase allows for a broader interpretation and understanding of the subject's relationship to the larger category.

Submit
3. Chọn câu mô tả về tác nhân đúng nhất trong mô hình use case: 

Explanation

The correct answer is "Tác nhân là bất kì thực thể nào bên ngoài hệ thống đang được thiết kế mà tương tác với hệ thống". This means that the actor can be any external entity that interacts with the system being designed. It could be a user, another system, or any other entity outside of the system. The actor is not limited to a specific role or type of entity, but rather encompasses any external entity that interacts with the system.

Submit
4. Mục đích của Use Case là :

Explanation

The purpose of a Use Case is to identify meaningful requirements from users and serve as a foundation for system testing.

Submit
5.  Một  ………….. là dãy các bước mô tả sự tương tác giữa người dung và hệ thống 

Explanation

Kịch bản (scenario) là dãy các bước mô tả sự tương tác giữa người dùng và hệ thống. Kịch bản được sử dụng để mô hình hóa các tình huống và hành vi của người dùng trong quá trình sử dụng hệ thống. Kịch bản giúp hiểu rõ hơn về cách người dùng tương tác với hệ thống và giúp xác định mục tiêu và sự kiện trong quá trình đó.

Submit
6. Mục đích của sơ đồ hoạt động là : 

Explanation

The purpose of an activity diagram is to represent behavior with control structures. It can represent multiple objects within a use case.

Submit
7. Các sơ đồ nào thể hiện khía cạnh động của hệ thống: 

Explanation

The correct answer for this question is sequence (bđ trình tự), collaboration (bđ cộng tác), statechart (bđ trạng thái), and activity (bđ hoạt động). These are the types of diagrams that can represent the dynamic aspects of a system. Sequence diagrams show the interactions between objects in a particular sequence, collaboration diagrams show the relationships and interactions between objects, statechart diagrams depict the different states and transitions of an object, and activity diagrams represent the flow of activities within a system.

Submit
8. Các mẫu thiết kế phân thành mấy loại mẫu dựa vào mục đích sử dụng

Explanation

not-available-via-ai

Submit
9. Sơ đồ nào sau đây không phải là sơ đồ của UML:

Explanation

The given question asks to identify the diagram that is not a part of UML. UML stands for Unified Modeling Language, which is a standardized modeling language used in software engineering. The component diagram, state-chart diagram, and deployment diagram are all commonly used diagrams in UML. However, the relationship diagram is not a recognized diagram in UML. Therefore, the correct answer is Relationship diagram (sơ đồ quan hệ).

Submit
10. Trong hình (i)  là 

Explanation

The given options in the question are "Mở rộng", "Bao gồm", "Liên kết", and "Sự tổng quát hóa". The correct answer is "Liên kết". Without the complete question, it is not possible to provide a specific explanation for why "Liên kết" is the correct answer. However, based on the options provided, "Liên kết" seems to be the most relevant term that could fit in the given context. It could possibly refer to a connection or link between different elements or concepts.

Submit
11. Trong giai đoạn nào của quy trình phát triển phần mềm, ta thực hiện cài đặt hệ thống, thử nghiệm sản phẩm đã triển khai, thu thập các phản hồi từ phía người dung, bảo trì hệ thống

Explanation

The correct answer is "Chuyển giao (transition)". In this stage of the software development process, the system is implemented, the deployed product is tested, feedback is collected from users, and the system is maintained. This stage involves transitioning the product from development to actual use and ensuring its smooth operation.

Submit
12. Phát biểu nào sau đây  đúng về sơ đồ trạng thái ?

Explanation

The correct answer is "Sơ đồ trạng thái mô tả tất cả các trạng thái mà một đối tượng có thể có và sự chuyển dịch của các trạng thái như là kết quả của các sự kiện". This statement accurately describes the concept of a state diagram, which is a visual representation of all the possible states that an object can have and the transitions between those states as a result of events. State diagrams are commonly used in software engineering to model the behavior of systems and objects.

Submit
13. Xem xét mô hình Activity sau. Hãy xác định những họat động nào có thể xảy ra đồng thời?

Explanation

The activities "Receive order" and "Bill customer" can occur simultaneously because receiving an order does not necessarily require immediate billing, and billing a customer can be done independently of receiving an order.

Submit
14. Dưới đây là lớp Circle được vẽ bằng UML cho biết "isVisible (hành vi)) là

Explanation

The correct answer is "public". In UML, the visibility of a behavior or method can be specified using access modifiers. "public" means that the behavior or method can be accessed and used by any other class.

Submit
15. Phát biểu nào đúng về Use Cases ? 

Explanation

The statement "Công việc của một lần lặp được xác định bởi việc chọn lựa một số kịch bản Use Cases hay toàn bộ Use Cases" in option (2) is incorrect because the tasks of an iteration are determined by selecting a number of features from a list of features rather than selecting a number of Use Case scenarios or all Use Cases. Therefore, only option (1) is correct, which states that the requirements are the first record in Use Cases.

Submit
16. Cái nào không phải là mô hình

Explanation

The correct answer is "Cả 3 đều là mô hình" because the question is asking which one is not a model, and all three options mentioned (Concorde, mô hình thu nhỏ của Concorde dùng trong đường hầm, and bản vẽ cắt lớp phần thân của Concorde) are models.

Submit
17. Phát biểu nào sau đây đúng

Explanation

There can be multiple associations between the same two classes, but they must have different meanings.

Submit
18.  Phát biểu nào đúng về sơ đồ hoạt động ? 

Explanation

Both statements are correct. The first statement states that a branch has one incoming activity and multiple outgoing activities based on a condition, which is a valid characteristic of an activity diagram. The second statement states that it represents the concurrent synchronization of multiple threads, which is also a valid characteristic of an activity diagram. Therefore, both statements are correct.

Submit
19. Để biểu diễn rằng bất kỳ một thể hiện nào của lớp cha (lớp trừu tượng) phải là một thể hiện của một trong những lớp con của nó, ta sử dụng ?

Explanation

not-available-via-ai

Submit
20. Phát biểu nào sau đây đúng về mối kết hợp định tính (Qualified Associations) trên sơ đồ lớp ? 

Explanation

The given statement is correct because it states that all of the above statements are true. The statement explains that qualified associations provide functionality similar to an index and that the qualifier is an attribute of a class, represented by a small rectangle adjacent to the class symbol. It also states that qualified associations simplify navigation through complex associations by providing keys to narrow down the selection of associated objects. Therefore, all of the statements mentioned in the options are true.

Submit
21. Một lớp con thừa kế từ lớp cha các :

Explanation

The correct answer is "Attributes(thuộc tính), operations(hoạt động), relationships (quan hệ)". In object-oriented programming, a child class inherits the attributes, operations, and relationships from its parent class. This means that the child class can access and use the same attributes, operations, and relationships as the parent class without having to redefine them. This allows for code reuse and promotes modularity in the program.

Submit
22. Trong sơ đồ use-case, một tác nhận được trình bày bởi :

Explanation

In a use-case diagram, an actor represents a role that can be played by a person, a hardware device, or another system. The actor is an external entity that interacts with the system being modeled. Actors can initiate use cases and receive information or results from them.

Submit
23. Sơ đồ hoạt động được sử dụng trong những tình huống sau : 

Explanation

The correct answer is "Tất cả các câu trên đều đúng" because all of the statements mentioned in the options are situations where activity diagrams can be used. Activity diagrams are commonly used for analyzing use cases, describing complex sequential algorithms, and dealing with multi-threaded applications.

Submit
24.  Để biểu diễn các quan hệ vật lý giữa phần mềm và các thành phần phần cứng trong một hệ thống bạn sẽ dụng sơ đồ nào của UML ?

Explanation

The correct answer is "Sơ đồ triển khai (Deployment Diagram)". A deployment diagram in UML is used to represent the physical relationships between software components and hardware elements in a system. It shows how software components are deployed on hardware nodes, such as servers or devices. This diagram helps in understanding the distribution and configuration of the system components in a physical environment.

Submit
25. UML là gì?

Explanation

The correct answer is "Cả 3 đều sai" which means "All 3 are incorrect". This means that UML is not a programming language similar to Java, it is not a special language used for generating code automatically, and it is not a tool used to check the consistency between the model and source code.

Submit
26. Việc dấu thơng tin trong lập trình hướng đối tượng (OOP) được thực hiện trong khái niệm của:

Explanation

Encapsulation in object-oriented programming refers to the practice of hiding the internal details and implementation of an object and only exposing a limited set of methods and properties to the outside world. This allows for better control over how the object is used and prevents direct access to its internal state, promoting data integrity and security. Encapsulation ensures that the object's data is accessed and modified only through its defined interfaces, making the code more modular, maintainable, and reusable. Therefore, encapsulation is the concept that involves hiding information in object-oriented programming.

Submit
27. Câu nào đúng (một hoặc nhiều) khi nói về trạng thái và sự chuyển trạng thái trong UML 

Explanation

The correct answer is that events causing state transitions are represented in the state transition diagram. This means that when a certain event occurs, the system will transition from one state to another. The state transition diagram visually represents these transitions and helps to understand the behavior of the system.

Submit
28. Thành phần nào sau đây không là đặc tính của một đối tượng

Explanation

The given question asks which of the following is not a characteristic of an object. The options provided are Identity, Behaviour, Action, and State. Identity refers to the unique identifier of an object, Behaviour refers to the actions or operations an object can perform, State refers to the current condition or data of an object. Therefore, the correct answer is Action (hành động) as it is not a characteristic of an object but rather a result of its behaviour or operations.

Submit
29. Sự đóng gói được hiểu là:

Explanation

The correct answer is "Sự che dấu thông tin". This is because "sự đóng gói" refers to the concept of encapsulation in object-oriented programming, which involves hiding the internal details of an object and only exposing the necessary information. This ensures that the implementation details are not accessible to other parts of the program, promoting code reusability, maintainability, and security. Therefore, "sự che dấu thông tin" is the most appropriate explanation for the given answer.

Submit
30. Sơ đồ nào mô tả các kiểu của các đối tượng và các mối quan hệ tĩnh khác nhau giữa chúng ?

Explanation

The correct answer is "Sơ đồ lớp" because a class diagram is used to depict the different types of objects and their various static relationships. It is a structural diagram that shows the classes, their attributes, methods, and the relationships between them, such as inheritance, association, and aggregation.

Submit
31. Trong sơ đồ tuần tự  mũi tên --------->   biểu diễn 

Explanation

In the given sequence diagram, the arrow represents the "message" being passed between different objects or components. The message is the means of communication between these objects and carries information or instructions. It is used to trigger actions or request information from other objects in the system.

Submit
32. Mục đích của sơ đồ lớp là :

Explanation

The purpose of a class diagram is to represent the static structure of concepts, types, and classes. It helps to understand the basic purpose of a class and is useful for exploring how a use case is implemented. The other options mentioned in the question, such as representing behavior with control structures, representing multiple objects in a use case, and representing the arrangement of components on hardware nodes, are not the main purpose of a class diagram.

Submit
33. Mục đích của sơ đồ triển khai là : 

Explanation

The purpose of a deployment diagram is to represent how components are distributed across hardware nodes. It helps in visualizing the physical layout of the system and how different components interact with each other on different hardware nodes. This diagram is useful for understanding the deployment architecture of a system and how it is implemented in a real-world environment.

Submit
34. Mục đích của sơ đồ trạng thái (State Diagram) là : 

Explanation

The purpose of a state diagram is to represent an object changing its state through multiple use cases.

Submit
35. Kết quả của giai đoạn tinh chế (Elaboration phase) là : 

Explanation

The correct answer is "Tất cả các câu trên" (All of the above). This is because the elaboration phase of software development includes several activities, such as defining functional requirements (use cases), evaluating project costs, and specifying non-functional requirements in a supplementary detailed table. Therefore, all of the given options are outcomes of the elaboration phase.

Submit
36. Trong giai đoạn nào của quy trình phát triển phần mềm, ta xác định chi phí và thời gian của dự án, xác định các rủi ro và môi trường hệ thống 

Explanation

The correct answer is "Khởi tạo (Inception)". Inception is the initial phase of the software development process where the project's cost and time are determined, risks are identified, and the system environment is defined. This phase involves gathering requirements, analyzing the feasibility of the project, and creating a high-level plan. It sets the foundation for the rest of the development process.

Submit
37. Một lớp được mô tả là tập các đối tượng chia xẻ cùng các

Explanation

The correct answer is "Attributes (thuộc tính), operations (hành động) and relationships (mối quan hệ)". This answer is correct because it accurately describes the components of a class. Attributes refer to the characteristics or properties of an object, operations refer to the actions or behaviors that the object can perform, and relationships refer to the connections or associations between objects. These three components are fundamental in defining and understanding the structure and behavior of a class.

Submit
38. Phát biểu nào sau đây đúng về use cases ? 

Explanation

The statement "Câu 1 và 2 đúng" means that statements 1 and 2 are correct. This implies that use cases represent an external view of the system and there is a correlation between use cases and the internal classes within the system.

Submit
39. Trong sơ đồ tuần tự  dấu * biểu diễn :

Explanation

In the given sequence diagram, the asterisk (*) represents the iteration. Iteration refers to the repetition of a certain set of actions or steps. In the context of the sequence diagram, it indicates that a particular message, condition, or deletion is being repeated multiple times.

Submit
40. Câu phát biểu nào sau đây không đúng :

Explanation

The statement "Mỗi mô hình đối tượng (object model) trong mô hình nghiệp vụ (business model) được chuyển thành sơ đồ tương tác (interaction diagram) trong mô hình phân tích (analysis model)" is incorrect. In the analysis model, the object model is not transformed into an interaction diagram. Instead, the object model represents the structure and behavior of the system, while the interaction diagram illustrates the dynamic interactions between objects.

Submit
41. Câu phát biểu nào sau đây đúng  : 

Explanation

The correct answer states that a class is an abstract definition of an object. This means that a class represents the characteristics and behaviors that an object of that class should have, without actually creating an instance of the object itself. This definition aligns with the concept of abstraction in object-oriented programming, where classes provide a blueprint for creating objects with specific attributes and methods.

Submit
42.  Phát biểu nào sau đây  đúng về lớp kết hợp trên sơ đồ lớp ? 

Explanation

The given answer is correct because all of the statements mentioned in the answer are true about a composite class in class diagrams. A composite class allows the designer to add attributes, behaviors, and other characteristics of the composition. A composite class encapsulates information about the composition. And a composite class is connected to the composition using a dashed line. Therefore, all of the statements are true.

Submit
43. Ký hiện * trong UML biểu diễn : 

Explanation

The correct answer is that both statement (1) and (2) are correct. This means that the asterisk (*) in UML represents both the representation of repeated steps without a loop structure and indicates that activities are performed multiple times.

Submit
44. Dòng đời họat động (life line):

Explanation

The correct answer explains that the vertical line beneath an object in a sequence diagram represents the duration of time that the object exists or is active.

Submit
45. Sự khác nhau giữa các actor và các object cùng tên là

Explanation

The correct answer is "Actor bên ngoài còn object bên trong hệ thống." This means that actors are external to the system, while objects are internal to the system. Actors interact with the system by sending messages to objects and receiving responses. Objects, on the other hand, have behavior and state and are responsible for carrying out the actions requested by the actors.

Submit
46. Sơ đồ nào là thông tin (artifact) hữu ích nhất trong việc phân tích để tìm ra các hành vi của phần mềm được xem như là hộp đen ? 

Explanation

The correct answer is the System Sequence Diagram because it is the most useful artifact in analyzing and understanding the behavior of software systems. It represents the interactions between external actors and the system, showing the sequence of messages exchanged. This diagram helps in identifying the inputs and outputs of the system, as well as the order in which they occur. By analyzing the system sequence diagram, one can gain insights into the flow of control and data within the system, making it an essential tool for understanding the black-box nature of software systems.

Submit
47. Đường sinh tồn (lifeline) của 1 đối tượng được trình bày trong sơ đồ : 

Explanation

The correct answer is "Sơ đồ tuần tự" because the term "lifeline" refers to the representation of the lifespan of an object in a sequence diagram. A sequence diagram is used to show the interactions between objects and the order in which they occur. Therefore, the "Sơ đồ tuần tự" or "sequence diagram" is the most appropriate diagram to represent the lifeline of an object.

Submit
48.  Hoàn chỉnh các mệnh đề sau về mối quan hệ giữa các Use Cases  Sử dụng  ……… khi chúng ta muốn giảm các bước trùng lặp giữa các use case,  lấy những bước chung đó để tạo nên use case phụ. 

Explanation

The correct answer is "Include (bao gồm)". This option refers to the relationship between use cases when we want to reduce the repetition between use cases and take the common steps to create a sub-use case. In other words, the included use case represents a set of steps that are always performed within the including use case. This allows for modularization and reusability of the common steps, making the system more efficient and maintainable.

Submit
49. Hoàn chỉnh các mệnh đề sau về mối quan hệ giữa các Use Cases: Sử dụng  ……… khi chúng ta muốn tạo một use case mới bằng cách thêm một số bước vào một use case có sẳn. 

Explanation

The correct answer is "Extend (mở rộng)". This term is used when we want to create a new use case by adding some steps to an existing use case. It allows for adding optional functionality to the base use case.

Submit
50. Hoàn chỉnh câu sau : ……… là cách biểu diễn tốt để thể hiện dãy các hành động cho nhiều đối tượng và Use Case 

Explanation

Activity diagrams are a good way to represent a series of actions for multiple objects and use cases. They provide a visual representation of the flow of activities and the relationships between different objects and use cases. Activity diagrams are commonly used in software development to model the behavior of a system or a specific process. They help to illustrate the sequence of actions, decision points, and concurrency in a clear and understandable manner.

Submit
51. Hoàn chỉnh câu sau về thông tin (artifact)  trong sơ đồ trạng thái : Một ………. là một điều kiện luận lý và nó sẽ trả về chỉ "true" hay "false". 

Explanation

The correct answer is "Điều kiện che chắn (Guard)" because it is stated in the question that a "Điều kiện che chắn" is a logical condition that returns either "true" or "false". This aligns with the definition of a guard in a state diagram, as it is used to determine whether a transition can be taken based on the current state and input events.

Submit
52. Mục đích của sơ đồ gói (Package Diagram) là :

Explanation

The purpose of a Package Diagram is to represent the grouping of classes and their dependencies. It provides a visual representation of how classes are organized into packages and how they depend on each other. This diagram helps in understanding the overall structure of the system and how different components interact with each other. It is a useful technique for analysis, design, and coding as it allows for better organization and management of classes and their relationships.

Submit
53. Ký hiệu này là: 

Explanation

Aggregation (kết tập) is a relationship between two classes where one class is a part of another class. It represents a whole-part relationship, where the whole object can exist without the part object. In this case, the given symbol represents aggregation because it shows a diamond shape on the side of the class that represents the whole, indicating that it has a part object associated with it.

Submit
54. Mệnh đề nào sau đây đúng về sơ đồ trạng thái ? 

Explanation

The correct answer is "Sơ đồ trạng thái là cách biểu diễn tốt hành vi của một đối tượng qua nhiều Use Cases" because it accurately describes the state diagram as a representation of the behavior of a single object across multiple use cases. The other options either mention multiple objects or a single use case, which are not correct representations of a state diagram.

Submit
55. Trong sơ đồ trên biểu diễn loại relationship nào? 

Explanation

The correct answer is Generalization (khái quát hóa). In the given diagram, the relationship being represented is a generalization relationship. Generalization is a relationship between a general class (superclass) and one or more specialized classes (subclasses). It represents an "is-a" relationship, where the subclasses inherit the attributes and behaviors of the superclass. This relationship allows for the classification and categorization of objects based on their common characteristics.

Submit
56. Sự kết hợp giữa tên của một thao tác (operation) và các tham số (parameter) của nó được xem là _____________ của thao tác đó.

Explanation

The combination of a name of an operation and its parameters is referred to as the signature of the operation.

Submit
57. Stereotype package có thể biểu diễn cho :

Explanation

The stereotype package can represent a layer of architecture.

Submit
58. Trong giai đoạn nào của quy trình phát triển phần mềm, ta xây dựng hệ thống qua quá trình gồm nhiều vòng lặp theo quy trình xoắn ốc, mỗi vòng lặp là một dự án nhỏ. Bạn sẽ quản lý tài nguyên, kiểm soát và thực hiện tối ưu hoá, hoàn thành việc phát triển các sản phẩm và các thành phần của sản phẩm, đánh giá sản phẩm cài đặt từ các tiêu chuẩn đã được thỏa thuận. 

Explanation

The given answer "Xây dựng (construction)" is the correct answer because it refers to the phase in the software development process where the system is built through iterative cycles following the spiral model. Each iteration is a small project within itself. During this phase, resources are managed, control is maintained, and optimization is performed to develop the products and components of the system. The answer aligns with the information provided in the question, which states that the system is built through iterative cycles.

Submit
59. Để tổ chức các phần tử (elements) vào bên trong các nhóm (groups) ta sử dụng : 

Explanation

To organize elements into groups in programming, one can use packages. Packages are a way to group related classes and interfaces together. They provide a means to organize and manage large codebases by creating a hierarchical structure. By placing related elements in the same package, it becomes easier to locate and manage them. Therefore, using packages is a suitable method for organizing elements into groups.

Submit
60. Vòng đời của 1 lớp (Life cycle of a class) được trình bày bởi : 

Explanation

The correct answer is "Sơ đồ trạng thái (state diagram)". A state diagram is used to represent the different states that an object or a class can be in during its lifetime. It shows the transitions between these states and the events that trigger these transitions. In the context of the life cycle of a class, a state diagram would be the most appropriate choice as it visually represents the different states that a class can go through and how it transitions between them. Collaboration diagrams, class diagrams, and deployment diagrams are used for different purposes and would not provide the same level of detail in representing the life cycle of a class.

Submit
61. Mỗi message trong lược đồ sequence(trình tự) sẽ được ánh xạ thành:

Explanation

Each message in the sequence diagram is mapped to an operation. This means that when a message is sent between objects, it represents a specific operation or method that is being called. This is different from attributes, which represent the state or properties of an object, and dependency relationships, which represent the relationships between objects. Therefore, the correct answer is that each message in the sequence diagram is mapped to an operation.

Submit
62. Sơ đồ UML diagram sau là biểu diễn của một : 

Explanation

The given UML diagram represents different elements in object-oriented programming. The diagram includes Class, Object, Circle, and Package. The correct answer, "Class," refers to a blueprint or template for creating objects. In UML, a Class represents a set of objects that share common attributes, operations, relationships, and behavior. It is used to define the structure and behavior of objects in a system.

Submit
63.  Mệnh đề nào sau đây đúng về gởI thông điệp không đồng bộ trong sơ đồ tuần tự ? 

Explanation

The correct answer is that asynchronous messages can create a new thread, create a new object, and communicate with other running threads. This means that asynchronous messages have the capability to perform multiple actions simultaneously, including creating new threads and objects, as well as interacting with other threads.

Submit
64. Hoàn chỉnh câu sau về thông tin (artifact)  trong sơ đồ trạng thái : Một ………. liên quan đến một sự chuyển dịch và được xem như một tiến trình xuất hiện nhanh và không bị ngắt bởi một số sự kiện.

Explanation

The correct answer is "Hành động (Action)" because it is the only option that fits the description of being related to a transition and considered a fast and uninterrupted process. The other options, such as "Hoạt động (Activity)", "Điều kiện che chắn (Guard)", and "Sự kiện (Event)", do not match the given criteria.

Submit
65. Hoàn chỉnh câu sau về thông tin (artifact)  trong sơ đồ trạng thái : Một ………. liên quan với một trạng thái và có thể diễn ra trong thời gian dài. Nó có thể bị ngắt bởi một số sự kiện. 

Explanation

The correct answer is "Hoạt động (Activity)" because an activity in a state diagram represents a specific behavior or action that can occur over a period of time. It can be interrupted or affected by events or conditions. Activities are used to model the steps or processes that need to be performed within a state.

Submit
66. Loại nào sau đây là không phải là actor:

Explanation

The correct answer is "Tất cả đều sai" which means "All are incorrect" in English. This answer suggests that all of the options listed (Khách hành, Hệ thống tín dụng, Đồng hồ hệ thống) are not actors.

Submit
67. Các khái niệm về phạm vi hệ thống được tìm thấy trong : 

Explanation

The correct answer is Use Cases. Use cases are a concept in system development that describe the interactions between actors (users or external systems) and the system itself. They provide a high-level view of the system's functionality and help to identify the scope and boundaries of the system. Use cases are typically represented in a use case diagram, which shows the relationships between actors and use cases. Use cases are an important tool for requirements gathering and analysis in system development.

Submit
68. Trong sơ đồ tuần tự  [some_text] biểu diễn : 

Explanation

The correct answer is "Điều kiện (condition)". In a sequence diagram, the condition represents a decision point where the flow of the program can diverge based on a certain condition. It is used to depict conditional statements or loops in the program flow. The condition determines whether a certain action or set of actions will be executed or not, based on the evaluation of the condition.

Submit
69. Sơ đồ UML diagram trên là biểu diễn của một : 

Explanation

The UML diagram is a representation of an object. UML diagrams are commonly used in software engineering to visualize the structure and behavior of a system. They show the different objects or entities in the system and how they interact with each other. By using UML diagrams, developers can better understand the relationships between objects and design more efficient and effective systems.

Submit
70. Với mối quan hệ nào một thành phần thuộc về duy nhất một tổng thể. Các thành phần này luôn luôn tồn tại và mất đi cùng vớI tổng thể ?

Explanation

The given answer, Composition (cộng gộp), is correct because in composition, the components are part of a whole and cannot exist independently. They are tightly coupled with the whole and are created and destroyed together with the whole. This is different from aggregation, where the components can exist independently and can be shared among different wholes. Classification involves organizing objects into categories based on their common characteristics, and generalization involves creating a more general class from existing classes.

Submit
71. Sơ đồ hoạt động được sử dụng trong những tình huống sau : 

Explanation

The correct answer is "Tất cả các câu trên đều sai" because none of the options accurately describe the use of an activity diagram. An activity diagram is used to represent the flow of activities or processes in a system, not to represent the collaboration of objects, the behavior of objects over time, or complex logical conditions. Therefore, all of the given statements are incorrect.

Submit
72. Tính chất nào sau đây là không phải là của use case:

Explanation

A use case is a description of a specific interaction between a user (or actor) and a system, focusing on the functionality that the system provides from the user's perspective. It is independent of the implementation details of the system, meaning that it does not depend on how the system is actually built or executed. Use cases are used to represent the high-level view of the system and capture the expected user needs and requirements, without getting into the specific steps or processes required for implementation.

Submit
73. Mối quan hệ giữa Class và Interface là mối quan hệ 

Explanation

The relationship between a class and an interface is a "Realize" relationship. This means that a class can implement an interface and provide the implementation for its methods. The class "realizes" the interface by fulfilling the contract defined by the interface. This allows the class to have the same behavior as the interface and be used interchangeably with other classes that also implement the same interface.

Submit
74. Sơ đồ nào biểu diễn các thể hiện trong một hệ thống tại một thời điểm ? 

Explanation

An object diagram represents the instances of classes and their relationships in a system at a specific point in time. It shows the objects and their attributes, as well as the links between objects. This diagram is useful for visualizing the structure of a system and understanding how objects interact with each other. It is commonly used in object-oriented programming to model the runtime behavior of a system.

Submit
75. Phát biểu nào sau đây  đúng về lớp kết hợp trên sơ đồ lớp ?  

Explanation

The correct answer is that there is no correct statement. This means that none of the statements provided accurately describe a composite class in terms of its connections or constraints.

Submit
76. Mối quan hệ (relationship) giữa class 10 và class 11 là:

Explanation

The relationship between class 10 and class 11 is generalized, which means that class 11 is a more specific version of class 10. Class 11 inherits the properties and behaviors of class 10 but may also have additional features or modifications. This relationship allows for code reuse and helps to organize and structure the classes in a hierarchical manner.

Submit
77. Trong RationalRose, để kiểm tra lại tính tương thích của toàn bộ mô hình, dùng lệnh: 

Explanation

In RationalRose, to check the consistency of the entire model, you would use the command "Tool/Check Model". This command allows you to verify that all the elements in the model are correctly defined and connected. It helps to ensure that there are no errors or inconsistencies in the model, which is important for maintaining the integrity and reliability of the software design.

Submit
78.  Phát biểu nào sau đây đúng về mối kết hợp định tính (Qualified Associations) trên sơ đồ lớp ? 

Explanation

The correct answer is "Sử dụng các thông tin định danh (qualifier) để giảm một bản số one-to- many thành bản số one-to-one." This statement is correct because using qualifiers helps reduce a one-to-many relationship to a one-to-one relationship. Qualifiers provide additional information that helps identify and distinguish the objects involved in the association, allowing for a more specific and precise relationship between them. This can be useful in cases where the association needs to be more constrained and each object can only be associated with one specific object from the other class.

Submit
79. Mục đích của kỹ thuật thiết kế bằng hợp đồng "Design by Contract" là  : 

Explanation

The purpose of the "Design by Contract" design technique is to provide a strict definition of the intended behavior and valid state of a class. This technique ensures that the class adheres to a set of preconditions, postconditions, and invariants, which helps to establish a contract between the class and its clients. By clearly defining the expected behavior and valid state, this technique enhances the reliability and maintainability of the code.

Submit
80. Phát biểu nào sau đây không đúng ?

Explanation

The statement "Sự mô tả của các use-cases đủ để tìm và phân tích các lớp cùng các đối tượng của nó" is not correct. Use case descriptions alone are not sufficient to identify and analyze classes and objects. Additional analysis techniques, such as class diagrams and object diagrams, are needed to identify the classes and objects associated with each use case.

Submit
81. Hoàn chỉnh câu sau : ……… là cách biểu diễn tốt để mô tả hành vi của một đối tượng qua nhiều Use Cases. Nó rất tốt để mô tả hành vi liên quan đến một số đối tượng hợp tác với nhau. 

Explanation

State diagrams are a good way to describe the behavior of an object through multiple use cases. They are particularly useful for describing behavior related to multiple objects collaborating with each other.

Submit
82. Một mối quan hệ „has a‟ là mô tả tốt nhất cho:

Explanation

Aggregation (tập hợp) is the best description for a "has a" relationship. In aggregation, one object is composed of multiple other objects, but the objects can exist independently of each other. This means that the aggregated objects can be shared among multiple instances of the main object and can be removed without affecting the existence of the main object. This relationship is often represented by a "part-of" or "contains" relationship, where the main object contains or has a collection of other objects.

Submit
83. Sự khác nhau trong mô hình hoá use case nghiệp vụ và mô hình hoá use case hệ thống:

Explanation

The correct answer is that the actors in the two models are identified differently. This means that in the business use case model and the system use case model, the actors are defined and categorized differently based on their roles and interactions with the system. This distinction allows for a clearer understanding of the different stakeholders and their involvement in the use case scenarios.

Submit
84. Các use-cases nghiệp vụ (Business use-cases) và các tác nhân (actors) cùng mô tả :

Explanation

The given correct answer states that the use-cases and actors describe the business processes that the organization supports. This means that the use-cases and actors are used to identify and define the various tasks and roles within the organization's business processes. By understanding and documenting these processes, the organization can effectively support and optimize its operations.

Submit
85. Trong sơ đồ tuần tự  dấu X biểu diễn :

Explanation

In the given sequence diagram, the symbol "X" represents the iteration. This means that the process or action indicated by "X" is repeated multiple times. The iteration symbol is commonly used in sequence diagrams to show a loop or repetition of a particular step or set of steps in a process.

Submit
86. Trong giai đoạn xây dựng (Construction phase), mỗi lần lặp sẽ bao gồm : 

Explanation

During the construction phase, each iteration includes analysis, design, coding, testing, and integration.

Submit
87.   Phát biểu nào sau đây không đúng : 

Explanation

This statement is incorrect because in a layered architecture, higher-level layers should not depend on lower-level layers. The dependencies should always flow from higher-level layers to lower-level layers. This ensures that the higher-level layers remain independent and can be easily modified without affecting the lower-level layers. Therefore, the correct statement would be that higher-level packages can depend on lower-level packages, not the other way around.

Submit
88. Tính đa hình có thể được mô tả như là : 

Explanation

The correct answer is "Che dấu nhiều cài đặt khác nhau dựa trên cùng một giao diện" which translates to "Hiding multiple different implementations based on the same interface." This is a description of polymorphism, which refers to the ability of objects of different classes to be treated as objects of a common superclass or interface. Polymorphism allows for different implementations of methods in different subclasses, while still being able to access and use them through a common interface.

Submit
89.  Hoàn chỉnh câu sau : ……… là cách biểu diễn tốt để mô tả hành vi của nhiều đối tượng trong một Use Case

Explanation

Sơ đồ tương tác (Interaction Diagrams) là cách biểu diễn tốt để mô tả hành vi của nhiều đối tượng trong một Use Case. Interaction Diagrams cho phép hiển thị các thông tin về các đối tượng tham gia trong một use case cụ thể và cách chúng tương tác với nhau. Bằng cách sử dụng các biểu đồ như Sequence Diagrams hoặc Communication Diagrams, Interaction Diagrams giúp hiểu rõ hơn về luồng tương tác giữa các đối tượng trong một use case và là công cụ hữu ích trong phân tích và thiết kế hệ thống.

Submit
90. Trong giai đoạn nào của quy trình phát triển phần mềm, ta đánh giá độ rủi ro, các thành phần sử dụng

Explanation

The correct answer is "Tinh chế (Elaboration)" because during this phase of the software development process, risk assessment and user requirements are analyzed and refined. This phase involves gathering more detailed information about the project and refining the project plan. It is an important phase where the project scope and requirements are clarified, and the architecture and design of the software system are developed. This phase sets the foundation for the construction phase where the actual coding and development of the software takes place.

Submit
91. Mục đích của sơ đồ tương tác (Interaction Diagram) là : 

Explanation

The purpose of an interaction diagram is to represent how objects collaborate within a use case. It provides a visual representation of the interactions and messages exchanged between objects to achieve a specific behavior. By using interaction diagrams, developers can better understand the flow of communication and coordination between objects, helping them analyze, design, and write code more effectively.

Submit
92. Công việc đầu tiên để xác định các phần của hệ thống và những quan hệ giữa chúng, tổ chức các phần vào trong các tầng với các phụ thuộc xác định được gọi là : 

Explanation

The correct answer is "Architectural analysis (phân tích kiến trúc)". This is because the question is asking about the first step in determining the parts of a system and their relationships, and organizing them into layers with defined dependencies. Architectural analysis involves analyzing the overall structure and design of a system, including its components, interfaces, and relationships, to ensure that it meets the desired requirements and functions effectively.

Submit
93. Mối quan hệ (relationship) giữa class 12 và class 13 là

Explanation

Dependency (phụ thuộc) is a relationship between two classes where one class depends on the other class. In this relationship, changes in one class may affect the other class. Class 12 is dependent on Class 13, meaning that Class 12 relies on Class 13 for its functionality or implementation. If there are any changes in Class 13, it may impact the behavior or functionality of Class 12.

Submit
94. Phát biểu nào sau đây không đúng về mối kết hợp trong sơ đồ lớp 

Explanation

The given statement is incorrect because it states that "Mối kết hợp là các quy trình mà một lớp sẽ thực hiện" which translates to "Association is the processes that a class will perform." This statement is not true because association represents the relationship between instances of classes, not the processes that a class will perform. Association represents how classes are connected and interact with each other.

Submit
95. Việc đo "sức mạnh" của sự kết nối giữa hai thành phần hệ thống được biết như là:

Explanation

The correct answer is Coupling (khớp nối). Coupling refers to the degree of interdependence between two system components. It measures how closely the components are connected or how much one component relies on another. A high level of coupling indicates strong interdependence, while a low level of coupling indicates loose interdependence. Therefore, measuring the "strength" of the connection between two system components is known as coupling.

Submit
96. Nếu ta muốn tổ chức các phần tử vào trong các nhóm được sử dụng lại với sự che dấu thông tin đầy đủ, ta có thể sử dụng một trong các cấu trúc nào của UML ? 

Explanation

To organize elements into reusable groups with encapsulated information, we can use the subsystem or component structures in UML. These structures allow us to group related elements together and hide the internal details, providing a higher level of abstraction and reusability in the system design. The package structure is used to organize classes and other elements at a higher level, while the class and interface structures define the structure and behavior of individual elements. Therefore, the correct answer is Subsystem (hệ thống con) hoặc Component (thành phần).

Submit
97. Các sơ đồ nào sau đây mô tả các hành vi động (dynamic behaviour) của hệ thống phần mềm?  

Explanation

The correct answer is "Sơ đồ cộng tác và sơ đồ triển khai". These diagrams, also known as collaboration diagrams and deployment diagrams, respectively, depict the dynamic behavior of a software system. Collaboration diagrams illustrate how objects interact with each other to achieve a specific functionality, while deployment diagrams show the physical arrangement of hardware and software components in the system. Both diagrams provide a visual representation of the system's dynamic behavior and help in understanding its functioning and communication between different elements.

Submit
98. Phát biểu nào sau đây đúng về Sơ đồ tuần tự ? 

Explanation

The correct answer is (1) because it states that each message is represented by an arrow between the lifelines of two objects. This aligns with the standard notation used in sequence diagrams, where arrows represent the flow of messages between objects. Additionally, the statement mentions that each message must have a label with the message name accompanied by a number, which further supports the correctness of option (1).

Submit
99. Đoạn mã sau là mã sinh từ mô hình nào?   public class Class1{              public Class2 theClass2;                  public Class1() {                  } }   public class Class2{                  public Class2(){                  } }  

Explanation

The given code snippet is an example of a composition relationship between two classes, Class1 and Class2. In this relationship, Class1 has a reference to an object of Class2. This is evident from the declaration of theClass2 variable in Class1. The composition relationship is established by creating an instance of Class2 within Class1 and assigning it to the theClass2 variable. This allows Class1 to access and use the functionality provided by Class2.

Submit
100. Phát biểu nào đúng về sơ đồ thành phần (Component Diagrams) ?

Explanation

A component diagram can have multiple interfaces and represents a physical unit (module) of code. This means that statement (1) is correct. Statement (2) is incorrect because a component can have multiple interfaces. Statement (3) is incorrect because a component diagram represents the structure and relationships of software components, not hardware units. Therefore, the correct answer is (1) only.

Submit
View My Results

Quiz Review Timeline (Updated): Jul 22, 2024 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Jul 22, 2024
    Quiz Edited by
    ProProfs Editorial Team
  • Jan 11, 2014
    Quiz Created by
    Catherine Halcomb
Cancel
  • All
    All (100)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Sơ đồ nào sau đây không phải là sơ...
Cụm từ tốt nhất để biểu diễn mới quan hệ tổng...
Chọn câu mô tả về tác nhân đúng...
Mục đích của Use Case là :
 Một  ………….. là...
Mục đích của sơ đồ hoạt động là : 
Các sơ đồ nào thể hiện khía cạnh...
Các mẫu thiết kế phân thành mấy loại...
Sơ đồ nào sau đây không phải là sơ...
Trong hình (i)  là 
Trong giai đoạn nào của quy trình phát triển...
Phát biểu nào sau đây  đúng về...
Xem xét mô hình Activity sau. Hãy xác...
Dưới đây là lớp Circle được vẽ bằng UML cho...
Phát biểu nào đúng về Use Cases ? 
Cái nào không phải là mô hình
Phát biểu nào sau đây đúng ? 
 Phát biểu nào đúng về sơ đồ hoạt...
Để biểu diễn rằng bất kỳ một thể hiện nào...
Phát biểu nào sau đây đúng về mối...
Một lớp con thừa kế từ lớp cha các :
Trong sơ đồ use-case, một tác nhận được trình...
Sơ đồ hoạt động được sử dụng trong những tình...
 Để biểu diễn các quan hệ vật lý giữa...
UML là gì?
Việc dấu thơng tin trong lập trình hướng đối tượng...
Câu nào đúng (một hoặc nhiều) khi...
Thành phần nào sau đây không là...
Sự đóng gói được hiểu là:
Sơ đồ nào mô tả các kiểu của các...
Trong sơ đồ tuần tự  mũi tên --------->  ...
Mục đích của sơ đồ lớp là :
Mục đích của sơ đồ triển khai là : 
Mục đích của sơ đồ trạng thái (State Diagram)...
Kết quả của giai đoạn tinh chế (Elaboration phase)...
Trong giai đoạn nào của quy trình phát triển...
Một lớp được mô tả là tập các đối...
Phát biểu nào sau đây đúng về use...
Trong sơ đồ tuần tự  dấu * biểu diễn :
Câu phát biểu nào sau đây không...
Câu phát biểu nào sau đây đúng...
 Phát biểu nào sau đây  đúng...
Ký hiện * trong UML biểu diễn : 
Dòng đời họat động (life line):
Sự khác nhau giữa các actor và các...
Sơ đồ nào là thông tin (artifact) hữu...
Đường sinh tồn (lifeline) của 1 đối tượng được...
 Hoàn chỉnh các mệnh đề sau về mối quan...
Hoàn chỉnh các mệnh đề sau về mối quan hệ...
Hoàn chỉnh câu sau : ……… là...
Hoàn chỉnh câu sau về thông tin (artifact)...
Mục đích của sơ đồ gói (Package Diagram)...
Ký hiệu này là: 
Mệnh đề nào sau đây đúng về sơ đồ...
Trong sơ đồ trên biểu diễn loại relationship...
Sự kết hợp giữa tên của một thao tác...
Stereotype package có thể biểu diễn cho :
Trong giai đoạn nào của quy trình phát triển...
Để tổ chức các phần tử (elements) vào...
Vòng đời của 1 lớp (Life cycle of a class) được...
Mỗi message trong lược đồ sequence(trình tự) sẽ được...
Sơ đồ UML diagram sau là biểu diễn của một : 
 Mệnh đề nào sau đây đúng về gởI...
Hoàn chỉnh câu sau về thông tin (artifact)...
Hoàn chỉnh câu sau về thông tin (artifact)...
Loại nào sau đây là không phải...
Các khái niệm về phạm vi hệ thống được...
Trong sơ đồ tuần tự  [some_text] biểu diễn : 
Sơ đồ UML diagram trên là biểu diễn của một...
Với mối quan hệ nào một thành phần thuộc...
Sơ đồ hoạt động được sử dụng trong những tình...
Tính chất nào sau đây là không...
Mối quan hệ giữa Class và Interface là mối quan...
Sơ đồ nào biểu diễn các thể hiện trong một...
Phát biểu nào sau đây  đúng về...
Mối quan hệ (relationship) giữa class 10 và class 11...
Trong RationalRose, để kiểm tra lại tính tương...
 Phát biểu nào sau đây đúng về...
Mục đích của kỹ thuật thiết kế bằng hợp...
Phát biểu nào sau đây không đúng...
Hoàn chỉnh câu sau : ……… là...
Một mối quan hệ „has a‟ là mô tả tốt...
Sự khác nhau trong mô hình hoá use case...
Các use-cases nghiệp vụ (Business use-cases) và...
Trong sơ đồ tuần tự  dấu X biểu diễn :
Trong giai đoạn xây dựng (Construction phase), mỗi lần...
  Phát biểu nào sau đây không...
Tính đa hình có thể được mô tả như...
 Hoàn chỉnh câu sau : ………...
Trong giai đoạn nào của quy trình phát triển...
Mục đích của sơ đồ tương tác (Interaction...
Công việc đầu tiên để xác định...
Mối quan hệ (relationship) giữa class 12 và class 13...
Phát biểu nào sau đây không đúng...
Việc đo "sức mạnh" của sự kết nối giữa hai...
Nếu ta muốn tổ chức các phần tử vào trong...
Các sơ đồ nào sau đây mô tả...
Phát biểu nào sau đây đúng về Sơ...
Đoạn mã sau là mã sinh từ mô hình...
Phát biểu nào đúng về sơ đồ thành...
Alert!

Advertisement