Search Header Logo
GRASP

GRASP

Assessment

Presentation

Computers

University

Practice Problem

Easy

Created by

Nimisha Roy

Used 14+ times

FREE Resource

1 Slide • 8 Questions

1

GRASP Quiz

2

Multiple Choice

What is the GRASP pattern that emphasizes assigning responsibilities to the class with the most relevant information and expertise to handle them?

1

Low Coupling

2

Information Expert

3

Creator

4

Controller

3

Multiple Choice

What is the primary purpose of the Creator pattern?

1

To create an object without exposing the instantiation logic to the client.

2

To provide database access throughout the application.

3

To manage the state of an application and handle user interactions.

4

To handle asynchronous operations and manage callbacks.

4

Multiple Choice

Question image

Considering the shapes to be classes, which of the following pattern is the image portraying?

1

High Cohesion

2

Low Coupling

3

High Coupling

4

Low Cohesion

5

Multiple Choice

Question image

Which type of coupling is demonstrated in this code?

1

Stamp Coupling

2

Low Coupling

3

Content Coupling

4

Control Coupling

6

Multiple Choice

Question image

Which type of coupling is demonstrated in this code?

1

Stamp Coupling

2

Low Coupling

3

Content Coupling

4

Control Coupling

7

Multiple Choice

If a class/module aggregates all different types of mathematical operations, which type of cohesion is this representing?

1

High Cohesion

2

Logical Cohesion

3

Coincidental Cohesion

4

Procedural Cohesion

8

Multiple Choice

If a class/module aggregates different steps of an algorithm, which type of cohesion is this representing?

1

High Cohesion

2

Logical Cohesion

3

Coincidental Cohesion

4

Procedural Cohesion

9

Multiple Choice

Which of the following statements best describes the Controller pattern in GRASP principles?

1

The Controller pattern is responsible for handling all UI components directly.

2

The Controller pattern acts as an intermediary between the UI and the system, handling user requests for action.

3

The Controller pattern ensures that every class is responsible for its own behavior.

4

The Controller pattern is primarily concerned with the creation of objects in a system.

GRASP Quiz

Show answer

Auto Play

Slide 1 / 9

SLIDE