Question: Advanced level school computer science. need helps. A programmer is designing a social media app where users can post photos, videos, and status updates. Object-oriented

Advanced level school computer science. need helps.

 Advanced level school computer science. need helps. A programmer is designing

A programmer is designing a social media app where users can post photos, videos, and status updates. Object-oriented programming will be used to model the posts. For every post, the data that will be stored include - username of user who posted, - timestamp of the post, - content of the post which is text-based, - number of "like" by other users who like the post. For photo and video posts, the URL of the photos and videos are also stored. (a) Draw a class diagram for the situation described, showing - the superclass - any subclasses - inheritance - properties - appropriate methods - polymorphism (b) Explain how inheritance is achieved with examples from this situation. To increase the engagement of the posts, users will be allowed to add comments. Each comment will record the username, timestamp and text. (c) Suggest changes to the class diagram to enable users to add comments for the posts. In anticipation of a large number of users and posts for the social media app, the programmer decided to use a NoSQL database to store information for the app. (d) Explain why the programmer may choose to use a NoSQL database in this situation. Social media apps gather substantial user data, requiring careful consideration of privacy concerns. (e) State two ways in which data protection laws help to minimise privacy concerns

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!