logo

Crowdly

Browser

Add to Chrome

You're developing a data collection system for an online shopping platform. The...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

You're developing a data collection system for an online shopping platform. The system needs to handle user privacy preferences while balancing business needs for personalization and analytics.

Context: Your platform collects browsing patterns, purchase history, and location data to improve user experience and target advertisements. However, new privacy regulations require explicit user consent.

Current implementation:

CLASS DataCollectionManager

    PROPERTIES:

        user_consent = "not_requested"

        data_sensitivity = "medium"

        business_value = 0.75

        

    FUNCTION collect_user_data(user_id, data_type)

        IF user_consent == "explicit_yes" THEN

            RETURN collect_all_data(user_id, data_type)

        ELSEIF user_consent == "not_requested" THEN

            // Choose collection strategy

            SWITCH collection_approach

                CASE "opt_out":

                    RETURN collect_with_notice(user_id)

                CASE "minimal_only":

                    RETURN collect_essential_only(user_id)

                CASE "ask_first":

                    RETURN request_permission_first(user_id)

                CASE "anonymize":

                    RETURN collect_anonymized_data(user_id)

            END SWITCH

        ELSE

            RETURN no_data_collection(user_id)

        END IF

    END FUNCTION

END CLASS

From a virtue ethics standpoint, which approach best demonstrates the virtue of trustworthiness in software development?

0%
0%
0%
100%
More questions like this

Want instant access to all verified answers on learning.monash.edu?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome