Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 71 - CodePilot V5.0 C8
P. 71

    ENCAPSULATION                                              Ask       AGENT
                                                           OrangeAI
                      Why is it helpful to split a task into segments when one segment doesn’t work but the rest do?
     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.   Study
     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.  LOGIC MASKING

       Each section is separated to prevent changes from affecting others.
       Design rules are kept specific to each section to avoid interference.  Logic masking means showing only the information that is needed and hiding anything unnecessary
                     to keep the display clean and secure. It helps to protect sensitive data from unauthorised access.
       The content (data) and design (style) are separated: one for structure, the other for appearance.
                     Logic masking also reduces confusion by displaying only the most relevant details to the user.

     ACTIVITY-3      In the Personal ID Card:
                         Only important visible details are shown on the front (Name, Position, Employee ID, Blood
     Netflix suggests  movies  and shows you  might  like,  but  it   group and Department etc.).
     doesn’t explain how it makes these recommendations.    Sensitive information (full address, emergency contact, etc.) can be placed on the back or

     Now, answer the following questions:  embedded in a QR code instead of displaying it openly.

     (a)   Do you think Netflix should explain how it decides what     Placeholder images or dummy text can be used while designing so that personal data isn’t
     to recommend or is it enough to just see the results?  exposed during development.

                                                               ACTIVITY-5
     (b)   How is this similar to a TV remote where you press a button but don’t see how it works?
                        Open Google Translate on a web browser or app and type the sentence: “I am going to
                        school.” Translate it into your regional language.

                        Answer the following questions:
                        (a)   Did Google Translate show the translation process or just the final result?

     ACTIVITY-4

     You  are tasked  with  preparing  an online  quiz  to  shortlist  students  for an interschool   (b)   Why do you think it hides the steps?
     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.       (c)   Can you give another example where that shows only the result, not the steps?

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

                                                                                                                      69
                                                                                        Abstraction: The Art of Simplifying

| 66 67 68 69 70 71 72 73 74 75 76 |