TRE 4.0 Software Engineering Quiz Practice Set 2

Que: (1). Which of the following refers to the wrapping of data and its functionality into a single individual entity?

A.
C.
B.
D.
E.
Open question page

Que: (2). Which OOP principle allows a class to acquire the properties and methods of another class?

C.
B.
A.
D.
E.
Open question page

Que: (3). Which OOP concept hides implementation details and exposes only essential features?

C.
B.
A.
D.
E.
Open question page

Que: (4). What is the ability of an object to take multiple forms called in OOP?

B.
C.
A.
D.
E.
Open question page

Que: (5). Which of the following is a fundamental building block of an object-oriented program?

B.
C.
A.
D.
E.
Open question page

Que: (6). Which special member function is automatically called when an object is created in C++?

B.
A.
C.
D.
E.
Open question page

Que: (7). Which access specifier allows class members to be accessed from anywhere in C++?

B.
C.
A.
D.
E.
Open question page

Que: (8). Which type of polymorphism is achieved through function overloading in C++?

C.
B.
A.
D.
E.
Open question page

Que: (9). Which relationship is represented by inheritance in object-oriented programming?

A.
B.
C.
D.
E.
Open question page

Que: (10). Which OOP feature allows the same function name to have different implementations in derived classes?

C.
A.
B.
D.
E.
Open question page

Que: (11). Among the following, which statement is correct about the modularity?

C.
A.
B.
D.
E.
Open question page

Que: (12). What is the main objective of modular programming?

C.
B.
A.
D.
E.
Open question page

Que: (13). Which software design concept measures the degree to which elements within a module belong together?

A.
B.
C.
D.
E.
Open question page

Que: (14). Which of the following is generally considered desirable in good software design?

B.
C.
A.
D.
E.
Open question page

Que: (15). What does coupling represent in software engineering?

B.
C.
A.
D.
E.
Open question page

Que: (16). Which type of cohesion occurs when all elements of a module contribute to a single well-defined task?

C.
A.
B.
D.
E.
Open question page

Que: (17). Which type of coupling occurs when one module directly accesses the internal data of another module?

C.
B.
A.
D.
E.
Open question page

Que: (18). Which of the following is an advantage of modular software design?

C.
A.
B.
D.
E.
Open question page

Que: (19). Which type of coupling occurs when modules communicate by passing only necessary data items as parameters?

A.
C.
B.
D.
E.
Open question page

Que: (20). Which design approach divides a complex system into smaller subsystems and progressively refines them?

B.
C.
A.
D.
E.
Open question page