Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 57 - 2629_Devagiri_C-8
P. 57

    ENCAPSULATION

                     Encapsulation means grouping related information and design together so it works as a single,
                     self-contained unit. It hides the internal details and shows only the required features to the user.
                     This ensures data security and prevents unwanted access or modification.
                     In the Personal ID Card:

                         All ID card content is organised in a main section.

                         Each section is separated to prevent changes from affecting others.
                         Design rules are kept specific to each section to avoid interference.

                         The content (data) and design (style) are separated: one for structure, the other for appearance.

                                                               ACTIVITY-3

                        Netflix suggests  movies  and shows you  might  like,  but  it
                        doesn’t explain how it makes these recommendations.

                        Now, answer the following questions:

                        (a)   Do you think Netflix should explain how it decides what
                             to recommend or is it enough to just see the results?

                        (b)   How is this similar to a TV remote where you press a button but don’t see how it works?

                                                               ACTIVITY-4

                        You  are tasked  with  preparing  an online  quiz  to  shortlist  students  for an interschool
                        competition. Use Google Forms to create the quiz.

                        Now, answer the following questions:
                        (a)   Gather the responses from the Google Sheet, shortlist the top five scorers and write

                             their names.

                        (b)   What according to you is encapsulated in this task?

                                                                                                                      55
                                                                                        Abstraction: The Art of Simplifying

| 52 53 54 55 56 57 58 59 60 61 62 |