Page 497 - Computer_Science_F5
P. 497

Computer Science  by enabling the storage, processing,   Step 3:  Explore  the  platform:
           and  analysis  of massive  datasets  and
                                                              Familiarize  yourself with
           diverse data types. They are essential for
                                                              the platform’s  interface  and
           applications that require handling large
                                                              basic functionalities.
           volumes of data quickly and extracting
          FOR ONLINE READING ONLY
           valuable  insights,  such  as  in  scientific
                                                               exploration

           research and business analytics.           Step 4:  Document databases
                                                          (a)  Create database and
                                                              collections:
                  Activity 8.17:
                                                              (i)  Create a new database.

             Non-relational (NoSQL) databases                 (ii)  Create collections
                                                                   (similar to tables in
            Aim:                                                     relational databases).

            To gain practical experience with             (b)  Create sample documents:
            NoSQL databases by exploring their
            functionalities and performing basic              Within  a  collection,  create
                                                              sample documents by defining
            data operations and queries                       key fields and their values. For

                                                              example, create a collection
            Materials:                                        for “movies” with documents
            Computer with Internet access; Access             that store information like title,
            to an online NoSQL database platform              director, and genre.
            (e.g., MongoDB Atlas Free Tier at             (c)  Perform data operations:
            https://www.mongodb.com/students,                 Insert, update, and delete
            Firebase  at  https://firebase.google.            documents using the platform’s
            com/)                                             interface or simple queries.


            Instructions:                             Step 5: Querying data:
            Step 1: Choose a NoSQL platform                (a) Use Query Language: Learn

              Select a user-friendly online NoSQL             how to use the platform’s
              database platform such as MongoDB               query language or interface
              Atlas Free Tier or Firebase. These              to filter and retrieve data.
              platforms offer free tiers suitable for      (b) Basic Queries:  Perform
              educational purposes.                           basic queries to find specific
                                                              documents based on criteria
            Step 2: Sign Up and create a database             (Such as, find all movies
              Complete the signup process on your             directed by a specific director).
              chosen platform and create a new             (c) Advanced  Filtering  and
              database instance.                              Sorting:  Explore different


                                                 488
                                                                for Advanced Secondary Schools



     Computer Science Form 5.indd   488                                                     23/07/2024   12:35
   492   493   494   495   496   497   498   499   500   501   502