Reaushambeaux
Reaushambeaux
CC#
Created by Reaushambeaux on 6/20/2023 in #help
✅ Abstraction Final Project
So this is my first semester doing anything related to C# and I've kind of ridden coattails on other members of my group. I'm ashamed to say that I'm having to go back and relearn everything (a lot has happened). I'm afraid that I don't know where exactly where to start. My Final Project has 4 Programs in total, all involving Abstraction, Encapsulation, Inheritance, and Polymorphism. But right now, any advice on Abstraction, a refresher even, would be great! Scenario: You have been hired by a company that does product awareness monitoring by tracking the placement of their products in YouTube videos. They want you to write a program that can help them work with the tens of thousands of videos they have identified as well as the comments on them. Program Specification: Write a program to keep track of YouTube videos and comments left on them. As mentioned this could be part of a larger project to analyze them, but for this assignment, you will only need to worry about storing the information about a video and the comments. Your program should have a class for a Video that has the responsibility to track the title, author, and length (in seconds) of the video. Each video also has responsibility to store a list of comments, and should have a method to return the number of comments. A comment should be defined by the Comment class which has the responsibility for tracking both the name of the person who made the comment and the text of the comment. Once you have the classes in place, write a program that creates 3-4 videos, sets the appropriate values, and for each one add a list of 3-4 comments (with the commenter's name and text). Put each of these videos in a list. Then, have your program iterate through the list of videos and for each one, display the title, author, length, number of comments (from the method) and then list out all of the comments for that video. Repeat this display for each video in the list. Note: The YouTube example is just to give you a context for creating classes to store information. You will not actually be connecting to YouTube or downloading content in any way. Where would you start? Any tips or advice going forward?
5 replies